Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeismicSystems/summit
/ functions
Functions
1,261 in github.com/SeismicSystems/summit
⨍
Functions
1,261
◇
Types & classes
162
↓ 11 callers
Method
push_withdrawal
(&mut self, request: PendingWithdrawal)
types/src/consensus_state.rs:576
↓ 11 callers
Method
set_maximum_stake
(&mut self, stake: u64)
types/src/consensus_state.rs:209
↓ 11 callers
Method
set_next_index
Set the next withdrawal index.
types/src/withdrawal.rs:289
↓ 10 callers
Method
add_validator
(&mut self, epoch: u64, validator: AddedValidator)
types/src/consensus_state.rs:276
↓ 10 callers
Method
commit_hash
(&mut self, fork_choice_state: ForkchoiceState)
node/src/test_harness/mock_engine_client.rs:481
↓ 10 callers
Function
create_test_finalizer_mailbox
Creates a mock finalizer mailbox that responds to queries with test data
rpc/tests/utils.rs:52
↓ 10 callers
Function
create_test_withdrawal
(index: u64, amount: u64, epoch: u64)
types/src/consensus_state.rs:1147
↓ 10 callers
Method
rebuild_deposits
Rebuild the deposit queue subtree from current contents. Each deposit occupies 8 contiguous leaves (one per field), forming a depth-3 per-deposit sub
types/src/ssz_state_tree.rs:466
↓ 10 callers
Method
set_view
(&mut self, view: u64)
types/src/consensus_state.rs:174
↓ 10 callers
Function
sign
(action: &str, timestamp_secs: u64, signer: &PrivateKeySigner)
rpc/src/auth.rs:70
↓ 10 callers
Function
start_rpc_server_with_handle
Starts the RPC server and returns the handle and bound address (useful for testing)
rpc/src/lib.rs:72
↓ 9 callers
Method
containing
Computes the bounds (first, last) of a given epoch. The theoretical runtime of this function is O(n). It could be optimized to O(log n) by using binar
types/src/dynamic_epocher.rs:151
↓ 9 callers
Function
create_protocol_param_request
Create a ProtocolParamRequest for testing # Arguments `param_id` - The protocol parameter ID (0x00 for MinimumStake, 0x01 for MaximumStake) `value` -
node/src/test_harness/common.rs:551
↓ 9 callers
Method
get_canonical_chain
Get canonical chain as list of (block_number, block_hash)
node/src/test_harness/mock_engine_client.rs:80
↓ 9 callers
Method
rebuild_added_validators
Rebuild added validators subtree (flattened across all epochs). Each added validator occupies 2 contiguous leaves (node_key, consensus_key), forming
types/src/ssz_state_tree.rs:809
↓ 9 callers
Method
rebuild_protocol_params
Rebuild protocol parameter changes subtree. Each protocol param occupies 2 contiguous leaves (tag, value), forming a depth-1 per-param sub-subtree, e
types/src/ssz_state_tree.rs:764
↓ 9 callers
Method
set_latest_height
(&mut self, height: u64)
types/src/consensus_state.rs:183
↓ 9 callers
Method
set_leaf_no_rehash
(&mut self, leaf_index: usize, value: [u8; 32])
types/src/ssz_tree.rs:102
↓ 9 callers
Method
view
(&self)
types/src/block.rs:172
↓ 8 callers
Function
assert_incremental_insert_matches_rebuild
Insert N validators one-by-one and compare against full rebuild.
types/src/ssz_state_tree.rs:2719
↓ 8 callers
Function
create_test_block
Helper to create a test block with specific parent and height
finalizer/src/tests/syncing.rs:31
↓ 8 callers
Function
create_test_deposit_request
(index: u64, amount: u64)
types/src/consensus_state.rs:1128
↓ 8 callers
Function
generate_test_pk_hex
()
types/src/bootstrap.rs:81
↓ 8 callers
Method
generate_validator_field_proof
Generate a proof for a single field of a validator account. `field_index` is one of the `VALIDATOR_FIELD_*` constants (0–7). The proof goes from the
types/src/ssz_state_tree.rs:1007
↓ 8 callers
Method
get_latest_finalized_checkpoint
(&self)
finalizer/src/db.rs:261
↓ 8 callers
Method
get_maximum_stake
(&self)
finalizer/src/ingress.rs:246
↓ 8 callers
Method
get_node
(&self, node_index: usize)
types/src/ssz_tree.rs:69
↓ 8 callers
Method
http_port
Returns the HTTP port of this instance.
types/src/reth.rs:142
↓ 8 callers
Function
init
Initialize a P2P resolver.
syncer/src/resolver/p2p.rs:44
↓ 8 callers
Method
last
(&self, epoch: Epoch)
types/src/dynamic_epocher.rs:178
↓ 8 callers
Function
last_block_in_epoch
(epoch_length: u64, epoch: u64)
node/src/tests/execution_requests/mod.rs:37
↓ 8 callers
Function
make_notarization
(proposal: Proposal<D>, schemes: &[S], quorum: u32)
syncer/src/lib.rs:360
↓ 8 callers
Function
merkleize
Build a Merkle root from a slice of 32-byte chunks. Pads to the next power of 2 with zero chunks and hashes bottom-up.
types/src/ssz_tree.rs:370
↓ 8 callers
Function
parse_withdrawal_credentials
(withdrawal_credentials: [u8; 32])
types/src/utils.rs:44
↓ 8 callers
Method
push_deposit
Deposit queue operations
types/src/consensus_state.rs:509
↓ 8 callers
Method
push_withdrawal_request
Withdrawal queue operations
types/src/consensus_state.rs:546
↓ 8 callers
Method
rebuild_removed_validators
Rebuild removed validators subtree.
types/src/ssz_state_tree.rs:847
↓ 8 callers
Method
start_building_block
( &mut self, fork_choice_state: ForkchoiceState, timestamp: u64, withdrawals:
node/src/test_harness/mock_engine_client.rs:361
↓ 8 callers
Method
to_ingress_list
Convert to a list of (PublicKey, Ingress) pairs
types/src/bootstrap.rs:59
↓ 8 callers
Method
wait_until_reconnect_available
(&mut self)
types/src/engine_client.rs:73
↓ 8 callers
Method
write
(&self, buf: &mut impl BufMut)
types/src/withdrawal.rs:88
↓ 8 callers
Method
write
(&self, buf: &mut impl BufMut)
types/src/protocol_params.rs:192
↓ 7 callers
Function
create_test_initial_state
Create a minimal initial ConsensusState for testing
finalizer/src/tests/fork_handling.rs:84
↓ 7 callers
Method
generate_deposit_proof
Generate a proof for a deposit at a given queue index (whole deposit). The proof leaf is the per-deposit subtree root (internal node 3 levels above t
types/src/ssz_state_tree.rs:1085
↓ 7 callers
Method
generate_scalar_proof
Generate a proof for a top-level scalar field.
types/src/ssz_state_tree.rs:971
↓ 7 callers
Method
generate_withdrawal_proof_by_key
Generate a proof for a withdrawal identified by validator pubkey (O(1) lookup).
types/src/ssz_state_tree.rs:1075
↓ 7 callers
Method
get_for_epoch
Get all pending withdrawals for a specific epoch.
types/src/withdrawal.rs:236
↓ 7 callers
Method
get_leaf
(&self, leaf_index: usize)
types/src/ssz_tree.rs:63
↓ 7 callers
Method
get_payload
(&mut self, payload_id: PayloadId)
node/src/test_harness/mock_engine_client.rs:431
↓ 7 callers
Method
set_next_withdrawal_index
(&mut self, index: u64)
types/src/consensus_state.rs:263
↓ 7 callers
Method
set_view
(&mut self, view: u64)
types/src/ssz_state_tree.rs:189
↓ 7 callers
Function
verify_action_with
( expected: &Address, now_secs: u64, action: &str, timestamp_secs: u64, signature_hex: &st
rpc/src/auth.rs:37
↓ 7 callers
Method
write
(&self, buf: &mut impl BufMut)
types/src/execution_request.rs:296
↓ 6 callers
Method
as_message
(&self, domain: Digest)
types/src/execution_request.rs:214
↓ 6 callers
Method
auth_port
Returns the auth port of this instance.
types/src/reth.rs:152
↓ 6 callers
Function
derive_child_public
(master_pk: PublicKey, index: u32)
types/src/ext_private_key.rs:109
↓ 6 callers
Method
generate_protocol_param_proof
Generate a proof for a protocol parameter change at a given index. Generate a proof for a protocol parameter change at a given index (whole param). T
types/src/ssz_state_tree.rs:1330
↓ 6 callers
Method
generate_withdrawal_proof
Generate a whole-withdrawal proof by (epoch_slot, item_slot). The proof leaf is the per-withdrawal subtree root (internal node 3 levels above the fie
types/src/ssz_state_tree.rs:1159
↓ 6 callers
Method
get_chain_height
Get current chain height
node/src/test_harness/mock_engine_client.rs:74
↓ 6 callers
Method
get_finalization
A best-effort attempt to retrieve a given [Finalization] from local storage. It is not an indication to go fetch the [Finalization] from the network.
syncer/src/ingress/mailbox.rs:234
↓ 6 callers
Method
get_minimum_stake
(&self)
finalizer/src/ingress.rs:228
↓ 6 callers
Function
get_node_flags
(node: usize, genesis_path: &str)
node/src/bin/sync_from_genesis.rs:663
↓ 6 callers
Method
get_validator_balance
(&self, public_key: PublicKey)
finalizer/src/ingress.rs:191
↓ 6 callers
Function
is_last_block_of_epoch
Returns true if `height` is the last block in its epoch.
types/src/utils.rs:31
↓ 6 callers
Method
push_withdrawal
Incrementally update the tree after a new withdrawal is appended to an epoch. If the epoch is new, a new subtree and epoch-tree leaf are created. If
types/src/ssz_state_tree.rs:632
↓ 6 callers
Method
remove_account
(&mut self, pubkey: &[u8; 32])
types/src/consensus_state.rs:430
↓ 6 callers
Method
set_epoch_genesis_hash
(&mut self, hash: [u8; 32])
types/src/consensus_state.rs:313
↓ 6 callers
Method
store_finalized_header
FinalizedHeader operations
finalizer/src/db.rs:268
↓ 5 callers
Method
build_collection_branch
Build a unified branch for a collection element proof. Concatenates: subtree siblings + length sibling (mix_in_length) + top-level siblings.
types/src/ssz_state_tree.rs:954
↓ 5 callers
Method
capture_state_root
Snapshot the current tree root and freeze a proof-able copy. Called after `execute_block` so that subsequent finalization mutations don't alter the ca
types/src/consensus_state.rs:472
↓ 5 callers
Method
compose_collection_gindex
Compose a generalized index for a collection element. Given the top-level leaf index of the collection root and the item's index within the subtree,
types/src/ssz_state_tree.rs:937
↓ 5 callers
Function
create_dummy_signature
()
finalizer/src/db.rs:456
↓ 5 callers
Function
default_protocol_consts
()
finalizer/src/tests/syncing.rs:150
↓ 5 callers
Method
generate_added_validator_proof
Generate a proof for an added validator at a given flattened index (whole item). The proof leaf is the per-item subtree root (internal node 1 level a
types/src/ssz_state_tree.rs:1425
↓ 5 callers
Method
get_active_validators
(&self)
types/src/consensus_state.rs:652
↓ 5 callers
Method
get_added_validators
(&self, epoch: u64)
types/src/consensus_state.rs:272
↓ 5 callers
Method
get_clients
Get all clients
node/src/test_harness/mock_engine_client.rs:617
↓ 5 callers
Method
get_most_recent_finalized_header
( &self, )
finalizer/src/db.rs:306
↓ 5 callers
Function
get_node_flags
(node: usize, genesis_path: &str)
node/src/bin/observer.rs:494
↓ 5 callers
Function
get_node_flags
(node: usize, genesis_path: &str)
node/src/bin/stake_and_join_with_outdated_ckpt.rs:798
↓ 5 callers
Function
get_node_flags
(node: usize, genesis_path: &str)
node/src/bin/stake_and_checkpoint.rs:680
↓ 5 callers
Method
get_state_root
(&self)
finalizer/src/ingress.rs:432
↓ 5 callers
Method
get_validators
(&self)
types/src/genesis.rs:178
↓ 5 callers
Method
get_withdrawals_for_epoch
Get all pending withdrawals for a specific epoch
types/src/consensus_state.rs:610
↓ 5 callers
Function
parse_ingress
Parse an address string into an Ingress. Supports both IP:port (e.g., "127.0.0.1:18551") and domain:port (e.g., "node.example.com:18551")
types/src/bootstrap.rs:26
↓ 5 callers
Function
parse_public_key
(public_key: &str)
types/src/checkpoint.rs:342
↓ 5 callers
Method
peek
Peek at the next withdrawal for the given epoch without removing it.
types/src/withdrawal.rs:228
↓ 5 callers
Method
set_epoch_genesis_hash
(&mut self, hash: &[u8; 32])
types/src/ssz_state_tree.rs:201
↓ 5 callers
Method
set_forkchoice_finalized_block_hash
(&mut self, hash: &[u8; 32])
types/src/ssz_state_tree.rs:253
↓ 5 callers
Method
set_forkchoice_head
(&mut self, hash: alloy_primitives::B256)
types/src/consensus_state.rs:327
↓ 5 callers
Method
set_forkchoice_head_block_hash
(&mut self, hash: &[u8; 32])
types/src/ssz_state_tree.rs:245
↓ 5 callers
Method
set_forkchoice_safe_block_hash
(&mut self, hash: &[u8; 32])
types/src/ssz_state_tree.rs:249
↓ 5 callers
Method
set_head_digest
(&mut self, digest: Digest)
types/src/consensus_state.rs:322
↓ 5 callers
Method
set_validator_accounts
(&mut self, accounts: BTreeMap<[u8; 32], ValidatorAccount>)
types/src/consensus_state.rs:455
↓ 5 callers
Method
set_validator_maximum_stake
(&mut self, stake: u64)
types/src/ssz_state_tree.rs:210
↓ 5 callers
Method
set_validator_minimum_stake
(&mut self, stake: u64)
types/src/ssz_state_tree.rs:205
↓ 5 callers
Function
setup_network_links
( oracle: &mut Oracle<K, deterministic::Context>, peers: &[K], link: Link, )
syncer/src/lib.rs:388
↓ 5 callers
Method
store_finalization
Add a finalized block, and optionally a finalization, to the archive. After persisting the block, attempt to dispatch the next contiguous block to th
syncer/src/actor.rs:1337
↓ 5 callers
Method
timestamp
(&self)
types/src/block.rs:168
↓ 5 callers
Function
verify_checkpoint_chain
Verifies a checkpoint by walking the chain of finalized headers from genesis. For each epoch, the BLS aggregate signature is verified against the kno
types/src/checkpoint.rs:185
← previous
next →
101–200 of 1,261, ranked by callers