add beaconcha.in mainnet relay overview to guide (#4217)
This commit is contained in:
parent
20d6481b39
commit
ce915c0a03
|
@ -2448,7 +2448,7 @@ proc updateStabilitySubnetMetadata*(node: Eth2Node, attnets: AttnetBits) =
|
||||||
node.metadata.seq_number += 1
|
node.metadata.seq_number += 1
|
||||||
node.metadata.attnets = attnets
|
node.metadata.attnets = attnets
|
||||||
|
|
||||||
# https://github.com/ethereum/consensus-specs/blob/v1.2.0-rc.1/specs/phase0/validator.md#phase-0-attestation-subnet-stability
|
# https://github.com/ethereum/consensus-specs/blob/v1.2.0/specs/phase0/validator.md#phase-0-attestation-subnet-stability
|
||||||
# https://github.com/ethereum/consensus-specs/blob/v1.2.0/specs/phase0/p2p-interface.md#attestation-subnet-bitfield
|
# https://github.com/ethereum/consensus-specs/blob/v1.2.0/specs/phase0/p2p-interface.md#attestation-subnet-bitfield
|
||||||
let res = node.discovery.updateRecord({
|
let res = node.discovery.updateRecord({
|
||||||
enrAttestationSubnetsField: SSZ.encode(node.metadata.attnets)
|
enrAttestationSubnetsField: SSZ.encode(node.metadata.attnets)
|
||||||
|
|
|
@ -793,7 +793,7 @@ func get_next_sync_committee*(state: altair.BeaconState | bellatrix.BeaconState)
|
||||||
res.aggregate_pubkey = finish(attestersAgg).toPubKey()
|
res.aggregate_pubkey = finish(attestersAgg).toPubKey()
|
||||||
res
|
res
|
||||||
|
|
||||||
# https://github.com/ethereum/consensus-specs/blob/v1.2.0-rc.1/specs/altair/fork.md#upgrading-the-state
|
# https://github.com/ethereum/consensus-specs/blob/v1.2.0/specs/altair/fork.md#upgrading-the-state
|
||||||
func translate_participation(
|
func translate_participation(
|
||||||
state: var altair.BeaconState,
|
state: var altair.BeaconState,
|
||||||
pending_attestations: openArray[phase0.PendingAttestation]) =
|
pending_attestations: openArray[phase0.PendingAttestation]) =
|
||||||
|
@ -880,7 +880,7 @@ func upgrade_to_altair*(cfg: RuntimeConfig, pre: phase0.BeaconState):
|
||||||
|
|
||||||
post
|
post
|
||||||
|
|
||||||
# https://github.com/ethereum/consensus-specs/blob/v1.1.7/specs/merge/fork.md#upgrading-the-state
|
# https://github.com/ethereum/consensus-specs/blob/v1.2.0/specs/bellatrix/fork.md#upgrading-the-state
|
||||||
func upgrade_to_bellatrix*(cfg: RuntimeConfig, pre: altair.BeaconState):
|
func upgrade_to_bellatrix*(cfg: RuntimeConfig, pre: altair.BeaconState):
|
||||||
ref bellatrix.BeaconState =
|
ref bellatrix.BeaconState =
|
||||||
let epoch = get_current_epoch(pre)
|
let epoch = get_current_epoch(pre)
|
||||||
|
|
|
@ -491,7 +491,7 @@ proc process_sync_aggregate*(
|
||||||
|
|
||||||
ok()
|
ok()
|
||||||
|
|
||||||
# https://github.com/ethereum/consensus-specs/blob/v1.2.0-rc.1/specs/bellatrix/beacon-chain.md#process_execution_payload
|
# https://github.com/ethereum/consensus-specs/blob/v1.2.0/specs/bellatrix/beacon-chain.md#process_execution_payload
|
||||||
proc process_execution_payload*(
|
proc process_execution_payload*(
|
||||||
state: var bellatrix.BeaconState, payload: ExecutionPayload,
|
state: var bellatrix.BeaconState, payload: ExecutionPayload,
|
||||||
notify_new_payload: ExecutePayload): Result[void, cstring] =
|
notify_new_payload: ExecutePayload): Result[void, cstring] =
|
||||||
|
|
|
@ -856,7 +856,7 @@ func process_registry_updates*(
|
||||||
|
|
||||||
# https://github.com/ethereum/consensus-specs/blob/v1.2.0/specs/phase0/beacon-chain.md#slashings
|
# https://github.com/ethereum/consensus-specs/blob/v1.2.0/specs/phase0/beacon-chain.md#slashings
|
||||||
# https://github.com/ethereum/consensus-specs/blob/v1.2.0/specs/altair/beacon-chain.md#slashings
|
# https://github.com/ethereum/consensus-specs/blob/v1.2.0/specs/altair/beacon-chain.md#slashings
|
||||||
# https://github.com/ethereum/consensus-specs/blob/v1.2.0-rc.1/specs/bellatrix/beacon-chain.md#slashings
|
# https://github.com/ethereum/consensus-specs/blob/v1.2.0/specs/bellatrix/beacon-chain.md#slashings
|
||||||
func get_adjusted_total_slashing_balance*(
|
func get_adjusted_total_slashing_balance*(
|
||||||
state: ForkyBeaconState, total_balance: Gwei): Gwei =
|
state: ForkyBeaconState, total_balance: Gwei): Gwei =
|
||||||
const multiplier =
|
const multiplier =
|
||||||
|
|
|
@ -28,4 +28,6 @@ There exists a failure mode, intrinsic to the builder API, wherein the consensus
|
||||||
|
|
||||||
- [MEV relay list](https://github.com/remyroy/ethstaker/blob/main/MEV-relay-list.md)
|
- [MEV relay list](https://github.com/remyroy/ethstaker/blob/main/MEV-relay-list.md)
|
||||||
|
|
||||||
|
- [Mainnet Relay Overview](https://beaconcha.in/relays)
|
||||||
|
|
||||||
- [Goerli Relay Overview](https://goerli.beaconcha.in/relays)
|
- [Goerli Relay Overview](https://goerli.beaconcha.in/relays)
|
||||||
|
|
Loading…
Reference in New Issue