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
↓ 2 callers
Function
accumulate_addition_chain_for_a_scalar_mul
Compute: Sum of [a_i] (2^ (wi) P) for i = 0..N, N is the number of terms in addition chain BATCH_SIZE_PER_CHUNK such terms are batached inside a chunk
bitvm/src/bn254/msm.rs:204
↓ 2 callers
Function
add_message_checksum
Appends the checksum to the end of the message.
bitvm/src/signatures/winternitz.rs:122
↓ 2 callers
Method
assert_commits
use this when possible return both commit1 and commit2, will save time for verifying groth16
bridge/src/graphs/peg_out.rs:1793
↓ 2 callers
Method
assert_final
(&mut self, client: &AsyncClient)
bridge/src/graphs/peg_out.rs:1827
↓ 2 callers
Method
assert_initial
(&mut self, client: &AsyncClient)
bridge/src/graphs/peg_out.rs:1705
↓ 2 callers
Function
blake3_compute_script
Uses [`blake3_compute_script_with_limb`].with limb length 29, see the documentation of it for more details
bitvm/src/hash/blake3.rs:362
↓ 2 callers
Function
blake3_push_message_script_with_limb
Returns a script that pushes the given message onto the stack for BLAKE3. The script transforms the message into the correct format and pushes the re
bitvm/src/hash/blake3.rs:249
↓ 2 callers
Function
blake3_verify_output_script
Returns a script that verifies the BLAKE3 output on the stack. The script pops the BLAKE3 output and compares it with the given, expected output.
bitvm/src/hash/blake3.rs:369
↓ 2 callers
Method
broadcast_assert_commit_1
( &mut self, peg_out_graph_id: &String, proof: &RawProof, )
bridge/src/client/client.rs:1167
↓ 2 callers
Method
broadcast_assert_commit_2
( &mut self, peg_out_graph_id: &String, proof: &RawProof, )
bridge/src/client/client.rs:1185
↓ 2 callers
Method
broadcast_deposit
(&self, client: &AsyncClient)
bridge/src/graphs/peg_in.rs:555
↓ 2 callers
Function
broadcast_txs_for_disprove_scenario
( operator: &mut BitVMClient, verifier_1: &mut BitVMClient, peg_out_graph_id: &String, peg_out
bridge/tests/bridge/e2e/peg_out/utils.rs:227
↓ 2 callers
Function
calculate_new_difficulty
( epoch_start_time: u32, last_timestamp: u32, current_target: u32, )
header-chain/src/header_chain.rs:322
↓ 2 callers
Function
calculate_s
( offset_number: u32, offset_rrot: u32, offset_and: u32, shift_value: Vec<u32>, last_is_sh
bitvm/src/hash/sha256_u4.rs:130
↓ 2 callers
Method
challenge
( &mut self, client: &AsyncClient, crowdfundng_inputs: &Vec<InputWithScript<'_>>,
bridge/src/graphs/peg_out.rs:1516
↓ 2 callers
Function
change_directory
( insecure_ftp_stream: Option<&mut AsyncFtpStream>, secure_ftp_stream: Option<&mut AsyncNativeTlsFtpSt
bridge/src/client/data_store/ftp/lib.rs:406
↓ 2 callers
Function
checksum_to_digits
Converts the given `checksum` into a vector of digits. ## Output format - sequence of `n_digits` many digits - each digit a `u32` value in range `0.
bitvm/src/signatures/utils.rs:21
↓ 2 callers
Function
chunk_final_verify
( f: ark_bn254::Fq6, fixed_p1q1: ark_bn254::Fq6, t4: ark_bn254::G2Affine, q4: ark_bn254::G2Af
bitvm/src/chunk/taps_ext_miller.rs:374
↓ 2 callers
Function
chunk_hash_c
( hint_in_c: Vec<ark_ff::BigInt<4>>, )
bitvm/src/chunk/taps_ext_miller.rs:234
↓ 2 callers
Function
chunk_hash_p
( hint_in_t: ark_bn254::G1Affine, hint_in_q: ark_bn254::G1Affine, )
bitvm/src/chunk/taps_msm.rs:132
↓ 2 callers
Function
chunk_precompute_p
( hint_in_py: ark_ff::BigInt<4>, hint_in_px: ark_ff::BigInt<4>, )
bitvm/src/chunk/taps_ext_miller.rs:18
↓ 2 callers
Function
chunk_precompute_p_from_hash
precompute P
bitvm/src/chunk/taps_ext_miller.rs:117
↓ 2 callers
Function
collect_wots_sig_as_witness_per_segment
if there is a disprove script; with locking script; i can use bitcom witness segments and signatures
bitvm/src/chunk/api_runtime_utils.rs:563
↓ 2 callers
Method
commitment_public_keys
( &self, )
bridge/src/transactions/assert_transactions/utils.rs:33
↓ 2 callers
Method
confirm
(&mut self, client: &AsyncClient)
bridge/src/graphs/peg_in.rs:457
↓ 2 callers
Method
contains
(&self, key: &Q)
bridge/src/client/memory_cache.rs:61
↓ 2 callers
Function
create_and_mine_assert_initial_tx
( esplora: &AsyncClient, network: Network, verifier_0_context: &VerifierContext, verifier_1_co
bridge/tests/bridge/assert/helper.rs:59
↓ 2 callers
Function
create_and_mine_kick_off_2_tx
( client: &BitVMClient, operator_context: &OperatorContext, connector_1: &Connector1, connecto
bridge/tests/bridge/integration/peg_out/utils.rs:81
↓ 2 callers
Function
create_and_mine_peg_in_confirm_tx
( client: &BitVMClient, depositor_context: &DepositorContext, verifier_0_context: &VerifierContext
bridge/tests/bridge/integration/peg_out/utils.rs:170
↓ 2 callers
Function
create_directories_if_non_existent
(data_root_path: &Path)
bridge/src/client/files.rs:29
↓ 2 callers
Function
create_directories_if_non_existent
( insecure_ftp_stream: Option<&mut AsyncFtpStream>, secure_ftp_stream: Option<&mut AsyncNativeTlsFtpSt
bridge/src/client/data_store/ftp/lib.rs:432
↓ 2 callers
Function
create_graph_without_signing
( network: Network, depositor_public_key: &PublicKey, depositor_taproot_public_key: &XOnlyPublicKe
bridge/src/graphs/peg_in.rs:608
↓ 2 callers
Function
create_peg_out_graph
()
bridge/tests/bridge/e2e/peg_out/utils.rs:87
↓ 2 callers
Method
deposit
(&mut self, client: &AsyncClient)
bridge/src/graphs/peg_in.rs:451
↓ 2 callers
Method
disprove
( &mut self, client: &AsyncClient, output_script_pubkey: ScriptBuf, verifying_
bridge/src/graphs/peg_out.rs:1844
↓ 2 callers
Method
disprove_chain
( &mut self, client: &AsyncClient, output_script_pubkey: ScriptBuf, )
bridge/src/graphs/peg_out.rs:1911
↓ 2 callers
Function
double_padding
(num_bytes: u32)
bitvm/src/hash/sha256_u4.rs:20
↓ 2 callers
Function
double_padding
(num_bytes: u32)
bitvm/src/hash/sha256_u4_stack.rs:59
↓ 2 callers
Function
execute_script_with_inputs
(script: treepp::Script, witness: Vec<Vec<u8>>)
bitvm/src/lib.rs:334
↓ 2 callers
Function
extern_bigint_to_nibbles
(msg: ark_ff::BigInt<4>)
bitvm/src/chunk/helpers.rs:22
↓ 2 callers
Function
extern_nibbles_to_limbs
(nibble_array: [u8; 64])
bitvm/src/chunk/helpers.rs:134
↓ 2 callers
Function
extract_witness_from_stack
(res: ExecuteInfo)
bitvm/src/bn254/g2.rs:784
↓ 2 callers
Function
extract_witness_from_stack
(res: ExecuteInfo)
bitvm/src/bn254/g1.rs:620
↓ 2 callers
Function
fetch_compressed_object
( credentials: &FtpCredentials, file_name: &str, file_path: Option<&str>, )
bridge/src/client/data_store/ftp/lib.rs:110
↓ 2 callers
Function
fetch_object
( credentials: &FtpCredentials, file_name: &str, file_path: Option<&str>, )
bridge/src/client/data_store/ftp/lib.rs:76
↓ 2 callers
Function
find_peg_in_graph_by_peg_out
( client: &BitVMClient, peg_out_graph_id: &str, )
bridge/tests/bridge/helper.rs:211
↓ 2 callers
Function
find_superblock
TODO: Replace with a real superblock
bridge/src/superblock.rs:27
↓ 2 callers
Function
first_winternitz_public_key_bytes
( commitment_public_keys: &BTreeMap<CommitmentMessageId, WinternitzPublicKey>, )
bridge/src/connectors/connector_c.rs:250
↓ 2 callers
Function
fq_to_chunked_bits
(fq: BigInt<4>, limb_size: usize)
bitvm/src/chunk/helpers.rs:28
↓ 2 callers
Function
fund_create_and_mine_assert_initial_tx
( config: &SetupConfigFull, faucet: &Faucet, input_amount: Amount, )
bridge/tests/bridge/assert/helper.rs:22
↓ 2 callers
Method
fund_input_by_cli
(&self, address: &Address, amount: Amount)
bridge/tests/bridge/faucet.rs:96
↓ 2 callers
Method
fund_input_with_retry
(&self, address: &Address, amount: Amount)
bridge/tests/bridge/faucet.rs:113
↓ 2 callers
Function
generate_aggregated_nonce
(nonces: &Vec<PubNonce>)
bridge/src/transactions/signing_musig2.rs:20
↓ 2 callers
Method
generate_connector_z_taproot_address
( &self, source_network: Network, recipient_address: &str, depositor_taproot_k
bridge/src/client/client.rs:1430
↓ 2 callers
Method
generate_disprove_witness
( &self, commit_1_witness: Vec<RawWitness>, commit_2_witness: Vec<RawWitness>,
bridge/src/connectors/connector_c.rs:96
↓ 2 callers
Function
generate_lookup_tables
This function returns N-Tables each pairing with an addition term Output includes an array of tables-entries and an array of precomputed table scripts
bitvm/src/bn254/msm.rs:114
↓ 2 callers
Function
generate_nonce
()
bridge/src/transactions/signing_musig2.rs:16
↓ 2 callers
Function
generate_segments_using_mock_proof
(vk: Vkey, skip_evaluation: bool)
bitvm/src/chunk/api_compiletime_utils.rs:106
↓ 2 callers
Function
generate_signatures_for_any_proof
doesn't crash even if the proof may be incorrect should be used only for test purposes, as in production, its best to throw error if assertion is inva
bitvm/src/chunk/api.rs:300
↓ 2 callers
Method
generate_taproot_leaf_0_script
(&self)
bridge/src/connectors/connector_a.rs:33
↓ 2 callers
Method
generate_taproot_leaf_0_script
(&self)
bridge/src/connectors/connector_d.rs:27
↓ 2 callers
Method
generate_taproot_leaf_0_script
(&self)
bridge/src/connectors/connector_2.rs:49
↓ 2 callers
Method
generate_taproot_leaf_0_script
(&self)
bridge/src/connectors/connector_b.rs:55
↓ 2 callers
Method
generate_taproot_leaf_0_script
(&self)
bridge/src/connectors/connector_5.rs:27
↓ 2 callers
Method
generate_taproot_leaf_0_script
(&self)
bridge/src/connectors/connector_1.rs:62
↓ 2 callers
Method
generate_taproot_leaf_0_script
(&self)
bridge/src/connectors/connector_z.rs:40
↓ 2 callers
Method
generate_taproot_leaf_0_script
(&self)
bridge/src/connectors/connector_0.rs:27
↓ 2 callers
Method
generate_taproot_leaf_0_script
(&self)
bridge/src/connectors/connector_6.rs:44
↓ 2 callers
Method
generate_taproot_leaf_1_script
(&self)
bridge/src/connectors/connector_a.rs:41
↓ 2 callers
Method
generate_taproot_leaf_1_script
(&self)
bridge/src/connectors/connector_2.rs:73
↓ 2 callers
Method
generate_taproot_leaf_1_script
(&self)
bridge/src/connectors/connector_b.rs:63
↓ 2 callers
Method
generate_taproot_leaf_1_script
(&self)
bridge/src/connectors/connector_5.rs:35
↓ 2 callers
Method
generate_taproot_leaf_1_script
(&self)
bridge/src/connectors/connector_1.rs:83
↓ 2 callers
Method
generate_taproot_leaf_1_script
leaf[1] is spendable by a multisig of depositor and OPK and VPK[1…N] the transaction script contains an [evm_address] (inscription data)
bridge/src/connectors/connector_z.rs:53
↓ 2 callers
Method
generate_taproot_leaf_1_script
(&self)
bridge/src/connectors/connector_0.rs:35
↓ 2 callers
Method
generate_taproot_leaf_2_script
(&self)
bridge/src/connectors/connector_b.rs:74
↓ 2 callers
Method
generate_taproot_leaf_2_script
(&self)
bridge/src/connectors/connector_1.rs:94
↓ 2 callers
Method
generate_taproot_leaf_script
(&self, leaf_index: u32)
bridge/src/connectors/connector_a.rs:51
↓ 2 callers
Function
generate_taproot_spend_info
( operator_taproot_public_key: XOnlyPublicKey, lock_scripts_bytes: &Vec<Vec<u8>>, )
bridge/src/connectors/connector_c.rs:295
↓ 2 callers
Function
generate_timelock_script_address
( network: Network, public_key: &PublicKey, num_blocks_timelock: u32, )
bridge/src/scripts.rs:126
↓ 2 callers
Method
get_depositor_status
(&self, depositor_public_key: &PublicKey)
bridge/src/client/client.rs:1685
↓ 2 callers
Method
get_initial_utxos
(&self, address: Address, amount: Amount)
bridge/src/client/client.rs:1293
↓ 2 callers
Function
get_object
( credentials: &FtpCredentials, file_name: &str, file_path: Option<&str>, )
bridge/src/client/data_store/ftp/lib.rs:149
↓ 2 callers
Method
get_object
(&self, key: &str, file_path: Option<&str>)
bridge/src/client/data_store/sftp.rs:74
↓ 2 callers
Method
get_object
(&self, key: &str, file_path: Option<&str>)
bridge/src/client/data_store/aws_s3.rs:55
↓ 2 callers
Method
get_object
( &self, file_name: &str, file_path: Option<&str>, )
bridge/src/client/data_store/local_file.rs:48
↓ 2 callers
Method
get_or_put
(&mut self, key: K, f: F)
bridge/src/client/memory_cache.rs:47
↓ 2 callers
Function
get_peg_in_graph_mut
(client: &mut BitVMClient, id: String)
bridge/tests/bridge/client/fee.rs:547
↓ 2 callers
Method
get_peg_out_burnt_event
(&self)
bridge/src/client/chain/mock_adaptor.rs:36
↓ 2 callers
Method
get_peg_out_init_event
(&self)
bridge/src/client/chain/mock_adaptor.rs:26
↓ 2 callers
Function
get_private_data_directory_path
(data_root_path: &Path)
bridge/src/client/files.rs:17
↓ 2 callers
Function
get_private_data_file_path
(data_root_path: &Path)
bridge/src/client/files.rs:21
↓ 2 callers
Function
get_public_data_directory_path
(data_root_path: &Path)
bridge/src/client/files.rs:25
↓ 2 callers
Method
get_subroots
Returns the subroots of the MMR.
header-chain/src/mmr_native.rs:47
↓ 2 callers
Function
get_test_nonces
()
bridge/src/transactions/base.rs:256
↓ 2 callers
Method
get_withdrawer_status
(&self, withdrawer_chain_address: &str)
bridge/src/client/client.rs:1751
↓ 2 callers
Method
graph_mut
(&mut self, graph_id: &GraphId)
bridge/src/client/client.rs:91
↓ 2 callers
Function
groth16_commitment_secrets_to_public_keys
( commitment_secrets: &HashMap<CommitmentMessageId, WinternitzSecret>, )
bridge/src/transactions/assert_transactions/utils.rs:99
↓ 2 callers
Method
handle_automatic_command
(&mut self)
bridge/src/client/cli/client_command.rs:385
↓ 2 callers
Method
handle_broadcast_command
(&mut self, sub_matches: &ArgMatches)
bridge/src/client/cli/client_command.rs:454
← previous
next →
301–400 of 2,120, ranked by callers