UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
Loading...
Searching...
No Matches
ufsecp_desc_key Struct Reference

#include <ufsecp.h>

Public Attributes

ufsecp_desc_type type
 
uint8_t pubkey [33]
 
uint8_t pubkey_len
 
int network
 
char path [64]
 

Detailed Description

Parsed descriptor result.

Definition at line 1561 of file ufsecp.h.

Member Data Documentation

◆ network

int ufsecp_desc_key::network

UFSECP_NET_MAINNET or UFSECP_NET_TESTNET.

Definition at line 1565 of file ufsecp.h.

Referenced by ufsecp_descriptor_parse().

◆ path

char ufsecp_desc_key::path[64]

Derivation path suffix, e.g. "/0/0", or empty.

Definition at line 1566 of file ufsecp.h.

Referenced by ufsecp_descriptor_parse().

◆ pubkey

uint8_t ufsecp_desc_key::pubkey[33]

Compressed pubkey (or x-only [32] for TR).

Definition at line 1563 of file ufsecp.h.

Referenced by ufsecp_descriptor_parse().

◆ pubkey_len

uint8_t ufsecp_desc_key::pubkey_len

33 for compressed, 32 for x-only.

Definition at line 1564 of file ufsecp.h.

Referenced by ufsecp_descriptor_parse().

◆ type

ufsecp_desc_type ufsecp_desc_key::type

Definition at line 1562 of file ufsecp.h.

Referenced by ufsecp_descriptor_parse().


The documentation for this struct was generated from the following file: