Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/reserves
/ functions
Functions
145 in github.com/ElementsProject/reserves
⨍
Functions
145
◇
Types & classes
11
↓ 22 callers
Method
command
(&self)
src/context.rs:93
↓ 9 callers
Method
clear
(&mut self)
src/protos/reserves.rs:319
↓ 9 callers
Function
execute
Execute the sign command.
src/cmd/sign.rs:40
↓ 9 callers
Function
subcommand
Create the sign subcommand.
src/cmd/sign.rs:14
↓ 8 callers
Method
load_proof_file
(&mut self)
src/context.rs:57
↓ 7 callers
Method
into
(self)
src/common.rs:37
↓ 7 callers
Method
save_proof_file
(&self, pf: common::ProofFile)
src/context.rs:81
↓ 6 callers
Method
get_unknown_fields
(&self)
src/protos/reserves.rs:239
↓ 6 callers
Function
id_arg
Create the CLI argument for passing the proof identifier.
src/cmd/common.rs:4
↓ 5 callers
Function
file_descriptor_proto
()
src/protos/reserves.rs:1219
↓ 5 callers
Method
into
(self)
src/bitcoin.rs:86
↓ 5 callers
Method
take_proof
Find a proof with the given id.
src/common.rs:68
↓ 4 callers
Function
args
()
src/backend/trezor.rs:15
↓ 4 callers
Method
as_ref
(&self)
src/protos/reserves.rs:336
↓ 3 callers
Function
challenge_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 callers
Method
get_block_hash
(&self)
src/protos/reserves.rs:146
↓ 3 callers
Function
handle_interaction
Handle user interactions with Trezor when asked for device PIN or passphrase.
src/backend/trezor.rs:27
↓ 3 callers
Method
mut_unknown_fields
(&mut self)
src/protos/reserves.rs:243
↓ 3 callers
Function
print_outputs
(pre: &str, proof: &bitcoin::Proof)
src/cmd/inspect.rs:15
↓ 3 callers
Function
setup_logger
(lvl: log::LevelFilter)
src/main.rs:29
↓ 2 callers
Method
args_network
The network explicitly specified by cli arguments.
src/context.rs:102
↓ 2 callers
Method
clear_block_number
(&mut self)
src/protos/reserves.rs:111
↓ 2 callers
Method
descriptor
(&self)
src/protos/reserves.rs:257
↓ 2 callers
Method
get_cached_size
(&self)
src/protos/reserves.rs:235
↓ 2 callers
Method
network
(&self)
src/context.rs:110
↓ 2 callers
Method
proof_file_path
(&self)
src/context.rs:53
↓ 2 callers
Method
set_block_number
Param is passed by value, moved
src/protos/reserves.rs:116
↓ 2 callers
Method
sign_tx
Ask Trezor to sign the given tx.
src/backend/trezor.rs:118
↓ 2 callers
Method
txout
Get the tx output for this UTXO.
src/bitcoin.rs:44
↓ 2 callers
Method
value
(&self)
src/protos/reserves.rs:677
↓ 1 callers
Method
clear_block_hash
(&mut self)
src/protos/reserves.rs:126
↓ 1 callers
Method
clear_challenge
(&mut self)
src/protos/reserves.rs:779
↓ 1 callers
Method
clear_id
(&mut self)
src/protos/reserves.rs:361
↓ 1 callers
Method
clear_network
(&mut self)
src/protos/reserves.rs:764
↓ 1 callers
Method
clear_proof_tx
(&mut self)
src/protos/reserves.rs:402
↓ 1 callers
Method
clear_proofs
(&mut self)
src/protos/reserves.rs:820
↓ 1 callers
Method
clear_psbt
(&mut self)
src/protos/reserves.rs:453
↓ 1 callers
Method
clear_psbt_input
(&mut self)
src/protos/reserves.rs:85
↓ 1 callers
Method
clear_status
(&mut self)
src/protos/reserves.rs:387
↓ 1 callers
Method
clear_txid
(&mut self)
src/protos/reserves.rs:44
↓ 1 callers
Method
clear_utxos
(&mut self)
src/protos/reserves.rs:428
↓ 1 callers
Method
clear_version
(&mut self)
src/protos/reserves.rs:749
↓ 1 callers
Method
clear_vout
(&mut self)
src/protos/reserves.rs:70
↓ 1 callers
Method
dry_run
(&self)
src/context.rs:123
↓ 1 callers
Method
fetch_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 callers
Function
fetch_utxos
(command: &clap::ArgMatches)
src/cmd/fetch_utxos.rs:17
↓ 1 callers
Method
fetch_utxos
Fetch unspent outputs from the node's wallet.
src/backend/bitcoind.rs:53
↓ 1 callers
Method
get_block_number
(&self)
src/protos/reserves.rs:120
↓ 1 callers
Method
get_network
(&self)
src/protos/reserves.rs:773
↓ 1 callers
Method
get_psbt_input
(&self)
src/protos/reserves.rs:105
↓ 1 callers
Method
get_txid
(&self)
src/protos/reserves.rs:64
↓ 1 callers
Method
get_version
(&self)
src/protos/reserves.rs:758
↓ 1 callers
Method
get_vout
(&self)
src/protos/reserves.rs:79
↓ 1 callers
Function
global_args
()
src/context.rs:11
↓ 1 callers
Function
network
Convert network into Bitcoin network.
src/bitcoin.rs:19
↓ 1 callers
Function
parse_descriptor_proto
()
src/protos/reserves.rs:1215
↓ 1 callers
Method
set_block_hash
Param is passed by value, moved
src/protos/reserves.rs:131
↓ 1 callers
Method
set_challenge
Param is passed by value, moved
src/protos/reserves.rs:784
↓ 1 callers
Method
set_id
Param is passed by value, moved
src/protos/reserves.rs:366
↓ 1 callers
Method
set_network
Param is passed by value, moved
src/protos/reserves.rs:769
↓ 1 callers
Method
set_proof_tx
Param is passed by value, moved
src/protos/reserves.rs:407
↓ 1 callers
Method
set_proofs
Param is passed by value, moved
src/protos/reserves.rs:825
↓ 1 callers
Method
set_psbt
Param is passed by value, moved
src/protos/reserves.rs:458
↓ 1 callers
Method
set_psbt_input
Param is passed by value, moved
src/protos/reserves.rs:90
↓ 1 callers
Method
set_status
Param is passed by value, moved
src/protos/reserves.rs:392
↓ 1 callers
Method
set_txid
Param is passed by value, moved
src/protos/reserves.rs:49
↓ 1 callers
Method
set_utxos
Param is passed by value, moved
src/protos/reserves.rs:433
↓ 1 callers
Method
set_version
Param is passed by value, moved
src/protos/reserves.rs:754
↓ 1 callers
Method
set_vout
Param is passed by value, moved
src/protos/reserves.rs:75
↓ 1 callers
Function
sha256
Implements SHA-256.
src/utils.rs:7
↓ 1 callers
Function
sign_proof
Sign the tx with the active backend in the context.
src/cmd/sign.rs:23
↓ 1 callers
Method
spending_utxos
Return all the outpoins this proof is spending.
src/bitcoin.rs:242
↓ 1 callers
Method
start_signing
Advance the proof to the SIGNING state by constructing a PSBT transaction to be signed.
src/bitcoin.rs:186
↓ 1 callers
Function
tx_progress
( psbt: &mut psbt::PartiallySignedTransaction, progress: SignTxProgress, network: BitcoinNetwork, signed_t
src/backend/trezor.rs:55
↓ 1 callers
Method
value
Get the output amount as an Amount object.
src/bitcoin.rs:55
↓ 1 callers
Method
verbosity
(&self)
src/context.rs:97
↓ 1 callers
Method
verify
(&self, challenge: &str, prevouts: Vec<TxOut>)
src/bitcoin.rs:253
Function
args
()
src/backend/bitcoind.rs:15
Method
as_any
(&self)
src/protos/reserves.rs:247
Method
as_any_mut
(&mut self)
src/protos/reserves.rs:250
Method
compute_size
(&self)
src/protos/reserves.rs:193
Method
default
()
src/protos/reserves.rs:718
Method
default_instance
()
src/protos/reserves.rs:307
Method
descriptor_static
()
src/protos/reserves.rs:265
Method
enum_descriptor_static
()
src/protos/reserves.rs:701
Function
execute
Execute the add-proof command.
src/cmd/add_proof.rs:25
Function
execute
Execute the verify command.
src/cmd/verify.rs:19
Function
execute
Execute the init command.
src/cmd/init.rs:28
Function
execute
Execute the fetch-utxos command.
src/cmd/fetch_utxos.rs:27
Function
execute
Execute the drop-utxos command.
src/cmd/drop_utxos.rs:25
Function
execute
Execute the verify command.
src/cmd/inspect.rs:36
Function
execute
Execute the add-utxo command.
src/cmd/add_utxo.rs:61
Function
execute
Execute the drop command.
src/cmd/drop.rs:12
Method
fmt
(&self, f: &mut ::std::fmt::Formatter)
src/protos/reserves.rs:330
Method
from
(p: protos::ProofOfReserves)
src/common.rs:18
Method
from
(o: protos::UTXO)
src/bitcoin.rs:67
Method
from_i32
(value: i32)
src/protos/reserves.rs:681
Method
get_challenge
(&self)
src/protos/reserves.rs:799
Method
get_id
(&self)
src/protos/reserves.rs:381
Method
get_proof_tx
(&self)
src/protos/reserves.rs:422
next →
1–100 of 145, ranked by callers