Documentation ¶
Overview ¶
Package pdvrewards contains code for rewards calculation and distribution
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Distributor ¶
type Distributor struct {
// contains filtered or unexported fields
}
Distributor responsible for distributing PDV rewards in uDEC.
func NewDistributor ¶
func NewDistributor( rewardsPoolSize int64, b blockchain.Blockchain, is storage.IndexStorage) *Distributor
NewDistributor creates a new instance of Distributor.
Click to show internal directories.
Click to hide internal directories.