struct Ledger::Block::Pos

Defined in:

cocol/node/ledger/block.cr

Constructors

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) #

[View source]
def self.new(height, transactions, stakes, previous_hash, coinbase) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def calc_hash #

[View source]
def hash_seed : BlockHashSeed #

[View source]
def stakes : Array(Stake) #

[View source]