Elixium Core v0.2.9 Elixium.Blockchain View Source

Wrapper functions for interacting with the blockchain on a high level

Link to this section Summary

Functions

Adds the latest block to the beginning of the blockchain

Creates a List with a genesis block in it or returns the existing blockchain

Link to this section Functions

Link to this function add_block(block) View Source
add_block(Elixium.Blockchain.Block) :: none()

Adds the latest block to the beginning of the blockchain

Creates a List with a genesis block in it or returns the existing blockchain

Link to this function recalculate_difficulty() View Source