Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BucketDepth = uint8(16) ErrBatchCreate = errors.New("batch creation failed") ErrInsufficientFunds = errors.New("insufficient token balance") ErrInvalidDepth = errors.New("invalid depth") ErrBatchTopUp = errors.New("batch topUp failed") ErrBatchDilute = errors.New("batch dilute failed") ErrChainDisabled = errors.New("chain disabled") ErrNotImplemented = errors.New("not implemented") ErrInsufficientValidity = errors.New("insufficient validity") )
Functions ¶
Types ¶
type Interface ¶
type Interface interface { CreateBatch(ctx context.Context, initialBalance *big.Int, depth uint8, immutable bool, label string) (common.Hash, []byte, error) TopUpBatch(ctx context.Context, batchID []byte, topupBalance *big.Int) (common.Hash, error) DiluteBatch(ctx context.Context, batchID []byte, newDepth uint8) (common.Hash, error) Paused(ctx context.Context) (bool, error) PostageBatchExpirer }
type PostageBatchExpirer ¶
Click to show internal directories.
Click to hide internal directories.