Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Utxokey = database.MakeBucket([]byte("utxo_tx"))
Functions ¶
func UpdateWalletList ¶
func UpdateWalletList(b *external.TempBlock, db database.Database, wallets map[string]*pb.UTXOWalletBalanceRespose) map[string]*pb.UTXOWalletBalanceRespose
func VerifyAddressPrefix ¶
Types ¶
type BlockHeader ¶
type BlockHeader struct {
Version uint16
Blockhash *external.DomainHash
Blockheight int64
Previoushash *external.DomainHash
Merkleroot *external.DomainHash
Metblock *external.DomainHash
Megablock *external.DomainHash
Childblocks []external.BlockLevelChildern
Parents []external.BlockLevelParents
TimeInMilliseconds int64
Btype int
Bits uint64
Nonce uint64
BlockLevel int
VerificationPoint *external.DomainHash
}
type StagingArea ¶
type StagingArea struct {
// contains filtered or unexported fields
}
func NewStagingArea ¶
func NewStagingArea(db database.Database) *StagingArea
func (*StagingArea) StagingBlock ¶
func (s *StagingArea) StagingBlock() *BlockHeader
Click to show internal directories.
Click to hide internal directories.