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
↓ 1 callers
Function
rate_limit_per_ip
Creates a per-IP rate limit layer using the configured governor settings.
crates/utils/src/grpc/layers.rs:23
↓ 1 callers
Function
ratio_pct
(num: u64, den: u64)
bin/benchmark/src/summary.rs:254
↓ 1 callers
Function
read_bootstrap_genesis_block
( genesis_block_file: Option<&Path>, network: Option<OfficialNetwork>, )
bin/ntx-builder/src/commands/mod.rs:244
↓ 1 callers
Function
read_bootstrap_genesis_block
( genesis_block_file: Option<&Path>, network: Option<OfficialNetwork>, )
bin/node/src/commands/lifecycle.rs:50
↓ 1 callers
Function
reconstruct_account_storage_at_block
Test helper: reconstructs account storage at a given block from DB. Reads `accounts.storage_header` and `account_storage_map_values` to reconstruct t
crates/store/src/db/models/queries/accounts/tests.rs:52
↓ 1 callers
Method
reconstruct_storage_map_details_from_db
Returns storage map details by reconstructing the storage map from the database.
crates/store/src/state/account.rs:146
↓ 1 callers
Method
record_failure
(&mut self)
bin/network-monitor/src/counter.rs:129
↓ 1 callers
Function
records_allowed_canonical_fields
()
crates/utils/tests/ui/tracing_macros/pass.rs:47
↓ 1 callers
Function
records_explicit_argument_field
(account_id: &str)
crates/utils/tests/tracing_macros.rs:85
↓ 1 callers
Function
records_fields
()
crates/utils/tests/ui/tracing_macros/pass.rs:8
↓ 1 callers
Function
records_invalid_field_name
()
crates/utils/tests/ui/tracing_macros/invalid_field_name.rs:6
↓ 1 callers
Function
records_outside_miden_instrument
()
crates/utils/tests/ui/tracing_macros/outside_miden_instrument.rs:3
↓ 1 callers
Function
records_same_field_more_than_once
()
crates/utils/tests/ui/tracing_macros/pass.rs:32
↓ 1 callers
Function
records_with_default_instrument_args
()
crates/utils/tests/ui/tracing_macros/pass.rs:21
↓ 1 callers
Function
recover_from_validator
Streams blocks from the validator into the local store until the chain tip is reached.
bin/node/src/commands/recover.rs:68
↓ 1 callers
Function
reflow_block
(block: &[CommentLine], width: usize)
xtask/src/comment_reflow.rs:267
↓ 1 callers
Function
register_dummy_actor
Registers a dummy actor handle (no real actor task) in the coordinator's registry.
bin/ntx-builder/src/coordinator.rs:331
↓ 1 callers
Function
release_changelog_entries
(release_tag: &str)
xtask/src/changelog/release.rs:20
↓ 1 callers
Method
reload_counter_account_if_changed
If [`IncrementService`] regenerated accounts and published a new pair, adopt it and reset tracking state.
bin/network-monitor/src/counter.rs:521
↓ 1 callers
Function
remove_from_leaf
(leaf: &mut SmtLeaf, key: Word)
crates/large-smt-backend-rocksdb/src/helpers.rs:53
↓ 1 callers
Method
remove_node
(&mut self, node: &K, from: Word, to: Word)
crates/block-producer/src/mempool/graph/state.rs:209
↓ 1 callers
Method
remove_subtree
Removes a single SMT Subtree from storage, identified by its root `NodeIndex`. # Errors - `StorageError::Backend`: If the subtrees column family is m
crates/large-smt-backend-rocksdb/src/rocksdb.rs:876
↓ 1 callers
Function
render_current_changelog
()
xtask/src/changelog.rs:23
↓ 1 callers
Function
render_explorer
( stats: &ExplorerStatusDetails, rpc_chain_tip: Option<u32>, healthy: bool, )
bin/network-monitor/src/view/cards/explorer.rs:13
↓ 1 callers
Function
render_faucet_test
(details: &FaucetTestDetails, healthy: bool)
bin/network-monitor/src/view/cards/faucet.rs:9
↓ 1 callers
Function
render_note_transport
( details: &NoteTransportStatusDetails, healthy: bool, )
bin/network-monitor/src/view/cards/note_transport.rs:8
↓ 1 callers
Function
render_ntx_increment
(details: &IncrementDetails, healthy: bool)
bin/network-monitor/src/view/cards/ntx.rs:15
↓ 1 callers
Function
render_ntx_tracking
( details: &CounterTrackingDetails, healthy: bool, )
bin/network-monitor/src/view/cards/ntx.rs:48
↓ 1 callers
Function
render_release_notes
(release_tag: &str)
xtask/src/changelog.rs:14
↓ 1 callers
Function
render_remote_prover
(details: &RemoteProverDetails)
bin/network-monitor/src/view/cards/remote_prover.rs:17
↓ 1 callers
Function
render_rpc_status
(details: &RpcStatusDetails)
bin/network-monitor/src/view/cards/rpc.rs:9
↓ 1 callers
Function
render_validator
(details: &ValidatorStatusDetails, healthy: bool)
bin/network-monitor/src/view/cards/validator.rs:8
↓ 1 callers
Function
repaintAllFromCache
After an htmx swap we still have cached probe results — paint them immediately.
bin/network-monitor/assets/probes.js:153
↓ 1 callers
Function
replacements
(comment_lines: &[CommentLine], width: usize)
xtask/src/comment_reflow.rs:236
↓ 1 callers
Function
request_backoff
Builds the [`ExponentialBuilder`] used to back off retries on transient request failures.
bin/ntx-builder/src/actor/execute.rs:108
↓ 1 callers
Function
resource
(config: ResourceConfig)
crates/utils/src/logging.rs:249
↓ 1 callers
Method
resource_config
(self)
crates/utils/src/logging.rs:89
↓ 1 callers
Method
revert_expired
Reverts all batches and transactions that have expired. Expired batch descendants are also reverted since these are now invalid. Transactions from b
crates/block-producer/src/mempool/mod.rs:648
↓ 1 callers
Function
rn
(t,n,r)
bin/network-monitor/assets/htmx.min.js:1
↓ 1 callers
Method
rollback_batch
(&self, batch_id: BatchId)
crates/block-producer/src/batch_builder/mod.rs:396
↓ 1 callers
Method
rollback_block
(&mut self, block: BlockNumber)
crates/block-producer/src/mempool/mod.rs:546
↓ 1 callers
Method
run
(self)
xtask/src/main.rs:58
↓ 1 callers
Method
run
(self)
bin/benchmark/src/main.rs:93
↓ 1 callers
Method
run
Runs the network transaction builder event loop until a fatal error occurs.
bin/ntx-builder/src/builder.rs:106
↓ 1 callers
Method
run_event_loop
(mut self, shutdown: CancellationToken)
bin/ntx-builder/src/builder.rs:130
↓ 1 callers
Function
run_fmt_comments
(args: &FmtCommentsArgs)
xtask/src/main.rs:142
↓ 1 callers
Function
run_ntx
Bootstraps the network transaction services and runs them. Deployment is retried forever with exponential backoff, publishing an unhealthy status on
bin/network-monitor/src/monitor/tasks.rs:200
↓ 1 callers
Function
run_prover_test
( mut client: RemoteProverClient, rpc_url: Url, interval: Duration, probe_tx: watch::Sender<Pr
bin/network-monitor/src/remote_prover.rs:365
↓ 1 callers
Function
rust_files
Collect Rust source files from explicit files, directories, or the repository root. Directory traversal skips common generated or dependency director
xtask/src/comment_reflow.rs:107
↓ 1 callers
Function
rustfmt_generated
(dir: &Path)
crates/proto/build.rs:78
↓ 1 callers
Function
safe_comment_text
(content: &str)
xtask/src/comment_reflow.rs:299
↓ 1 callers
Function
same_block
(previous: &CommentLine, current: &CommentLine)
xtask/src/comment_reflow.rs:261
↓ 1 callers
Method
save_block_blocking
(&self, block_num: BlockNumber, data: &[u8])
crates/store/src/blocks.rs:107
↓ 1 callers
Method
save_proof
(&self, block_num: BlockNumber, data: &[u8])
crates/store/src/blocks.rs:129
↓ 1 callers
Method
save_proving_inputs
Saves the proving inputs for the given block to the block store.
crates/store/src/state/apply_block.rs:211
↓ 1 callers
Function
scan_with_drain
( mut client: RpcClient, start_height: u32, max_blocks: u32, mut ack_by_id: HashMap<Transactio
bin/benchmark/src/inclusion.rs:84
↓ 1 callers
Function
seed_network_account
Opens a fresh connection to the store's SQLite database and inserts a private network-account row for `account_id`, marking it as a network account in
crates/store/src/lib.rs:77
↓ 1 callers
Function
seed_store
Seeds the store with a given number of accounts.
bin/stress-test/src/seeding/mod.rs:92
↓ 1 callers
Method
select_account
(&self, id: AccountId)
crates/store/src/db/mod.rs:444
↓ 1 callers
Method
select_account_code_by_commitment
( &self, code_commitment: Word, )
crates/store/src/db/mod.rs:473
↓ 1 callers
Function
select_account_commitments_paged
Selects account commitments with pagination. Returns up to `page_size` account commitments, starting after `after_account_id` if provided. Results ar
crates/store/src/db/models/queries/accounts.rs:259
↓ 1 callers
Method
select_account_header_with_storage_header_at_block
( &self, account_id: AccountId, block_num: BlockNumber, )
crates/store/src/db/mod.rs:491
↓ 1 callers
Function
select_all_block_header_commitments
Select all block headers from the DB using the given [`SqliteConnection`]. # Returns A vector of [`BlockHeader`] or an error. # Raw SQL ```sql SEL
crates/store/src/db/models/queries/block_headers.rs:144
↓ 1 callers
Method
select_all_block_header_commitments
(&self)
crates/store/src/db/mod.rs:375
↓ 1 callers
Function
select_block_header_and_signature_by_block_num
Select a [`BlockHeader`] and its [`Signature`] from the DB by its `block_num` using the given [`SqliteConnection`]. # Returns The block header with
crates/store/src/db/models/queries/block_headers.rs:78
↓ 1 callers
Method
select_block_header_and_signature_by_block_num
( &self, block_number: BlockNumber, )
crates/store/src/db/mod.rs:339
↓ 1 callers
Function
select_existing_note_commitments
Select the subset of note commitments that already exist in the notes table # Raw SQL ```sql SELECT notes.note_commitment FROM notes WHERE note_comm
crates/store/src/db/models/queries/notes.rs:234
↓ 1 callers
Method
select_existing_note_commitments
( &self, note_commitments: Vec<Word>, )
crates/store/src/db/mod.rs:541
↓ 1 callers
Method
select_full_batch
(&mut self)
crates/block-producer/src/mempool/mod.rs:359
↓ 1 callers
Method
select_full_batch
(&mut self, budget: BatchBudget)
crates/block-producer/src/mempool/graph/transaction.rs:142
↓ 1 callers
Function
select_latest_account_storage_components
Fetch account storage header and all storage maps
crates/store/src/db/models/queries/accounts.rs:763
↓ 1 callers
Function
select_latest_storage_map_entries_all
TODO this is expensive and should only be called from tests
crates/store/src/db/models/queries/accounts.rs:788
↓ 1 callers
Function
select_latest_storage_map_entries_for_slot
( conn: &mut SqliteConnection, account_id: &AccountId, slot_name: &StorageSlotName, )
crates/store/src/db/models/queries/accounts.rs:836
↓ 1 callers
Function
select_latest_storage_map_entries_for_slots
( conn: &mut SqliteConnection, account_id: &AccountId, slot_names: &[StorageSlotName], )
crates/store/src/db/models/queries/accounts.rs:803
↓ 1 callers
Function
select_latest_vault_assets
Selects the latest vault assets for an account. # Raw SQL ```sql SELECT vault_key, asset FROM account_vault_assets WHERE account_id = ?1 AND is_late
crates/store/src/db/models/queries/accounts/delta.rs:197
↓ 1 callers
Function
select_minimal_account_state_headers
Selects the minimal account state needed for applying a delta update. Optimized query that only fetches: - `nonce` (to add `nonce_delta`) - `code_com
crates/store/src/db/models/queries/accounts/delta.rs:96
↓ 1 callers
Method
select_network_accounts_subset
( &self, account_ids: Vec<AccountId>, )
crates/store/src/db/mod.rs:456
↓ 1 callers
Function
select_note_ids_by_nullifier
Maps each given nullifier to its note ID. Only public notes have a nullifier stored (`notes.nullifier` is NULL for private notes), so private notes n
crates/store/src/db/models/queries/notes.rs:386
↓ 1 callers
Function
select_note_inclusion_proofs
Select note inclusion proofs matching the note commitments. # Parameters `note_ids`: Set of note IDs to query - Limit: 0 <= count <= 1000 # Returns
crates/store/src/db/models/queries/notes.rs:281
↓ 1 callers
Method
select_note_script_by_root
Returns the script for a note by its root.
crates/store/src/db/mod.rs:738
↓ 1 callers
Function
select_note_sync_records
Select note sync records matching the given note commitments. # Parameters `note_commitments`: Slice of note commitments to query - Limit: 0 <= count
crates/store/src/db/models/queries/notes.rs:350
↓ 1 callers
Method
select_notes_by_id
(&self, note_ids: Vec<NoteId>)
crates/store/src/db/mod.rs:527
↓ 1 callers
Method
select_nullifiers_by_prefix
( &self, prefix_len: u32, nullifier_prefixes: Vec<u32>, block_range: RangeIncl
crates/store/src/db/mod.rs:291
↓ 1 callers
Function
select_nullifiers_paged
Selects nullifiers with pagination. Returns up to `page_size` nullifiers, starting after `after_nullifier` if provided. Results are ordered by nullif
crates/store/src/db/models/queries/nullifiers.rs:170
↓ 1 callers
Function
select_public_account_ids_paged
Selects public account IDs with pagination. Returns up to `page_size` public account IDs, starting after `after_account_id` if provided. Results are
crates/store/src/db/models/queries/accounts.rs:350
↓ 1 callers
Method
select_public_account_ids_paged
( &self, page_size: std::num::NonZeroUsize, after_account_id: Option<AccountId>, )
crates/store/src/db/mod.rs:408
↓ 1 callers
Function
select_public_account_state_roots_paged
Selects public account vault roots and storage headers with pagination. Returns up to `page_size` public account states, starting after `after_accoun
crates/store/src/db/models/queries/accounts.rs:412
↓ 1 callers
Method
select_public_account_state_roots_paged
( &self, page_size: std::num::NonZeroUsize, after_account_id: Option<AccountId>, )
crates/store/src/db/mod.rs:426
↓ 1 callers
Function
select_random_account_ids_for_update_notes
( account_states: &BTreeMap<AccountId, Account>, pending_accounts: &[Account], max_accounts: usize
bin/stress-test/src/seeding/mod.rs:454
↓ 1 callers
Method
select_transactions_records
Returns the complete transaction records for the specified accounts within the specified block range, including state commitments and note IDs. Note:
crates/store/src/db/mod.rs:751
↓ 1 callers
Function
select_vault_balances_by_vault_keys
Selects vault balances for specific vault keys. Optimized query that only fetches balances for the vault keys that are being updated by a delta, rath
crates/store/src/db/models/queries/accounts/delta.rs:151
↓ 1 callers
Method
selected_count
(&self)
crates/block-producer/src/mempool/graph/dag.rs:254
↓ 1 callers
Method
send_event
Sends a stream item to the client while also observing server shutdown.
crates/rpc/src/server/api/subscription/stream/mod.rs:266
↓ 1 callers
Method
sequencer_client
(&self)
bin/node/src/commands/modes.rs:212
↓ 1 callers
Function
serve
Runs the frontend server.
bin/network-monitor/src/frontend.rs:39
↓ 1 callers
Method
serve
Serves the RPC API. In full-node mode, also runs the block/proof sync loop concurrently. Either component failing causes both to stop. Note: Execute
crates/rpc/src/server/mod.rs:112
↓ 1 callers
Method
serve
Serves the validator RPC API. Executes in place (i.e. not spawned) and will run indefinitely until a fatal error is encountered.
bin/validator/src/server/mod.rs:58
↓ 1 callers
Method
service_constructor
Constructs the underlying tonic server for this service behind an opaque tower service type.
crates/proto/build.rs:338
↓ 1 callers
Method
service_name
Returns the gRPC service name used by tonic routing and health reporting.
crates/proto/build.rs:366
↓ 1 callers
Method
set_genesis_commitment
Sets the genesis commitment, returning an error if it is already set. Required since the store client is used to fetch the `genesis_commitment` after
crates/rpc/src/server/api.rs:113
← previous
next →
1,201–1,300 of 2,587, ranked by callers