erigon-pulse/cl/transition/impl/eth2/impl.go
Giulio rebuffo 46ecf030f5
Added GET /eth/v1/beacon/rewards/blocks/{block_id} and POST /eth/v1/beacon/rewards/sync_committee/{block_id} (#9102)
* Changed slightly archive format (again)
* Added all of the remaining rewards endpoints
2023-12-30 20:51:28 +01:00

20 lines
372 B
Go

package eth2
import "github.com/ledgerwatch/erigon/cl/transition/machine"
type Impl = impl
var _ machine.Interface = (*impl)(nil)
type BlockRewardsCollector struct {
Attestations uint64
AttesterSlashings uint64
ProposerSlashings uint64
SyncAggregate uint64
}
type impl struct {
FullValidation bool
BlockRewardsCollector *BlockRewardsCollector
}