mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 13:28:01 -05:00
* update diff * deps * add tests for `SaveLightClientUpdate` * cleanup imports * lint * changelog * fix incorrect arithmetic * check for lightclient feature flag * fix tests * fix `saveLightClientBootstrap` and `saveLightClientUpdate` * replace and with or * move feature check to `postBlockProcess` --------- Co-authored-by: Radosław Kapka <rkapka@wp.pl>
16 lines
423 B
Go
16 lines
423 B
Go
package lightclient
|
|
|
|
import (
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/blockchain"
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/db"
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/rpc/lookup"
|
|
)
|
|
|
|
type Server struct {
|
|
Blocker lookup.Blocker
|
|
Stater lookup.Stater
|
|
HeadFetcher blockchain.HeadFetcher
|
|
ChainInfoFetcher blockchain.ChainInfoFetcher
|
|
BeaconDB db.HeadAccessDatabase
|
|
}
|