Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MAX_ERROR = errors.New("arrived to max") REFER_ERROR = errors.New("refer not exist") )
Functions ¶
This section is empty.
Types ¶
type AccountExistsFunc ¶
type Batch ¶
type Batch interface { AddAItem(item Item, sHash *types.Hash) error AddSItem(item Item) error Levels() []Level Size() int Info() string Version() uint64 Exists(hash types.Hash) bool Batch(snapshotFn BucketExecutorFn, accountFn BucketExecutorFn) error Id() uint64 }
func NewBatch ¶
func NewBatch(snapshotF SnapshotExistsFunc, accountF AccountExistsFunc, version uint64, max int) Batch
type BucketExecutorFn ¶
type SnapshotExistsFunc ¶
Click to show internal directories.
Click to hide internal directories.