MCPcopy Create free account

hub / github.com/BP-WG/descriptor-wallet / functions

Functions425 in github.com/BP-WG/descriptor-wallet

↓ 19 callersMethodas_ref
(&self)
hd/src/path.rs:75
↓ 17 callersMethodinsert
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 callersMethodinto_iter
(self)
hd/src/path.rs:164
↓ 11 callersMethodas_bytes
Returns internal representation of version bytes
slip132/src/lib.rs:437
↓ 10 callersMethodfirst_index
(&self)
hd/src/ranges.rs:133
↓ 10 callersMethodis_some
Detects if the xpub reference is present
hd/src/xpubref.rs:54
↓ 10 callersMethodsplit
(self)
psbt/src/input.rs:295
↓ 9 callersMethodserialize
(&self)
psbt/src/global.rs:287
↓ 7 callersMethodinto_iter
(self)
psbt/src/sign/inmem.rs:196
↓ 5 callersMethodfingerprint
Computes [`Fingerprint`] of the key
hd/src/xkey.rs:125
↓ 5 callersMethodfirst_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 callersMethodlast_index
(&self)
hd/src/ranges.rs:136
↓ 4 callersMethodchecked_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 callersMethodcontains
(&self, index: u32)
hd/src/ranges.rs:125
↓ 4 callersMethodderive_pattern_len
(&self)
descriptors/src/derive.rs:174
↓ 4 callersMethodidentifier
Computes [`XpubIdentifier`] of the key
hd/src/xkey.rs:120
↓ 4 callersMethodinput_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 callersMethodwipe
(self)
libbitcoin/src/helpers.rs:24
↓ 3 callersMethodas_slice
Returns slice representing internal version bytes
slip132/src/lib.rs:434
↓ 3 callersMethodchecked_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 callersMethodcmp
(&self, other: &Self)
psbt/src/sign/inmem.rs:48
↓ 3 callersMethodcount
(&self)
descriptors/src/descriptor.rs:550
↓ 3 callersFunctiondecode
(source: impl AsRef<[u8]>, password: &str)
src/bin/btc-hot.rs:133
↓ 3 callersMethodderive_public_key
( &self, ctx: &Secp256k1<C>, pat: impl AsRef<[UnhardenedIndex]>, )
hd/src/account.rs:95
↓ 3 callersMethodderive_seckey
( &self, secp: &Secp256k1<C>, derivation: &DerivationPath, )
psbt/src/sign/inmem.rs:96
↓ 3 callersMethodfirst_range
(&self)
hd/src/ranges.rs:89
↓ 3 callersMethodindex
(&self)
psbt/src/input.rs:212
↓ 3 callersMethodlock_time
(&self)
psbt/src/global.rs:104
↓ 3 callersMethodmaster_xpriv
(&self, testnet: bool)
src/bin/btc-hot.rs:193
↓ 3 callersMethodto_account_derivation
( &self, account_index: ChildNumber, blockchain: DerivationBlockchain, )
hd/src/standards.rs:527
↓ 3 callersMethodtx_version
(&self)
psbt/src/global.rs:132
↓ 2 callersMethodas_entropy
(&self)
src/bin/btc-hot.rs:190
↓ 2 callersMethodbyte_len
(self)
libbitcoin/src/signer.rs:211
↓ 2 callersMethodchecked
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 callersMethodchecked_add_assign
(&mut self, add: impl Into<u32>)
hd/src/indexes.rs:198
↓ 2 callersMethodchecked_sub_assign
(&mut self, sub: impl Into<u32>)
hd/src/indexes.rs:206
↓ 2 callersMethodcount
(&self)
hd/src/ranges.rs:122
↓ 2 callersMethodelectrum_client
(&self, network: Network)
src/bin/btc-cold.rs:307
↓ 2 callersMethodfmt_account_path
(&self, f: &mut Formatter<'_>)
hd/src/account.rs:233
↓ 2 callersMethodfmt_terminal_path
(&self, f: &mut Formatter<'_>)
hd/src/account.rs:247
↓ 2 callersMethodinfo_account
(&self, account: MemorySigningAccount)
src/bin/btc-hot.rs:745
↓ 2 callersMethodinfo_seed
(&self, secp: &Secp256k1<C>, seed: Seed)
src/bin/btc-hot.rs:696
↓ 2 callersMethodis_segwit
(self)
descriptors/src/descriptor.rs:260
↓ 2 callersMethodlast_range
(&self)
hd/src/ranges.rs:100
↓ 2 callersMethodmaster_fingerprint
(&self)
hd/src/account.rs:144
↓ 2 callersMethodmaster_fingerprint
(&self)
psbt/src/sign/inmem.rs:83
↓ 2 callersMethodnetwork
(&self, regtest: bool)
descriptors/src/derive.rs:194
↓ 2 callersMethodnetwork
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 callersMethodp2c_tweak
Finds a tweak for the provided bitcoin public key, if is known
psbt/src/commit/p2c.rs:41
↓ 2 callersMethodsecp_context
(&self)
psbt/src/sign/inmem.rs:204
↓ 2 callersMethodsecret_key
( &self, fingerprint: Fingerprint, derivation: &DerivationPath, pubkey: Public
psbt/src/sign/inmem.rs:206
↓ 2 callersMethodstrict_encode
(&self, _: E)
slip132/src/lib.rs:139
↓ 2 callersMethodto_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 callersMethodto_u32
Converts version bytes into `u32` representation in big endian format
slip132/src/lib.rs:431
↓ 2 callersMethodto_unsigned_tx
Constructs transaction with empty `scriptSig` and `witness`
psbt/src/global.rs:157
↓ 2 callersMethodtranslate_pk
( &self, ctx: &Secp256k1<C>, pat: impl AsRef<[UnhardenedIndex]>, )
descriptors/src/templates.rs:61
↓ 2 callersMethodwrite
(&self, file: P, password: &str)
src/bin/btc-hot.rs:182
↓ 2 callersFunctionxpubs
()
hd/src/account.rs:459
↓ 1 callersMethodaccount_depth
(&self)
hd/src/standards.rs:444
↓ 1 callersMethodaccount_fingerprint
(&self)
hd/src/account.rs:149
↓ 1 callersMethodaccount_fingerprint
(&self)
psbt/src/sign/inmem.rs:93
↓ 1 callersMethodaccount_key_source
(&self)
hd/src/account.rs:163
↓ 1 callersMethodadd_account
(&mut self, account: MemorySigningAccount)
psbt/src/sign/inmem.rs:183
↓ 1 callersMethodaddress
( &self, path: &Path, count: u16, skip: u16, show_change: bool,
src/bin/btc-cold.rs:438
↓ 1 callersMethodbip32_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 callersMethodborrow
(&self)
hd/src/path.rs:91
↓ 1 callersMethodborrow_mut
(&mut self)
hd/src/path.rs:99
↓ 1 callersMethodcheck
(&self, path: &Path, batch_size: u16, skip: u16, regtest: bool)
src/bin/btc-cold.rs:479
↓ 1 callersFunctionchecked_add_assign
(index: &mut u32, add: impl Into<u32>)
hd/src/indexes.rs:132
↓ 1 callersFunctionchecked_sub_assign
(index: &mut u32, sub: impl Into<u32>)
hd/src/indexes.rs:141
↓ 1 callersMethodchild_number
(self)
hd/src/standards.rs:87
↓ 1 callersMethodcoin_type
Returns derivation path segment child number corresponding to the given blockchain from LNPBP-43 standard
hd/src/standards.rs:100
↓ 1 callersMethodcoin_type_depth
(&self)
hd/src/standards.rs:458
↓ 1 callersMethodcombine
(self, other: Self)
psbt/src/global.rs:209
↓ 1 callersMethodconstruct
( &self, wallet_path: &Path, lock_time: LockTime, inputs: &[InputDescriptor],
src/bin/btc-cold.rs:622
↓ 1 callersMethodcontains
(&self, i: u32)
hd/src/indexes.rs:167
↓ 1 callersMethodconvert
(&self, path: &Path)
src/bin/btc-cold.rs:782
↓ 1 callersMethodderive
( &self, seed_file: &Path, scheme: &Bip43, account: HardenedIndex, net
src/bin/btc-hot.rs:599
↓ 1 callersMethodderive_keypair
( &self, secp: &Secp256k1<C>, derivation: &DerivationPath, )
psbt/src/sign/inmem.rs:109
↓ 1 callersMethoddescriptor_types
(&self)
hd/src/standards.rs:558
↓ 1 callersMethoddevices
( &self, account: HardenedIndex, scheme: Option<&Bip43>, testnet: bool, )
src/bin/btc-hot.rs:483
↓ 1 callersMethoddoes_intersect
(&self, other: &IndexRange<Index>)
hd/src/ranges.rs:316
↓ 1 callersMethodecdsa_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 callersMethodelectrum_client
(&self)
src/bin/btc-expl.rs:92
↓ 1 callersFunctionencode
(source: impl AsRef<[u8]>, password: &str)
src/bin/btc-hot.rs:149
↓ 1 callersMethodexec
(self)
src/bin/btc-expl.rs:107
↓ 1 callersMethodexec
(&self)
src/bin/btc-cold.rs:322
↓ 1 callersMethodexec
(self)
src/bin/btc-hot.rs:432
↓ 1 callersMethodextract_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 callersMethodextract_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 callersMethodfinalize
( &self, psbt_path: &Path, tx_path: Option<&PathBuf>, publish: Option<Network>
src/bin/btc-cold.rs:726
↓ 1 callersMethodfirst_derivation_value
(&self)
hd/src/indexes.rs:195
↓ 1 callersMethodfmt_bitcoin_core
Format in Bitcoin core representation: `[fp/hardened_path/account]xpub/unhardened_path`
hd/src/account.rs:263
↓ 1 callersMethodfmt_lnpbp
Format in LNPBP standard representation: `m=[fp]/hardened_path/account=[xpub]/unhardened_path`
hd/src/account.rs:279
↓ 1 callersMethodhas_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 callersMethodhas_redeem_script
(self)
descriptors/src/descriptor.rs:266
↓ 1 callersMethodhas_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 callersMethodhas_witness_script
(self)
descriptors/src/descriptor.rs:274
↓ 1 callersMethodhistory
(&self)
src/bin/btc-cold.rs:578
↓ 1 callersMethodinfo
(&self, data: &str)
src/bin/btc-cold.rs:580
next →1–100 of 425, ranked by callers