Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/0xMiden/node
/ functions
Functions
2,587 in github.com/0xMiden/node
⨍
Functions
2,587
◇
Types & classes
507
↓ 5 callers
Method
range_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 callers
Function
rate_per_second
(count: u64, elapsed: Duration)
bin/benchmark/src/summary.rs:244
↓ 5 callers
Function
select_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 callers
Method
selection_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 callers
Method
spawn
Spawns a named task into the set.
crates/utils/src/tasks.rs:33
↓ 5 callers
Method
spawn_actor
(&mut self, account_id: AccountId)
bin/ntx-builder/src/coordinator.rs:138
↓ 5 callers
Function
start_store
Loads the store state from the given data directory.
bin/stress-test/src/seeding/mod.rs:835
↓ 5 callers
Function
storage_header
()
crates/store/src/state/account.rs:511
↓ 5 callers
Method
submit_proven_tx
( &self, proven_tx: &ProvenTransaction, tx_inputs: &TransactionInputs, )
bin/ntx-builder/src/clients/rpc.rs:221
↓ 5 callers
Method
subtree_cf
( cache: &Cache, tuning_options: &RocksDbTuningOptions, bloom_filter_bits:
crates/large-smt-backend-rocksdb/src/rocksdb.rs:159
↓ 5 callers
Function
tx_with_nullifiers
( account_index: u32, range: std::ops::Range<u64>, )
crates/block-producer/src/mempool/tests/add_user_batch.rs:114
↓ 5 callers
Method
with_attribute
(mut self, key: &'static str, value: &'static str)
crates/utils/src/logging.rs:39
↓ 5 callers
Method
with_metadata_genesis
Include a specific genesis commitment string in request metadata.
crates/proto/src/clients/mod.rs:444
↓ 5 callers
Function
write_toml_file
Helper to write TOML content to a file and return the path
crates/store/src/genesis/config/tests.rs:13
↓ 5 callers
Function
x
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callers
Function
M
(t)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callers
Function
Mt
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callers
Function
Qt
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callers
Function
Te
()
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callers
Function
Ve
(e,t,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callers
Method
account_delta
Returns a description of changes between the initial and final account states.
bin/validator/src/tx_validation/validated_tx.rs:42
↓ 4 callers
Method
account_updates
( &self, )
crates/block-producer/src/mempool/graph/node.rs:144
↓ 4 callers
Function
apply_all_storage_maps_response_budget
( block_num: BlockNumber, witness: &AccountWitness, account_header: AccountHeader, account_cod
crates/store/src/state/account.rs:420
↓ 4 callers
Function
apply_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 callers
Function
assert_storage_map_slot_entries
( storage: &AccountStorage, slot_name: &StorageSlotName, expected: &BTreeMap<StorageMapKey, Word>,
crates/store/src/db/models/queries/accounts/tests.rs:219
↓ 4 callers
Function
assert_subscription_start_ok
(block_from: u32, chain_tip: u32)
crates/rpc/src/server/api/subscription/stream/tests.rs:244
↓ 4 callers
Function
available_notes
( conn: &mut SqliteConnection, account_id: AccountId, block_num: BlockNumber, max_attempts: us
bin/ntx-builder/src/db/models/queries/notes.rs:108
↓ 4 callers
Function
block_num_to_i64
(block_num: BlockNumber)
bin/ntx-builder/src/db/models/conv.rs:38
↓ 4 callers
Method
block_number_latest
Returns the latest block number.
crates/store/src/accounts/mod.rs:157
↓ 4 callers
Function
bn
(r,e,o,i)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callers
Function
bootstrap_database
(database_filepath: &Path)
bin/ntx-builder/src/db/migrations.rs:16
↓ 4 callers
Method
build
(self)
crates/block-producer/src/test_utils/proven_tx.rs:146
↓ 4 callers
Function
build_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 callers
Function
compute_percentile
(times: &[Duration], percentile: f64)
bin/stress-test/src/store/metrics.rs:22
↓ 4 callers
Function
create_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 callers
Function
create_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 callers
Function
create_wallet_account
()
bin/network-monitor/src/deploy/wallet.rs:48
↓ 4 callers
Method
db
(&self)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:554
↓ 4 callers
Function
default_storage_path
Returns the default base path for `RocksDB` benchmark storage.
crates/store/benches/account_tree.rs:23
↓ 4 callers
Function
details
(current: u64, expected: u64)
bin/network-monitor/src/counter.rs:1278
↓ 4 callers
Function
dir_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 callers
Function
dummy_full_state_delta
Creates a full-state `AccountDelta` (with code) for testing DB reconstruction.
crates/store/src/account_state_forest/tests.rs:48
↓ 4 callers
Function
e
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callers
Function
expand_account_storage_request
Expand [`AccountStorageRequest`] to a vector of slot requests.
crates/store/src/state/account.rs:356
↓ 4 callers
Function
fetch_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 callers
Function
filter_from_string
( filter: &str, )
crates/utils/src/logging.rs:128
↓ 4 callers
Function
generate_account_id
Generates a deterministic `AccountId` from a seed.
crates/store/benches/account_tree.rs:56
↓ 4 callers
Function
generate_word
Generates a deterministic word from a seed.
crates/store/benches/account_tree.rs:45
↓ 4 callers
Method
genesis_commitment
(&self)
crates/rpc/src/tests.rs:85
↓ 4 callers
Method
get_account
Returns a reference to the account or a standardized "unknown account" error.
bin/network-monitor/src/deploy/mod.rs:286
↓ 4 callers
Method
get_inner_node
(&self, index: NodeIndex)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:601
↓ 4 callers
Function
get_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 callers
Function
get_tx_inputs
( state: &State, proven_tx: &ProvenTransaction, )
crates/block-producer/src/store/mod.rs:184
↓ 4 callers
Function
git_output
(args: &[&str])
xtask/src/changelog/release.rs:343
↓ 4 callers
Function
grpc_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 callers
Method
id
(&self)
crates/block-producer/src/mempool/graph/batch.rs:41
↓ 4 callers
Function
insert_note_script
Inserts a note script (idempotent via INSERT OR IGNORE).
bin/ntx-builder/src/db/models/queries/note_scripts.rs:41
↓ 4 callers
Method
is_empty
Returns `true` if it contains no transactions.
crates/block-producer/src/domain/batch.rs:115
↓ 4 callers
Method
latest_block_num
Returns the latest block number.
crates/store/src/state/mod.rs:113
↓ 4 callers
Function
ln
(n,e)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callers
Method
load
(database_filepath: PathBuf)
bin/ntx-builder/src/db/mod.rs:46
↓ 4 callers
Function
mock_account_with_auth_component
Creates a mock network [`Account`] with the provided auth component.
bin/ntx-builder/src/test_utils.rs:82
↓ 4 callers
Function
mock_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 callers
Function
mock_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 callers
Method
name
(&self)
bin/network-monitor/src/note_transport.rs:31
↓ 4 callers
Method
name
(&self)
bin/network-monitor/src/status.rs:100
↓ 4 callers
Method
nullifiers
(&self)
crates/block-producer/src/domain/transaction.rs:92
↓ 4 callers
Function
on
(t,n,r,o,i)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callers
Function
open_with_pool_size
( database_filepath: &Path, connection_pool_size: NonZeroUsize, )
bin/validator/src/db/mod.rs:79
↓ 4 callers
Function
outcome
(status: Status, error: Option<&str>)
bin/network-monitor/src/remote_prover.rs:517
↓ 4 callers
Method
output_note_ids
(&self)
crates/block-producer/src/domain/transaction.rs:96
↓ 4 callers
Method
prove
(&self, tx_inputs: &TransactionInputs)
bin/ntx-builder/src/actor/execute.rs:454
↓ 4 callers
Function
pt
(l,c,e,u,a)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callers
Function
qe
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callers
Function
read_from_file
(path: &Path)
bin/benchmark/src/main.rs:203
↓ 4 callers
Function
reconstruct_storage_map_root_from_db
Reconstructs storage map root from DB entries at a specific block.
crates/store/src/db/tests.rs:2970
↓ 4 callers
Function
reflow_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 callers
Method
remove
Removes all state associated with `node`, undoing the effects of [`Self::apply_append`].
crates/block-producer/src/mempool/graph/state.rs:133
↓ 4 callers
Method
remove
(&mut self, batch: &BatchId)
crates/block-producer/src/mempool/graph/transaction.rs:438
↓ 4 callers
Function
resource_from_detected
( config: ResourceConfig, detected_resource: &Resource, service_name_override: Option<Value>, )
crates/utils/src/logging.rs:258
↓ 4 callers
Method
rpc_backoff
Returns the [`ExponentialBuilder`] used for per-request retry backoff against the RPC service.
bin/ntx-builder/src/actor/execute.rs:573
↓ 4 callers
Function
rt
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callers
Function
run_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 callers
Function
s
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callers
Function
sample_response
()
bin/network-monitor/src/explorer.rs:221
↓ 4 callers
Function
select_all_nullifiers
( conn: &mut SqliteConnection, )
crates/store/src/db/models/queries/nullifiers.rs:133
↓ 4 callers
Method
select_block_header_by_block_num
( &self, maybe_block_number: Option<BlockNumber>, )
crates/store/src/db/mod.rs:321
↓ 4 callers
Method
select_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 callers
Function
select_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 callers
Function
send_request
Sends an arbitrary / irrelevant request to the RPC.
crates/rpc/src/tests.rs:736
↓ 4 callers
Function
serialize_vec
Utility to convert an iterable container to a vector of byte blobs
crates/store/src/db/models/utils.rs:18
↓ 4 callers
Method
serve
Starts the gRPC server on the given listener.
bin/ntx-builder/src/server.rs:35
↓ 4 callers
Method
service_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 callers
Function
setup_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 callers
Method
source
(&self)
crates/proto/src/errors/mod.rs:92
↓ 4 callers
Method
sync_chain_mmr
( &self, block_range: RangeInclusive<BlockNumber>, )
crates/store/src/state/sync_state.rs:36
↓ 4 callers
Method
sync_notes
( &self, note_tags: Vec<u32>, block_range: RangeInclusive<BlockNumber>, )
crates/store/src/state/sync_state.rs:103
↓ 4 callers
Function
test_note_error
Creates a [`NoteError`] from a string message, for use in tests.
bin/ntx-builder/src/db/models/queries/tests.rs:16
↓ 4 callers
Function
try_convert
(from: T)
crates/proto/src/domain/mod.rs:22
↓ 4 callers
Method
unbatched_transactions_count
Returns the number of transactions currently waiting to be batched.
crates/block-producer/src/mempool/mod.rs:586
← previous
next →
301–400 of 2,587, ranked by callers