Merge pull request #5843
9f68669blockchain_blackball: add --historical-stat which prints historical stats of spent ratio (stoffu) 2425f27blockchain_blackball: use is_output_spent instead of ringdb.blackballed for spentness test (stoffu)50813c1ringdb: fix bug in blackballing (stoffu)
This commit is contained in:
@@ -424,7 +424,7 @@ bool ringdb::blackball_worker(const std::vector<std::pair<uint64_t, uint64_t>> &
|
||||
{
|
||||
case BLACKBALL_BLACKBALL:
|
||||
MDEBUG("Marking output " << output.first << "/" << output.second << " as spent");
|
||||
dbr = mdb_cursor_put(cursor, &key, &data, MDB_APPENDDUP);
|
||||
dbr = mdb_cursor_put(cursor, &key, &data, MDB_NODUPDATA);
|
||||
if (dbr == MDB_KEYEXIST)
|
||||
dbr = 0;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user