![]() |
Ethereum
PoC-8
The C++ Implementation of Ethereum
|
Interface for getting a list of recent block hashes @threadsafe. More...
#include <LastBlockHashesFace.h>
Public Member Functions | |
| virtual | ~LastBlockHashesFace () |
| virtual h256s | precedingHashes (h256 const &_mostRecentHash) const =0 |
| virtual void | clear ()=0 |
| Clear any cached result. More... | |
Interface for getting a list of recent block hashes @threadsafe.
Definition at line 36 of file LastBlockHashesFace.h.
|
inlinevirtual |
Definition at line 39 of file LastBlockHashesFace.h.
|
pure virtual |
Clear any cached result.
|
pure virtual |
Get hashes of 256 consecutive blocks preceding and including _mostRecentHash Hashes are returned in the order of descending height, i.e. result[0] is _mostRecentHash, result[1] is its parent, result[2] is grandparent etc.