struct Ledger::Block::Pos
- Ledger::Block::Pos
- Ledger::Block::Abstract
- Struct
- Value
- Object
Defined in:
cocol/node/ledger/block.crConstructors
- .new(hash, timestamp, height, previous_hash, transactions, stakes, coinbase)
- .new(height, transactions, stakes, previous_hash, coinbase)
- .new(pull : JSON::PullParser)
Instance Method Summary
Instance methods inherited from struct Ledger::Block::Abstract
calc_hash
calc_hash,
coinbase : Coinbase
coinbase,
hash : String
hash,
hash_seed : BlockHashSeed
hash_seed,
height : UInt64
height,
previous_hash : String
previous_hash,
timestamp : Int64
timestamp,
transactions : Array(Transaction)
transactions
Constructor methods inherited from struct Ledger::Block::Abstract
new(pull : JSON::PullParser)
new
Constructor Detail
def self.new(hash, timestamp, height, previous_hash, transactions, stakes, coinbase)
#