From 194a1abf9969f41bc7d84ce9dfd28d80fae6dfe6 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Mon, 7 Dec 2020 09:25:44 -0500 Subject: [PATCH] ntz yeah you know me --- src/main.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index e748605a5..a8e7baa3a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2906,32 +2906,28 @@ static bool ApplyTxInUndo(const CTxInUndo& undo, CCoinsViewCache& view, const CO return fClean; } - void ConnectNotarizations(const CBlock &block, int height) { - // Record Notarisations NotarisationsInBlock notarisations = ScanBlockNotarisations(block, height); if (notarisations.size() > 0) { CDBBatch batch = CDBBatch(*pnotarisations); batch.Write(block.GetHash(), notarisations); WriteBackNotarisations(notarisations, batch); pnotarisations->WriteBatch(batch, true); - LogPrintf("ConnectBlock: wrote %i block notarisations in block: %s\n", + LogPrintf("ConnectBlock: wrote %i block notarizations in block: %s\n", notarisations.size(), block.GetHash().GetHex().data()); } } - void DisconnectNotarizations(const CBlock &block) { - // Delete from notarisations cache NotarisationsInBlock nibs; if (GetBlockNotarisations(block.GetHash(), nibs)) { CDBBatch batch = CDBBatch(*pnotarisations); batch.Erase(block.GetHash()); EraseBackNotarisations(nibs, batch); pnotarisations->WriteBatch(batch, true); - LogPrintf("DisconnectTip: deleted %i block notarisations in block: %s\n", + LogPrintf("DisconnectTip: deleted %i block notarizations in block: %s\n", nibs.size(), block.GetHash().GetHex().data()); } }