MCPcopy Index your code

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

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

↓ 236 callersMethodmap_err
( source: E, )
crates/db/src/conv.rs:57
↓ 224 callersMethodcontext
(mut self, field: &'static str)
crates/proto/src/errors/mod.rs:45
↓ 203 callersMethodcollect
Gather every proof in submission order, returning them plus the summed per-job wall time. If any job fails (or a spawned task panics) we print the err
bin/benchmark/src/create_proofs.rs:140
↓ 160 callersMethodid
(&self)
crates/block-producer/src/domain/batch.rs:34
↓ 147 callersMethodpush
Pushes a new value into the cache and evicts the oldest value if the cache is full. # Error Returns the value if the provided block number is not th
crates/utils/src/block_cache.rs:36
↓ 121 callersMethodlen
Returns the number of tasks currently in the set.
crates/utils/src/tasks.rs:74
↓ 99 callersMethodinsert
Registers a newly appended node's edges in the graph. Since it is newly appended, the node itself will only have parents and no children. The inverse
crates/block-producer/src/mempool/graph/edges.rs:44
↓ 96 callersMethodeq
(&self, (nullifier, block_num): &(Nullifier, BlockNumber))
crates/store/src/db/mod.rs:137
↓ 92 callersMethodmap_err
( source: E, )
crates/store/src/db/models/conv.rs:61
↓ 91 callersMethodis_empty
Returns `true` if no tasks are currently in the set.
crates/utils/src/tasks.rs:69
↓ 82 callersFunctionnum_to_word
UTILITIES -------------------------------------------------------------------------------------------
crates/store/src/db/tests.rs:1538
↓ 80 callersMethodget
Retrieves a value from the cache.
crates/utils/src/lru_cache.rs:23
↓ 79 callersMethodadd_transaction
( &mut self, tx: Arc<AuthenticatedTransaction>, )
crates/block-producer/src/mempool/mod.rs:246
↓ 76 callersFunctionupsert_accounts
( conn: &mut SqliteConnection, accounts: &[BlockAccountUpdate], block_num: BlockNumber, )
crates/store/src/db/models/queries/accounts.rs:1208
↓ 69 callersMethodas_ref
(&self)
crates/store/src/genesis/config/mod.rs:615
↓ 68 callersMethodtry_into
(self)
crates/store/src/db/models/queries/notes.rs:488
↓ 58 callersMethodpath
(&self)
crates/db/src/migration/migrator.rs:365
↓ 58 callersMethodupdate_account
Updates the forest with account vault and storage changes from a delta. Unified interface for updating all account state in the forest, handling both
crates/store/src/account_state_forest/mod.rs:513
↓ 53 callersFunctionne
()
bin/network-monitor/assets/htmx.min.js:1
↓ 52 callersMethodcommitment
(&self)
crates/block-producer/src/mempool/graph/state.rs:248
↓ 52 callersFunctioncreate_block
(conn: &mut SqliteConnection, block_num: BlockNumber)
crates/store/src/db/tests.rs:89
↓ 49 callersMethodbuild
Finalizes the batch selection.
crates/block-producer/src/domain/batch.rs:120
↓ 49 callersFunctionhe
(e,t,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 46 callersMethodinto_inner
(self)
crates/store/src/genesis/mod.rs:66
↓ 45 callersMethodlock
(&self)
crates/block-producer/src/mempool/mod.rs:161
↓ 41 callersMethodblock_num
Returns the block number in which the transaction was executed.
bin/validator/src/tx_validation/validated_tx.rs:32
↓ 41 callersMethodpublic_key
(&self)
bin/validator/src/signers/kms.rs:113
↓ 41 callersFunctionse
(t,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 39 callersFunctionue
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 38 callersMethodtransactions
(&self)
crates/block-producer/src/domain/batch.rs:42
↓ 37 callersFunctioncreate_db
()
crates/store/src/db/tests.rs:85
↓ 36 callersMethodheader
(&self)
crates/store/src/genesis/mod.rs:47
↓ 36 callersMethodto_raw_sql
(self)
crates/store/src/db/models/conv.rs:81
↓ 36 callersMethodtransact
Create and commit a transaction with the queries added in the provided closure
crates/db/src/lib.rs:68
↓ 35 callersFunctionmock_block_account_update
(account_id: AccountId, num: u64)
crates/store/src/db/tests.rs:1550
↓ 34 callersFunctiondummy_partial_delta
Creates a partial `AccountDelta` (without code) for testing incremental updates.
crates/store/src/account_state_forest/tests.rs:34
↓ 34 callersMethodexecute
(self, shutdown: CancellationToken)
bin/node/src/commands/mod.rs:84
↓ 31 callersMethodblock_num
(&self)
crates/store/src/state/replica.rs:18
↓ 29 callersMethodbuild
Returns a migrator containing all migrations and their expected schema hashes.
crates/db/src/migration/builder.rs:101
↓ 29 callersFunctioninsert_block_header
(conn: &mut SqliteConnection, block_num: BlockNumber)
crates/store/src/db/models/queries/accounts/tests.rs:159
↓ 28 callersMethodopen
(config: RocksDbConfig)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:115
↓ 27 callersFunctionie
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 26 callersMethodaccount_id
(&self)
crates/block-producer/src/domain/transaction.rs:76
↓ 25 callersMethodas_str
(self)
crates/utils/src/genesis.rs:16
↓ 25 callersMethodcode
(name: &'static str, apply: CodeMigrationFn)
crates/db/src/migration/entry.rs:86
↓ 25 callersFunctionee
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 25 callersMethodget_storage_map_root
( &self, account_id: AccountId, slot_name: &StorageSlotName, block_num: BlockN
crates/store/src/account_state_forest/mod.rs:288
↓ 25 callersFunctioninsert_account_storage_map_value
Insert an account storage map value into the DB using the given [`SqliteConnection`]. Sets `is_latest=true` for the new row and updates any existing
crates/store/src/db/models/queries/accounts.rs:968
↓ 25 callersFunctionmock_account_id
(num: u8)
crates/block-producer/src/test_utils/account.rs:79
↓ 25 callersMethodremove
Removes the node from the edge set, updating all inverse relationships. # Panics Panics if the node is not tracked.
crates/block-producer/src/mempool/graph/edges.rs:78
↓ 24 callersMethodlen
(&self)
crates/block-producer/src/proof_scheduler.rs:61
↓ 24 callersFunctionmock_network_account_id
Creates a network account ID from a test constant.
bin/ntx-builder/src/test_utils.rs:17
↓ 24 callersMethodname
(&self)
crates/tracing-macro/src/lib.rs:300
↓ 23 callersMethodas_report_context
Creates a new root in the error chain and returns a string representation of the error and its source chain.
crates/utils/src/lib.rs:36
↓ 23 callersMethodchain_tip
Returns the current chain tip height as seen by the mempool. This includes the block currently being built, if any.
crates/block-producer/src/mempool/mod.rs:222
↓ 23 callersFunctiondummy_fungible_asset
(faucet_id: AccountId, amount: u64)
crates/store/src/account_state_forest/tests.rs:29
↓ 22 callersMethodcf_handle
(&self, name: &str)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:363
↓ 22 callersMethodcount
Total number of transactions in the graph.
crates/block-producer/src/mempool/graph/transaction.rs:403
↓ 22 callersMethodquery
Run the query _without_ a transaction
crates/db/src/lib.rs:83
↓ 22 callersMethodselect_any_batch
(&mut self)
crates/block-producer/src/mempool/mod.rs:333
↓ 21 callersMethodcontains
(&self, node: &N::Id)
crates/block-producer/src/mempool/graph/dag.rs:274
↓ 21 callersMethoddecoder
Create a decoder that uses `Self` as the parent message type for error reporting.
crates/proto/src/decode/mod.rs:64
↓ 21 callersFunctiondummy_account
()
crates/store/src/account_state_forest/tests.rs:21
↓ 21 callersFunctionmock_single_target_note
Creates a `AccountTargetNetworkNote` targeting the given network account.
bin/ntx-builder/src/test_utils.rs:34
↓ 21 callersMethodopen_at
( &self, account_id: AccountId, block_number: BlockNumber, )
crates/store/src/accounts/mod.rs:212
↓ 20 callersFunctionfe
(e,t,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 20 callersMethodget_vault_root
( &self, account_id: AccountId, block_num: BlockNumber, )
crates/store/src/account_state_forest/mod.rs:277
↓ 20 callersMethodid
(&self)
crates/block-producer/src/mempool/graph/node.rs:128
↓ 20 callersFunctionload
(database_filepath: PathBuf)
bin/validator/src/db/mod.rs:27
↓ 20 callersMethodwithout_metadata_version
Do not include version in request metadata.
crates/proto/src/clients/mod.rs:424
↓ 19 callersMethodadd
Bans `ip` for [`BAN_DURATION`] starting now. If the list is at capacity, the oldest entry is evicted first.
crates/rpc/src/server/api/subscription/ban.rs:44
↓ 19 callersMethodappend
Appends a node to the graph. Parent-child edges are inferred from state dependencies: - A note parent edge exists when this node consumes an unauthen
crates/block-producer/src/mempool/graph/dag.rs:66
↓ 19 callersMethodas_slice
(&self)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:1534
↓ 19 callersMethodprune
Prunes old entries from the in-memory forest data structures. The `LargeSmtForest` itself is truncated to drop historical versions beyond the cutoff.
crates/store/src/account_state_forest/mod.rs:822
↓ 18 callersFunctionbootstrap
Bootstraps the ntx-builder database at `database_filepath` with the genesis block. After this completes the singleton chain-state row exists at the g
bin/ntx-builder/src/lib.rs:50
↓ 18 callersFunctioninsert_account_vault_asset
Insert an account vault asset row into the DB using the given [`SqliteConnection`]. Sets `is_latest=true` for the new row and updates any existing ro
crates/store/src/db/models/queries/accounts.rs:926
↓ 18 callersFunctionoe
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 18 callersMethodstart
()
crates/rpc/src/tests.rs:93
↓ 17 callersMethodaccount_update
(&self)
crates/block-producer/src/domain/transaction.rs:80
↓ 17 callersMethodchain_tip
Returns the effective chain tip for the given finality level. - [`Finality::Committed`]: returns the latest committed block number (from in-memory MM
crates/store/src/state/mod.rs:728
↓ 17 callersFunctionsetup_test_db
()
crates/store/src/db/models/queries/accounts/tests.rs:44
↓ 17 callersFunctiontest_conn
Creates a file-backed SQLite connection with migrations applied.
bin/ntx-builder/src/db/models/queries/tests.rs:21
↓ 17 callersMethodwithout_metadata_genesis
Do not include genesis commitment in request metadata.
crates/proto/src/clients/mod.rs:438
↓ 17 callersFunctiony
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 16 callersMethodbuild
Builds and initializes the network transaction builder. Loads the in-memory chain state from the persisted header + chain MMR and opens a committed-b
bin/ntx-builder/src/lib.rs:368
↓ 16 callersMethodhash
(&self, state: &mut H)
crates/store/src/genesis/config/mod.rs:665
↓ 16 callersMethodinto_parts
Consumes the chain state and returns the chain tip header and the partial blockchain as a tuple.
bin/ntx-builder/src/chain_state.rs:48
↓ 16 callersMethodnext
(&mut self)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:1091
↓ 16 callersMethodoutput_notes
(mut self, notes: Vec<OutputNote>)
crates/block-producer/src/test_utils/proven_tx.rs:103
↓ 16 callersMethodset
Set a key and value in the `MetadataMap`. Does nothing if the key or value are not valid inputs
crates/utils/src/tracing/grpc.rs:152
↓ 16 callersFunctiontest_fee_params
Derive the default fee parameters, compatible with [`fn test_fee`].
crates/utils/src/fee.rs:13
↓ 15 callersFunctionC
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 15 callersMethodcall_sign_block
Calls `sign_block` on the validator server.
bin/validator/src/server/validator_service/tests.rs:50
↓ 15 callersMethodcompute_and_apply_mutations
Computes and applies mutations in one operation. This is a convenience method primarily for testing.
crates/store/src/accounts/mod.rs:365
↓ 15 callersMethodinput_notes
Returns the notes consumed in this transaction.
bin/validator/src/tx_validation/validated_tx.rs:47
↓ 15 callersFunctionmock_block_header
Creates a mock `BlockHeader` for the given block number.
bin/ntx-builder/src/test_utils.rs:95
↓ 14 callersMethodas_report
Returns a string representation of the error and its source chain.
crates/utils/src/lib.rs:23
↓ 14 callersMethodid
(&self)
crates/block-producer/src/mempool/graph/transaction.rs:64
↓ 14 callersFunctionm
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 14 callersMethodnext
Waits for the next actor to complete and handles the outcome. Returns `Some(account_id)` if an actor should be respawned (because a notification arri
bin/ntx-builder/src/coordinator.rs:248
next →1–100 of 2,587, ranked by callers