mirror of
https://github.com/monero-project/monero.git
synced 2025-08-21 20:08:22 -04:00
Rename "blackball" for clarity
Apparently some people seem to think it's a censorship list...
This commit is contained in:
parent
5c85da5a73
commit
99cd6f961a
7 changed files with 41 additions and 41 deletions
|
@ -412,13 +412,13 @@ bool ringdb::blackball_worker(const std::vector<std::pair<uint64_t, uint64_t>> &
|
|||
switch (op)
|
||||
{
|
||||
case BLACKBALL_BLACKBALL:
|
||||
MDEBUG("Blackballing output " << output.first << "/" << output.second);
|
||||
MDEBUG("Marking output " << output.first << "/" << output.second << " as spent");
|
||||
dbr = mdb_cursor_put(cursor, &key, &data, MDB_APPENDDUP);
|
||||
if (dbr == MDB_KEYEXIST)
|
||||
dbr = 0;
|
||||
break;
|
||||
case BLACKBALL_UNBLACKBALL:
|
||||
MDEBUG("Unblackballing output " << output.first << "/" << output.second);
|
||||
MDEBUG("Marking output " << output.first << "/" << output.second << " as unspent");
|
||||
dbr = mdb_cursor_get(cursor, &key, &data, MDB_GET_BOTH);
|
||||
if (dbr == 0)
|
||||
dbr = mdb_cursor_del(cursor, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue