Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BP-WG/descriptor-wallet
/ functions
Functions
425 in github.com/BP-WG/descriptor-wallet
⨍
Functions
425
◇
Types & classes
126
↓ 19 callers
Method
as_ref
(&self)
hd/src/path.rs:75
↓ 17 callers
Method
insert
Adds new index range to the list of index ranges present at some derivation path segment. Checks if the added range at least partially intersects wit
hd/src/ranges.rs:67
↓ 12 callers
Method
into_iter
(self)
hd/src/path.rs:164
↓ 11 callers
Method
as_bytes
Returns internal representation of version bytes
slip132/src/lib.rs:437
↓ 10 callers
Method
first_index
(&self)
hd/src/ranges.rs:133
↓ 10 callers
Method
is_some
Detects if the xpub reference is present
hd/src/xpubref.rs:54
↓ 10 callers
Method
split
(self)
psbt/src/input.rs:295
↓ 9 callers
Method
serialize
(&self)
psbt/src/global.rs:287
↓ 7 callers
Method
into_iter
(self)
psbt/src/sign/inmem.rs:196
↓ 5 callers
Method
fingerprint
Computes [`Fingerprint`] of the key
hd/src/xkey.rs:125
↓ 5 callers
Method
first_index
Panics since here we can't distinguish between hardened and non-hardened indexes. #[deprecated(note = "use ChildNumber match instead")]
hd/src/indexes.rs:187
↓ 5 callers
Method
last_index
(&self)
hd/src/ranges.rs:136
↓ 4 callers
Method
checked_sub
Subtracts value the index; fails if the index value overflow happens - or if multiple indexes are present at the path segment
hd/src/indexes.rs:112
↓ 4 callers
Method
contains
(&self, index: u32)
hd/src/ranges.rs:125
↓ 4 callers
Method
derive_pattern_len
(&self)
descriptors/src/derive.rs:174
↓ 4 callers
Method
identifier
Computes [`XpubIdentifier`] of the key
hd/src/xkey.rs:120
↓ 4 callers
Method
input_prevout
Returns [`TxOut`] reference returned by resolver, if any, or reports specific matching error prevented from getting the output
psbt/src/input.rs:249
↓ 4 callers
Method
wipe
(self)
libbitcoin/src/helpers.rs:24
↓ 3 callers
Method
as_slice
Returns slice representing internal version bytes
slip132/src/lib.rs:434
↓ 3 callers
Method
checked_add
Adds value the index; fails if the index value overflow happens - or if multiple indexes are present at the path segment
hd/src/indexes.rs:104
↓ 3 callers
Method
cmp
(&self, other: &Self)
psbt/src/sign/inmem.rs:48
↓ 3 callers
Method
count
(&self)
descriptors/src/descriptor.rs:550
↓ 3 callers
Function
decode
(source: impl AsRef<[u8]>, password: &str)
src/bin/btc-hot.rs:133
↓ 3 callers
Method
derive_public_key
( &self, ctx: &Secp256k1<C>, pat: impl AsRef<[UnhardenedIndex]>, )
hd/src/account.rs:95
↓ 3 callers
Method
derive_seckey
( &self, secp: &Secp256k1<C>, derivation: &DerivationPath, )
psbt/src/sign/inmem.rs:96
↓ 3 callers
Method
first_range
(&self)
hd/src/ranges.rs:89
↓ 3 callers
Method
index
(&self)
psbt/src/input.rs:212
↓ 3 callers
Method
lock_time
(&self)
psbt/src/global.rs:104
↓ 3 callers
Method
master_xpriv
(&self, testnet: bool)
src/bin/btc-hot.rs:193
↓ 3 callers
Method
to_account_derivation
( &self, account_index: ChildNumber, blockchain: DerivationBlockchain, )
hd/src/standards.rs:527
↓ 3 callers
Method
tx_version
(&self)
psbt/src/global.rs:132
↓ 2 callers
Method
as_entropy
(&self)
src/bin/btc-hot.rs:190
↓ 2 callers
Method
byte_len
(self)
libbitcoin/src/signer.rs:211
↓ 2 callers
Method
checked
Checks the correctness of the key against standards and updates unknown information from the one which can be guessed from the standard. Compares the
hd/src/xkey.rs:567
↓ 2 callers
Method
checked_add_assign
(&mut self, add: impl Into<u32>)
hd/src/indexes.rs:198
↓ 2 callers
Method
checked_sub_assign
(&mut self, sub: impl Into<u32>)
hd/src/indexes.rs:206
↓ 2 callers
Method
count
(&self)
hd/src/ranges.rs:122
↓ 2 callers
Method
electrum_client
(&self, network: Network)
src/bin/btc-cold.rs:307
↓ 2 callers
Method
fmt_account_path
(&self, f: &mut Formatter<'_>)
hd/src/account.rs:233
↓ 2 callers
Method
fmt_terminal_path
(&self, f: &mut Formatter<'_>)
hd/src/account.rs:247
↓ 2 callers
Method
info_account
(&self, account: MemorySigningAccount)
src/bin/btc-hot.rs:745
↓ 2 callers
Method
info_seed
(&self, secp: &Secp256k1<C>, seed: Seed)
src/bin/btc-hot.rs:696
↓ 2 callers
Method
is_segwit
(self)
descriptors/src/descriptor.rs:260
↓ 2 callers
Method
last_range
(&self)
hd/src/ranges.rs:100
↓ 2 callers
Method
master_fingerprint
(&self)
hd/src/account.rs:144
↓ 2 callers
Method
master_fingerprint
(&self)
psbt/src/sign/inmem.rs:83
↓ 2 callers
Method
network
(&self, regtest: bool)
descriptors/src/derive.rs:194
↓ 2 callers
Method
network
Detects network used by the provided key version bytes. Returns `None` if the version is not recognized/unknown to the resolver.
slip132/src/lib.rs:256
↓ 2 callers
Method
p2c_tweak
Finds a tweak for the provided bitcoin public key, if is known
psbt/src/commit/p2c.rs:41
↓ 2 callers
Method
secp_context
(&self)
psbt/src/sign/inmem.rs:204
↓ 2 callers
Method
secret_key
( &self, fingerprint: Fingerprint, derivation: &DerivationPath, pubkey: Public
psbt/src/sign/inmem.rs:206
↓ 2 callers
Method
strict_encode
(&self, _: E)
slip132/src/lib.rs:139
↓ 2 callers
Method
to_terminal_derivation_path
Constructs [`DerivationPath`] from the extended account key to the final keys. The path will include only unhardened indexes.
hd/src/account.rs:170
↓ 2 callers
Method
to_u32
Converts version bytes into `u32` representation in big endian format
slip132/src/lib.rs:431
↓ 2 callers
Method
to_unsigned_tx
Constructs transaction with empty `scriptSig` and `witness`
psbt/src/global.rs:157
↓ 2 callers
Method
translate_pk
( &self, ctx: &Secp256k1<C>, pat: impl AsRef<[UnhardenedIndex]>, )
descriptors/src/templates.rs:61
↓ 2 callers
Method
write
(&self, file: P, password: &str)
src/bin/btc-hot.rs:182
↓ 2 callers
Function
xpubs
()
hd/src/account.rs:459
↓ 1 callers
Method
account_depth
(&self)
hd/src/standards.rs:444
↓ 1 callers
Method
account_fingerprint
(&self)
hd/src/account.rs:149
↓ 1 callers
Method
account_fingerprint
(&self)
psbt/src/sign/inmem.rs:93
↓ 1 callers
Method
account_key_source
(&self)
hd/src/account.rs:163
↓ 1 callers
Method
add_account
(&mut self, account: MemorySigningAccount)
psbt/src/sign/inmem.rs:183
↓ 1 callers
Method
address
( &self, path: &Path, count: u16, skip: u16, show_change: bool,
src/bin/btc-cold.rs:438
↓ 1 callers
Method
bip32_derivation
Extracts BIP32 derivation information for a specific public key derived at some terminal derivation path. This function may be used to construct per-
hd/src/account.rs:216
↓ 1 callers
Method
borrow
(&self)
hd/src/path.rs:91
↓ 1 callers
Method
borrow_mut
(&mut self)
hd/src/path.rs:99
↓ 1 callers
Method
check
(&self, path: &Path, batch_size: u16, skip: u16, regtest: bool)
src/bin/btc-cold.rs:479
↓ 1 callers
Function
checked_add_assign
(index: &mut u32, add: impl Into<u32>)
hd/src/indexes.rs:132
↓ 1 callers
Function
checked_sub_assign
(index: &mut u32, sub: impl Into<u32>)
hd/src/indexes.rs:141
↓ 1 callers
Method
child_number
(self)
hd/src/standards.rs:87
↓ 1 callers
Method
coin_type
Returns derivation path segment child number corresponding to the given blockchain from LNPBP-43 standard
hd/src/standards.rs:100
↓ 1 callers
Method
coin_type_depth
(&self)
hd/src/standards.rs:458
↓ 1 callers
Method
combine
(self, other: Self)
psbt/src/global.rs:209
↓ 1 callers
Method
construct
( &self, wallet_path: &Path, lock_time: LockTime, inputs: &[InputDescriptor],
src/bin/btc-cold.rs:622
↓ 1 callers
Method
contains
(&self, i: u32)
hd/src/indexes.rs:167
↓ 1 callers
Method
convert
(&self, path: &Path)
src/bin/btc-cold.rs:782
↓ 1 callers
Method
derive
( &self, seed_file: &Path, scheme: &Bip43, account: HardenedIndex, net
src/bin/btc-hot.rs:599
↓ 1 callers
Method
derive_keypair
( &self, secp: &Secp256k1<C>, derivation: &DerivationPath, )
psbt/src/sign/inmem.rs:109
↓ 1 callers
Method
descriptor_types
(&self)
hd/src/standards.rs:558
↓ 1 callers
Method
devices
( &self, account: HardenedIndex, scheme: Option<&Bip43>, testnet: bool, )
src/bin/btc-hot.rs:483
↓ 1 callers
Method
does_intersect
(&self, other: &IndexRange<Index>)
hd/src/ranges.rs:316
↓ 1 callers
Method
ecdsa_hash_ty
Obtains the [`EcdsaSighashType`] for this input if one is specified. If no sighash type is specified, returns [`EcdsaSighashType::All`]. # Errors If
psbt/src/input.rs:228
↓ 1 callers
Method
electrum_client
(&self)
src/bin/btc-expl.rs:92
↓ 1 callers
Function
encode
(source: impl AsRef<[u8]>, password: &str)
src/bin/btc-hot.rs:149
↓ 1 callers
Method
exec
(self)
src/bin/btc-expl.rs:107
↓ 1 callers
Method
exec
(&self)
src/bin/btc-cold.rs:322
↓ 1 callers
Method
exec
(self)
src/bin/btc-hot.rs:432
↓ 1 callers
Method
extract_account_index
Extracts hardened index from a derivation path position defining account number, if present. # Returns - `None` if the standard does not define acco
hd/src/standards.rs:336
↓ 1 callers
Method
extract_coin_type
Extracts hardened index from a derivation path position defining coin type information (used blockchain), if present. # Returns - `None` if the stan
hd/src/standards.rs:316
↓ 1 callers
Method
finalize
( &self, psbt_path: &Path, tx_path: Option<&PathBuf>, publish: Option<Network>
src/bin/btc-cold.rs:726
↓ 1 callers
Method
first_derivation_value
(&self)
hd/src/indexes.rs:195
↓ 1 callers
Method
fmt_bitcoin_core
Format in Bitcoin core representation: `[fp/hardened_path/account]xpub/unhardened_path`
hd/src/account.rs:263
↓ 1 callers
Method
fmt_lnpbp
Format in LNPBP standard representation: `m=[fp]/hardened_path/account=[xpub]/unhardened_path`
hd/src/account.rs:279
↓ 1 callers
Method
has_opret_commitment
Detects presence of a valid [`PSBT_OUT_OPRET_COMMITMENT`]. If [`PSBT_OUT_OPRET_COMMITMENT`] is absent or its value is invalid, returns `false`. In th
psbt/src/commit/opret.rs:119
↓ 1 callers
Method
has_redeem_script
(self)
descriptors/src/descriptor.rs:266
↓ 1 callers
Method
has_tapret_commitment
Detects presence of a valid [`PSBT_OUT_TAPRET_COMMITMENT`]. If [`PSBT_OUT_TAPRET_COMMITMENT`] is absent or its value is invalid, returns `false`. In
psbt/src/commit/tapret.rs:171
↓ 1 callers
Method
has_witness_script
(self)
descriptors/src/descriptor.rs:274
↓ 1 callers
Method
history
(&self)
src/bin/btc-cold.rs:578
↓ 1 callers
Method
info
(&self, data: &str)
src/bin/btc-cold.rs:580
next →
1–100 of 425, ranked by callers