Documentation ¶
Index ¶
- func BlockCoinBaseReward(blockHeight uint64) *fields.Amount
- func BlockCoinBaseRewardNumber(blockHeight uint64) uint8
- func CalculationOfInterestBitcoinMortgageLoanAmount(totalLendingPercentage float64) (float64, float64)
- func CreateCoinbaseTx(blockheight uint64) *transactions.Transaction_0_Coinbase
- func MoveBtcCoinRewardNumber(btcidx int64) int64
- func ParseMinerPoolCoinbaseMessage(msgwords string, minernum uint32) [16]byte
- func ParseSatoshiGenesisByItemString(logitemstr string, trsno int64) *stores.SatoshiGenesis
- func PrintMoveBtcCoinRewardNumberTable()
- func UpdateBlockCoinbaseAddress(block interfaces.Block, address fields.Address)
- func UpdateBlockCoinbaseMessage(block interfaces.Block, msgstr string)
- func UpdateBlockCoinbaseMessageForMiner(block interfaces.Block, minernum uint32)
- func UpdateCoinbaseAddress(tx interfaces.Transaction, address fields.Address)
- func UpdateCoinbaseMessage(tx interfaces.Transaction, msgstr string)
- func UpdateCoinbaseMessageForMiner(tx interfaces.Transaction, minernum uint32)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockCoinBaseReward ¶
func CalculationOfInterestBitcoinMortgageLoanAmount ¶
func CalculationOfInterestBitcoinMortgageLoanAmount(totalLendingPercentage float64) (float64, float64)
Bitcoin mortgage loan: calculate the quantity that can be borrowed Totallendingpercentage total percentage lent Return lendable quantity and prepaid interest
func CreateCoinbaseTx ¶
func CreateCoinbaseTx(blockheight uint64) *transactions.Transaction_0_Coinbase
func MoveBtcCoinRewardNumber ¶
The number of additional HACs issued by the BTC (unit: PCS)
func ParseSatoshiGenesisByItemString ¶
func ParseSatoshiGenesisByItemString(logitemstr string, trsno int64) *stores.SatoshiGenesis
Parse log
func PrintMoveBtcCoinRewardNumberTable ¶
func PrintMoveBtcCoinRewardNumberTable()
func UpdateBlockCoinbaseAddress ¶
func UpdateBlockCoinbaseAddress(block interfaces.Block, address fields.Address)
func UpdateBlockCoinbaseMessage ¶
func UpdateBlockCoinbaseMessage(block interfaces.Block, msgstr string)
func UpdateBlockCoinbaseMessageForMiner ¶
func UpdateBlockCoinbaseMessageForMiner(block interfaces.Block, minernum uint32)
func UpdateCoinbaseAddress ¶
func UpdateCoinbaseAddress(tx interfaces.Transaction, address fields.Address)
func UpdateCoinbaseMessage ¶
func UpdateCoinbaseMessage(tx interfaces.Transaction, msgstr string)
func UpdateCoinbaseMessageForMiner ¶
func UpdateCoinbaseMessageForMiner(tx interfaces.Transaction, minernum uint32)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.