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
↓ 3 callers
Function
read_success_body
Reads the response body, failing with the HTTP status code and body when the request was not successful, so server-side errors (e.g. 429 or 500) surfa
bin/network-monitor/src/faucet.rs:320
↓ 3 callers
Method
reconstruct_storage_map_from_db
( &self, account_id: AccountId, slot_name: miden_protocol::account::StorageSlotName,
crates/store/src/db/mod.rs:643
↓ 3 callers
Function
release_notes
( title: &str, entries: &[ReleaseNoteEntry], invalid_entries: &[InvalidChangelogEntry], )
xtask/src/changelog/render.rs:5
↓ 3 callers
Method
requeue_transactions
Marks the batch's transactions as ready for selection again. # Panics Panics if the given batch has any child batches which are still in flight.
crates/block-producer/src/mempool/graph/transaction.rs:326
↓ 3 callers
Method
reset
(&mut self)
bin/network-monitor/src/counter.rs:133
↓ 3 callers
Method
revert_batch_and_descendants
Reverts the given batch and _all_ its descendants _IFF_ it is present in the graph. This includes batches that have been marked as proven. Returns t
crates/block-producer/src/mempool/graph/batch.rs:80
↓ 3 callers
Method
revert_node_and_descendants
Reverts the given node and all of its descendants, returning the reverted nodes. Nodes are reverted from leaves (nodes without children) backwards, a
crates/block-producer/src/mempool/graph/dag.rs:178
↓ 3 callers
Method
run
Full service lifecycle. The default implementation loops on [`Self::interval`] ticks, calls [`Self::check`], and publishes the result. Returns when th
bin/network-monitor/src/service.rs:51
↓ 3 callers
Function
select_all_accounts
( conn: &mut SqliteConnection, )
crates/store/src/db/models/queries/accounts.rs:580
↓ 3 callers
Function
select_network_accounts_subset
Returns the subset of `account_ids` whose latest committed state is a network account. Unknown ids and non-network accounts are silently omitted.
crates/store/src/db/models/queries/accounts.rs:1173
↓ 3 callers
Function
select_note_script_by_root
Returns the script for a note by its root. ```sql SELECT script_root, script FROM note_scripts WHERE script_root = ?1 ```
crates/store/src/db/models/queries/notes.rs:421
↓ 3 callers
Method
select_storage_map_sync_values
Selects storage map values for syncing storage maps for a specific account ID. The returned values are the latest known values up to `block_range.end
crates/store/src/db/mod.rs:612
↓ 3 callers
Function
setup
(database_filepath: PathBuf)
bin/validator/src/db/mod.rs:51
↓ 3 callers
Function
snapshot
Snapshots every service receiver into a single `NetworkStatus` value. Same shape that [`crate::frontend::get_status`] serialises to JSON.
bin/network-monitor/src/view/mod.rs:96
↓ 3 callers
Method
spawn
Spawns the producer task that feeds the receiver side of the subscription stream.
crates/rpc/src/server/api/subscription/stream/mod.rs:193
↓ 3 callers
Method
spawn_infallible
Spawns a named task that does not return an error.
crates/utils/src/tasks.rs:44
↓ 3 callers
Method
store_account_state
(&self)
crates/block-producer/src/domain/transaction.rs:84
↓ 3 callers
Method
stream_for_ip
( &self, client_ip: Option<IpAddr>, from: BlockNumber, chain_tip: watch::Recei
crates/rpc/src/server/api/subscription/stream/tests.rs:47
↓ 3 callers
Method
submit_authenticated_tx
( &self, tx: AuthenticatedTransaction, )
crates/block-producer/src/server/mod.rs:349
↓ 3 callers
Method
submit_authenticated_tx_batch
( &self, batch: ProposedBatch, inputs: Vec<TransactionInputs>, )
crates/block-producer/src/server/mod.rs:402
↓ 3 callers
Method
subscribe_committed_tip
Returns a watch receiver that wakes every time a new block is committed.
crates/store/src/state/mod.rs:279
↓ 3 callers
Method
sync_nullifiers
( &self, prefix_len: u32, nullifier_prefixes: Vec<u32>, block_range: RangeIncl
crates/store/src/state/sync_state.rs:135
↓ 3 callers
Method
sync_transactions
Returns the complete transaction records for the specified accounts within the specified block range, including state commitments and note IDs.
crates/store/src/state/sync_state.rs:21
↓ 3 callers
Function
test_connection
()
crates/store/src/db/migrations.rs:70
↓ 3 callers
Method
to_raw_sql
(self)
crates/db/src/conv.rs:75
↓ 3 callers
Function
to_snake_case
Converts a string to `snake_case`.
crates/proto/build.rs:583
↓ 3 callers
Method
to_word
(value: u32)
crates/block-producer/src/mempool/graph/node.rs:110
↓ 3 callers
Function
transaction_exists
( conn: &mut SqliteConnection, tx_id: TransactionId, )
bin/validator/src/db/mod.rs:130
↓ 3 callers
Method
tree_id_for_root
( &self, account_id: AccountId, slot_name: &StorageSlotName, block_num: BlockN
crates/store/src/account_state_forest/mod.rs:145
↓ 3 callers
Method
tree_id_for_vault_root
(&self, account_id: AccountId, block_num: BlockNumber)
crates/store/src/account_state_forest/mod.rs:156
↓ 3 callers
Method
unauthenticated_note_ids
Note IDs which were unauthenticated in the transaction __and__ which were not authenticated by the store inputs.
crates/block-producer/src/domain/transaction.rs:114
↓ 3 callers
Method
unauthenticated_notes
(mut self, notes: Vec<Note>)
crates/block-producer/src/test_utils/proven_tx.rs:82
↓ 3 callers
Method
update
Updates the RPC service health status based on the upstream/local tip gap.
crates/block-producer/src/rpc_sync.rs:44
↓ 3 callers
Method
update
Updates the tracker with a new chain tip observation and returns whether the chain is stale. The chain is considered stale if the tip hasn't changed
bin/network-monitor/src/status.rs:52
↓ 3 callers
Function
update_benchmark_storage_map_entry
( account: &mut Account, block_index: usize, tx_index: usize, storage_map_entries: usize, )
bin/stress-test/src/seeding/mod.rs:488
↓ 3 callers
Function
upsert_block_header
( conn: &mut SqliteConnection, header: &BlockHeader, )
bin/validator/src/db/mod.rs:189
↓ 3 callers
Method
validate
(&self)
bin/node/src/commands/block_producer.rs:34
↓ 3 callers
Method
validate_block
( &self, proposed_block: ProposedBlock, chain_tip: BlockHeader, )
bin/validator/src/server/validator_service/mod.rs:134
↓ 3 callers
Function
verify_account_state_forest_record
( forest: &AccountStateForest<impl Backend>, account_id: AccountId, vault_root: Word, storage_
crates/store/src/state/loader.rs:681
↓ 3 callers
Function
verify_chain_mmr_consistency
( chain_mmr: &Blockchain, latest_header: Option<&BlockHeader>, )
crates/store/src/state/loader.rs:508
↓ 3 callers
Function
we
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Method
with_forest_read_blocking
Runs a synchronous read-only operation over the account state forest on Tokio's blocking path. The forest may be backed by `RocksDB`, so accesses to
crates/store/src/state/mod.rs:332
↓ 3 callers
Method
with_max_open_files
(mut self, count: i32)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:1348
↓ 3 callers
Method
with_store_state
(mut self, state: Word)
crates/block-producer/src/domain/transaction.rs:213
↓ 3 callers
Function
word_to_bytes
(word: &Word)
bin/ntx-builder/src/db/models/conv.rs:63
↓ 3 callers
Function
xn
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 3 callers
Function
zt
()
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
$t
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
Ae
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
At
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
B
()
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
Ce
(t)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
De
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
He
(e,o,i,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
Ie
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
J
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
K
(e,t,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
Kt
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
L
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
Lt
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
Oe
(t,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
Ot
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
Pt
(t)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
St
(r,e,t,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
U
(t)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
_e
(t,e,n,r,o)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Method
abort_all
(&mut self)
crates/block-producer/src/proof_scheduler.rs:65
↓ 2 callers
Method
advance_to_next_cf
(&mut self)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:1135
↓ 2 callers
Function
an
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Method
api
Returns a cloneable handle to the block producer API.
crates/block-producer/src/server/mod.rs:189
↓ 2 callers
Function
append_impact_section
( notes: &mut String, title: &str, impact: Impact, entries: &[ReleaseNoteEntry], )
xtask/src/changelog/render.rs:62
↓ 2 callers
Method
append_selected_batch
(&mut self, batch: SelectedBatch)
crates/block-producer/src/mempool/mod.rs:375
↓ 2 callers
Function
apply_block
Apply a new block to the state. # Returns Number of records inserted and/or updated.
crates/store/src/db/models/queries/mod.rs:52
↓ 2 callers
Function
apply_block
Given a list of batches and block inputs, creates a `ProvenBlock` and applies it to the store. Tracks the insertion time on the metrics. Returns the
bin/stress-test/src/seeding/mod.rs:355
↓ 2 callers
Method
apply_block
( &self, allow_acquire: oneshot::Sender<()>, acquire_done: oneshot::Receiver<()>,
crates/store/src/db/mod.rs:578
↓ 2 callers
Method
apply_block_with_proving_inputs
( &self, ordered_batches: OrderedBatches, block_inputs: BlockInputs, signed_bl
crates/store/src/state/apply_block.rs:32
↓ 2 callers
Method
apply_committed_block
Applies a committed block without surfacing the computed effects.
bin/ntx-builder/src/builder.rs:236
↓ 2 callers
Method
apply_committed_block_with_effects
( &mut self, loop_db: &LoopDb, block: SignedBlock, committed_tip: BlockNumber,
bin/ntx-builder/src/builder.rs:258
↓ 2 callers
Method
apply_migration
Applies one migration transaction and verifies its resulting schema hash.
crates/db/src/migration/migrator.rs:256
↓ 2 callers
Function
apply_migration_transaction
( conn: &mut Connection, version: usize, migration: &impl MigrationEntry, verify_hash: impl Fn
crates/db/src/migration/entry.rs:138
↓ 2 callers
Method
apply_missing_migrations
( &self, conn: &mut Connection, current_version: usize, )
crates/db/src/migration/migrator.rs:186
↓ 2 callers
Method
as_account_files
Convert the internal tuple into an `AccountFile` If no name is present, a new one is generated based on the current time and the index in
crates/store/src/genesis/config/mod.rs:535
↓ 2 callers
Function
assert_injectable_section_headings
(command: &str)
bin/node/src/commands/section.rs:64
↓ 2 callers
Function
assert_subscription_start_err
( source: &TestSubscription, client_ip: Option<IpAddr>, block_from: BlockNumber, chain_tip: wa
crates/rpc/src/server/api/subscription/stream/tests.rs:255
↓ 2 callers
Function
at
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Method
authentication_height
(&self)
crates/block-producer/src/domain/transaction.rs:88
↓ 2 callers
Method
authentication_staleness_check
Rejects authentication heights that fall outside the overlap guaranteed by the locally retained state. If our oldest local block is at `N`, then we a
crates/block-producer/src/mempool/mod.rs:667
↓ 2 callers
Method
banned_until
Returns the [`Instant`] at which the ban for `ip` expires, or `None` if it is not currently banned.
crates/rpc/src/server/api/subscription/ban.rs:55
↓ 2 callers
Function
be
(t,n,r)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Function
benchmark_fungible_faucet_ids
(vault_entries: usize)
bin/stress-test/src/seeding/tests.rs:5
↓ 2 callers
Function
benchmark_storage_map_update_value
(block_index: usize, tx_index: usize, key_index: u32)
bin/stress-test/src/seeding/mod.rs:479
↓ 2 callers
Function
block_header_to_bytes
(header: &BlockHeader)
bin/ntx-builder/src/db/models/conv.rs:18
↓ 2 callers
Function
block_num_to_nullifier_leaf
Converts a block number to the leaf value format used in the nullifier tree. This matches the format used by `NullifierBlock::from(BlockNumber)::into
crates/store/src/state/loader.rs:97
↓ 2 callers
Method
block_path
(&self, block_num: BlockNumber)
crates/store/src/blocks.rs:193
↓ 2 callers
Method
block_store_dir
(&self)
crates/store/src/data_directory.rs:22
↓ 2 callers
Method
block_store_dir
(&self)
bin/validator/src/data_directory.rs:42
↓ 2 callers
Method
bootstrap
( database_filepath: PathBuf, genesis: &SignedBlock, )
bin/ntx-builder/src/db/mod.rs:115
↓ 2 callers
Function
bootstrap_database
(database_filepath: &Path)
bin/validator/src/db/migrations.rs:16
↓ 2 callers
Function
bt
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 2 callers
Method
build_account
Build or load the native faucet account. For `None`, builds a new faucet from defaults and returns the generated secret key. For `Some(path)`, loads
crates/store/src/genesis/config/mod.rs:377
← previous
next →
501–600 of 2,587, ranked by callers