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
↓ 14 callers
Method
open
(&self)
crates/db/src/migration/migrator.rs:369
↓ 13 callers
Function
R
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 13 callers
Function
c
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 13 callers
Function
create_account_tree
Helper function to create an `AccountTree` from entries using the new API
crates/store/src/accounts/tests.rs:18
↓ 13 callers
Function
dummy_faucet
()
crates/store/src/account_state_forest/tests.rs:25
↓ 13 callers
Function
f
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 13 callers
Method
into_block
(self, signature: Signature)
crates/store/src/genesis/mod.rs:51
↓ 13 callers
Method
notify
Signals the actor that DB state may have changed. Notifications coalesce when one is already pending.
bin/ntx-builder/src/coordinator.rs:35
↓ 13 callers
Function
re
(t,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 13 callers
Method
read
Returns the current proven chain tip.
crates/store/src/proven_tip.rs:19
↓ 13 callers
Function
select_account_storage_map_values_paged
Select account storage map values from the DB using the given [`SqliteConnection`]. # Returns A vector of tuples containing `(slot, key, value, is_l
crates/store/src/db/models/queries/accounts.rs:672
↓ 13 callers
Method
sign
(&self, commitment: Word)
bin/validator/src/signers/kms.rs:77
↓ 13 callers
Function
spawn_blocking_in_current_span
Spawn a blocking task in the current tracing span.
crates/utils/src/spawn.rs:5
↓ 13 callers
Function
te
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 13 callers
Function
verify_pr_body
(source: &str)
xtask/src/changelog/pr.rs:6
↓ 12 callers
Method
get
(&self, procedure_hash: &Word)
bin/benchmark/src/create_proofs.rs:574
↓ 12 callers
Function
get_nullifier_prefix
Returns the high 16 bits of the provided nullifier.
crates/store/src/db/models/utils.rs:25
↓ 12 callers
Function
insert_block_header
(conn: &mut SqliteConnection, block_num: BlockNumber)
crates/store/src/db/models/queries/accounts/delta/tests.rs:53
↓ 12 callers
Method
private_notes_created_range
(self, range: Range<u32>)
crates/block-producer/src/test_utils/proven_tx.rs:132
↓ 12 callers
Function
render
(services: Vec<ServiceStatus>)
bin/network-monitor/src/view/mod.rs:325
↓ 12 callers
Method
spawn
Spawns a probe task and returns its handle.
bin/network-monitor/src/remote_prover.rs:100
↓ 12 callers
Method
status
(&self)
crates/block-producer/src/server/mod.rs:432
↓ 12 callers
Method
with_tls
Explicitly enable TLS.
crates/proto/src/clients/mod.rs:402
↓ 11 callers
Function
E
()
bin/network-monitor/assets/htmx.min.js:1
↓ 11 callers
Method
apply_empty_block
Builds, submits, and applies an empty block, advancing the chain tip. Panics if the block is rejected.
bin/validator/src/server/validator_service/tests.rs:115
↓ 11 callers
Function
database_error_to_status
(err: &DatabaseError)
crates/rpc/src/server/api.rs:269
↓ 11 callers
Function
g
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 11 callers
Method
get
( &self, procedure_hash: &miden_protocol::Word, )
bin/ntx-builder/src/actor/execute.rs:794
↓ 11 callers
Function
l
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 11 callers
Method
layer
(&self, service: S)
crates/rpc/src/server/health.rs:19
↓ 11 callers
Method
put
Puts a value into the cache.
crates/utils/src/lru_cache.rs:28
↓ 11 callers
Function
select_full_account
Reconstruct full Account from database tables for the latest account state This function queries the database tables to reconstruct a complete Accoun
crates/store/src/db/models/queries/accounts.rs:182
↓ 11 callers
Function
start_rpc
Binds a socket on an available port, runs the RPC server on it, and returns a client to talk to the server, along with the socket address.
crates/rpc/src/tests.rs:760
↓ 11 callers
Method
submit_request
(&mut self, request: ProofRequest)
bin/remote-prover/src/server/tests.rs:41
↓ 11 callers
Method
validate_append
Ensures that `node` can be appended on top of the current state without conflicts.
crates/block-producer/src/mempool/graph/state.rs:42
↓ 11 callers
Method
without_otel_context_injection
Disables OpenTelemetry context propagation. This should be disabled when interfacing with external third party gRPC servers.
crates/proto/src/clients/mod.rs:476
↓ 10 callers
Function
ce
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 10 callers
Function
h
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 10 callers
Function
insert_network_notes
Inserts network notes from a committed block. Uses `INSERT OR IGNORE` so re-applying the same block (e.g. on a redelivery from the subscription stream
bin/ntx-builder/src/db/models/queries/notes.rs:61
↓ 10 callers
Function
insert_notes
( conn: &mut SqliteConnection, notes: &[(NoteRecord, Option<Nullifier>)], )
crates/store/src/db/models/queries/notes.rs:736
↓ 10 callers
Function
insert_nullifiers_for_block
( conn: &mut SqliteConnection, nullifiers: &[Nullifier], block_num: BlockNumber, )
crates/store/src/db/models/queries/nullifiers.rs:234
↓ 10 callers
Method
is_empty
(&self)
crates/block-producer/src/mempool/graph/state.rs:228
↓ 10 callers
Method
len
(&self)
crates/db/src/migration/schema.rs:122
↓ 10 callers
Method
next_state
Convenience function to cast the state type and carry internal configuration forward.
crates/proto/src/clients/mod.rs:367
↓ 10 callers
Function
num_to_storage_map_key
(n: u64)
crates/store/src/db/tests.rs:1542
↓ 10 callers
Method
push
Appends the given transaction to the current batch. # Panics Panics if the new transaction's account update is inconsistent with the current account
crates/block-producer/src/domain/batch.rs:88
↓ 10 callers
Method
push_sql
Adds a SQL migration that remains supported for existing databases.
crates/db/src/migration/builder.rs:79
↓ 10 callers
Function
select_account_header_with_storage_header_at_block
Queries the account header for a specific account at a specific block number. This reconstructs the `AccountHeader` by reading from the `accounts` ta
crates/store/src/db/models/queries/accounts/at_block.rs:42
↓ 10 callers
Function
select_account_vault_at_block
Test helper: query vault assets at a specific block by finding the most recent update for each `vault_key`. Uses a single raw SQL query with a subque
crates/store/src/db/models/queries/accounts/tests.rs:252
↓ 10 callers
Function
valid_body
(toml: &str)
xtask/src/changelog/tests.rs:3
↓ 10 callers
Method
with_account_update
(mut self, update: (AccountId, u32, u32, Option<u32>))
crates/block-producer/src/mempool/graph/node.rs:94
↓ 10 callers
Method
with_otel_context_injection
Enables OpenTelemetry context propagation via gRPC. This is used to by OpenTelemetry to connect traces across network boundaries. The server on the o
crates/proto/src/clients/mod.rs:469
↓ 10 callers
Method
with_output_notes
(mut self, notes: impl IntoIterator<Item = u32>)
crates/block-producer/src/mempool/graph/node.rs:84
↓ 10 callers
Method
with_timeout
Overrides the timeout of the server.
bin/remote-prover/src/server/tests.rs:176
↓ 10 callers
Method
without_tls
Explicitly disable TLS.
crates/proto/src/clients/mod.rs:397
↓ 9 callers
Method
as_str
(self)
bin/remote-prover/src/server/proof_kind.rs:12
↓ 9 callers
Method
get
(&self, procedure_hash: &Word)
bin/network-monitor/src/deploy/mod.rs:357
↓ 9 callers
Method
join_next_or_cancelled
Waits for either an unexpected task completion or a shutdown request. Before shutdown, any task completion is treated as fatal because this type supe
crates/utils/src/tasks.rs:94
↓ 9 callers
Method
keys
Collect all the keys from the `MetadataMap`.
crates/utils/src/tracing/grpc.rs:137
↓ 9 callers
Function
le
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 9 callers
Function
mock_transaction_id
Creates a distinct [`TransactionId`] from a seed, for landing-detection tests.
bin/ntx-builder/src/test_utils.rs:22
↓ 9 callers
Function
num_to_nullifier
(n: u64)
crates/store/src/db/tests.rs:1546
↓ 9 callers
Function
select_block_header_by_block_num
Select a [`BlockHeader`] from the DB by its `block_num` using the given [`SqliteConnection`]. # Returns When `block_num` is [None], the latest block
crates/store/src/db/models/queries/block_headers.rs:46
↓ 9 callers
Function
select_latest_account_storage
Select latest account storage by querying `accounts.storage_header` where `is_latest=true` and reconstructing full storage from the header plus map va
crates/store/src/db/models/queries/accounts.rs:734
↓ 9 callers
Function
select_nullifiers_by_prefix
Returns nullifiers filtered by prefix within a block number range. # Parameters `prefix_len`: Length of nullifier prefix in bits - Must be exactly 16
crates/store/src/db/models/queries/nullifiers.rs:64
↓ 9 callers
Method
spawn
Spawns the prover server, returning its handle and the port it is listening on.
bin/remote-prover/src/server/mod.rs:59
↓ 9 callers
Method
telemetry
(&self)
crates/block-producer/src/mempool/mod.rs:603
↓ 9 callers
Function
unique_temp_dir
(name: &str)
crates/db/src/migration/build_script.rs:521
↓ 9 callers
Method
with_name
(mut self, service_name: &'static str)
crates/utils/src/logging.rs:33
↓ 8 callers
Function
O
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 8 callers
Function
ae
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 8 callers
Method
apply_mutations
( &mut self, mutations: AccountMutationSet, )
crates/store/src/accounts/mod.rs:392
↓ 8 callers
Method
as_ref
(&self)
crates/large-smt-backend-rocksdb/src/rocksdb.rs:1541
↓ 8 callers
Function
b
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 8 callers
Method
call
(&mut self, mut request: http::Request<B>)
crates/utils/src/grpc/layers.rs:110
↓ 8 callers
Function
check
Check, but don't repeat ourselves mapping the error
crates/rpc/src/server/api.rs:293
↓ 8 callers
Method
commit_block
(&mut self, block_header: &BlockHeader)
crates/block-producer/src/mempool/mod.rs:507
↓ 8 callers
Method
compute_mutations
Computes mutations relative to the latest state.
crates/store/src/accounts/mod.rs:374
↓ 8 callers
Function
create_note
(account_id: AccountId)
crates/store/src/db/tests.rs:197
↓ 8 callers
Function
create_test_account_with_storage
()
crates/store/src/db/models/queries/accounts/tests.rs:123
↓ 8 callers
Function
current_unix_timestamp_secs
Gets the current Unix timestamp in seconds. This function is infallible - if the system time is somehow before Unix epoch (extremely unlikely), it re
bin/network-monitor/src/service_status.rs:402
↓ 8 callers
Function
default_connection_pool_size
Returns the default SQLite connection pool size. Defaults to twice the available CPU parallelism. If the OS cannot report the available parallelism,
crates/db/src/lib.rs:21
↓ 8 callers
Function
empty_block
Builds an empty [`ProposedBlock`] that extends the given parent block header using the provided partial blockchain state.
bin/validator/src/server/validator_service/tests.rs:149
↓ 8 callers
Method
execute
( &self, data_store: &NtxDataStore, notes: InputNotes<InputNote>, )
bin/ntx-builder/src/actor/execute.rs:416
↓ 8 callers
Function
healthy
(name: &str, details: ServiceDetails)
bin/network-monitor/src/view/mod.rs:296
↓ 8 callers
Method
increment_failure_count
Increments each transaction's failure counter, and reverts transactions which exceed the failure limit. This weeds out transactions which participate
crates/block-producer/src/mempool/graph/transaction.rs:341
↓ 8 callers
Function
insert_scripts
( conn: &mut SqliteConnection, notes: impl IntoIterator<Item = &'a NoteRecord>, )
crates/store/src/db/models/queries/notes.rs:766
↓ 8 callers
Method
into_state
( self, validator_key: PublicKey, )
crates/store/src/genesis/config/mod.rs:148
↓ 8 callers
Function
ip
(n: u8)
crates/rpc/src/server/api/subscription/ban.rs:77
↓ 8 callers
Method
layer
(&self, inner: S)
crates/utils/src/grpc/layers.rs:87
↓ 8 callers
Method
load
(database_filepath: PathBuf)
crates/store/src/db/mod.rs:224
↓ 8 callers
Method
name
(&self)
bin/network-monitor/src/faucet.rs:127
↓ 8 callers
Method
push_retired
Adds a pure SQL retired migration. Retired migrations initialize fresh databases from SQL that replaces old active migrations. They must be pushed be
crates/db/src/migration/builder.rs:68
↓ 8 callers
Method
raw_proven_transaction
(&self)
crates/block-producer/src/domain/transaction.rs:133
↓ 8 callers
Function
select_account_vault_assets
Select account vault assets within a block range (inclusive). # Parameters `account_id`: Account ID to query `block_from`: Starting block number `blo
crates/store/src/db/models/queries/accounts.rs:501
↓ 8 callers
Method
select_block
(&mut self)
crates/block-producer/src/mempool/mod.rs:467
↓ 8 callers
Function
select_notes_since_block_by_tag
Select notes matching the given tags within a block range. # Parameters `note_tags`: List of note tags to filter by - Limit: 0 <= count <= 1000 `bloc
crates/store/src/db/models/queries/notes.rs:142
↓ 8 callers
Method
without_timeout
Explicitly disable request timeout.
crates/proto/src/clients/mod.rs:411
↓ 7 callers
Method
apply_append
Applies `node` to the state, returning the set of parent node identifiers inferred from state dependencies.
crates/block-producer/src/mempool/graph/state.rs:92
↓ 7 callers
Method
associated_type
(&self)
crates/proto/build.rs:571
← previous
next →
101–200 of 2,587, ranked by callers