UltraDark Core v0.1.0 UltraDark.Ledger View Source
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)
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)
Link to this function
retrieve_block(hash)
View Source
retrieve_block(String.t()) :: UltraDark.Blockchain.Block
Given a block hash, return its contents
Return the whole chain from leveldb