Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xMiden/node
/ functions
Functions
2,587 in github.com/0xMiden/node
⨍
Functions
2,587
◇
Types & classes
507
↓ 2 callers
Function
map_rocksdb_err
(err: RocksDbError)
crates/large-smt-backend-rocksdb/src/helpers.rs:6
↓ 2 callers
Method
mempool_config
(self)
crates/block-producer/src/server/mod.rs:53
↓ 2 callers
Function
migrate
(database_filepath: impl AsRef<Path>)
bin/validator/src/db/mod.rs:74
↓ 2 callers
Function
migrate
Applies pending migrations to the ntx-builder database at `database_filepath`.
bin/ntx-builder/src/lib.rs:56
↓ 2 callers
Method
migrate
(database_filepath: impl AsRef<Path>)
bin/ntx-builder/src/db/mod.rs:76
↓ 2 callers
Method
migration_name
Returns the migration name for a one-based migration version.
crates/db/src/migration/migrator.rs:285
↓ 2 callers
Function
migration_prefix
(name: &'a str, path: &Path)
crates/db/src/migration/build_script.rs:308
↓ 2 callers
Method
multi_get_cf_bytes
( &self, keys_cf: I, )
crates/large-smt-backend-rocksdb/src/rocksdb.rs:566
↓ 2 callers
Method
name
(&self)
crates/db/src/migration/entry.rs:30
↓ 2 callers
Method
name
(&self)
bin/network-monitor/src/counter.rs:400
↓ 2 callers
Method
network_tx_auth
(&self)
bin/node/src/commands/rpc.rs:46
↓ 2 callers
Function
nonce_bump_delta
Builds a valid nonce-only [`AccountDelta`] for `account_id`.
bin/ntx-builder/src/actor/mod.rs:699
↓ 2 callers
Function
nonce_to_raw_sql
(nonce: Felt)
crates/store/src/db/models/conv.rs:210
↓ 2 callers
Function
normalize_description
(description: &str)
xtask/src/changelog/release.rs:389
↓ 2 callers
Function
nt
(r,o,i)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
ntx_seed_status
Seed status published on the NTX channels until the accounts are deployed.
bin/network-monitor/src/monitor/tasks.rs:187
↓ 2 callers
Function
nullifier_prefix_to_raw_sql
(prefix: u16)
crates/store/src/db/models/conv.rs:196
↓ 2 callers
Method
open_latest
(&self, account_id: AccountId)
crates/store/src/accounts/mod.rs:196
↓ 2 callers
Function
options
(max_batches: usize, max_txs: usize)
bin/node/src/commands/block_producer.rs:70
↓ 2 callers
Function
outer_conversion
()
crates/proto/src/decode/mod.rs:145
↓ 2 callers
Function
paintProbe
(detailsEl, url)
bin/network-monitor/assets/probes.js:124
↓ 2 callers
Function
partial_note_metadata_from_proto
Decodes the `(sender, note_type, tag)` triple from a proto `NoteMetadata` into a [`PartialNoteMetadata`]. The attachment-related fields on the proto a
crates/proto/src/domain/note.rs:316
↓ 2 callers
Function
path_size_bytes
Returns the byte length of the file at `path`, or `0` if it does not exist.
crates/store/src/state/disk_monitor.rs:84
↓ 2 callers
Function
percentiles
Returns `None` if there are no samples.
bin/benchmark/src/summary.rs:290
↓ 2 callers
Function
pn
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
pre_release_label
Extracts the label portion of a semver pre-release identifier, stripping any trailing numeric segment. For example, `"alpha.3"` returns `Some("alpha")
crates/rpc/src/server/accept.rs:113
↓ 2 callers
Function
preserve_newlines
(output: &mut String, source: &str)
xtask/src/changelog/pr.rs:77
↓ 2 callers
Function
print_per_block_series
Print a compact per-block series so the operator can eyeball the time-series shape (ramp, plateau, dip). Empty blocks in the scan range are intentiona
bin/benchmark/src/summary.rs:213
↓ 2 callers
Function
print_phase_progress
(label: &str, stats: &PhaseStats)
bin/benchmark/src/summary.rs:58
↓ 2 callers
Function
print_phase_summary
(title: &str, stats: &PhaseStats)
bin/benchmark/src/summary.rs:91
↓ 2 callers
Function
print_proving_summary
Prints a per-phase summary of how long proof generation took, broken down into the executor (VM execution) and prover (STARK proving) costs, plus the
bin/benchmark/src/summary.rs:17
↓ 2 callers
Function
probe_staleness_window
Window after which a probe outcome with no fresh updates is considered stale. Two full probe intervals plus the request timeout: a healthy probe task
bin/network-monitor/src/remote_prover.rs:314
↓ 2 callers
Method
proof_path
(&self, block_num: BlockNumber)
crates/store/src/blocks.rs:200
↓ 2 callers
Method
proposed_batches_count
Returns the number of batches currently being proven.
crates/block-producer/src/mempool/mod.rs:591
↓ 2 callers
Function
proto_files_in_directory
The list of `*.proto` files in the given directory. Does _not_ recurse into folders; only top level files are returned.
proto/build.rs:54
↓ 2 callers
Method
proven_batches_count
Returns the number of proven batches waiting for block inclusion.
crates/block-producer/src/mempool/mod.rs:596
↓ 2 callers
Method
proven_count
(&self)
crates/block-producer/src/mempool/graph/batch.rs:162
↓ 2 callers
Method
proven_tip_path
(&self)
crates/store/src/blocks.rs:261
↓ 2 callers
Method
prune
Removes the node _IFF_ it has no ancestor nodes and returns the pruned node. # Panics Panics if this node has any ancestor nodes, or if this node wa
crates/block-producer/src/mempool/graph/dag.rs:221
↓ 2 callers
Function
pull_requests_for_commits
( repo: &str, commits: &[String], missing_pull_request: MissingPullRequest, )
xtask/src/changelog/release.rs:218
↓ 2 callers
Method
push_active_unchecked
Adds an active migration and the schema hash expected after it runs. This is used by [`MigratorBuilder`] after it has already applied the migration t
crates/db/src/migration/migrator.rs:88
↓ 2 callers
Function
raw_sql_to_idx
(raw: i32)
crates/store/src/db/models/conv.rs:234
↓ 2 callers
Function
raw_sql_to_nonce
(raw: i64)
crates/store/src/db/models/conv.rs:201
↓ 2 callers
Method
read_count_impl
(&self, what: &'static str, key: &[u8])
crates/large-smt-backend-rocksdb/src/rocksdb.rs:374
↓ 2 callers
Function
read_dir_sorted
(dir: &Path)
crates/db/src/migration/build_script.rs:286
↓ 2 callers
Function
read_signed_genesis_block
Reads a trusted, signed genesis block from disk.
crates/utils/src/genesis.rs:35
↓ 2 callers
Function
rebuild_account_state_forest
( forest: &mut AccountStateForest<impl Backend>, db: &mut Db, block_num: BlockNumber, )
crates/store/src/state/loader.rs:542
↓ 2 callers
Method
record_and_check
Records the latest subscriber gap and returns whether it is still within the allowed limit.
crates/rpc/src/server/api/subscription/stream/mod.rs:329
↓ 2 callers
Method
record_store_size
Tracks the size of the store file.
bin/stress-test/src/seeding/metrics.rs:64
↓ 2 callers
Method
reevaluate_mode
Decides the actor's next mode after a coordinator notification, advancing the in-memory account when the actor's own transaction lands. - In `NoViabl
bin/ntx-builder/src/actor/mod.rs:390
↓ 2 callers
Method
register_storage_map_slots
Registers storage map slot names for the given account ID and storage header. These slot names are subsequently used to query for storage map witness
bin/ntx-builder/src/actor/execute.rs:589
↓ 2 callers
Method
reject_if_any_network_accounts
Errors if any of `candidate_ids` is classified as a network account by the store. Callers should pre-filter to post-deployment, public-account ids; `O
crates/rpc/src/server/api.rs:220
↓ 2 callers
Method
remove_files
(&self)
crates/db/src/migration/migrator.rs:373
↓ 2 callers
Function
render_migrator
Renders the Rust source written by [`Migrator::generate`]. For one retired migration named `001_legacy`, one SQL migration named `002_initial`, and o
crates/db/src/migration/build_script.rs:237
↓ 2 callers
Method
request_backoff
Returns the [`ExponentialBuilder`] used for per-request retry backoff.
bin/ntx-builder/src/actor/execute.rs:207
↓ 2 callers
Method
revert_tx_and_descendants
Reverts the given transaction and _all_ its descendants _IFF_ it is present in the graph. This includes batches that have been marked as proven. Ret
crates/block-producer/src/mempool/graph/transaction.rs:284
↓ 2 callers
Method
root_at
Returns the root hash at a specific historical block. Returns `None` if the block is in the future or too old (pruned).
crates/store/src/accounts/mod.rs:169
↓ 2 callers
Method
root_latest
Returns the root hash of the latest state.
crates/store/src/accounts/mod.rs:162
↓ 2 callers
Function
run
Main loop of the proof scheduler. Maintains a pool of concurrent proving jobs via [`JoinSet`], fills them up to `max_concurrent_proofs`, and drains c
crates/block-producer/src/proof_scheduler.rs:109
↓ 2 callers
Function
run
(rpc_url: Url, concurrency: usize, connections: usize, wait_blocks: u32)
bin/benchmark/src/submit.rs:34
↓ 2 callers
Method
run
Starts the [`BatchBuilder`], creating and proving batches dynamically. Full batches are spawned on each check and job completion. A batch of any size
crates/block-producer/src/batch_builder/mod.rs:100
↓ 2 callers
Method
run
Runs the producer until it reaches a terminal stream error, then reports that status.
crates/rpc/src/server/api/subscription/stream/mod.rs:198
↓ 2 callers
Method
run
Runs the account actor, processing notifications and managing state until shutdown. The return value signals the shutdown category to the coordinator
bin/ntx-builder/src/actor/mod.rs:288
↓ 2 callers
Function
runProbes
()
bin/network-monitor/assets/probes.js:112
↓ 2 callers
Method
runtime_config
(&self, store: &StoreOptions)
bin/node/src/commands/runtime.rs:25
↓ 2 callers
Method
save_block
(&self, block_num: BlockNumber, data: &[u8])
crates/store/src/blocks.rs:98
↓ 2 callers
Method
save_proven_tip
Atomically writes `tip` to the proven tip file (write to temp, then rename).
crates/store/src/blocks.rs:254
↓ 2 callers
Function
seed_committed_account
Seeds a committed row for `account_id` so the coordinator's spawn check sees the account.
bin/ntx-builder/src/coordinator.rs:337
↓ 2 callers
Function
select_account
Select account by ID from the DB using the given [`SqliteConnection`]. # Returns The latest account info, or an error. # Raw SQL ```sql SELECT acc
crates/store/src/db/models/queries/accounts.rs:143
↓ 2 callers
Method
select_account_commitments_paged
( &self, page_size: std::num::NonZeroUsize, after_account_id: Option<AccountId>, )
crates/store/src/db/mod.rs:390
↓ 2 callers
Method
select_any_batch
(&mut self, budget: BatchBudget)
crates/block-producer/src/mempool/graph/transaction.rs:137
↓ 2 callers
Method
select_block
Selects a set of batches for inclusion in the next block. A batch is available for selection if: - all the batches it depends on have been selected f
crates/block-producer/src/mempool/graph/batch.rs:133
↓ 2 callers
Function
select_block_headers
Select block headers for the given block numbers. # Parameters `blocks`: Iterator of block numbers to retrieve - Limit: 0 <= count <= 1000 # Note O
crates/store/src/db/models/queries/block_headers.rs:111
↓ 2 callers
Method
select_block_headers
( &self, blocks: impl Iterator<Item = BlockNumber> + Send + 'static, )
crates/store/src/db/mod.rs:357
↓ 2 callers
Function
select_chain_state
Reads the singleton chain state row, returning the persisted block number, header, and chain MMR if any block has been applied locally. # Raw SQL ``
bin/ntx-builder/src/db/models/queries/chain_state.rs:128
↓ 2 callers
Method
select_internal_batch
(&mut self, mut budget: BatchBudget)
crates/block-producer/src/mempool/graph/transaction.rs:207
↓ 2 callers
Method
select_note_inclusion_proofs
( &self, note_commitments: BTreeSet<Word>, )
crates/store/src/db/mod.rs:558
↓ 2 callers
Method
select_nullifiers_paged
( &self, page_size: std::num::NonZeroUsize, after_nullifier: Option<Nullifier>, )
crates/store/src/db/mod.rs:269
↓ 2 callers
Method
select_user_batch
(&mut self)
crates/block-producer/src/mempool/graph/transaction.rs:164
↓ 2 callers
Method
selection_check
Marks the node as a selection candidate if all its parents are already selected.
crates/block-producer/src/mempool/graph/dag.rs:95
↓ 2 callers
Method
set_subtree
Stores a single subtree in RocksDB and optionally updates the depth-24 root cache. The subtree is serialized and written to its corresponding column
crates/large-smt-backend-rocksdb/src/rocksdb.rs:811
↓ 2 callers
Function
setup_db_with_genesis
Creates a validator database seeded with a genesis block whose `validator_key` is the public key of `key`. Returns the database handle and the genesis
bin/validator/src/server/validator_service/tests.rs:127
↓ 2 callers
Function
setup_increment_task
Fetch the genesis block header and build the data store + increment script needed to produce network notes from a freshly-created wallet/counter pair.
bin/network-monitor/src/counter.rs:717
↓ 2 callers
Function
setup_with_pool_size
( database_filepath: PathBuf, connection_pool_size: NonZeroUsize, )
bin/validator/src/db/mod.rs:60
↓ 2 callers
Method
shutdown
Waits for all currently running actors to exit after cancellation.
bin/ntx-builder/src/coordinator.rs:288
↓ 2 callers
Function
sn
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Method
spawn
Spawns a new task to prove a block.
crates/block-producer/src/proof_scheduler.rs:70
↓ 2 callers
Method
spawn_actor_when_committed
Spawns an actor for the given account if its committed state exists in the DB; otherwise defers the spawn until the block carrying the account's creat
bin/ntx-builder/src/coordinator.rs:184
↓ 2 callers
Function
spawn_blocking_in_span
Spawn a blocking task in a span.
crates/utils/src/spawn.rs:14
↓ 2 callers
Method
spawn_disk_monitor
Spawns a background task that periodically records the on-disk size of every store data path as `OTel` span attributes.
crates/store/src/state/disk_monitor.rs:14
↓ 2 callers
Function
stable_tags_merged_into
(commit: &str)
xtask/src/changelog/release.rs:172
↓ 2 callers
Function
start_ntx_builder
( response: proto::rpc::GetNetworkNoteStatusResponse, )
crates/rpc/src/tests.rs:538
↓ 2 callers
Function
start_rpc_with_options
( grpc_options: GrpcOptionsExternal, )
crates/rpc/src/tests.rs:764
↓ 2 callers
Function
start_source_rpc
(ntx_builder: NtxBuilderClient)
crates/rpc/src/tests.rs:570
↓ 2 callers
Function
status_fragment
Card grid + last-updated line. Returned from `/fragments/status` for htmx to swap into `#status-container`.
bin/network-monitor/src/view/mod.rs:70
↓ 2 callers
Function
stdout_layer
()
crates/utils/src/logging.rs:334
↓ 2 callers
Method
submit
Submit one executed tx for proving. The remote path spawns a concurrent task and returns immediately; the local path proves inline now, blocking until
bin/benchmark/src/create_proofs.rs:116
↓ 2 callers
Method
submit_batch
Submits each transaction in the batch to the validator for re-execution. # Errors - If `transaction_inputs` does not match the batch's transactions
crates/proto/src/clients/mod.rs:521
↓ 2 callers
Method
submit_proven_tx_batch
( &self, batch: ProposedBatch, )
crates/block-producer/src/server/mod.rs:368
↓ 2 callers
Method
subscribe
Returns a new receiver that wakes on every proven-tip advance.
crates/store/src/proven_tip.rs:43
← previous
next →
701–800 of 2,587, ranked by callers