# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
BucketIndexFromBytes returns bucket index and within-bucket index from supplied bytes.
IndexFromBytes returns uint64 value from supplied bytes.
NewService constructs a new Service.
NewStamp constructs a new stamp from a given batch ID, index and signatures.
NewStamper constructs a Stamper.
NewStampIssuer constructs a StampIssuer as an extension of a batch for local upload.
NewStampIssuerItem creates a new StampIssuerItem.
RecoverBatchOwner returns ethereum address that signed postage batch of supplied stamp.
TimestampFromBytes returns uint64 value from supplied bytes.
ToSignDigest creates a digest to represent the stamp which is to be signed by the owner.
ValidStamp returns a stampvalidator function passed to protocols with chunk entrypoints.
# Constants
StampSize is the number of bytes in the serialisation of a stamp.
StampSize is the number of bytes in the serialisation of a stamp.
StampSize is the number of bytes in the serialisation of a stamp.
# Variables
ErrBucketFull is the error when a collision bucket is full.
ErrBucketMismatch is the error given if stamp index bucket verification fails.
No description provided by the author
ErrInvalidBatchID is the error returned if the batch ID is incorrect.
ErrInvalidBatchIndex is the error returned if the batch index is incorrect.
ErrInvalidBatchSignature is the error returned if the batch signature is incorrect.
ErrInvalidBatchTimestamp is the error returned if the batch timestamp is incorrect.
ErrInvalidIndex the error given for invalid stamp index.
ErrNotFound is the error returned when issuer with given batch ID does not exist.
ErrNotUsable is the error returned when issuer with given batch ID is not usable.
No description provided by the author
ErrOwnerMismatch is the error given for invalid signatures.
ErrStampInvalid is the error given if stamp cannot deserialise.
# Structs
Batch represents a postage batch, a payment on the blockchain.
ChainSnapshot represents the snapshot of all the postage events between the FirstBlockNumber and LastBlockNumber.
ChainState contains data the batch service reads from the chain.
NoOpBatchStore is a placeholder implementation for postage.Storer.
Stamp represents a postage stamp as attached to a chunk.
StampIssuer is a local extension of a batch issuing stamps for uploads.
StampIssuerItem is a storage.Item implementation for StampIssuer.
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
StorageRadiusSetter is used to calculate total batch commitment of the network.
EventUpdater interface definitions reflect the updates triggered by events emitted by the postage contract on the blockchain.
Listener provides a blockchain event iterator.
Service is the postage service interface.
Stamper can issue stamps from the given address of chunk.
Storer represents the persistence layer for batches on the current (highest available) block.
# Type aliases
No description provided by the author