MCPcopy Create free account

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

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

↓ 1 callersFunctionbench_get_account
Sends multiple `get_account` requests to the store and prints the performance. Each request asks for all entries in `storage_map_slot`, which is inte
bin/stress-test/src/store/mod.rs:41
↓ 1 callersFunctionbench_sync_chain_mmr
Sends multiple `sync_chain_mmr` requests to the store and prints the performance. Arguments: - `data_directory`: directory that contains the database
bin/stress-test/src/store/mod.rs:600
↓ 1 callersFunctionbench_sync_notes
Sends multiple `sync_notes` requests to the store and prints the performance. Arguments: - `data_directory`: directory that contains the database dum
bin/stress-test/src/store/mod.rs:225
↓ 1 callersFunctionbench_sync_nullifiers
Sends multiple `sync_nullifiers` requests to the store and prints the performance. Arguments: - `data_directory`: directory that contains the databas
bin/stress-test/src/store/mod.rs:289
↓ 1 callersFunctionbench_sync_transactions
Sends multiple `sync_transactions` requests to the store and prints the performance. Arguments: - `data_directory`: directory that contains the datab
bin/stress-test/src/store/mod.rs:418
↓ 1 callersMethodblanket_impl
The blanket implementation of the the service's trait, for all `T` that implement all required gRPC methods. ```rust impl<T> <Self::service_trait()>
crates/proto/build.rs:282
↓ 1 callersMethodblock_bytes
(&self)
crates/store/src/state/replica.rs:22
↓ 1 callersFunctionblock_num_from_i64
(val: i64)
bin/ntx-builder/src/db/models/conv.rs:43
↓ 1 callersFunctionblock_producer_mempool_stats_to_proto
(stats: MempoolStats)
crates/rpc/src/server/api/status.rs:70
↓ 1 callersFunctionblock_producer_status_to_proto
(status: BlockProducerStatus)
crates/rpc/src/server/api/status.rs:61
↓ 1 callersMethodblock_subscription_reconnecting
Opens a committed-block subscription that transparently reconnects whenever the gRPC connection is closed. Each reconnection resumes from the block a
bin/ntx-builder/src/clients/rpc.rs:164
↓ 1 callersMethodblock_subscription_with_retry
( &self, block_from: BlockNumber, )
bin/ntx-builder/src/clients/rpc.rs:123
↓ 1 callersMethodbootstrap
(database_filepath: PathBuf, genesis: GenesisBlock)
crates/store/src/db/mod.rs:201
↓ 1 callersFunctionbootstrap_ntx
One bootstrap attempt: create and deploy fresh accounts, then build both services. Creates a fresh wallet/counter pair in memory, deploys the counter
bin/network-monitor/src/monitor/tasks.rs:251
↓ 1 callersFunctionbootstrap_store
(path: &std::path::Path)
crates/block-producer/src/server/tests.rs:51
↓ 1 callersFunctionbootstrap_store
Validates a signed genesis block and bootstraps the store.
bin/node/src/commands/lifecycle.rs:62
↓ 1 callersFunctionbuild_account_storage
Build account storage from the storage details returned by the server. This function only supports accounts with value slots. If any storage map slot
bin/network-monitor/src/counter.rs:1073
↓ 1 callersFunctionbuild_ack_map
Build a lookup from the on-chain `TransactionId` of every successfully submitted consume tx to the `SystemTime` at which the node ack'd its submission
bin/benchmark/src/submit.rs:252
↓ 1 callersMethodbuild_and_validate_block
( &self, proposal: ProposedBlockAndInputs, )
crates/block-producer/src/block_builder/mod.rs:265
↓ 1 callersFunctionbuild_and_write_genesis
Builds the genesis state, writes account secret files, signs the genesis block, writes it to disk, and initializes the validator's database with the g
bin/validator/src/commands/bootstrap.rs:47
↓ 1 callersMethodbuild_block
(&self, mempool: &SharedMempool)
crates/block-producer/src/block_builder/mod.rs:107
↓ 1 callersMethodbuild_coordinator
Builds the actor [`Coordinator`] and the channel over which spawned actors send their DB writes back to the builder's event loop. The receiver is own
bin/ntx-builder/src/lib.rs:451
↓ 1 callersFunctionbuild_increment_status
Build a `ServiceStatus` snapshot from the current increment details and last error.
bin/network-monitor/src/counter.rs:775
↓ 1 callersFunctionbuild_minimal_partial_account
Builds a minimal partial account from account details.
bin/ntx-builder/src/clients/rpc.rs:421
↓ 1 callersFunctionbuild_probe_transaction_inputs
Build a valid set of transaction inputs for a throwaway counter genesis transaction. Used as the static payload for the remote-prover probe: it produ
bin/network-monitor/src/deploy/mod.rs:216
↓ 1 callersFunctionbuild_test_proven_tx_with_id
Same as `build_test_proven_tx` but lets the caller supply the `AccountId`. Uses a non-empty `initial_state_commitment` so the result is a post-deploym
crates/rpc/src/tests.rs:179
↓ 1 callersMethodcache_note_scripts
Sends requests to the coordinator to cache note scripts fetched from the remote RPC service.
bin/ntx-builder/src/actor/mod.rs:626
↓ 1 callersMethodcache_storage_map_keys_from_delta
(&mut self, delta: &AccountDelta)
crates/store/src/account_state_forest/mod.rs:192
↓ 1 callersFunctionchangelog_section
(source: &str)
xtask/src/changelog/pr.rs:85
↓ 1 callersFunctionchangelog_toml_block
(section: &str)
xtask/src/changelog/pr.rs:135
↓ 1 callersMethodcheck
(&mut self)
bin/network-monitor/src/faucet.rs:149
↓ 1 callersMethodclear_storage_map_key_cache
(&self)
crates/store/src/account_state_forest/mod.rs:206
↓ 1 callersFunctioncollect_line_comment_ranges
(node: Node<'_>, ranges: &mut Vec<Range<usize>>)
xtask/src/comment_reflow.rs:180
↓ 1 callersFunctioncollect_recorded_fields
(function: &ItemFn)
crates/tracing-macro/src/lib.rs:236
↓ 1 callersFunctioncollect_rs_files
(dir: &Path, out: &mut Vec<std::path::PathBuf>)
crates/proto/build.rs:100
↓ 1 callersFunctioncomment_line
( source: &str, range: Range<usize>, line_starts: &[usize], include_normal_comments: bool, )
xtask/src/comment_reflow.rs:191
↓ 1 callersFunctioncomment_lines
( source: &str, root: Node<'_>, line_starts: &[usize], include_normal_comments: bool, )
xtask/src/comment_reflow.rs:164
↓ 1 callersFunctioncomment_width
(explicit: Option<usize>, rustfmt_config: &Path)
xtask/src/main.rs:187
↓ 1 callersMethodcommit_batch
(&self, batch: Arc<ProvenBatch>)
crates/block-producer/src/batch_builder/mod.rs:383
↓ 1 callersMethodcommit_block
( &self, mempool: &SharedMempool, block_commit: BlockCommit, )
crates/block-producer/src/block_builder/mod.rs:321
↓ 1 callersMethodcommit_proof
Saves the proof, advances the proven tip, and deletes the proving inputs. Must be called in strictly ascending [`BlockNumber`] order: the proven tip
crates/store/src/blocks.rs:242
↓ 1 callersMethodcompute_tree_mutations
( &self, header: &BlockHeader, body: &BlockBody, )
crates/store/src/state/apply_block.rs:271
↓ 1 callersMethodconnect
Establishes a connection to the remote batch prover server. The connection is maintained for the lifetime of the prover. If the connection is already
crates/remote-prover-client/src/remote_prover/batch_prover.rs:71
↓ 1 callersMethodconnect
Establishes a connection to the remote block prover server. The connection is maintained for the lifetime of the prover. If the connection is already
crates/remote-prover-client/src/remote_prover/block_prover.rs:67
↓ 1 callersMethodconnect_lazy
Establish a lazy connection and return a client that will connect on first use.
crates/proto/src/clients/mod.rs:493
↓ 1 callersMethodcontains_account_id_prefix_in_latest
Checks if the tree contains an account with the given prefix.
crates/store/src/accounts/mod.rs:234
↓ 1 callersMethodcontains_tx
(&self, tx: &TransactionId)
crates/block-producer/src/mempool/graph/transaction.rs:459
↓ 1 callersFunctionconvert
(from: T)
crates/proto/src/domain/mod.rs:14
↓ 1 callersFunctionconvert_to_nostd
Replaces std references with core and alloc for nostd compatibility
crates/remote-prover-client/build.rs:55
↓ 1 callersFunctioncount_signed_blocks
(conn: &mut SqliteConnection)
bin/validator/src/db/mod.rs:265
↓ 1 callersFunctioncount_validated_transactions
(conn: &mut SqliteConnection)
bin/validator/src/db/mod.rs:254
↓ 1 callersFunctioncreate_channel
Creates a `tonic` channel for the given URL, enabling TLS for `https` schemes.
bin/network-monitor/src/note_transport.rs:82
↓ 1 callersFunctioncreate_consume_note_tx
Creates a transaction that creates an account and consumes the given input note. The account is updated with the assets from the input note, and the
bin/stress-test/src/seeding/mod.rs:642
↓ 1 callersFunctioncreate_existing_account_delta
( account: &Account, note_assets: &NoteAssets, storage_update: Option<(BenchmarkStorageUpdate, usi
bin/stress-test/src/seeding/mod.rs:701
↓ 1 callersFunctioncreate_faucet
Creates a new faucet account and returns it alongside its secret key.
bin/benchmark/src/create_proofs.rs:413
↓ 1 callersFunctioncreate_faucet_with_seed
(index: u64)
bin/stress-test/src/seeding/mod.rs:561
↓ 1 callersFunctioncreate_genesis_aware_rpc_client
Create an RPC client configured with the correct genesis metadata in the `Accept` header so that write RPCs such as `SubmitProvenTransaction` are acce
bin/benchmark/src/main.rs:169
↓ 1 callersFunctioncreate_genesis_aware_rpc_client_pool
Create a pool of `size` genesis-aware RPC clients, each on its own gRPC connection. Genesis is discovered once and reused. Because every client owns
bin/benchmark/src/main.rs:182
↓ 1 callersFunctioncreate_wallet
Creates a new wallet account with the given public key, using `index` to vary the init seed so each wallet ends up with a distinct account ID.
bin/benchmark/src/create_proofs.rs:449
↓ 1 callersMethodcreated_network_accounts
Returns the ids of the network accounts created by this block. The coordinator uses this to release actor spawns that were deferred until the account
bin/ntx-builder/src/committed_block.rs:85
↓ 1 callersFunctionct
(e,t,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 1 callersFunctioncurrent_changelog_entries
()
xtask/src/changelog/release.rs:46
↓ 1 callersMethodcurrent_mmr
Returns a clone of the current partial chain MMR.
bin/ntx-builder/src/chain_state.rs:53
↓ 1 callersMethodcurrent_pass_through
(&self)
crates/block-producer/src/mempool/graph/state.rs:236
↓ 1 callersMethoddata_directory_path
(&self)
crates/rpc/src/tests.rs:89
↓ 1 callersMethoddecode
(request: grpc::note::NoteId)
bin/ntx-builder/src/server/get_network_note_status.rs:12
↓ 1 callersFunctiondecode_block_subscription_response
( response: &BlockSubscriptionResponse, )
bin/ntx-builder/src/clients/rpc.rs:237
↓ 1 callersMethoddelete_proving_inputs
(&self, block_num: BlockNumber)
crates/store/src/blocks.rs:182
↓ 1 callersFunctiondeploy_counter_account
(counter_account: &Account, rpc_url: &Url)
bin/network-monitor/src/deploy/mod.rs:233
↓ 1 callersFunctionderive_status
Derives the lifecycle status of a network note from its DB state.
bin/ntx-builder/src/server/get_network_note_status.rs:71
↓ 1 callersMethodderived_block_interval
Derive the average block interval from the scan span. Returns `None` when the scan touched fewer than two blocks or when all scanned headers share the
bin/benchmark/src/inclusion.rs:56
↓ 1 callersMethoddeselect_batch
(&mut self, batch: SelectedBatch)
crates/block-producer/src/mempool/graph/transaction.rs:158
↓ 1 callersFunctiondeserialize_note
Deserializes an [`AccountTargetNetworkNote`] from raw note bytes.
bin/ntx-builder/src/db/models/queries/notes.rs:200
↓ 1 callersFunctiondn
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 1 callersFunctiondt
(e,t)
bin/network-monitor/assets/htmx.min.js:1
↓ 1 callersFunctionemit_github_error_annotation
(title: &str, err: &anyhow::Error)
xtask/src/main.rs:124
↓ 1 callersFunctionen
(t,n)
bin/network-monitor/assets/htmx.min.js:1
↓ 1 callersFunctionends_with_comma
(tokens: &TokenStream2)
crates/tracing-macro/src/lib.rs:194
↓ 1 callersMethodensure_probe_running
Keeps the probe task alive once the prover has been observed to support Transaction proofs. Spawns the task on the first Transaction-type observation
bin/network-monitor/src/remote_prover.rs:169
↓ 1 callersMethodepoch_inputs_path
(&self, block_num: BlockNumber)
crates/store/src/blocks.rs:228
↓ 1 callersMethodepoch_proof_path
(&self, block_num: BlockNumber)
crates/store/src/blocks.rs:214
↓ 1 callersMethoderr_count
(&self)
bin/benchmark/src/submit.rs:118
↓ 1 callersFunctionescapeAttr
(s)
bin/network-monitor/assets/probes.js:159
↓ 1 callersFunctionescapeText
(s)
bin/network-monitor/assets/probes.js:162
↓ 1 callersFunctionestimate_storage_map_details_field_len
Give an upper estimate for the encoded size of a single storage map.
crates/store/src/state/account.rs:392
↓ 1 callersFunctionet
(e)
bin/network-monitor/assets/htmx.min.js:1
↓ 1 callersMethodexecute
Execute the parsed command.
bin/network-monitor/src/cli/commands.rs:25
↓ 1 callersMethodexecute_migration
(&self, tx: &Transaction<'_>)
crates/db/src/migration/entry.rs:34
↓ 1 callersFunctionexponential_bounded
Same as [`exponential`], but stops after `max_times` retries (i.e. `max_times + 1` total attempts).
crates/utils/src/retry.rs:40
↓ 1 callersMethodexternal_grpc_options
(&self)
bin/node/src/commands/rpc.rs:36
↓ 1 callersFunctionfee_from_block
Extract the payable fee as `FungibleAsset` from the given `BlockHeader`.
bin/stress-test/src/seeding/mod.rs:385
↓ 1 callersFunctionfetch_account_storage_header
Fetch the storage header of the given account from RPC. Returns `None` if the account does not exist or has no details available.
bin/network-monitor/src/counter.rs:879
↓ 1 callersFunctionfetch_chain_tip
Fetch the current chain tip height from RPC status.
bin/network-monitor/src/counter.rs:1228
↓ 1 callersFunctionfetch_chain_tip_header
Fetch the header of the latest committed block from the target node. `get_block_header_by_number(block_num=None)` returns the chain tip per the serve
bin/benchmark/src/rpc_state.rs:24
↓ 1 callersMethodfetch_count
(&self)
crates/rpc/src/server/api/subscription/stream/tests.rs:35
↓ 1 callersFunctionfetch_faucet_metadata
( client: &Client, faucet_url: &Url, )
bin/network-monitor/src/faucet.rs:212
↓ 1 callersFunctionfetch_partial_blockchain
Build a [`PartialBlockchain`] whose chain MMR matches the tip block's `chain_commitment`. Construction is: - `tip_block_num == 0` → empty MMR (chain
bin/benchmark/src/rpc_state.rs:57
↓ 1 callersMethodfetch_public_account_details
( &self, account_id: AccountId, block_num: BlockNumber, witness: &AccountWitne
crates/store/src/state/account.rs:186
↓ 1 callersFunctionfetch_wallet_account
Fetch an account from RPC and reconstruct the full Account. Uses dummy commitments to force the server to return all data (code, vault, storage heade
bin/network-monitor/src/counter.rs:965
↓ 1 callersFunctionfields_group
(arg: &TokenStream2)
crates/tracing-macro/src/lib.rs:175
← previousnext →901–1,000 of 2,587, ranked by callers