class CRYCoin::Block

Included Modules

Defined in:

cry_coin/block.cr
cry_coin/transaction.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]

Class Method Detail

def self.first #

[View source]
def self.next(previous_block, transactions = [] of Transaction) #

[View source]

Instance Method Detail

def recalculate_hash #

[View source]