Altchains are expected to implement this interface to allow alt-cpp saving blocks on disk.
Definition at line 22 of file block_batch.hpp.
|
virtual void | writeBlock (const AltBlock::hash_t &hash, const AltBlock::prev_hash_t &prev_hash, const StoredBlockIndex< AltBlock > &value)=0 |
| Save BlockIndex on disk. More...
|
|
virtual void | writeBlock (const VbkBlock::hash_t &hash, const VbkBlock::prev_hash_t &prev_hash, const StoredBlockIndex< VbkBlock > &value)=0 |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
|
virtual void | writeBlock (const BtcBlock::hash_t &hash, const BtcBlock::prev_hash_t &prev_hash, const StoredBlockIndex< BtcBlock > &value)=0 |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
|
virtual void | writeTip (const AltBlock::hash_t &value)=0 |
| Save Tree tip on disk. More...
|
|
virtual void | writeTip (const VbkBlock::hash_t &value)=0 |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
|
virtual void | writeTip (const BtcBlock::hash_t &value)=0 |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
|