module Ledger::Pos

Included Modules

Extended Modules

Defined in:

cocol/node/ledger.cr

Instance Method Summary

Instance Method Detail

def add_stakers(stakes : Array(Ledger::Action::Stake)) : Nil #

[View source]
def block_creation_loop #

[View source]
def genesis : Nil #

[View source]
def mine(transactions : Array(Ledger::Action::Transaction), stakes : Array(Ledger::Action::Stake)) : Nil #

[View source]
def new_block_if_leader #

[View source]
def on_save(block) #

[View source]
def remove_validator(id : String) #

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

[View source]
def validate(block : Ledger::Block::Pos) : Nil #

[View source]