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
↓ 4 callers
Function
update_chain_state_tip
Updates the tip columns (block number, header, and partial chain MMR) of the singleton chain state row. The row is created once at bootstrap by [`inse
bin/ntx-builder/src/db/models/queries/chain_state.rs:51
↓ 4 callers
Method
upsert_account_for_test
( &self, account_id: AccountId, account: miden_protocol::account::Account, las
bin/ntx-builder/src/db/mod.rs:331
↓ 4 callers
Function
vn
(e,t,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 4 callers
Method
with_inner_read_blocking
Runs a synchronous read-only operation over the inner state on Tokio's blocking path. The account and nullifier trees may be backed by `RocksDB`, so
crates/store/src/state/mod.rs:304
↓ 4 callers
Method
with_nullifiers
(mut self, nullifiers: impl IntoIterator<Item = u32>)
crates/block-producer/src/mempool/graph/node.rs:79
↓ 4 callers
Method
with_timeout
(mut self, timeout: Duration)
crates/remote-prover-client/src/remote_prover/tx_prover.rs:59
↓ 4 callers
Method
with_unauthenticated_notes
(mut self, notes: impl IntoIterator<Item = u32>)
crates/block-producer/src/mempool/graph/node.rs:89
↓ 4 callers
Function
write_to_file
(path: &Path, value: &T)
bin/benchmark/src/main.rs:211
↓ 3 callers
Function
An
(o)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Function
Ft
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Function
G
(e,t,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Function
Je
(e,t,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Function
P
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Function
Se
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Function
Un
(e,n,r)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Function
Ut
()
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Function
Vn
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Function
Y
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Function
absolute_path
(path: &Path)
crates/db/src/migration/build_script.rs:297
↓ 3 callers
Function
account_header
(account_id: AccountId)
crates/store/src/state/account.rs:524
↓ 3 callers
Function
account_witness
(account_id: AccountId)
crates/store/src/state/account.rs:528
↓ 3 callers
Function
accounts_with_pending_notes
( conn: &mut SqliteConnection, max_attempts: usize, )
bin/ntx-builder/src/db/models/queries/notes.rs:179
↓ 3 callers
Method
acquire
Block until this caller is allowed to dispatch one request under the current rate schedule.
bin/benchmark/src/prover.rs:194
↓ 3 callers
Method
add_account
Add or replace an account in the store and load its code into the MAST store.
bin/network-monitor/src/deploy/mod.rs:280
↓ 3 callers
Method
add_account
(&mut self, account: Account)
bin/benchmark/src/create_proofs.rs:487
↓ 3 callers
Function
apply_migration
Applies `migration`, sets `user_version`, commits, and returns the resulting schema hash.
crates/db/src/migration/entry.rs:117
↓ 3 callers
Method
apply_snapshot
(&self, read_opts: &mut ReadOptions)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:1705
↓ 3 callers
Method
assert_backup_rejected
Asserts that opening a backup subscription is rejected with `resource_exhausted`. The success type ([`Self::ItemStream`]) is not `Debug`, so we match
bin/validator/src/server/validator_service/tests.rs:93
↓ 3 callers
Function
assert_stream_status
(item: tonic::Result<StreamItem>, code: tonic::Code)
crates/rpc/src/server/api/subscription/stream/tests.rs:236
↓ 3 callers
Method
batches
(&self)
crates/block-producer/src/mempool/graph/transaction.rs:446
↓ 3 callers
Function
bind_rpc
(listen: SocketAddr)
bin/node/src/commands/modes.rs:263
↓ 3 callers
Function
bootstrap
Bootstraps the validator component.
bin/validator/src/commands/bootstrap.rs:14
↓ 3 callers
Function
build_headers
(count: u32)
crates/store/src/state/loader.rs:735
↓ 3 callers
Function
build_rpc_client
Build a single RPC client over its own gRPC connection, optionally carrying the genesis commitment in request metadata.
bin/benchmark/src/main.rs:119
↓ 3 callers
Function
build_test_proven_tx
Creates a minimal proven transaction for testing. This uses `ExecutionProof::new_dummy()` and is intended for tests that need to test validation logi
crates/rpc/src/tests.rs:148
↓ 3 callers
Function
build_tx
(builder: MockProvenTxBuilder)
crates/block-producer/src/mempool/tests/add_user_batch.rs:110
↓ 3 callers
Method
cache_storage_map_keys
(&self, raw_keys: impl IntoIterator<Item = StorageMapKey>)
crates/store/src/account_state_forest/mod.rs:200
↓ 3 callers
Function
changelog_document_from_pr_body
(source: &str)
xtask/src/changelog/pr.rs:11
↓ 3 callers
Method
check_then_subtract
(&mut self, tx: &AuthenticatedTransaction)
crates/block-producer/src/mempool/budget.rs:72
↓ 3 callers
Method
clear
Clears all entries from the cache.
crates/utils/src/lru_cache.rs:50
↓ 3 callers
Function
command_output
(command: &mut Command)
xtask/src/changelog/release.rs:349
↓ 3 callers
Function
configure_block_table_options
( table_opts: &mut BlockBasedOptions, cache: &Cache, tuning_options: &RocksDbTuningOptions, bl
crates/large-smt-backend-rocksdb/src/rocksdb.rs:1206
↓ 3 callers
Method
connect
(port: u16)
bin/remote-prover/src/server/tests.rs:33
↓ 3 callers
Function
constant
Builds a constant-delay backoff schedule. `max_times` bounds the number of retries; pass `None` to retry indefinitely.
crates/utils/src/retry.rs:47
↓ 3 callers
Function
create_account_with_map_storage
( slot_name: StorageSlotName, entries: Vec<(StorageMapKey, Word)>, )
crates/store/src/db/models/queries/accounts/tests.rs:190
↓ 3 callers
Function
create_counter_account
(owner_account_id: AccountId)
bin/network-monitor/src/deploy/counter.rs:42
↓ 3 callers
Function
create_increment_script
Create the increment procedure script.
bin/network-monitor/src/counter.rs:1103
↓ 3 callers
Method
data
(&self)
bin/validator/src/data_directory.rs:64
↓ 3 callers
Method
deselect
Marks the given node as unselected. # Panics Panics if the node was not previously selected or if any of its children are marked as selected.
crates/block-producer/src/mempool/graph/dag.rs:108
↓ 3 callers
Function
empty_smt_root
()
crates/store/src/account_state_forest/mod.rs:77
↓ 3 callers
Function
ensure_empty_directory
Validates that a directory either does not exist (and creates it) or exists and is empty.
crates/utils/src/fs.rs:4
↓ 3 callers
Method
error
(name: impl Into<String>, error: impl ToString)
bin/network-monitor/src/service_status.rs:106
↓ 3 callers
Method
expires_at
(&self)
crates/block-producer/src/mempool/graph/node.rs:150
↓ 3 callers
Function
exponential
Builds an exponential backoff schedule that retries indefinitely. Delays start at `min`, double on each attempt (factor `2.0`), are capped at `max`,
crates/utils/src/retry.rs:29
↓ 3 callers
Method
extract
( &self, request: &http::Request<T>, )
crates/utils/src/grpc/layers.rs:150
↓ 3 callers
Method
get_account
(&self, account_id: AccountId)
bin/benchmark/src/create_proofs.rs:492
↓ 3 callers
Method
get_account
Issues a `GetAccount` request and decodes the response into the domain [`AccountResponse`].
bin/ntx-builder/src/clients/rpc.rs:404
↓ 3 callers
Method
get_account
Returns the committed account state for the given network account, if one is tracked locally. Actors load their account once at startup with this and
bin/ntx-builder/src/db/mod.rs:205
↓ 3 callers
Method
get_cf_bytes
( &self, cf: &rocksdb::ColumnFamily, key: &[u8], )
crates/large-smt-backend-rocksdb/src/rocksdb.rs:558
↓ 3 callers
Method
get_subtree_impl
(&self, index: NodeIndex)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:423
↓ 3 callers
Method
get_vault_details
( &self, account_id: AccountId, block_num: BlockNumber, )
crates/store/src/account_state_forest/mod.rs:306
↓ 3 callers
Function
group_storage_map_entries
( map_values: Vec<(String, Vec<u8>, Vec<u8>)>, )
crates/store/src/db/models/queries/accounts.rs:853
↓ 3 callers
Function
gt
(e,t,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Function
inner_conversion
Simulates a deeply nested conversion where each layer adds its field context.
crates/proto/src/decode/mod.rs:141
↓ 3 callers
Method
inputs_path
(&self, block_num: BlockNumber)
crates/store/src/blocks.rs:221
↓ 3 callers
Function
insert_genesis_chain_state
Inserts the singleton chain state row at bootstrap, seeding the tip columns from the genesis block together with the genesis block commitment. The com
bin/ntx-builder/src/db/models/queries/chain_state.rs:78
↓ 3 callers
Method
is_selected
Returns `true` if the given node was previously selected.
crates/block-producer/src/mempool/graph/dag.rs:90
↓ 3 callers
Function
k
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Function
kn
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Method
leaf_count
(&self)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:580
↓ 3 callers
Method
leaf_count_impl
(&self)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:385
↓ 3 callers
Method
load_block
(&self, block_num: BlockNumber)
crates/store/src/blocks.rs:81
↓ 3 callers
Function
load_state
(path: &std::path::Path)
crates/rpc/src/tests.rs:120
↓ 3 callers
Method
lookup_tree_id
(&self, lineage: LineageId, block_num: BlockNumber)
crates/store/src/account_state_forest/mod.rs:162
↓ 3 callers
Method
mark_notes_failed
Sends a request to the coordinator to mark notes as failed and waits for the DB write to complete. This prevents a race condition where the actor coul
bin/ntx-builder/src/actor/mod.rs:642
↓ 3 callers
Function
mock_block_transaction_with_output_notes
Like [`mock_block_transaction`], but emits `num_output_notes` output notes so the recorded `size_in_bytes` can be driven above or below the response p
crates/store/src/db/tests.rs:1621
↓ 3 callers
Function
mock_network_account_id_seeded
Creates a distinct network account ID using a seeded RNG.
bin/ntx-builder/src/test_utils.rs:27
↓ 3 callers
Function
mock_single_target_note_with_code
Creates a `AccountTargetNetworkNote` with optional custom note script code.
bin/ntx-builder/src/test_utils.rs:42
↓ 3 callers
Method
name
(&self)
bin/network-monitor/src/validator.rs:28
↓ 3 callers
Function
new_tempdir
Creates a temp directory, registers it in the global registry, and returns its path.
crates/rpc/src/tests.rs:66
↓ 3 callers
Method
next_version
Returns the version number that will be assigned to the next migration. Versions are one-based and follow insertion order across retired migrations f
crates/db/src/migration/migrator.rs:60
↓ 3 callers
Function
nn
(t,e,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Method
node_count
(&self)
crates/block-producer/src/mempool/graph/dag.rs:258
↓ 3 callers
Function
nullifier_to_bytes
(nullifier: &Nullifier)
bin/ntx-builder/src/db/models/conv.rs:26
↓ 3 callers
Method
nullifiers
(&self)
crates/block-producer/src/mempool/graph/node.rs:132
↓ 3 callers
Function
o
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Method
ok_count
(&self)
bin/benchmark/src/submit.rs:114
↓ 3 callers
Method
output_note_count
(&self)
crates/block-producer/src/mempool/graph/dag.rs:270
↓ 3 callers
Method
output_notes
(&self)
crates/block-producer/src/mempool/graph/node.rs:136
↓ 3 callers
Method
output_notes
Returns the notes created in this transaction.
bin/validator/src/tx_validation/validated_tx.rs:52
↓ 3 callers
Method
parse
(comment: &str, include_normal_comments: bool)
xtask/src/comment_reflow.rs:35
↓ 3 callers
Method
parse
(input: ParseStream<'_>)
crates/tracing-macro/src/lib.rs:271
↓ 3 callers
Function
parse_faucet_response
Deserialize a faucet response using [`serde_path_to_error`] so that the failing JSON path (e.g. `max_supply`, `explorer_url`) is included in the error
bin/network-monitor/src/faucet.rs:331
↓ 3 callers
Method
pinned_connection
Checks out a connection from the pool and pins it for the caller's exclusive, long-lived use. See [`PinnedConnection`]. This removes one connection f
crates/db/src/lib.rs:57
↓ 3 callers
Function
probeTargets
()
bin/network-monitor/assets/probes.js:104
↓ 3 callers
Function
protobuf_bytes_field_len
(field_number: u32, len: usize)
crates/store/src/state/account.rs:387
↓ 3 callers
Method
prove
( &self, tx_batches: OrderedBatches, block_inputs: BlockInputs, block_header:
crates/block-producer/src/block_prover.rs:46
↓ 3 callers
Method
prove
Prove the given executed transaction. The remote path paces dispatch through the rate limiter and retries retryable errors with exponential backoff; t
bin/benchmark/src/prover.rs:81
↓ 3 callers
Method
prove_request
Entry-point to the proof request handling. Decodes the request, proves it, and encodes the response.
bin/remote-prover/src/server/prover.rs:65
↓ 3 callers
Function
q
(e)
bin/network-monitor/assets/htmx.min.js:1
← previous
next →
401–500 of 2,587, ranked by callers