MCPcopy Create free account

hub / github.com/ElementsProject/reserves / functions

Functions145 in github.com/ElementsProject/reserves

↓ 22 callersMethodcommand
(&self)
src/context.rs:93
↓ 9 callersMethodclear
(&mut self)
src/protos/reserves.rs:319
↓ 9 callersFunctionexecute
Execute the sign command.
src/cmd/sign.rs:40
↓ 9 callersFunctionsubcommand
Create the sign subcommand.
src/cmd/sign.rs:14
↓ 8 callersMethodload_proof_file
(&mut self)
src/context.rs:57
↓ 7 callersMethodinto
(self)
src/common.rs:37
↓ 7 callersMethodsave_proof_file
(&self, pf: common::ProofFile)
src/context.rs:81
↓ 6 callersMethodget_unknown_fields
(&self)
src/protos/reserves.rs:239
↓ 6 callersFunctionid_arg
Create the CLI argument for passing the proof identifier.
src/cmd/common.rs:4
↓ 5 callersFunctionfile_descriptor_proto
()
src/protos/reserves.rs:1219
↓ 5 callersMethodinto
(self)
src/bitcoin.rs:86
↓ 5 callersMethodtake_proof
Find a proof with the given id.
src/common.rs:68
↓ 4 callersFunctionargs
()
src/backend/trezor.rs:15
↓ 4 callersMethodas_ref
(&self)
src/protos/reserves.rs:336
↓ 3 callersFunctionchallenge_txin
Generate the challenge input based on the challenge string. The input is created by using the SHA-256 hash of the challenge as the prevout hash.
src/bitcoin.rs:101
↓ 3 callersMethodget_block_hash
(&self)
src/protos/reserves.rs:146
↓ 3 callersFunctionhandle_interaction
Handle user interactions with Trezor when asked for device PIN or passphrase.
src/backend/trezor.rs:27
↓ 3 callersMethodmut_unknown_fields
(&mut self)
src/protos/reserves.rs:243
↓ 3 callersFunctionprint_outputs
(pre: &str, proof: &bitcoin::Proof)
src/cmd/inspect.rs:15
↓ 3 callersFunctionsetup_logger
(lvl: log::LevelFilter)
src/main.rs:29
↓ 2 callersMethodargs_network
The network explicitly specified by cli arguments.
src/context.rs:102
↓ 2 callersMethodclear_block_number
(&mut self)
src/protos/reserves.rs:111
↓ 2 callersMethoddescriptor
(&self)
src/protos/reserves.rs:257
↓ 2 callersMethodget_cached_size
(&self)
src/protos/reserves.rs:235
↓ 2 callersMethodnetwork
(&self)
src/context.rs:110
↓ 2 callersMethodproof_file_path
(&self)
src/context.rs:53
↓ 2 callersMethodset_block_number
Param is passed by value, moved
src/protos/reserves.rs:116
↓ 2 callersMethodsign_tx
Ask Trezor to sign the given tx.
src/backend/trezor.rs:118
↓ 2 callersMethodtxout
Get the tx output for this UTXO.
src/bitcoin.rs:44
↓ 2 callersMethodvalue
(&self)
src/protos/reserves.rs:677
↓ 1 callersMethodclear_block_hash
(&mut self)
src/protos/reserves.rs:126
↓ 1 callersMethodclear_challenge
(&mut self)
src/protos/reserves.rs:779
↓ 1 callersMethodclear_id
(&mut self)
src/protos/reserves.rs:361
↓ 1 callersMethodclear_network
(&mut self)
src/protos/reserves.rs:764
↓ 1 callersMethodclear_proof_tx
(&mut self)
src/protos/reserves.rs:402
↓ 1 callersMethodclear_proofs
(&mut self)
src/protos/reserves.rs:820
↓ 1 callersMethodclear_psbt
(&mut self)
src/protos/reserves.rs:453
↓ 1 callersMethodclear_psbt_input
(&mut self)
src/protos/reserves.rs:85
↓ 1 callersMethodclear_status
(&mut self)
src/protos/reserves.rs:387
↓ 1 callersMethodclear_txid
(&mut self)
src/protos/reserves.rs:44
↓ 1 callersMethodclear_utxos
(&mut self)
src/protos/reserves.rs:428
↓ 1 callersMethodclear_version
(&mut self)
src/protos/reserves.rs:749
↓ 1 callersMethodclear_vout
(&mut self)
src/protos/reserves.rs:70
↓ 1 callersMethoddry_run
(&self)
src/context.rs:123
↓ 1 callersMethodfetch_proof_prevouts
Fetch the previous outpoints for the inputs of the proof tx. We do this to verify they all existed at the given block number.
src/backend/bitcoind.rs:130
↓ 1 callersFunctionfetch_utxos
(command: &clap::ArgMatches)
src/cmd/fetch_utxos.rs:17
↓ 1 callersMethodfetch_utxos
Fetch unspent outputs from the node's wallet.
src/backend/bitcoind.rs:53
↓ 1 callersMethodget_block_number
(&self)
src/protos/reserves.rs:120
↓ 1 callersMethodget_network
(&self)
src/protos/reserves.rs:773
↓ 1 callersMethodget_psbt_input
(&self)
src/protos/reserves.rs:105
↓ 1 callersMethodget_txid
(&self)
src/protos/reserves.rs:64
↓ 1 callersMethodget_version
(&self)
src/protos/reserves.rs:758
↓ 1 callersMethodget_vout
(&self)
src/protos/reserves.rs:79
↓ 1 callersFunctionglobal_args
()
src/context.rs:11
↓ 1 callersFunctionnetwork
Convert network into Bitcoin network.
src/bitcoin.rs:19
↓ 1 callersFunctionparse_descriptor_proto
()
src/protos/reserves.rs:1215
↓ 1 callersMethodset_block_hash
Param is passed by value, moved
src/protos/reserves.rs:131
↓ 1 callersMethodset_challenge
Param is passed by value, moved
src/protos/reserves.rs:784
↓ 1 callersMethodset_id
Param is passed by value, moved
src/protos/reserves.rs:366
↓ 1 callersMethodset_network
Param is passed by value, moved
src/protos/reserves.rs:769
↓ 1 callersMethodset_proof_tx
Param is passed by value, moved
src/protos/reserves.rs:407
↓ 1 callersMethodset_proofs
Param is passed by value, moved
src/protos/reserves.rs:825
↓ 1 callersMethodset_psbt
Param is passed by value, moved
src/protos/reserves.rs:458
↓ 1 callersMethodset_psbt_input
Param is passed by value, moved
src/protos/reserves.rs:90
↓ 1 callersMethodset_status
Param is passed by value, moved
src/protos/reserves.rs:392
↓ 1 callersMethodset_txid
Param is passed by value, moved
src/protos/reserves.rs:49
↓ 1 callersMethodset_utxos
Param is passed by value, moved
src/protos/reserves.rs:433
↓ 1 callersMethodset_version
Param is passed by value, moved
src/protos/reserves.rs:754
↓ 1 callersMethodset_vout
Param is passed by value, moved
src/protos/reserves.rs:75
↓ 1 callersFunctionsha256
Implements SHA-256.
src/utils.rs:7
↓ 1 callersFunctionsign_proof
Sign the tx with the active backend in the context.
src/cmd/sign.rs:23
↓ 1 callersMethodspending_utxos
Return all the outpoins this proof is spending.
src/bitcoin.rs:242
↓ 1 callersMethodstart_signing
Advance the proof to the SIGNING state by constructing a PSBT transaction to be signed.
src/bitcoin.rs:186
↓ 1 callersFunctiontx_progress
( psbt: &mut psbt::PartiallySignedTransaction, progress: SignTxProgress, network: BitcoinNetwork, signed_t
src/backend/trezor.rs:55
↓ 1 callersMethodvalue
Get the output amount as an Amount object.
src/bitcoin.rs:55
↓ 1 callersMethodverbosity
(&self)
src/context.rs:97
↓ 1 callersMethodverify
(&self, challenge: &str, prevouts: Vec<TxOut>)
src/bitcoin.rs:253
Functionargs
()
src/backend/bitcoind.rs:15
Methodas_any
(&self)
src/protos/reserves.rs:247
Methodas_any_mut
(&mut self)
src/protos/reserves.rs:250
Methodcompute_size
(&self)
src/protos/reserves.rs:193
Methoddefault
()
src/protos/reserves.rs:718
Methoddefault_instance
()
src/protos/reserves.rs:307
Methoddescriptor_static
()
src/protos/reserves.rs:265
Methodenum_descriptor_static
()
src/protos/reserves.rs:701
Functionexecute
Execute the add-proof command.
src/cmd/add_proof.rs:25
Functionexecute
Execute the verify command.
src/cmd/verify.rs:19
Functionexecute
Execute the init command.
src/cmd/init.rs:28
Functionexecute
Execute the fetch-utxos command.
src/cmd/fetch_utxos.rs:27
Functionexecute
Execute the drop-utxos command.
src/cmd/drop_utxos.rs:25
Functionexecute
Execute the verify command.
src/cmd/inspect.rs:36
Functionexecute
Execute the add-utxo command.
src/cmd/add_utxo.rs:61
Functionexecute
Execute the drop command.
src/cmd/drop.rs:12
Methodfmt
(&self, f: &mut ::std::fmt::Formatter)
src/protos/reserves.rs:330
Methodfrom
(p: protos::ProofOfReserves)
src/common.rs:18
Methodfrom
(o: protos::UTXO)
src/bitcoin.rs:67
Methodfrom_i32
(value: i32)
src/protos/reserves.rs:681
Methodget_challenge
(&self)
src/protos/reserves.rs:799
Methodget_id
(&self)
src/protos/reserves.rs:381
Methodget_proof_tx
(&self)
src/protos/reserves.rs:422
next →1–100 of 145, ranked by callers