MCPcopy Index your code

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

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

↓ 7 callersFunctioncache
(cap: usize)
crates/utils/src/block_cache.rs:75
↓ 7 callersFunctionconfigure
()
crates/rocksdb-cxx-linkage-fix/src/lib.rs:7
↓ 7 callersMethodexecute_transaction
( self, tx: TransactionCandidate, )
bin/ntx-builder/src/actor/execute.rs:259
↓ 7 callersMethodget_mut
(&mut self, node: &N::Id)
crates/block-producer/src/mempool/graph/dag.rs:278
↓ 7 callersFunctioninsert_transactions
(conn: &mut SqliteConnection)
crates/store/src/db/tests.rs:1665
↓ 7 callersMethodkind
(&self)
crates/block-producer/src/batch_builder/mod.rs:416
↓ 7 callersMethodlock
(&self)
crates/utils/src/lru_cache.rs:55
↓ 7 callersMethodnegotiate
Parses the `Accept` header's contents, searching for any media type compatible with our RPC version and genesis commitment, controlling whether `genes
crates/rpc/src/server/accept.rs:142
↓ 7 callersMethodnullifiers_range
(self, range: Range<u64>)
crates/block-producer/src/test_utils/proven_tx.rs:110
↓ 7 callersMethodpropose_empty_block
Builds an empty [`ProposedBlock`] extending the current chain tip.
bin/validator/src/server/validator_service/tests.rs:45
↓ 7 callersMethodspawn
Spawns the sequencer tasks and returns its in-process API.
crates/block-producer/src/server/mod.rs:105
↓ 7 callersFunctionstart
Starts the validator component.
bin/validator/src/commands/start.rs:11
↓ 7 callersMethodstream
( &self, from: BlockNumber, chain_tip: watch::Receiver<BlockNumber>, )
crates/rpc/src/server/api/subscription/stream/tests.rs:39
↓ 7 callersFunctiont
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 7 callersFunctionu
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 7 callersMethodunauthenticated_notes_range
(self, range: Range<u32>)
crates/block-producer/src/test_utils/proven_tx.rs:123
↓ 7 callersFunctionupsert_account
Inserts the committed account state, or updates an existing account's state. In both cases `last_tx_id` is set to the transaction that produced this u
bin/ntx-builder/src/db/models/queries/accounts.rs:45
↓ 7 callersFunctionvalidate_storage_request
Validates the storage map request limits before forwarding it to the store. Only the [`AccountStorageRequest::Explicit`] variant carries a user-contr
crates/rpc/src/server/api/get_account.rs:70
↓ 7 callersFunctionvec_raw_try_into
Utility to convert an iterable container of containing `R`-typed values to a `Vec<D>` and bail at the first failing conversion
crates/store/src/db/models/utils.rs:9
↓ 7 callersMethodverify_latest_schema
Verifies that the database at `database_filepath` is already at the latest schema version. This does not create the database file and does not apply
crates/db/src/migration/migrator.rs:168
↓ 7 callersMethodwrite_batch
(&self, batch: WriteBatch)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:276
↓ 6 callersFunctionS
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 6 callersFunctiona
(e,t,n,r)
bin/network-monitor/assets/htmx.min.js:1
↓ 6 callersFunctionaccount_id_to_bytes
(id: AccountId)
bin/ntx-builder/src/db/models/conv.rs:22
↓ 6 callersMethodadd_user_batch
( &mut self, txs: &[Arc<AuthenticatedTransaction>], )
crates/block-producer/src/mempool/mod.rs:281
↓ 6 callersMethodapply
Applies a batch of `StorageUpdates` atomically to the RocksDB backend. This is the primary method for persisting changes to the SMT. It constructs a
crates/large-smt-backend-rocksdb/src/rocksdb.rs:970
↓ 6 callersMethodapply_forest_updates
( &mut self, lineage: LineageId, block_num: BlockNumber, operations: Vec<Fores
crates/store/src/account_state_forest/mod.rs:210
↓ 6 callersMethodas_trait
This method's trait definition. ```rust trait <Method::name> { type Input; type Output; fn decode(request: <Method::request>) -> tonic::Result<Self:
crates/proto/build.rs:447
↓ 6 callersFunctionassert_verify
Helper function to verify a Merkle proof
crates/store/src/accounts/tests.rs:30
↓ 6 callersFunctionbenchmark_storage_map_slot
Creates a new account with a given public key and storage mode. Generates the seed from the given index.
bin/stress-test/src/seeding/mod.rs:511
↓ 6 callersMethodbootstrap
Creates a new database at `database_filepath` and applies all migrations. The database file must not already exist. Every migration runs in its own t
crates/db/src/migration/migrator.rs:124
↓ 6 callersFunctionbootstrap_database
(database_filepath: &Path)
crates/store/src/db/migrations.rs:16
↓ 6 callersFunctionbuild_tracking_status
Build a `ServiceStatus` snapshot from the current tracking details and last error. Health priority: 1. Explicit RPC errors from this poll flip the ca
bin/network-monitor/src/counter.rs:800
↓ 6 callersMethodcall_block_subscription
Opens a block subscription starting from `block_from`.
bin/validator/src/server/validator_service/tests.rs:61
↓ 6 callersMethodcmp
(&self, other: &Self)
crates/store/src/genesis/config/mod.rs:653
↓ 6 callersMethodcommit_batch
(&mut self, proof: Arc<ProvenBatch>)
crates/block-producer/src/mempool/mod.rs:439
↓ 6 callersMethoddatabase_path
(&self)
bin/validator/src/data_directory.rs:38
↓ 6 callersFunctionde
(t,n,r,o,i,D)
bin/network-monitor/assets/htmx.min.js:1
↓ 6 callersFunctiondiscover_active_migrations
(migration_dir: &Path)
crates/db/src/migration/build_script.rs:178
↓ 6 callersMethodexpiration_block_num
(mut self, expiration_block_num: BlockNumber)
crates/block-producer/src/test_utils/proven_tx.rs:96
↓ 6 callersFunctionget_random_coin
Creates a new [`RandomCoin`] with random seed.
crates/utils/src/crypto.rs:6
↓ 6 callersMethodhandle_committed_block
Reacts to a committed block: spawns actors for any newly-targeted network accounts whose committed state exists (deferring the rest until their creati
bin/ntx-builder/src/coordinator.rs:217
↓ 6 callersMethodinner
(&self)
crates/store/src/genesis/mod.rs:62
↓ 6 callersFunctioninsert_block_header
( conn: &mut SqliteConnection, block_header: &BlockHeader, signature: &Signature, )
crates/store/src/db/models/queries/block_headers.rs:228
↓ 6 callersMethodjoin_next
Waits for the next task to complete.
crates/utils/src/tasks.rs:56
↓ 6 callersFunctionload_with_pool_size
( database_filepath: PathBuf, connection_pool_size: NonZeroUsize, )
bin/validator/src/db/mod.rs:37
↓ 6 callersFunctionlog_transient_retry
Emits a structured warning for a transient NTX request failure that is about to be retried.
bin/ntx-builder/src/actor/execute.rs:113
↓ 6 callersMethodmigrate
Applies missing migrations to the existing database at `database_filepath`. The database file must already exist and must have been bootstrapped. Exi
crates/db/src/migration/migrator.rs:149
↓ 6 callersFunctionmock_account
Creates a mock `Account` for a network account. Uses `AccountBuilder` with minimal components needed for serialization.
bin/ntx-builder/src/test_utils.rs:68
↓ 6 callersFunctionnote_id_to_bytes
(note_id: &NoteId)
bin/ntx-builder/src/db/models/conv.rs:30
↓ 6 callersFunctionnotes_failed
Marks notes as failed by incrementing `attempt_count`, setting `last_attempt`, and storing the latest error message.
bin/ntx-builder/src/db/models/queries/notes.rs:141
↓ 6 callersFunctionparse_response
Deserialize the GraphQL response and project it onto [`ExplorerStatusDetails`]. Uses [`serde_path_to_error`] so that failures point at the specific J
bin/network-monitor/src/explorer.rs:126
↓ 6 callersMethodpush_code
Adds a Rust migration function.
crates/db/src/migration/builder.rs:90
↓ 6 callersMethodremove
Unconditionally removes the given node from the graph, deleting its edges and state. This is an _internal_ helper, caller is responsible for ensuring
crates/block-producer/src/mempool/graph/dag.rs:235
↓ 6 callersMethodrollback_batch
(&mut self, batch: BatchId)
crates/block-producer/src/mempool/mod.rs:392
↓ 6 callersFunctionselect_transactions_records
Select complete transaction records for the given accounts and block range. # Parameters `account_ids`: List of account IDs to filter by - Limit: 0 <
crates/store/src/db/models/queries/transactions.rs:206
↓ 6 callersMethodset_error
(&self, err: &dyn std::error::Error)
crates/utils/src/tracing/span_ext.rs:14
↓ 6 callersFunctionsetup
()
crates/block-producer/src/mempool/tests/add_transaction.rs:61
↓ 6 callersFunctionsetup_test_db
()
crates/store/src/db/models/queries/accounts/delta/tests.rs:49
↓ 6 callersFunctionsetup_tracing
Initializes tracing to stdout and optionally an open-telemetry exporter. Stdout trace filtering is configured with `MIDEN_STDOUT_FILTER`, then `RUST_
crates/utils/src/logging.rs:163
↓ 6 callersMethodspawn_service
Spawns a [`Service`] and returns its `ServiceStatus` receiver. Seeds the `watch::channel` from [`Service::initial_status`] and hands the sender to [`
bin/network-monitor/src/monitor/tasks.rs:158
↓ 6 callersMethodsubmit_proven_tx
( &self, tx: ProvenTransaction, )
crates/block-producer/src/server/mod.rs:314
↓ 6 callersMethodtest
Creates a minimal `AccountActorContext` suitable for unit tests. The URLs are fake and actors spawned with this context will fail on their first gRPC
bin/ntx-builder/src/actor/mod.rs:137
↓ 6 callersFunctiontest_fee
Derive a default, zero valued fee, payable to [`miden_protocol::testing::account_id::ACCOUNT_ID_FEE_FAUCET`].
crates/utils/src/fee.rs:7
↓ 6 callersFunctionwait_for_subscription_exit
(source: &TestSubscription)
crates/rpc/src/server/api/subscription/stream/tests.rs:216
↓ 6 callersMethodwith_authentication_height
(mut self, height: BlockNumber)
crates/block-producer/src/domain/transaction.rs:206
↓ 5 callersFunctionaccount_id
()
crates/store/src/state/account.rs:520
↓ 5 callersMethodaccount_id
Returns ID of the account against which this transaction was executed.
bin/validator/src/tx_validation/validated_tx.rs:37
↓ 5 callersMethodadvance
Advances the tip to `new_tip` if it is greater than the current value. Notifies all subscribers only when the tip actually increases. # Panics Pani
crates/store/src/proven_tip.rs:30
↓ 5 callersFunctionassert_beyond_tip
(status: &tonic::Status, endpoint: &str)
crates/rpc/src/tests.rs:207
↓ 5 callersFunctionbuild_test_account
Creates a minimal account and its delta for testing proven transaction building.
crates/rpc/src/tests.rs:131
↓ 5 callersFunctioncache
(cap: usize)
crates/utils/src/lru_cache.rs:69
↓ 5 callersMethodchildren_of
Returns the children of `node`. # Panics Panics if the node is not tracked.
crates/block-producer/src/mempool/graph/edges.rs:69
↓ 5 callersFunctionclassify_probe_outcome
Re-classifies a probe outcome as stale when no snapshot update has been observed within the staleness window. Staleness is an observability gap, not
bin/network-monitor/src/remote_prover.rs:324
↓ 5 callersFunctioncreate_account
( public_key: PublicKey, index: u64, account_type: AccountType, storage_map_entries: usize, )
bin/stress-test/src/seeding/mod.rs:515
↓ 5 callersFunctiond
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 5 callersFunctiondiscover_retired_migrations
(migration_dir: &Path)
crates/db/src/migration/build_script.rs:142
↓ 5 callersFunctionendpoint_limits
Helper to build an [`EndpointLimits`](proto::rpc::EndpointLimits) from (name, limit) pairs.
crates/rpc/src/server/api.rs:298
↓ 5 callersMethodentry_count
(&self)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:583
↓ 5 callersFunctionexpiration_tx_script
Compiles the standalone transaction script that sets the on-chain expiration of a network transaction to `delta` blocks. The script is account-indepen
bin/ntx-builder/src/actor/mod.rs:41
↓ 5 callersMethodfee
Returns the fee of the transaction.
bin/validator/src/tx_validation/validated_tx.rs:67
↓ 5 callersFunctionge
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 5 callersFunctionget_note_status
Returns the status for a note identified by its note ID.
bin/ntx-builder/src/db/models/queries/notes.rs:164
↓ 5 callersMethodget_storage_map_details_for_all_entries
( &self, account_id: AccountId, slot_name: StorageSlotName, block_num: BlockNu
crates/store/src/account_state_forest/mod.rs:408
↓ 5 callersMethodget_tree_id
(&self, lineage: LineageId, block_num: BlockNumber)
crates/store/src/account_state_forest/mod.rs:251
↓ 5 callersMethodhandle
(self, shutdown: CancellationToken)
bin/node/src/commands/modes.rs:54
↓ 5 callersFunctionhash_field
(hasher: &mut Sha256, field: &str)
crates/db/src/migration/schema.rs:139
↓ 5 callersFunctioninsert_account_delta
( conn: &mut SqliteConnection, account_id: AccountId, block_number: BlockNumber, delta: &Accou
crates/store/src/db/tests.rs:955
↓ 5 callersFunctionmake_full_state_update
Creates a full-state [`BlockAccountUpdate`] for the given account.
crates/store/src/db/models/queries/accounts/tests.rs:1159
↓ 5 callersFunctionmark_notes_consumed
Marks notes as consumed by setting `committed_at` to the block number whose committed body contained their nullifier. Rows for nullifiers we never ins
bin/ntx-builder/src/db/models/queries/notes.rs:87
↓ 5 callersMethodmessage
Create a `ConversionError` from an ad-hoc error message.
crates/proto/src/errors/mod.rs:67
↓ 5 callersFunctionmock_account_code_and_storage
( account_type: AccountType, assets: impl IntoIterator<Item = Asset>, init_seed: Option<[u8; 32]>,
crates/store/src/db/tests.rs:1688
↓ 5 callersFunctionmock_block_transaction
(account_id: AccountId, num: u64)
crates/store/src/db/tests.rs:1583
↓ 5 callersMethodname
(&self)
bin/network-monitor/src/explorer.rs:74
↓ 5 callersFunctionp
(t,r,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 5 callersFunctionpartition_by_allowlist
Splits notes into the notes allowed by the account's note-script allowlist and rejected note nullifiers paired with the offending script root.
bin/ntx-builder/src/actor/allowlist.rs:44
↓ 5 callersFunctionprint_summary
Prints a summary of the benchmark results, including the average and various percentile request latencies to help diagnose performance outliers.
bin/stress-test/src/store/metrics.rs:5
↓ 5 callersMethodprove
Proves a [`proto::ProofRequest`] using the appropriate prover implementation as specified during construction.
bin/remote-prover/src/server/prover.rs:37
↓ 5 callersFunctionprune_history
( conn: &mut SqliteConnection, chain_tip: BlockNumber, )
crates/store/src/db/models/queries/accounts.rs:1506
↓ 5 callersFunctionqn
(e)
bin/network-monitor/assets/htmx.min.js:1
← previousnext →201–300 of 2,587, ranked by callers