Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultBlocksPerRound = 152 DefaultBlocksPerPhase = DefaultBlocksPerRound / 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
func New ¶
func New( overlay swarm.Address, backend ChainBackend, logger log.Logger, monitor Monitor, contract redistribution.Contract, batchExpirer postagecontract.PostageBatchExpirer, reserve postage.Storer, sampler storage.Sampler, blockTime time.Duration, blocksPerRound, blocksPerPhase uint64) *Agent
type ChainBackend ¶
Click to show internal directories.
Click to hide internal directories.