Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GenesisLedger []*TokenPayout
GenesisLedger specifies the list of payouts in the coinbase of genesis. Must be a constant fixed in the code. If there are no payouts to be given, set this to an empty slice.
Functions ¶
func GenesisLedgerSubsidy ¶
func GenesisLedgerSubsidy() uint64
BlockOneSubsidy returns the total subsidy of block height 1 for the network.
Types ¶
type PayoutList ¶
type PayoutList []TokenPayoutReGen
func (PayoutList) Len ¶
func (p PayoutList) Len() int
func (PayoutList) Less ¶
func (p PayoutList) Less(i, j int) bool
func (PayoutList) Swap ¶
func (p PayoutList) Swap(i, j int)
type PayoutList2 ¶
type PayoutList2 []TokenPayoutReGen
func (PayoutList2) Len ¶
func (p PayoutList2) Len() int
func (PayoutList2) Less ¶
func (p PayoutList2) Less(i, j int) bool
func (PayoutList2) Swap ¶
func (p PayoutList2) Swap(i, j int)
type TokenPayout ¶
TokenPayout is a payout for block 1 which specifies an address and an amount to pay to that address in a transaction output.
type TokenPayoutReGen ¶
type TokenPayoutReGen struct { Payout TokenPayout GenAmount uint64 }
Click to show internal directories.
Click to hide internal directories.