Elixium Core v0.6.3 Elixium.Store.Ledger View Source
Provides an interface for interacting with the blockchain stored within LevelDB. This is where blocks are stored and fetched
Link to this section Summary
Functions
Add a block to leveldb, indexing it by its hash (this is the most likely piece of data to be unique)
Returns the block at a given index
Returns the number of blocks in the chain
Hydrate ETS with our chain data
Returns the most recent block on the chain
Returns the last N blocks in the chain
Given a block hash, return its contents
Return the whole chain from leveldb
Link to this section Functions
Add a block to leveldb, indexing it by its hash (this is the most likely piece of data to be unique)
Returns the block at a given index
Returns the number of blocks in the chain
Hydrate ETS with our chain data
Returns the most recent block on the chain
Returns the last N blocks in the chain
Given a block hash, return its contents
Return the whole chain from leveldb