Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNilPubkeyConverter = errors.New("nil pubkey converter")
ErrNilPubkeyConverter signals that a nil public key converter was provided
Functions ¶
func NewUserAccountsSyncer ¶
func NewUserAccountsSyncer(args ArgsNewUserAccountsSyncer) (*userAccountsSyncer, error)
NewUserAccountsSyncer creates a user account syncer
func NewValidatorAccountsSyncer ¶
func NewValidatorAccountsSyncer(args ArgsNewValidatorAccountsSyncer) (*validatorAccountsSyncer, error)
NewValidatorAccountsSyncer creates a validator account syncer
Types ¶
type ArgsNewBaseAccountsSyncer ¶
type ArgsNewBaseAccountsSyncer struct { Hasher hashing.Hasher Marshalizer marshal.Marshalizer TrieStorageManager common.StorageManager StorageMarker trie.StorageMarker RequestHandler trie.RequestHandler Timeout time.Duration Cacher storage.Cacher UserAccountsSyncStatisticsHandler common.SizeSyncStatisticsHandler AppStatusHandler core.AppStatusHandler MaxTrieLevelInMemory uint MaxHardCapForMissingNodes int TrieSyncerVersion int CheckNodesOnDisk bool }
ArgsNewBaseAccountsSyncer defines the arguments needed for the new account syncer
type ArgsNewUserAccountsSyncer ¶
type ArgsNewUserAccountsSyncer struct { ArgsNewBaseAccountsSyncer ShardId uint32 Throttler data.GoRoutineThrottler AddressPubKeyConverter core.PubkeyConverter }
ArgsNewUserAccountsSyncer defines the arguments needed for the new account syncer
type ArgsNewValidatorAccountsSyncer ¶
type ArgsNewValidatorAccountsSyncer struct {
ArgsNewBaseAccountsSyncer
}
ArgsNewValidatorAccountsSyncer defines the arguments needed for the new account syncer
Click to show internal directories.
Click to hide internal directories.