aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-11-14 14:50:03 +0200
committerRiccardo Spagni <ric@spagni.net>2017-11-14 14:50:03 +0200
commit3fff292dc1cfa41d44e14576325802f710829104 (patch)
tree764d835d9e4e2bbf90707a56c68aff441dff9df9 /src/blockchain_db
parentMerge pull request #2805 (diff)
parenttrack double spending in the txpool (diff)
downloadmonero-3fff292dc1cfa41d44e14576325802f710829104.tar.xz
Merge pull request #2509
ccf53a56 track double spending in the txpool (moneromooo-monero)
Diffstat (limited to 'src/blockchain_db')
-rw-r--r--src/blockchain_db/blockchain_db.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/blockchain_db/blockchain_db.h b/src/blockchain_db/blockchain_db.h
index 838385e8a..ca097fad2 100644
--- a/src/blockchain_db/blockchain_db.h
+++ b/src/blockchain_db/blockchain_db.h
@@ -147,8 +147,9 @@ struct txpool_tx_meta_t
uint8_t kept_by_block;
uint8_t relayed;
uint8_t do_not_relay;
+ uint8_t double_spend_seen: 1;
- uint8_t padding[77]; // till 192 bytes
+ uint8_t padding[76]; // till 192 bytes
};
#define DBF_SAFE 1