module Ledger::Pow

Included Modules

Extended Modules

Defined in:

cocol/node/ledger.cr

Constant Summary

RETARGET_TIMESPAN = 60_f64

Instance Method Summary

Instance Method Detail

def genesis : Nil #

[View source]
def mine(transactions : Array(Ledger::Action::Transaction)) : Ledger::Block::Pow #

[View source]
def submit(block : Ledger::Block::Pow, broadcast = true) #

[View source]
def valid?(block : Ledger::Block::Abstract) : Bool #

[View source]