Documentation ¶
Index ¶
- Constants
- Variables
- func InitEcdsaAccountsDB()
- func InitValidatorDB()
- func InsertEcdsaAccounts(ctx context.Context, accounts []ecdsa.Account)
- func InsertValidatorsInMemDb(ctx context.Context, vs []Validator)
- func ReadOnlyEcdsaAccountFromInMemDb(ctx context.Context, a ecdsa.Account) ecdsa.Account
- type Validator
Constants ¶
View Source
const EcdsaAccountsTable = "ecdsa_accounts"
View Source
const ValidatorsTable = "validators"
Variables ¶
View Source
var EcdsaAccountsInMemDB *memdb.MemDB
View Source
var ValidatorInMemDB *memdb.MemDB
Functions ¶
func InitEcdsaAccountsDB ¶
func InitEcdsaAccountsDB()
func InitValidatorDB ¶
func InitValidatorDB()
func InsertValidatorsInMemDb ¶
Types ¶
type Validator ¶
type Validator struct { Index int bls_signer.EthBLSAccount }
func NewValidator ¶
func NewValidator(index int, blsKey bls_signer.EthBLSAccount) Validator
Click to show internal directories.
Click to hide internal directories.