mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 11:11:20 +00:00
b92226bedb
* handler * very much work in progress * remove Polish * thinking * working but differs from LH * remove old stuff * review from Potuz * validator performance beacon server * Revert "validator performance beacon server" This reverts commit 42464cc6d375d7d27a4a781644c27f8b057212a5. * reuse precompute calculations * todos * production quality * add json tags to AttestationRewards * Potuz's review * extract vars --------- Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
19 lines
549 B
Go
19 lines
549 B
Go
package rewards
|
|
|
|
import (
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/blockchain"
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/lookup"
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/state/stategen"
|
|
)
|
|
|
|
type Server struct {
|
|
Blocker lookup.Blocker
|
|
OptimisticModeFetcher blockchain.OptimisticModeFetcher
|
|
FinalizationFetcher blockchain.FinalizationFetcher
|
|
ReplayerBuilder stategen.ReplayerBuilder
|
|
// TODO: Init
|
|
TimeFetcher blockchain.TimeFetcher
|
|
Stater lookup.Stater
|
|
HeadFetcher blockchain.HeadFetcher
|
|
}
|