CatapultServer
v0.5.0.1 (Elephant)
|
An api for retrieving chain information from a node. More...
Public Member Functions | |
virtual | ~ChainApi ()=default |
virtual thread::future< ChainInfo > | chainInfo () const =0 |
Gets information about the chain. More... | |
virtual thread::future< model::HashRange > | hashesFrom (Height height, uint32_t maxHashes) const =0 |
Gets at most maxHashes hashes starting at height. More... | |
Public Member Functions inherited from catapult::utils::NonCopyable | |
constexpr | NonCopyable ()=default |
Default constructor. More... | |
~NonCopyable ()=default | |
Default destructor. More... | |
NonCopyable (const NonCopyable &)=delete | |
Disabled copy constructor. More... | |
NonCopyable & | operator= (const NonCopyable &)=delete |
Disabled assignment operator. More... | |
An api for retrieving chain information from a node.
|
virtualdefault |
|
pure virtual |
Gets information about the chain.
|
pure virtual |
Gets at most maxHashes hashes starting at height.