disconnect notarisations

This commit is contained in:
Scott Sadler
2018-05-28 23:31:42 -03:00
parent 0ffacf04dc
commit 69c67b5117
4 changed files with 28 additions and 11 deletions

View File

@@ -21,6 +21,7 @@ typedef std::vector<Notarisation> NotarisationsInBlock;
NotarisationsInBlock GetNotarisationsInBlock(const CBlock &block, int nHeight);
bool GetBlockNotarisations(uint256 blockHash, NotarisationsInBlock &nibs);
bool GetBackNotarisation(uint256 notarisationHash, Notarisation &n);
void WriteBackNotarisations(NotarisationsInBlock notarisations);
void WriteBackNotarisations(const NotarisationsInBlock notarisations);
void EraseBackNotarisations(const NotarisationsInBlock notarisations);
#endif /* NOTARISATIONDB_H */