class

CRYCoin::Block

Inherits CRYCoin::ProofOfWork < Reference < Object

Constructors

new(index : Int32 = 0, transactions : Array(CRYCoin::Block::Transaction) = [] of Transaction, previous_hash : String = "hash")
Source

Class methods

first
Source
next(previous_block, transactions = [] of Transaction)
Source

Instance methods

recalculate_hash
Source

Nested types