MASTER HACASH

Hacash一层网络基本简介

Hacash的一层网络指得是Hacash的核心层或者基础层,这一层的主要作用为货币创造,分发和结算层。严格确保货币核心层的安全和去中心化。

共识机制:PoW,区块的奖励为HAC

区块大小和时间:区块的大小为1MB,时间平均为5分钟。

TPS:TPS最高为25笔

区块、交易数据结构:Action(执行项) => Transaction(交易、事务) => Block(区块)

Block: {
    // head
    Version: uint8,
    Height: uint64,
    Timestamp: uint64,
    PrevHash: Hash32,
    MrklRoot: Hash32,
    TransactionCount: uint16,
    // meta
    Nonce: uint32,
    Difficulty: uint32,
    WitnessStage: uint16,
    // body
    Transactions: [
        { 
            // Transaction
            Timestamp: uint64,
            MainAddress: Address,
            Fee: Amount,
            ActionCount: uint16,
            Actions: [
                {
                    // Action
                    Kind: uint16,
                    ToAddress: Address,
                    Amount: Amount,
                    ...
                }
                ,...
            ],
            // signs
            SignCount: uint16,
            Signs: [...],
            MultisignCount: uint16,
            Multisigns: [...],
        }
        , ...
    ]
}

Powered by Ken You.