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
↓ 1 callers
Function
as_hints_fq6type_fq6data
returns coefficients of Fp6 element
bitvm/src/chunk/elements.rs:245
↓ 1 callers
Function
as_hints_g1type_g1data
(r: ark_bn254::G1Affine)
bitvm/src/chunk/elements.rs:291
↓ 1 callers
Function
as_hints_g2evalmultype_g2evaldata
returns partial_product and hash of g2 point accumulator (Hash_t)
bitvm/src/chunk/elements.rs:263
↓ 1 callers
Function
as_hints_g2evalpointtype_g2evaldata
returns g2 point accumulator (t) and hash of partial product (Hash_partial_product)
bitvm/src/chunk/elements.rs:251
↓ 1 callers
Function
as_hints_scalarelemtype_u256data
(elem: ark_ff::BigInt<4>)
bitvm/src/chunk/elements.rs:284
↓ 1 callers
Method
assert_commit_1
( &mut self, client: &AsyncClient, commitment_secrets: &HashMap<CommitmentMessageId, W
bridge/src/graphs/peg_out.rs:1735
↓ 1 callers
Method
assert_commit_2
( &mut self, client: &AsyncClient, commitment_secrets: &HashMap<CommitmentMessageId, W
bridge/src/graphs/peg_out.rs:1763
↓ 1 callers
Function
bigint_to_limbs
(n: num_bigint::BigInt, n_bits: u32)
bitvm/src/chunk/helpers.rs:141
↓ 1 callers
Function
bitcom_scripts_from_segments
( segments: &[Segment], wots_pubkeys: PublicKeys, )
bitvm/src/chunk/api_compiletime_utils.rs:274
↓ 1 callers
Function
blake3
Internal BLAKE3 implementation. Set `define_var` to `false` if the message on the stack is already defined as [`StackTracker`] variables. Set `use_f
bitvm/src/hash/blake3.rs:22
↓ 1 callers
Function
broadcast_and_verify
( client: &AsyncClient, transaction: &Transaction, )
bridge/src/graphs/base.rs:95
↓ 1 callers
Method
broadcast_challenge
( &mut self, peg_out_graph_id: &String, crowdfundng_inputs: &Vec<InputWithScript<'_>>,
bridge/src/client/client.rs:1126
↓ 1 callers
Method
broadcast_disprove_chain
( &mut self, peg_out_graph_id: &String, output_script_pubkey: ScriptBuf, )
bridge/src/client/client.rs:1253
↓ 1 callers
Method
broadcast_kick_off_timeout
( &mut self, peg_out_graph_id: &String, output_script_pubkey: ScriptBuf, )
bridge/src/client/client.rs:1114
↓ 1 callers
Method
broadcast_peg_in_refund
( &mut self, peg_in_graph_id: &String, )
bridge/src/client/client.rs:950
↓ 1 callers
Method
broadcast_start_time_timeout
( &mut self, peg_out_graph_id: &String, output_script_pubkey: ScriptBuf, )
bridge/src/client/client.rs:1085
↓ 1 callers
Function
calculate_succinct_output_prefix
Sha256(control_root, pre_state_digest, post_state_digest, id_bn254_fr)
prover/src/lib.rs:133
↓ 1 callers
Function
ch1_calculation_nib_stack
( stack: &mut StackTracker, e: StackVariable, f: StackVariable, g: StackVariable, nib: u32
bitvm/src/hash/sha256_u4_stack.rs:190
↓ 1 callers
Function
ch_calculation
(e: u32, f: u32, g: u32, offset_and: u32)
bitvm/src/hash/sha256_u4.rs:178
↓ 1 callers
Function
change_directory
(sftp: &_Sftp, file_path: Option<&str>)
bridge/src/client/data_store/sftp.rs:329
↓ 1 callers
Method
checksig_verify
Returns a Bitcoin script that verifies a Winternitz signature for the given `public_key`. ## Precondition Signature is at the stack top. ## Postcon
bitvm/src/signatures/public.rs:193
↓ 1 callers
Method
checksig_verify
Returns a Bitcoin script that verifies a Winternitz signature for the given `public_key`. ## Precondition Signature (in the verifier's format) is at
bitvm/src/signatures/winternitz.rs:265
↓ 1 callers
Method
checksig_verify_and_clear_stack
Returns a Bitcoin script that verifies a Winternitz signature for the given `public_key`. ## Precondition Signature (in the verifier's format) is at
bitvm/src/signatures/public.rs:206
↓ 1 callers
Function
checksum
Computes the checksum for the given message.
bitvm/src/signatures/winternitz.rs:114
↓ 1 callers
Function
chunk_hash_c_inv
( hint_in_c: Vec<ark_ff::BigInt<4>>, )
bitvm/src/chunk/taps_ext_miller.rs:300
↓ 1 callers
Function
chunk_message
Transforms the given message into a format that BLAKE3 understands.
bitvm/src/hash/blake3.rs:223
↓ 1 callers
Function
cleanup_cache_files
(prefix: &str, cache_location: &Path, max_cache_files: u32)
bridge/src/utils.rs:130
↓ 1 callers
Function
collect_line_coeffs
( constants: Vec<G2Prepared>, )
bitvm/src/bn254/g2.rs:401
↓ 1 callers
Function
collect_wots_msg_as_witness_per_segment
if there is partial disprove script; with no locking script; i can directly push hashes segments and assertions
bitvm/src/chunk/api_runtime_utils.rs:498
↓ 1 callers
Method
commit
(&self, item: &T)
header-chain/src/zkvm.rs:44
↓ 1 callers
Method
commit
(&self, item: &T)
final-spv/src/zkvm.rs:44
↓ 1 callers
Function
compress
( stack: &mut StackTracker, chaining: bool, counter: u32, block_len: u32, flags: u32,
bitvm/src/hash/blake3_utils.rs:472
↓ 1 callers
Function
copy_binary_to_elfs_folder
(network: String)
header-chain/header-chain-guest/build.rs:111
↓ 1 callers
Function
copy_binary_to_elfs_folder
(network: String)
final-spv/final-spv-guest/build.rs:111
↓ 1 callers
Function
corrupt
(proof_asserts: &mut Assertions, random: Option<usize>)
bitvm/src/chunk/api.rs:1369
↓ 1 callers
Function
corrupt_at_random_index
(proof_asserts: &mut Assertions)
bitvm/src/chunk/api.rs:721
↓ 1 callers
Function
create_and_mine_assert_tx
( client: &BitVMClient, verifier_0_context: &VerifierContext, verifier_1_context: &VerifierContext
bridge/tests/bridge/integration/peg_out/utils.rs:127
↓ 1 callers
Function
create_directories_if_non_existent
( sftp: &_Sftp, file_path: Option<&str>, )
bridge/src/client/data_store/sftp.rs:347
↓ 1 callers
Function
create_graph
TODO: refactor with test_musig2_peg_out
bridge/tests/bridge/e2e/e2e_l2_ui.rs:150
↓ 1 callers
Function
create_peg_in_graph
( client_0: &mut BitVMClient, deposit_funding_address: Address, deposit_amount: Amount, deposi
bridge/tests/bridge/client/musig2_peg_out.rs:573
↓ 1 callers
Function
create_peg_in_graph
( client_0: &mut BitVMClient, client_1: &mut BitVMClient, deposit_funding_address: Address, de
bridge/tests/bridge/e2e/e2e_l2_ui.rs:248
↓ 1 callers
Function
create_peg_in_graph
( depositor_verifier_0: &mut BitVMClient, verifier_1: &mut BitVMClient, deposit_input: Input,
bridge/tests/bridge/e2e/peg_out/utils.rs:20
↓ 1 callers
Method
create_peg_in_graph_with_depositor_signatures
( &mut self, depositor_public_key: &PublicKey, depositor_taproot_public_key: &XOnlyPub
bridge/src/client/client.rs:1852
↓ 1 callers
Method
data_mut
(&mut self)
bridge/src/client/client.rs:221
↓ 1 callers
Function
deserialize_txin
(reader: &mut R)
final-spv/src/transaction.rs:109
↓ 1 callers
Function
deserialize_txout
(reader: &mut R)
final-spv/src/transaction.rs:129
↓ 1 callers
Function
dfs_with_constant_mul
Core function generates lookup table A lookup table is a series of if-conditionals that take as input a w-bit scalar slice
bitvm/src/bn254/msm.rs:78
↓ 1 callers
Method
double
(a: u32)
bitvm/src/bn254/fq12.rs:95
↓ 1 callers
Method
double
(a: u32)
bitvm/src/bn254/fq6.rs:119
↓ 1 callers
Function
dry_run_taproot_input
Dry-runs a specific taproot input
bitvm/src/lib.rs:182
↓ 1 callers
Function
emulate_extern_hash_fps_scripted
(msgs: Vec<ark_bn254::Fq>)
bitvm/src/chunk/helpers.rs:205
↓ 1 callers
Function
emulate_fq_to_nibbles_scripted
(msg: ark_bn254::Fq)
bitvm/src/chunk/helpers.rs:180
↓ 1 callers
Function
extern_hash_fp_var
(fqs: Vec<[u8; 64]>)
bitvm/src/chunk/helpers.rs:104
↓ 1 callers
Function
extern_nibbles_to_bigint
(nibble_array: [u8; 64])
bitvm/src/chunk/helpers.rs:124
↓ 1 callers
Function
extract_hashes_from_assertions
( state_hashes: [CompressedStateObject; NUM_HASH], )
bitvm/src/chunk/api_runtime_utils.rs:182
↓ 1 callers
Function
extract_proof_from_assertions
( state_pubs: [CompressedStateObject; NUM_PUBS], state_fqs: [CompressedStateObject; NUM_U256],
bitvm/src/chunk/api_runtime_utils.rs:135
↓ 1 callers
Function
extract_public_params
(vk: &ark_groth16::VerifyingKey<Bn254>)
bitvm/src/chunk/api_runtime_utils.rs:198
↓ 1 callers
Function
extract_witness_from_stack
Extracts the items of the final stack after execution.
bitvm/src/signatures/signing_winternitz.rs:165
↓ 1 callers
Function
extract_witness_from_stack
Extracts the items of the final stack after execution.
bitvm/src/signatures/public.rs:400
↓ 1 callers
Function
extract_witness_from_stack
(res: ExecuteInfo)
bitvm/src/bn254/fq.rs:815
↓ 1 callers
Method
fetch_compressed_data_by_key
( &self, key: &str, file_path: Option<&str>, )
bridge/src/client/data_store/data_store.rs:132
↓ 1 callers
Method
fetch_compressed_object
( &self, file_name: &str, file_path: Option<&str>, )
bridge/src/client/data_store/sftp.rs:232
↓ 1 callers
Method
fetch_latest_valid_file
( &self, file_names: &mut Vec<String>, )
bridge/src/client/client.rs:444
↓ 1 callers
Method
filter_files_names_by_timestamp
( &self, latest_file_names: Vec<String>, period: u64, )
bridge/src/client/client.rs:371
↓ 1 callers
Function
final_circuit
The final circuit that verifies the output of the header chain circuit.
final-spv/src/lib.rs:41
↓ 1 callers
Method
finalize_input_0
(&mut self, context: &dyn BaseContext, connector_z: &ConnectorZ)
bridge/src/transactions/peg_in_confirm.rs:200
↓ 1 callers
Method
finalize_input_0
(&mut self, context: &dyn BaseContext, connector_5: &Connector5)
bridge/src/transactions/disprove.rs:168
↓ 1 callers
Method
finalize_input_0
(&mut self, context: &dyn BaseContext, connector_b: &ConnectorB)
bridge/src/transactions/disprove_chain.rs:146
↓ 1 callers
Method
finalize_input_0
(&mut self, context: &dyn BaseContext, connector_2: &Connector2)
bridge/src/transactions/start_time_timeout.rs:167
↓ 1 callers
Method
finalize_input_0
(&mut self, context: &dyn BaseContext, connector_0: &Connector0)
bridge/src/transactions/take_2.rs:204
↓ 1 callers
Method
finalize_input_0
(&mut self, context: &dyn BaseContext, connector_b: &ConnectorB)
bridge/src/transactions/assert.rs:158
↓ 1 callers
Method
finalize_input_0
(&mut self, context: &dyn BaseContext, connector_1: &Connector1)
bridge/src/transactions/kick_off_timeout.rs:141
↓ 1 callers
Method
finalize_input_0
(&mut self, context: &dyn BaseContext, connector_0: &Connector0)
bridge/src/transactions/take_1.rs:205
↓ 1 callers
Method
finalize_input_0
(&mut self, context: &dyn BaseContext, connector_d: &ConnectorD)
bridge/src/transactions/assert_transactions/assert_final.rs:229
↓ 1 callers
Method
finalize_input_0
(&mut self, context: &dyn BaseContext, connector_b: &ConnectorB)
bridge/src/transactions/assert_transactions/assert_initial.rs:197
↓ 1 callers
Method
finalize_input_1
(&mut self, context: &dyn BaseContext, connector_1: &Connector1)
bridge/src/transactions/start_time_timeout.rs:199
↓ 1 callers
Method
finalize_input_2
(&mut self, context: &dyn BaseContext, connector_5: &Connector5)
bridge/src/transactions/take_2.rs:246
↓ 1 callers
Method
finalize_input_3
(&mut self, context: &dyn BaseContext, connector_b: &ConnectorB)
bridge/src/transactions/take_1.rs:258
↓ 1 callers
Function
find_peg_in_graph
(client: &BitVMClient, peg_in_graph_id: &str)
bridge/tests/bridge/helper.rs:191
↓ 1 callers
Function
fq_to_bits
(fq: BigInt<4>, limb_size: usize)
bitvm/src/bn254/utils.rs:62
↓ 1 callers
Method
generate_and_push_depositor_signature_input_0
(&mut self, context: &DepositorContext)
bridge/src/transactions/peg_in_confirm.rs:155
↓ 1 callers
Function
generate_assert_leaves
( commits_public_keys: &BTreeMap<CommitmentMessageId, WinternitzPublicKey>, )
bridge/src/connectors/connector_c.rs:309
↓ 1 callers
Function
generate_assertions
Step 3 given public and runtime parameters (proof and scalars) generate Assertions
bitvm/src/chunk/api.rs:196
↓ 1 callers
Function
generate_id
(peg_in_graph: &PegInGraph, operator_public_key: &PublicKey)
bridge/src/graphs/peg_out.rs:2511
↓ 1 callers
Function
generate_p2pkh_address
(network: Network, public_key: &PublicKey)
bridge/src/scripts.rs:66
↓ 1 callers
Function
generate_p2tr_key_spend_schnorr_signature
( tx: &mut Transaction, input_index: usize, prev_outs: &[TxOut], sighash_type: TapSighashType,
bridge/src/transactions/signing.rs:322
↓ 1 callers
Function
generate_p2wpkh_address
(network: Network, public_key: &PublicKey)
bridge/src/scripts.rs:73
↓ 1 callers
Function
generate_p2wpkh_schnorr_signature
( context: &dyn BaseContext, tx: &mut Transaction, input_index: usize, sighash_type: EcdsaSigh
bridge/src/transactions/signing.rs:83
↓ 1 callers
Function
generate_p2wsh_schnorr_signature
( tx: &mut Transaction, input_index: usize, sighash_type: EcdsaSighashType, script: &Script,
bridge/src/transactions/signing.rs:13
↓ 1 callers
Function
generate_partial_script
(vk: &ark_groth16::VerifyingKey<Bn254>)
bitvm/src/chunk/api_compiletime_utils.rs:42
↓ 1 callers
Function
generate_pay_to_pubkey_hash_with_inscription_script
( public_key_hash: &PubkeyHash, timestamp: u32, evm_address: &str, )
bridge/src/scripts.rs:40
↓ 1 callers
Function
generate_pay_to_pubkey_hash_with_inscription_script_address
( network: Network, public_key_hash: &PubkeyHash, timestamp: u32, evm_address: &str, )
bridge/src/scripts.rs:84
↓ 1 callers
Method
generate_presign_pegin_confirm_tx
( &self, source_network: Network, recipient_address: &str, amount: Amount,
bridge/src/client/client.rs:1449
↓ 1 callers
Method
generate_presign_pegin_deposit_tx
( &self, source_network: Network, amount: Amount, recipient_address: &str,
bridge/src/client/client.rs:1496
↓ 1 callers
Method
generate_presign_pegin_refund_tx
( &self, source_network: Network, amount: Amount, recipient_address: &str,
bridge/src/client/client.rs:1524
↓ 1 callers
Function
generate_script_and_control_block
( operator_taproot_public_key: XOnlyPublicKey, lock_scripts_bytes: &Vec<Vec<u8>>, leaf_index: usiz
bridge/src/connectors/connector_c.rs:281
↓ 1 callers
Function
generate_stub_outpoints
( client: &BitVMClient, funding_utxo_address: &Address, input_value: Amount, )
bridge/tests/bridge/helper.rs:140
↓ 1 callers
Function
generate_taproot_aggregated_signature
( context: &dyn BaseContext, tx: &Transaction, aggregated_nonce: &AggNonce, input_index: usize
bridge/src/transactions/signing_musig2.rs:61
↓ 1 callers
Method
generate_taproot_leaf_0_tx_in
(&self, input: &Input)
bridge/src/connectors/connector_a.rs:37
↓ 1 callers
Method
generate_taproot_leaf_0_tx_in
(&self, input: &Input)
bridge/src/connectors/connector_d.rs:31
← previous
next →
501–600 of 2,120, ranked by callers