README
Cocol
App
Api
Miner
Command
Command_Main_command_of_clim_library
Options_Main_command_of_clim_library
Option_address
Option_help
Option_host
Option_master
Option_max_connections
Option_miner
Option_port
Option_version
Options_Main_command_of_clim_library
Option_address
Option_help
Option_host
Option_master
Option_max_connections
Option_miner
Option_port
Option_version
RunProc
Event
EventType
NewBlockEvent
PeerConnectionEvent
Repo
TransactionEvent
Ledger
Action
Abstract
Signature
Stake
Transaction
TxnHash
Block
Abstract
BlockHash
BlockHashSeed
Coinbase
Pos
Pow
Inventory
Mempool
TxnHash
Pos
Pow
Repo
Block
BlockHash
Sync
Util
Messenger
Action
Base
GetBlock
GetPeers
Handshake
Inventory
PropagateTransaction
Repo
Struct
Peer
Node
Settings
module
Ledger::Repo
Extended Modules
Ledger::Repo
Defined in:
cocol/node/ledger/repo.cr
Instance Method Summary
#block_at_height
#blocks
#finalize
(block hash : BlockHash) : Bool
#ledger
#ledger_last
: Block
#save
(block : Block) : Bool
Instance Method Detail
def
block_at_height
#
[
View source
]
def
blocks
#
[
View source
]
def
finalize
(block hash :
BlockHash
) : Bool
#
[
View source
]
def
ledger
#
[
View source
]
def
ledger_last
:
Block
#
[
View source
]
def
save
(block :
Block
) : Bool
#
[
View source
]