MCPcopy Create free account

hub / github.com/0xMiden/node / functions

Functions2,587 in github.com/0xMiden/node

↓ 2 callersFunctionbuild_account_request
Build an account request for the given account ID. If `include_code_and_vault` is true, uses dummy commitments to force the server to return code and
bin/network-monitor/src/counter.rs:935
↓ 2 callersMethodbuild_batch
(&mut self, mempool: SharedMempool, batch: SelectedBatch)
crates/block-producer/src/batch_builder/mod.rs:144
↓ 2 callersMethodbuild_status
Classifies the current status + probe state into a [`ServiceStatus`].
bin/network-monitor/src/remote_prover.rs:208
↓ 2 callersFunctionbuild_tonic_from_descriptor
Builds tonic code from a `FileDescriptorSet` with specified configuration
crates/remote-prover-client/build.rs:40
↓ 2 callersFunctioncf_for_depth
(depth: u8)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:1600
↓ 2 callersMethodchain_tip_block_number
(&self)
bin/ntx-builder/src/chain_state.rs:95
↓ 2 callersFunctionchangelog_entries_for_pull_requests
( repo: &str, pull_requests: &[u64], )
xtask/src/changelog/release.rs:294
↓ 2 callersFunctioncn
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callersFunctioncollect_rust_files
(path: &Path, files: &mut Vec<PathBuf>)
xtask/src/comment_reflow.rs:124
↓ 2 callersFunctioncommits_since_tag
(previous_stable_tag: &str, end_ref: &str)
xtask/src/changelog/release.rs:186
↓ 2 callersFunctioncompute_rate
(start: Instant, frozen_at: Option<u32>)
bin/benchmark/src/prover.rs:227
↓ 2 callersFunctionconfigure_connection_on_creation
( conn: &mut SqliteConnection, )
crates/db/src/manager.rs:78
↓ 2 callersFunctionconfigure_smt_cf_options
(opts: &mut Options)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:1184
↓ 2 callersMethodconnect
Establishes a connection to the remote transaction prover server. The connection is maintained for the lifetime of the prover. If the connection is al
crates/remote-prover-client/src/remote_prover/tx_prover.rs:67
↓ 2 callersFunctionconnect_rpc
(url: Url, local_address: Option<IpAddr>)
crates/rpc/src/tests.rs:746
↓ 2 callersFunctioncors_for_grpc_web_layer
Enables CORS support. This is required for gRPC-web support. The following implementation is based on the one in tonic-web that was deprecated in fav
crates/utils/src/cors.rs:40
↓ 2 callersFunctioncreate_account_with_code
Helper function to create account with specific code for tests
crates/store/src/db/tests.rs:1555
↓ 2 callersFunctioncreate_and_deploy_accounts
Create a fresh wallet + counter pair in memory and deploy the counter to the network. Used both at startup and by the increment task when accounts ar
bin/network-monitor/src/deploy/mod.rs:147
↓ 2 callersFunctioncreate_batch
Creates a proven batch from a list of transactions and a reference block.
bin/stress-test/src/seeding/mod.rs:595
↓ 2 callersFunctioncreate_benchmark_faucets
(vault_entries: usize)
bin/stress-test/src/seeding/mod.rs:555
↓ 2 callersFunctioncreate_consume_note_txs
For each pair of account and note, creates a transaction that consumes the note.
bin/stress-test/src/seeding/mod.rs:616
↓ 2 callersFunctioncreate_emit_note_tx
Creates a transaction from the faucet that creates the given output notes. Updates the faucet account to increase the issuance slot and it's nonce.
bin/stress-test/src/seeding/mod.rs:737
↓ 2 callersMethodcreate_executor
Creates a [`TransactionExecutor`] configured with the network transaction cycle limit.
bin/ntx-builder/src/actor/execute.rs:212
↓ 2 callersFunctioncreate_increment_tx_script
Build the transaction script for one increment. The script does two things atomically in the wallet's transaction: 1. `call`s the wallet's own `incre
bin/network-monitor/src/counter.rs:1131
↓ 2 callersFunctioncreate_network_note
Create a network note that targets the counter account.
bin/network-monitor/src/counter.rs:1196
↓ 2 callersFunctioncreate_note
Creates a public P2ID note containing 10 tokens for each requested fungible asset and sends it to the specified target account.
bin/stress-test/src/seeding/mod.rs:437
↓ 2 callersFunctioncurrent_block_height
(mut client: RpcClient)
bin/benchmark/src/inclusion.rs:214
↓ 2 callersMethodcurrent_nodes
(&self)
crates/block-producer/src/mempool/graph/state.rs:252
↓ 2 callersMethodcurrent_owner
(&self)
crates/block-producer/src/mempool/graph/state.rs:232
↓ 2 callersMethoddatabase_options
(&self)
bin/node/src/commands/store.rs:39
↓ 2 callersMethoddatabase_path
(&self)
crates/store/src/data_directory.rs:26
↓ 2 callersFunctiondecode_attachments
Decodes a serialized [`NoteAttachments`] payload. Empty bytes are treated as an empty collection so that proto3's default value round-trips cleanly.
crates/proto/src/domain/note.rs:331
↓ 2 callersMethoddescendants
Returns the node and its descendants. That is, this returns the node's children, their children etc.
crates/block-producer/src/mempool/graph/dag.rs:151
↓ 2 callersFunctiondeserialize_signed_genesis_block
(bytes: &[u8])
crates/utils/src/genesis.rs:56
↓ 2 callersFunctiondiscover_genesis
Discover the genesis commitment (hex) of the node at `rpc_url`. This is the value write RPCs such as `SubmitProvenTransaction` expect echoed back in r
bin/benchmark/src/main.rs:146
↓ 2 callersFunctiondiscover_migrations
(migration_dir: &Path)
crates/db/src/migration/build_script.rs:124
↓ 2 callersMethodentry_count_impl
(&self)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:389
↓ 2 callersMethodepoch_block_path
(&self, block_num: BlockNumber)
crates/store/src/blocks.rs:207
↓ 2 callersFunctionexecute_counter_genesis_tx
Execute the counter account's genesis (creation) transaction in-memory. Fetches the genesis block header from RPC, builds a [`MonitorDataStore`] over
bin/network-monitor/src/deploy/mod.rs:163
↓ 2 callersFunctionexisting_database_path
(database_filepath: &Path)
crates/db/src/migration/migrator.rs:300
↓ 2 callersMethodexpiration_check
(&self, expired_at: BlockNumber)
crates/block-producer/src/mempool/mod.rs:694
↓ 2 callersMethodexpired
Returns the set of nodes that expired at the given block height.
crates/block-producer/src/mempool/graph/dag.rs:203
↓ 2 callersFunctionfetch_signed_genesis_block
Downloads a trusted, signed genesis block for an official Miden network.
crates/utils/src/genesis.rs:41
↓ 2 callersFunctionfile_stem
(path: &Path)
crates/db/src/migration/build_script.rs:302
↓ 2 callersFunctionfilter_env_or_default
(var: &str, default: &str)
crates/utils/src/logging.rs:116
↓ 2 callersFunctionformat_array
(list: impl IntoIterator<Item = impl Display>)
crates/utils/src/formatting.rs:29
↓ 2 callersMethodfrom
(value: proto::remote_prover::ProofType)
bin/network-monitor/src/remote_prover.rs:51
↓ 2 callersFunctiongenerate_file_descriptor
Creates a function which emits the file descriptor of the given gRPC service file. The function looks as follows: ```rust, ignore fn <file_stem>_api
proto/build.rs:86
↓ 2 callersFunctiongenerate_mod_rs
Generate `mod.rs` which includes all files in the folder as submodules.
crates/proto/build.rs:114
↓ 2 callersFunctiongenesis_effects
Builds genesis-shaped effects: a full-state network-account update with no originating transactions, at [`BlockNumber::GENESIS`].
bin/ntx-builder/src/db/models/queries/tests.rs:300
↓ 2 callersMethodget
Get a value for a key from the `MetadataMap`. If the value can't be converted to &str, returns None
crates/utils/src/tracing/grpc.rs:132
↓ 2 callersFunctionget_account
Returns the committed account state for the given network account. # Raw SQL ```sql SELECT account_data FROM accounts WHERE account_id = ?1 ```
bin/ntx-builder/src/db/models/queries/accounts.rs:120
↓ 2 callersFunctionget_account_request
( account_id: AccountId, storage_map_slot: String, )
bin/stress-test/src/store/mod.rs:164
↓ 2 callersFunctionget_batch_inputs
Gets the batch inputs from the store and tracks the query time on the metrics.
bin/stress-test/src/seeding/mod.rs:785
↓ 2 callersMethodget_block_header
( &self, block_num: Option<BlockNumber>, include_mmr_proof: bool, )
crates/store/src/state/mod.rs:374
↓ 2 callersFunctionget_block_inputs
Gets the block inputs from the store and tracks the query time on the metrics.
bin/stress-test/src/seeding/mod.rs:806
↓ 2 callersMethodget_chain_state
Reads the singleton chain state row, returning the last synced block number, its header, and the persisted chain MMR if any block has been applied loc
bin/ntx-builder/src/db/mod.rs:169
↓ 2 callersMethodget_depth24_impl
(&self)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:537
↓ 2 callersFunctionget_genesis_header_request
()
bin/benchmark/src/main.rs:196
↓ 2 callersMethodget_inner_node_impl
(&self, index: NodeIndex)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:502
↓ 2 callersMethodget_latest_storage_map_root
Retrieves the most recent storage map SMT root for an account slot.
crates/store/src/account_state_forest/mod.rs:764
↓ 2 callersMethodget_latest_vault_root
Retrieves the most recent vault SMT root for an account. If no vault root is found for the account, returns an empty SMT root.
crates/store/src/account_state_forest/mod.rs:545
↓ 2 callersMethodget_leaf
(&self, index: u64)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:586
↓ 2 callersMethodget_leaf_impl
(&self, index: u64)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:393
↓ 2 callersMethodget_leaves_impl
(&self, indices: &[u64])
crates/large-smt-backend-rocksdb/src/rocksdb.rs:402
↓ 2 callersMethodget_notes_by_id
Queries a list of notes from the database. If the provided list of [`NoteId`] given is empty or no note matches the provided [`NoteId`] an empty list
crates/store/src/state/mod.rs:398
↓ 2 callersMethodget_storage_map_details_for_keys
( &self, account_id: AccountId, slot_name: StorageSlotName, block_num: BlockNu
crates/store/src/account_state_forest/mod.rs:340
↓ 2 callersFunctionget_store_size
Gets the size of the store file and its WAL file.
bin/stress-test/src/seeding/metrics.rs:228
↓ 2 callersMethodget_subtree
(&self, index: NodeIndex)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:595
↓ 2 callersMethodget_subtrees_impl
Batch-retrieves subtrees grouped by depth via parallel `multi_get` calls, one per depth bucket. Note: when multiple buckets error, only the first one
crates/large-smt-backend-rocksdb/src/rocksdb.rs:436
↓ 2 callersMethodget_tree_root
(&self, lineage: LineageId, block_num: BlockNumber)
crates/store/src/account_state_forest/mod.rs:267
↓ 2 callersFunctiongithub_escape_data
(value: &str)
xtask/src/main.rs:138
↓ 2 callersFunctiongithub_repo
()
xtask/src/changelog/release.rs:199
↓ 2 callersMethodhas_available_worker
(&self)
crates/block-producer/src/batch_builder/mod.rs:208
↓ 2 callersMethodhas_leaves
(&self)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:592
↓ 2 callersMethodhas_leaves_impl
(&self)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:419
↓ 2 callersFunctionhex_digit
(byte: u8)
crates/db/src/migration/schema.rs:144
↓ 2 callersMethodhistorical_selector
Determines the historical state selector of a requested block number.
crates/store/src/accounts/mod.rs:242
↓ 2 callersMethodid
(&self)
crates/block-producer/src/domain/transaction.rs:72
↓ 2 callersFunctionidx_to_raw_sql
(idx: usize)
crates/store/src/db/models/conv.rs:238
↓ 2 callersFunctionindex_from_key_bytes
Deserializes an index (u64) from a RocksDB key byte slice. Expects `key_bytes` to be exactly 8 bytes long. # Errors - `StorageError::BadKeyLen`: If `
crates/large-smt-backend-rocksdb/src/rocksdb.rs:1554
↓ 2 callersFunctioninitialize_tracking_state
Initialize tracking state by fetching the current observed (counter) and expected (wallet slot) values from the node.
bin/network-monitor/src/counter.rs:741
↓ 2 callersMethodinput_note_count
(&self)
crates/block-producer/src/domain/transaction.rs:104
↓ 2 callersMethodinteract
Converts from `InteractError` Note: Required since `InteractError` has at least one enum variant that is _not_ `Send + Sync` and hence prevents the `
crates/db/src/errors.rs:71
↓ 2 callersMethodinto_transactions
(self)
crates/block-producer/src/domain/batch.rs:38
↓ 2 callersMethodinto_unsigned_block
Returns the unsigned genesis block.
crates/store/src/genesis/mod.rs:110
↓ 2 callersMethodis_authorized_network_tx
(&self, metadata: &MetadataMap)
crates/rpc/src/server/api.rs:243
↓ 2 callersMethodis_enabled
(&self)
crates/utils/src/logging.rs:85
↓ 2 callersMethoditer_leaves_impl
( &self, )
crates/large-smt-backend-rocksdb/src/rocksdb.rs:514
↓ 2 callersMethoditer_subtrees_impl
(&self)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:525
↓ 2 callersMethodjoin_next
Returns the result of the next completed task, or pends forever if the set is empty.
crates/block-producer/src/proof_scheduler.rs:82
↓ 2 callersFunctionke
(t)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callersFunctionkt
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callersFunctionload_mmr
(db: &mut Db)
crates/store/src/state/loader.rs:494
↓ 2 callersMethodload_proof
(&self, block_num: BlockNumber)
crates/store/src/blocks.rs:138
↓ 2 callersFunctionload_smt
(storage: S)
crates/store/src/state/loader.rs:482
↓ 2 callersFunctionload_state
(data_directory: PathBuf)
bin/stress-test/src/seeding/mod.rs:839
↓ 2 callersFunctionload_state
(runtime: &RuntimeConfig)
bin/node/src/commands/modes.rs:251
↓ 2 callersFunctionlog_failed_notes
Logs each failed note and returns a vec of `(nullifier, error)` pairs.
bin/ntx-builder/src/actor/mod.rs:666
↓ 2 callersFunctionmake_account_and_note
Generates an account, inserts into the database, and creates a note for it.
crates/store/src/db/tests.rs:255
← previousnext →601–700 of 2,587, ranked by callers