MCPcopy Index your code

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

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

↓ 5 callersMethodrange_bounds_check
Fetches the committed chain tip and ensures the requested range does not extend beyond it. Returns the chain tip so callers can reuse it (e.g. in the
crates/rpc/src/server/api.rs:203
↓ 5 callersFunctionrate_per_second
(count: u64, elapsed: Duration)
bin/benchmark/src/summary.rs:244
↓ 5 callersFunctionselect_account_code_by_commitment
Select account code by its commitment hash from the `account_codes` table. # Returns The account code bytes if found, or `None` if no code exists wi
crates/store/src/db/models/queries/accounts.rs:103
↓ 5 callersMethodselection_candidates
Returns the set of nodes which can be selected. Candidates are nodes that are not currently selected, have all parents selected, and can be handed di
crates/block-producer/src/mempool/graph/dag.rs:82
↓ 5 callersMethodspawn
Spawns a named task into the set.
crates/utils/src/tasks.rs:33
↓ 5 callersMethodspawn_actor
(&mut self, account_id: AccountId)
bin/ntx-builder/src/coordinator.rs:138
↓ 5 callersFunctionstart_store
Loads the store state from the given data directory.
bin/stress-test/src/seeding/mod.rs:835
↓ 5 callersFunctionstorage_header
()
crates/store/src/state/account.rs:511
↓ 5 callersMethodsubmit_proven_tx
( &self, proven_tx: &ProvenTransaction, tx_inputs: &TransactionInputs, )
bin/ntx-builder/src/clients/rpc.rs:221
↓ 5 callersMethodsubtree_cf
( cache: &Cache, tuning_options: &RocksDbTuningOptions, bloom_filter_bits:
crates/large-smt-backend-rocksdb/src/rocksdb.rs:159
↓ 5 callersFunctiontx_with_nullifiers
( account_index: u32, range: std::ops::Range<u64>, )
crates/block-producer/src/mempool/tests/add_user_batch.rs:114
↓ 5 callersMethodwith_attribute
(mut self, key: &'static str, value: &'static str)
crates/utils/src/logging.rs:39
↓ 5 callersMethodwith_metadata_genesis
Include a specific genesis commitment string in request metadata.
crates/proto/src/clients/mod.rs:444
↓ 5 callersFunctionwrite_toml_file
Helper to write TOML content to a file and return the path
crates/store/src/genesis/config/tests.rs:13
↓ 5 callersFunctionx
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callersFunctionM
(t)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callersFunctionMt
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callersFunctionQt
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callersFunctionTe
()
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callersFunctionVe
(e,t,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callersMethodaccount_delta
Returns a description of changes between the initial and final account states.
bin/validator/src/tx_validation/validated_tx.rs:42
↓ 4 callersMethodaccount_updates
( &self, )
crates/block-producer/src/mempool/graph/node.rs:144
↓ 4 callersFunctionapply_all_storage_maps_response_budget
( block_num: BlockNumber, witness: &AccountWitness, account_header: AccountHeader, account_cod
crates/store/src/state/account.rs:420
↓ 4 callersFunctionapply_committed_block
Applies a committed block's effects to the database in a single transaction: - Upserts each touched network account: new full-state deltas insert, pa
bin/ntx-builder/src/db/models/queries/mod.rs:47
↓ 4 callersFunctionassert_storage_map_slot_entries
( storage: &AccountStorage, slot_name: &StorageSlotName, expected: &BTreeMap<StorageMapKey, Word>,
crates/store/src/db/models/queries/accounts/tests.rs:219
↓ 4 callersFunctionassert_subscription_start_ok
(block_from: u32, chain_tip: u32)
crates/rpc/src/server/api/subscription/stream/tests.rs:244
↓ 4 callersFunctionavailable_notes
( conn: &mut SqliteConnection, account_id: AccountId, block_num: BlockNumber, max_attempts: us
bin/ntx-builder/src/db/models/queries/notes.rs:108
↓ 4 callersFunctionblock_num_to_i64
(block_num: BlockNumber)
bin/ntx-builder/src/db/models/conv.rs:38
↓ 4 callersMethodblock_number_latest
Returns the latest block number.
crates/store/src/accounts/mod.rs:157
↓ 4 callersFunctionbn
(r,e,o,i)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callersFunctionbootstrap_database
(database_filepath: &Path)
bin/ntx-builder/src/db/migrations.rs:16
↓ 4 callersMethodbuild
(self)
crates/block-producer/src/test_utils/proven_tx.rs:146
↓ 4 callersFunctionbuild_account_with_code
Builds a public account using a fixed account ID seed but a different component code. All accounts produced here share the same [`AccountId`] because
crates/store/src/db/models/queries/accounts/tests.rs:1174
↓ 4 callersFunctioncompute_percentile
(times: &[Duration], percentile: f64)
bin/stress-test/src/store/metrics.rs:22
↓ 4 callersFunctioncreate_accounts_and_notes
( num_accounts: usize, account_type: AccountType, key_pair: &SecretKey, rng: &Arc<Mutex<Random
bin/stress-test/src/seeding/mod.rs:398
↓ 4 callersFunctioncreate_genesis_aware_rpc_client
Create an RPC client configured with the correct genesis metadata in the `Accept` header so that write RPCs such as `SubmitProvenTx` are accepted by t
bin/network-monitor/src/deploy/mod.rs:77
↓ 4 callersFunctioncreate_wallet_account
()
bin/network-monitor/src/deploy/wallet.rs:48
↓ 4 callersMethoddb
(&self)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:554
↓ 4 callersFunctiondefault_storage_path
Returns the default base path for `RocksDB` benchmark storage.
crates/store/benches/account_tree.rs:23
↓ 4 callersFunctiondetails
(current: u64, expected: u64)
bin/network-monitor/src/counter.rs:1278
↓ 4 callersFunctiondir_size_bytes
Returns the total byte length of all files in `path` iteratively, or `0` on any error.
crates/store/src/state/disk_monitor.rs:89
↓ 4 callersFunctiondummy_full_state_delta
Creates a full-state `AccountDelta` (with code) for testing DB reconstruction.
crates/store/src/account_state_forest/tests.rs:48
↓ 4 callersFunctione
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callersFunctionexpand_account_storage_request
Expand [`AccountStorageRequest`] to a vector of slot requests.
crates/store/src/state/account.rs:356
↓ 4 callersFunctionfetch_slot_value
Fetch the u64 value held in the named value slot of the given account from RPC. Returns `None` if the account is not yet available on-chain. The valu
bin/network-monitor/src/counter.rs:900
↓ 4 callersFunctionfilter_from_string
( filter: &str, )
crates/utils/src/logging.rs:128
↓ 4 callersFunctiongenerate_account_id
Generates a deterministic `AccountId` from a seed.
crates/store/benches/account_tree.rs:56
↓ 4 callersFunctiongenerate_word
Generates a deterministic word from a seed.
crates/store/benches/account_tree.rs:45
↓ 4 callersMethodgenesis_commitment
(&self)
crates/rpc/src/tests.rs:85
↓ 4 callersMethodget_account
Returns a reference to the account or a standardized "unknown account" error.
bin/network-monitor/src/deploy/mod.rs:286
↓ 4 callersMethodget_inner_node
(&self, index: NodeIndex)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:601
↓ 4 callersFunctionget_note_sync_multi
Loads the data necessary for a note sync across all matching blocks in the given range. Returns one [`NoteSyncUpdate`] per block that contains at lea
crates/store/src/db/models/queries/notes.rs:440
↓ 4 callersFunctionget_tx_inputs
( state: &State, proven_tx: &ProvenTransaction, )
crates/block-producer/src/store/mod.rs:184
↓ 4 callersFunctiongit_output
(args: &[&str])
xtask/src/changelog/release.rs:343
↓ 4 callersFunctiongrpc_path_to_generated
Translates a gRPC protobuf path to the corresponding generated Rust path. This is used to translate the protobuf type definitions to their tonic gener
crates/proto/build.rs:604
↓ 4 callersMethodid
(&self)
crates/block-producer/src/mempool/graph/batch.rs:41
↓ 4 callersFunctioninsert_note_script
Inserts a note script (idempotent via INSERT OR IGNORE).
bin/ntx-builder/src/db/models/queries/note_scripts.rs:41
↓ 4 callersMethodis_empty
Returns `true` if it contains no transactions.
crates/block-producer/src/domain/batch.rs:115
↓ 4 callersMethodlatest_block_num
Returns the latest block number.
crates/store/src/state/mod.rs:113
↓ 4 callersFunctionln
(n,e)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callersMethodload
(database_filepath: PathBuf)
bin/ntx-builder/src/db/mod.rs:46
↓ 4 callersFunctionmock_account_with_auth_component
Creates a mock network [`Account`] with the provided auth component.
bin/ntx-builder/src/test_utils.rs:82
↓ 4 callersFunctionmock_genesis_block
Creates a mock genesis [`SignedBlock`] with an empty body. The signature is produced by a throwaway key over the header commitment; it is not expecte
bin/ntx-builder/src/test_utils.rs:104
↓ 4 callersFunctionmock_network_account_update
Builds a full-state [`AccountUpdateDetails`] for a network account. The returned account passes `NetworkAccount::new`, so the ntx-builder treats the u
bin/ntx-builder/src/test_utils.rs:122
↓ 4 callersMethodname
(&self)
bin/network-monitor/src/note_transport.rs:31
↓ 4 callersMethodname
(&self)
bin/network-monitor/src/status.rs:100
↓ 4 callersMethodnullifiers
(&self)
crates/block-producer/src/domain/transaction.rs:92
↓ 4 callersFunctionon
(t,n,r,o,i)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callersFunctionopen_with_pool_size
( database_filepath: &Path, connection_pool_size: NonZeroUsize, )
bin/validator/src/db/mod.rs:79
↓ 4 callersFunctionoutcome
(status: Status, error: Option<&str>)
bin/network-monitor/src/remote_prover.rs:517
↓ 4 callersMethodoutput_note_ids
(&self)
crates/block-producer/src/domain/transaction.rs:96
↓ 4 callersMethodprove
(&self, tx_inputs: &TransactionInputs)
bin/ntx-builder/src/actor/execute.rs:454
↓ 4 callersFunctionpt
(l,c,e,u,a)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callersFunctionqe
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callersFunctionread_from_file
(path: &Path)
bin/benchmark/src/main.rs:203
↓ 4 callersFunctionreconstruct_storage_map_root_from_db
Reconstructs storage map root from DB entries at a specific block.
crates/store/src/db/tests.rs:2970
↓ 4 callersFunctionreflow_source
Reflow all safe comment blocks in a Rust source string. The source is parsed with tree-sitter so that only syntactic line comments are considered. Th
xtask/src/comment_reflow.rs:89
↓ 4 callersMethodremove
Removes all state associated with `node`, undoing the effects of [`Self::apply_append`].
crates/block-producer/src/mempool/graph/state.rs:133
↓ 4 callersMethodremove
(&mut self, batch: &BatchId)
crates/block-producer/src/mempool/graph/transaction.rs:438
↓ 4 callersFunctionresource_from_detected
( config: ResourceConfig, detected_resource: &Resource, service_name_override: Option<Value>, )
crates/utils/src/logging.rs:258
↓ 4 callersMethodrpc_backoff
Returns the [`ExponentialBuilder`] used for per-request retry backoff against the RPC service.
bin/ntx-builder/src/actor/execute.rs:573
↓ 4 callersFunctionrt
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callersFunctionrun_with_shutdown
Runs a service future until it completes or a shutdown signal is received. On `SIGTERM` or Ctrl-C, the provided root cancellation token is cancelled
crates/utils/src/shutdown.rs:15
↓ 4 callersFunctions
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callersFunctionsample_response
()
bin/network-monitor/src/explorer.rs:221
↓ 4 callersFunctionselect_all_nullifiers
( conn: &mut SqliteConnection, )
crates/store/src/db/models/queries/nullifiers.rs:133
↓ 4 callersMethodselect_block_header_by_block_num
( &self, maybe_block_number: Option<BlockNumber>, )
crates/store/src/db/mod.rs:321
↓ 4 callersMethodselect_candidate
Marks a node as selected. # Panics Panics if the given node is not a selection candidate.
crates/block-producer/src/mempool/graph/dag.rs:134
↓ 4 callersFunctionselect_notes_by_id
Select all notes matching the given set of identifiers # Raw SQL ```sql SELECT notes.committed_at, notes.batch_index, notes.note_index, notes.note_i
crates/store/src/db/models/queries/notes.rs:202
↓ 4 callersFunctionsend_request
Sends an arbitrary / irrelevant request to the RPC.
crates/rpc/src/tests.rs:736
↓ 4 callersFunctionserialize_vec
Utility to convert an iterable container to a vector of byte blobs
crates/store/src/db/models/utils.rs:18
↓ 4 callersMethodserve
Starts the gRPC server on the given listener.
bin/ntx-builder/src/server.rs:35
↓ 4 callersMethodservice_trait
The trait describing the service's interface. This is a super trait consisting of all the gRPC method traits for this service. ```rust trait <Self::
crates/proto/build.rs:255
↓ 4 callersFunctionsetup_storage
Creates a `RocksDB` storage instance for benchmarking. # Arguments `base_path` - Base directory for `RocksDB` storage. Each call creates a unique sub
crates/store/benches/account_tree.rs:31
↓ 4 callersMethodsource
(&self)
crates/proto/src/errors/mod.rs:92
↓ 4 callersMethodsync_chain_mmr
( &self, block_range: RangeInclusive<BlockNumber>, )
crates/store/src/state/sync_state.rs:36
↓ 4 callersMethodsync_notes
( &self, note_tags: Vec<u32>, block_range: RangeInclusive<BlockNumber>, )
crates/store/src/state/sync_state.rs:103
↓ 4 callersFunctiontest_note_error
Creates a [`NoteError`] from a string message, for use in tests.
bin/ntx-builder/src/db/models/queries/tests.rs:16
↓ 4 callersFunctiontry_convert
(from: T)
crates/proto/src/domain/mod.rs:22
↓ 4 callersMethodunbatched_transactions_count
Returns the number of transactions currently waiting to be batched.
crates/block-producer/src/mempool/mod.rs:586
← previousnext →301–400 of 2,587, ranked by callers