go-ethereum/portalnetwork/storage/config.go
fearlessfe 74e0424686 feat: beacon-storage-part1
impl get and put for LightClientBootstrap and LightClientUpdatesByRange
2024-04-08 11:04:31 +08:00

15 lines
290 B
Go

package storage
import (
"database/sql"
"github.com/ethereum/go-ethereum/p2p/enode"
"github.com/protolambda/zrnt/eth2/beacon/common"
)
type PortalStorageConfig struct {
StorageCapacityMB uint64
DB *sql.DB
NodeId enode.ID
Spec *common.Spec
}