MCPcopy Create free account

hub / github.com/SeismicSystems/summit / functions

Functions1,261 in github.com/SeismicSystems/summit

↓ 325 callersMethodpublic_key
(&self)
types/src/ext_private_key.rs:71
↓ 217 callersMethodlen
Number of unique validators with pending withdrawals.
types/src/withdrawal.rs:294
↓ 199 callersMethodpush
Push a pre-built withdrawal directly (for test setup and deserialization).
types/src/withdrawal.rs:207
↓ 187 callersMethodget
(&self, key: K)
syncer/src/mocks/resolver.rs:20
↓ 180 callersMethoditer
(&self)
node/src/prom/hooks.rs:81
↓ 161 callersMethodstart
Start the `simplex` consensus engine. This will also rebuild the state of the engine from provided `Journal`.
node/src/engine.rs:371
↓ 135 callersMethodarg
Adds an argument to pass to `reth`. Pass any arg that is not supported by the builder.
types/src/reth.rs:429
↓ 114 callersMethodsend
(&self, _round: Round, block: B, recipients: Recipients<K>)
syncer/src/standard/variant.rs:79
↓ 70 callersMethodset_leaf
Set a leaf value and incrementally rehash the path to root.
types/src/ssz_tree.rs:88
↓ 61 callersMethodcreate_client
Create a new mock engine client
node/src/test_harness/mock_engine_client.rs:602
↓ 59 callersMethodhash_tree_root
(&self)
types/src/ssz_hash.rs:25
↓ 55 callersMethodcmp
(&self, other: &Self)
syncer/src/ingress/handler.rs:194
↓ 54 callersMethodroot
Returns the state root (top-level tree root).
types/src/ssz_state_tree.rs:179
↓ 53 callersMethodroot
(&self)
types/src/ssz_tree.rs:54
↓ 51 callersFunctionexecution_requests_to_requests
Convert a list of ExecutionRequests to Requests # Arguments `execution_requests` - A vector of ExecutionRequest instances # Returns `Requests` - The
node/src/test_harness/common.rs:565
↓ 48 callersMethoddigest
(&self)
types/src/block.rs:164
↓ 48 callersFunctionget_default_engine_config
Create an EngineConfig with default values for testing # Arguments `engine_client` - Generic engine client implementing the EngineClient trait `parti
node/src/test_harness/common.rs:612
↓ 47 callersFunctionregister_validators
( oracle: &Oracle<PublicKey, E>, validators: &[PublicKey], )
node/src/test_harness/common.rs:97
↓ 44 callersMethodssz_tree
Returns a reference to the live SSZ state tree.
types/src/consensus_state.rs:461
↓ 43 callersFunctionget_initial_state
( genesis_hash: [u8; 32], committee: &Vec<(PublicKey, bls12381::PublicKey)>, withdrawal_credential
node/src/test_harness/common.rs:328
↓ 43 callersFunctionlink_validators
( oracle: &mut Oracle<PublicKey, E>, validators: &[PublicKey], link: Link, restrict_to: Option
node/src/test_harness/common.rs:44
↓ 43 callersMethodput
(&self, key: K, value: V)
syncer/src/mocks/resolver.rs:24
↓ 42 callersMethodbuild
(self)
node/src/test_harness/mock_engine_client.rs:571
↓ 42 callersMethodstart
(mut self, orchestrator_mailbox: summit_orchestrator::Mailbox)
finalizer/src/actor.rs:225
↓ 41 callersFunctionmake_validator
(seed: u64)
types/src/ssz_state_tree.rs:1572
↓ 41 callersMethodspawn
(self)
types/src/reth.rs:454
↓ 40 callersMethoddigest
(&self)
syncer/src/mocks/block.rs:81
↓ 38 callersMethodreport
(&mut self, activity: Self::Activity)
finalizer/src/ingress.rs:484
↓ 37 callersMethodwith_stop_at
(mut self, stop_at: u64)
node/src/test_harness/mock_engine_client.rs:566
↓ 35 callersMethodpush_request
Add a withdrawal request. If the pubkey already has a pending withdrawal, merges amounts and balance deductions into the existing entry (keeping the o
types/src/withdrawal.rs:179
↓ 34 callersFunctionmake_request
(pubkey: [u8; 32], amount: u64)
types/src/withdrawal.rs:606
↓ 33 callersMethodwith_execution_requests
(mut self, requests: HashMap<u64, Requests>)
node/src/test_harness/mock_engine_client.rs:561
↓ 32 callersMethodset_account
(&mut self, pubkey: [u8; 32], account: ValidatorAccount)
types/src/consensus_state.rs:401
↓ 29 callersMethodreport
(&mut self, activity: Self::Activity)
syncer/src/ingress/mailbox.rs:401
↓ 28 callersMethodget_epoch
(&self)
types/src/consensus_state.rs:161
↓ 27 callersFunctionassert_state_root_consensus
Assert that all validators share the same state trie root.
node/src/test_harness/common.rs:289
↓ 27 callersMethodget_latest_height
(&self)
finalizer/src/ingress.rs:155
↓ 26 callersFunctioncreate_deposit_request
Create a single DepositRequest for testing with valid ED25519 and BLS signatures This function creates a test deposit request with all required field
node/src/test_harness/common.rs:453
↓ 26 callersFunctionget_domain
()
node/src/test_harness/common.rs:324
↓ 25 callersMethodis_empty
Whether there are any pending withdrawals.
types/src/withdrawal.rs:299
↓ 24 callersFunctioncreate_withdrawal_request
Create a single WithdrawalRequest for testing # Arguments `source_address` - The address that initiated the withdrawal `validator_pubkey` - The valid
node/src/test_harness/common.rs:522
↓ 24 callersMethodget_withdrawals
Get all withdrawals from the canonical chain
node/src/test_harness/mock_engine_client.rs:105
↓ 24 callersMethodregister
Registers a new signing scheme for the given epoch. Returns `false` if a scheme was already registered for the epoch.
types/src/scheme.rs:60
↓ 21 callersFunctionrebuild_tree
Helper: build a tree from accounts using rebuild_validators (the reference path).
types/src/ssz_state_tree.rs:2710
↓ 20 callersMethodbuild
(self)
rpc/src/builder.rs:64
↓ 20 callersMethodcommit
Commit all pending changes to the database
finalizer/src/db.rs:314
↓ 20 callersMethodgenerate_proof
Generate a Merkle proof for the leaf at `leaf_index`. Returns sibling hashes in bottom-up order (from leaf level to root level). The proof has exactl
types/src/ssz_tree.rs:278
↓ 20 callersMethodnotify_at_height
( &mut self, height: u64, block_digest: Digest, )
finalizer/src/ingress.rs:51
↓ 20 callersMethodset_latest_height
(&mut self, height: u64)
types/src/ssz_state_tree.rs:193
↓ 19 callersMethodbuild
Builds the [`Hooks`] collection from the registered hooks.
node/src/prom/hooks.rs:37
↓ 19 callersMethoddepth
(&self)
types/src/ssz_tree.rs:355
↓ 19 callersMethodsign
(&self, namespace: &[u8], msg: &[u8])
types/src/ext_private_key.rs:78
↓ 19 callersMethodverified
Notifies the actor that a block has been verified.
syncer/src/ingress/mailbox.rs:341
↓ 18 callersMethodrebuild_validators
Rebuild the validator subtree from the full validator accounts map. Each validator occupies 8 contiguous leaves (one per field) in the subtree, formi
types/src/ssz_state_tree.rs:265
↓ 18 callersMethodset_epoch
(&mut self, epoch: u64)
types/src/ssz_state_tree.rs:185
↓ 17 callersFunctioncreate_test_block
Helper to create a test block with specific parent and height
finalizer/src/tests/fork_handling.rs:31
↓ 17 callersFunctioncreate_test_validator_account
(index: u64, balance: u64)
types/src/consensus_state.rs:1161
↓ 17 callersMethodepoch
(&self)
types/src/block.rs:176
↓ 17 callersMethodpath
Sets the `path` to the `reth` executable By default, it's expected that `reth` is in `$PATH`, see also [`std::process::Command::new()`]
types/src/reth.rs:318
↓ 16 callersMethodget_account
Account operations
types/src/consensus_state.rs:397
↓ 16 callersFunctioninit
Initialize the tracing subscriber with an optional critical-event file layer. Replicates the stdout logging behavior of `commonware_runtime::tokio::t
node/src/telemetry.rs:27
↓ 16 callersMethodrebuild_ssz_tree
Rebuild the entire SSZ state tree from scratch. Called on deserialization and when bulk-replacing state (e.g. `set_validator_accounts`).
types/src/consensus_state.rs:753
↓ 16 callersMethodrebuild_withdrawals
Rebuild the withdrawal queue as per-epoch subtrees. Structure: epoch_tree → per-epoch subtree → 8 field leaves per withdrawal. Each epoch leaf = `mix
types/src/ssz_state_tree.rs:544
↓ 16 callersMethodstart
Start the actor.
syncer/src/actor.rs:378
↓ 15 callersMethodadvance_epoch
Advances the current epoch. Called by the finalizer at each epoch boundary and at startup from persisted state.
types/src/dynamic_epocher.rs:63
↓ 15 callersMethodhandle_db_error
Log a database error and initiate graceful shutdown.
finalizer/src/db.rs:51
↓ 15 callersMethodheight
(&self)
types/src/block.rs:160
↓ 15 callersFunctionparse_metric_substring
Parse a substring from a metric name using XML-like tags # Arguments `metric` - The metric name to parse from `tag` - The tag name to look for (e.g.,
node/src/test_harness/common.rs:391
↓ 14 callersMethodcapacity
(&self)
types/src/ssz_tree.rs:349
↓ 14 callersMethodget_epocher
State variable operations
types/src/consensus_state.rs:157
↓ 14 callersFunctionmake_finalization
(proposal: Proposal<D>, schemes: &[S], quorum: u32)
syncer/src/lib.rs:348
↓ 14 callersFunctionparse_key
Parse a human-readable key descriptor into an [`SszStateKey`]. Scalar keys: `"epoch"`, `"view"`, `"latest_height"`, etc. Validator keys: `"validator:
types/src/ssz_tree_key.rs:45
↓ 14 callersMethodpop
Pop the next withdrawal for the given epoch.
types/src/withdrawal.rs:215
↓ 14 callersMethodset_epoch
(&mut self, epoch: u64)
types/src/consensus_state.rs:165
↓ 14 callersMethodsubscribe
A request to retrieve a block by its commitment. If the block is found available locally, the block will be returned immediately. If the block is no
syncer/src/ingress/mailbox.rs:277
↓ 13 callersMethodget_finalized_checkpoint
(&self, epoch: u64)
finalizer/src/db.rs:249
↓ 13 callersMethodget_finalized_header
( &self, epoch: u64, )
finalizer/src/db.rs:291
↓ 13 callersMethodget_validator_account
Added for testing
finalizer/src/ingress.rs:210
↓ 13 callersMethodinsert_validator_at_slot
Insert a new validator at positional `slot`, shifting existing validators right. Grows the tree if needed. Copies shifted validators' subtree nodes v
types/src/ssz_state_tree.rs:328
↓ 13 callersMethodremove_validator_at_slot
Remove the validator at positional `slot`, shifting subsequent validators left. O(N) memcpy + O(N/8) SHA256 for the shift, then partial rehash of upp
types/src/ssz_state_tree.rs:362
↓ 13 callersFunctionsetup_validator
( context: deterministic::Context, oracle: &mut Oracle<K, deterministic::Context>, val
syncer/src/lib.rs:183
↓ 13 callersMethodstdout
Takes the stdout contained in the child process. This leaves a `None` in its place, so calling methods that require a stdout to be present will fail
types/src/reth.rs:205
↓ 12 callersMethoddata_dir
Returns the path to this instances' data directory.
types/src/reth.rs:192
↓ 12 callersMethodgenerate_validator_proof
Generate a proof for a validator account (whole account). The proof leaf is `hash_tree_root(ValidatorAccount)`, which is the internal node at the roo
types/src/ssz_state_tree.rs:987
↓ 12 callersFunctionget_expanded_path
(path: &str)
types/src/utils.rs:7
↓ 12 callersMethodget_forkchoice
(&self)
types/src/consensus_state.rs:295
↓ 12 callersMethodheight
(&self)
syncer/src/mocks/block.rs:87
↓ 12 callersMethodinstance
Returns the instance number of this instance.
types/src/reth.rs:137
↓ 12 callersMethodkeep_stdout
Keep the handle to reth's stdout in order to read from it. Caution: if the stdout handle isn't used, this can end up blocking.
types/src/reth.rs:421
↓ 12 callersMethodpush_protocol_param_change
(&mut self, param: ProtocolParam)
types/src/consensus_state.rs:343
↓ 12 callersFunctionrun_node_local
( context: tokio::Context, flags: RunFlags, checkpoint: Option<ConsensusState>, checkpoint_par
node/src/args.rs:431
↓ 12 callersFunctionsetup_network
( context: deterministic::Context, tracked_peer_sets: NonZeroUsize, )
syncer/src/lib.rs:372
↓ 12 callersMethodstore_finalized_checkpoint
( &mut self, epoch: u64, checkpoint: &Checkpoint, last_block: Block, )
finalizer/src/db.rs:216
↓ 12 callersMethodupdate_length
Registers a new epoch length, taking effect at `current_epoch + 2`. Returns an error if the target epoch is before the latest registered segment's st
types/src/dynamic_epocher.rs:82
↓ 11 callersFunctionassert_state_root_consensus_skip
Assert that all validators (except those in `skip`) share the same state trie root. Validators that have exited the committee may have stale state, s
node/src/test_harness/common.rs:299
↓ 11 callersFunctioncreate_test_keystore
Creates a temporary key store directory with test keys
rpc/tests/utils.rs:164
↓ 11 callersMethodgenerate_proof_from_node
Generate a Merkle proof from an arbitrary node (not just a leaf) to the root. Returns sibling hashes in bottom-up order. The proof length equals the
types/src/ssz_tree.rs:77
↓ 11 callersMethodget_block
A best-effort attempt to retrieve a given block from local storage. It is not an indication to go fetch the block from the network.
syncer/src/ingress/mailbox.rs:213
↓ 11 callersMethodget_latest_checkpoint
(&mut self)
finalizer/src/ingress.rs:97
↓ 11 callersFunctionmix_in_length
Compute the SSZ List root: `SHA256(tree_root || little_endian_u64(length))`.
types/src/ssz_tree.rs:361
next →1–100 of 1,261, ranked by callers