deletes a hash from the list of unmined hashes.
deletes a hash from the list of unmined hashes.
the hash to delete
deletes a set of hash from the list of unmined hashes.
deletes a set of hash from the list of unmined hashes.
set of hashes to delete
Gives us the block that the input hash is included in.
Gives us the block that the input hash is included in.
hash based on which we look for the related block
block matching the input hash
Gives us basic information about a block (without all it's hashes).
Gives us basic information about a block (without all it's hashes).
hash of the requested block
block matching the input hash
Gives us a block including all it's hashes.
Gives us a block including all it's hashes.
hash of the requested block
block matching the input hash
the genesis block; None if none exists
Gives us basic information about a block (without all it's hashes) based on the blockHash of it's predecessor.
Gives us basic information about a block (without all it's hashes) based on the blockHash of it's predecessor.
blockHash predecessor block
block whose predecessor has the specified blockHash
Insert an unmined block.
Insert an unmined block.
BlockInfo of the inserted block
Adds a hash to the list of unmined hashes.
Adds a hash to the list of unmined hashes.
the hash to store
There's always exactly one unmined block which through mining becomes the newest block in the chain.
There's always exactly one unmined block which through mining becomes the newest block in the chain.
the unmined block
Gives us a list of hashes that haven't been mined yet.
Gives us a list of hashes that haven't been mined yet.
list of unmined hashes
Saves or updates a block.
Saves or updates a block.
block info to store
Saves or updates a block.
Saves or updates a block.
block info to store
Created by derMicha on 13/08/16.