Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BitVM/BitVM
/ functions
Functions
2,120 in github.com/BitVM/BitVM
⨍
Functions
2,120
◇
Types & classes
197
↓ 401 callers
Method
clone
(&self)
bridge/src/proof.rs:58
↓ 372 callers
Method
len
(&self)
bitvm/src/lib.rs:55
↓ 259 callers
Method
push
(element: ark_bn254::G2Affine)
bitvm/src/bn254/g2.rs:110
↓ 206 callers
Method
tx
(&self)
bridge/src/transactions/take_2.rs:38
↓ 162 callers
Function
run
(script: treepp::Script)
bitvm/src/lib.rs:263
↓ 135 callers
Method
as_ref
(&self)
fuzz/fuzz_targets/blake3.rs:44
↓ 109 callers
Function
execute_script
(script: treepp::Script)
bitvm/src/lib.rs:119
↓ 100 callers
Method
push
(&mut self, key: K, value: V)
bridge/src/client/memory_cache.rs:35
↓ 98 callers
Method
finalize
(&self)
bridge/src/transactions/take_2.rs:297
↓ 82 callers
Method
into
(self)
final-spv/src/transaction.rs:159
↓ 59 callers
Method
generate_taproot_address
(&self)
bridge/src/connectors/connector_a.rs:77
↓ 58 callers
Function
generate_stub_outpoint
( client: &BitVMClient, funding_utxo_address: &Address, input_value: Amount, )
bridge/tests/bridge/helper.rs:118
↓ 54 callers
Method
pre_sign
( &mut self, context: &VerifierContext, connector_0: &Connector0, connector_5:
bridge/src/transactions/take_2.rs:272
↓ 53 callers
Function
generate_pay_to_pubkey_script_address
(network: Network, public_key: &PublicKey)
bridge/src/scripts.rs:80
↓ 49 callers
Method
sync
(&mut self)
bridge/src/client/client.rs:255
↓ 47 callers
Method
id
(&self)
bridge/src/graphs/peg_in.rs:118
↓ 47 callers
Method
push_nonces
(&mut self, context: &VerifierContext)
bridge/src/transactions/pre_signed_musig2.rs:56
↓ 45 callers
Function
check_tx_output_sum
(input_amount_without_relay_fee: u64, tx: &Transaction)
bridge/tests/bridge/helper.rs:65
↓ 44 callers
Method
flush
(&mut self)
bridge/src/client/client.rs:263
↓ 43 callers
Method
wait
(&self)
bridge/tests/bridge/faucet.rs:59
↓ 38 callers
Function
setup_test
()
bridge/tests/bridge/setup.rs:188
↓ 33 callers
Method
to_witness
(&self, elem_type: ElementType)
bitvm/src/chunk/elements.rs:222
↓ 30 callers
Function
wait_for_timelock_expiry
(network: Network, timelock_name: Option<&str>)
bridge/tests/bridge/helper.rs:99
↓ 29 callers
Method
double
(a: u32)
bitvm/src/bn254/fq2.rs:119
↓ 28 callers
Method
fund_input
(&self, address: &Address, amount: Amount)
bridge/tests/bridge/faucet.rs:63
↓ 26 callers
Method
connectors_num
(&self)
bridge/src/transactions/assert_transactions/utils.rs:25
↓ 26 callers
Function
verify_if_not_mined
(client: &AsyncClient, txid: Txid)
bridge/src/graphs/base.rs:82
↓ 25 callers
Method
drop
()
bitvm/src/bn254/g2.rs:34
↓ 23 callers
Method
generate_taproot_spend_info
(&self)
bridge/src/connectors/connector_a.rs:67
↓ 23 callers
Method
neg
(a: u32)
bitvm/src/bn254/fq2.rs:152
↓ 23 callers
Method
sign
(&mut self, context: &OperatorContext, connector_c: &ConnectorC)
bridge/src/transactions/take_2.rs:286
↓ 22 callers
Function
generate_default_tx_in
(input: &Input)
bridge/src/connectors/base.rs:10
↓ 21 callers
Method
broadcast_tx
(&self, tx: &Transaction)
bridge/src/client/client.rs:1391
↓ 21 callers
Method
generate_taproot_leaf_tx_in
(&self, leaf_index: u32, input: &Input)
bridge/src/connectors/connector_a.rs:59
↓ 21 callers
Function
wait_for_confirmation_with_message
(network: Network, message: Option<&str>)
bridge/tests/bridge/helper.rs:88
↓ 20 callers
Function
disconnect
( insecure_ftp_stream: Option<&mut AsyncFtpStream>, secure_ftp_stream: Option<&mut AsyncNativeTlsFtpSt
bridge/src/client/data_store/ftp/lib.rs:389
↓ 20 callers
Method
name
(&self)
bridge/src/transactions/take_2.rs:300
↓ 20 callers
Function
relay_fee
(vsize: usize)
bridge/src/transactions/base.rs:59
↓ 20 callers
Function
serialize
(object: &impl Serialize)
bridge/src/serialization.rs:3
↓ 19 callers
Function
generate_pay_to_pubkey_script
(public_key: &PublicKey)
bridge/src/scripts.rs:32
↓ 19 callers
Method
mul
()
bitvm/src/bigint/mul.rs:6
↓ 19 callers
Method
tx_mut
(&mut self)
bridge/src/transactions/take_2.rs:42
↓ 18 callers
Method
process_peg_in_as_verifier
TODO: refactor series of method e.g. process_*_as_* to return Result in order to properly handle internal errors
bridge/src/client/client.rs:732
↓ 18 callers
Function
validate_transaction
( transaction: &Transaction, comparison_transaction: &Transaction, tx_name: &'static str, )
bridge/src/transactions/base.rs:130
↓ 17 callers
Method
fund_inputs
( &self, client: &BitVMClient, funding_inputs: &Vec<(&Address, Amount)>, )
bridge/tests/bridge/faucet.rs:71
↓ 17 callers
Function
generate_public_key
Returns the public key for the given secret key and the parameters
bitvm/src/signatures/winternitz.rs:105
↓ 17 callers
Method
is_zero
()
bitvm/src/bn254/g1.rs:495
↓ 17 callers
Function
test_sha256
(hex_in: &str, use_add_table: bool, use_full_xor: bool)
bitvm/src/hash/sha256_u4_stack.rs:779
↓ 16 callers
Method
push
(a: ark_bn254::Fq)
bitvm/src/bn254/fq.rs:94
↓ 16 callers
Method
push_verifier_nonces
(&mut self, graph_id: &GraphId)
bridge/src/client/client.rs:1336
↓ 16 callers
Method
push_verifier_signature
(&mut self, graph_id: &GraphId)
bridge/src/client/client.rs:1552
↓ 14 callers
Function
get_reward_amount
(initial_amount: u64)
bridge/tests/bridge/helper.rs:73
↓ 14 callers
Method
is_empty
(&self)
bitvm/src/lib.rs:58
↓ 14 callers
Function
merge_transactions
( destination_transaction: &mut Transaction, source_transaction: &Transaction, )
bridge/src/transactions/base.rs:63
↓ 14 callers
Method
sync
(&mut self)
bridge/src/client/cli/query_command.rs:65
↓ 13 callers
Function
finalize_musig2_taproot_input
( tx: &mut T, context: &dyn BaseContext, input_index: usize, sighash_type: TapSighashType,
bridge/src/transactions/pre_signed_musig2.rs:149
↓ 13 callers
Function
frob_q_power
[q1, -q2, q3]
bitvm/src/chunk/taps_point_ops.rs:28
↓ 13 callers
Method
get
(&self, index: usize)
bitvm/src/lib.rs:62
↓ 13 callers
Function
pre_sign_musig2_taproot_input
( tx: &mut T, context: &VerifierContext, input_index: usize, sighash_type: TapSighashType,
bridge/src/transactions/pre_signed_musig2.rs:114
↓ 12 callers
Method
add
(mut a: u32, mut b: u32)
bitvm/src/bn254/fq2.rs:94
↓ 12 callers
Method
data
(&self)
bridge/src/client/client.rs:217
↓ 12 callers
Method
drop
(&self, stack: &mut StackTracker)
bitvm/src/hash/blake3_utils.rs:54
↓ 11 callers
Function
calculate_sha256
(input: &[u8])
final-spv/src/utils.rs:11
↓ 11 callers
Method
flush
(&self)
bridge/src/client/cli/query_response.rs:25
↓ 11 callers
Function
generate_pay_to_pubkey_taproot_script
(public_key: &XOnlyPublicKey)
bridge/src/scripts.rs:100
↓ 11 callers
Method
get
(&mut self, key: &Q)
bridge/src/client/memory_cache.rs:39
↓ 11 callers
Function
hinted_check_line_through_point
check line through one point, that is: y - alpha * x - bias = 0 input on stack: x (2 elements) y (2 elements) input of parameters: c3: alpha c4: -bi
bitvm/src/bn254/g2.rs:687
↓ 11 callers
Function
merge_musig2_nonces_and_signatures
assumes source_transaction is the latest
bridge/src/transactions/base.rs:94
↓ 11 callers
Method
multi_miller_loop_affine
( &self, a: impl IntoIterator<Item = impl Into<ark_ec::bn::G1Prepared<ark_bn254::Config>>>,
bitvm/src/bn254/ell_coeffs.rs:244
↓ 11 callers
Method
prev_outs
(&self)
bridge/src/transactions/take_2.rs:46
↓ 10 callers
Method
create_peg_in_graph
(&mut self, input: Input, evm_address: &str)
bridge/src/client/client.rs:917
↓ 10 callers
Function
disconnect
(sftp: _Sftp)
bridge/src/client/data_store/sftp.rs:322
↓ 10 callers
Function
generate_keys_from_secret
(network: Network, secret: &str)
bridge/src/contexts/base.rs:15
↓ 10 callers
Function
print_tx_broadcasted
(tx_name: &str, txid: Txid)
bridge/tests/bridge/helper.rs:320
↓ 10 callers
Method
push
(element: ark_bn254::G1Affine)
bitvm/src/bn254/g1.rs:135
↓ 10 callers
Function
rrot
(x: u32, n: usize)
bitvm/src/hash/sha256.rs:940
↓ 10 callers
Function
setup_test_full
()
bridge/tests/bridge/setup.rs:113
↓ 10 callers
Method
total_digit_len
Total number of digits (message plus checksum).
bitvm/src/signatures/winternitz.rs:63
↓ 10 callers
Function
verify_funding_inputs
(client: &BitVMClient, funding_inputs: &Vec<(&Address, Amount)>)
bridge/tests/bridge/helper.rs:165
↓ 10 callers
Function
verify_public_nonces_for_tx
( tx: &(impl BaseTransaction + PreSignedMusig2Transaction), )
bridge/src/transactions/base.rs:219
↓ 10 callers
Function
wait_for_confirmation
(network: Network)
bridge/tests/bridge/helper.rs:95
↓ 9 callers
Method
add_output
(&mut self, output_script_pubkey: ScriptBuf)
bridge/src/transactions/disprove_chain.rs:193
↓ 9 callers
Method
append
(&mut self, leaf: [u8; 32])
header-chain/src/mmr_guest.rs:23
↓ 9 callers
Function
chunk_dense_dense_mul
( a: ark_bn254::Fq6, b: ark_bn254::Fq6, )
bitvm/src/chunk/taps_mul.rs:364
↓ 9 callers
Function
chunk_point_ops_and_multiply_line_evals_step_1
( is_dbl: bool, is_frob: Option<bool>, ate_bit: Option<i8>, t4: ElemG2Eval, p4: ark_bn254:
bitvm/src/chunk/taps_point_ops.rs:617
↓ 9 callers
Function
g
( stack: &mut StackTracker, var_map: &mut HashMap<u8, StackVariable>, a: u8, b: u8, c: u8,
bitvm/src/hash/blake3_utils.rs:248
↓ 9 callers
Method
generate_address
(&self)
bridge/src/connectors/connector_4.rs:35
↓ 9 callers
Function
get_pubkeys
(secret_key: Vec<String>)
bitvm/src/chunk/api_runtime_utils.rs:713
↓ 9 callers
Function
hinted_from_eval_point
input of func (params): p.x, p.y Input Hints On Stack tmul hints, p.y_inverse output on stack: x' = -p.x / p.y y' = 1 / p.y
bitvm/src/bn254/g1.rs:537
↓ 9 callers
Function
u4_logic_with_table_stack
Does the given logical operation with parameters
bitvm/src/u4/u4_logic_stack.rs:83
↓ 9 callers
Method
validate
(&self)
bridge/src/graphs/peg_in.rs:520
↓ 8 callers
Method
broadcast_peg_in_deposit
( &mut self, peg_in_graph_id: &String, )
bridge/src/client/client.rs:941
↓ 8 callers
Method
compute_block_hash
(&self)
header-chain/src/header_chain.rs:119
↓ 8 callers
Method
create_peg_out_graph
( &mut self, peg_in_graph_id: &str, peg_out_confirm_input: Input, commitment_s
bridge/src/client/client.rs:968
↓ 8 callers
Function
deserialize
(data: &'a str)
bridge/src/serialization.rs:9
↓ 8 callers
Function
error_response
(err: String)
bridge/src/client/cli/validation.rs:90
↓ 8 callers
Function
generate_timelock_tx_in
(input: &Input, num_blocks: u32)
bridge/src/connectors/base.rs:19
↓ 8 callers
Function
generate_winternitz_witness
(signing_inputs: &WinternitzSigningInputs)
bitvm/src/signatures/signing_winternitz.rs:124
↓ 8 callers
Function
num_blocks_per_network
(network: Network, mainnet_num_blocks: u32)
bridge/src/utils.rs:11
↓ 8 callers
Function
u4_add_nibble_stack
( stack: &mut StackTracker, carry: &mut StackVariable, number_count: u32, is_last: bool, q
bitvm/src/hash/sha256_u4_stack.rs:250
next →
1–100 of 2,120, ranked by callers