module Ledger::Pos
Included Modules
Extended Modules
Defined in:
cocol/node/ledger.crInstance Method Summary
- #add_stakers(stakes : Array(Ledger::Action::Stake)) : Nil
- #block_creation_loop
- #genesis : Nil
- #mine(transactions : Array(Ledger::Action::Transaction), stakes : Array(Ledger::Action::Stake)) : Nil
- #new_block_if_leader
- #on_save(block)
- #remove_validator(id : String)
- #valid?(block : Ledger::Block::Pos) : Bool
- #validate(block : Ledger::Block::Pos) : Nil
Instance Method Detail
def mine(transactions : Array(Ledger::Action::Transaction), stakes : Array(Ledger::Action::Stake)) : Nil
#