aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/ringdb.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-09-10record blackballs as amount/offset, and add export abilitymoneromooo-monero1-5/+5
2018-09-09ringdb: allow blackballing many outputs at oncemoneromooo-monero1-1/+2
It cuts down on txn commits, and speeds up blackballing substantially
2018-04-11unit_tests: add ringdb unit testsmoneromooo-monero1-0/+1
2018-03-16ringdb: use the genesis block as a db namemoneromooo-monero1-1/+1
This will avoid careless forkers polluting the shared database even if they make their own chain. They'll then automatically start using another subdb, and any key-reusing fork of those forks will reuse their subdbs.
2018-03-16wallet: add a set_ring commandmoneromooo-monero1-0/+1
This is so one can set rings for spent key images in case the attackers don't merge the ring matching patch set.
2018-03-16wallet: make ringdb an object with database statemoneromooo-monero1-9/+23
2018-03-16wallet: add an output blackball list to avoid using those in ringsmoneromooo-monero1-0/+5
2018-03-16wallet: add shared ring databasemoneromooo-monero1-0/+45
This maps key images to rings, so that different forks can reuse the rings by key image. This avoids revealing the real inputs like would happen if two forks spent the same outputs with different rings. This database is meant to be shared with all Monero forks which don't bother making a new chain, putting users' privacy at risk in the process. It is placed in a shared data directory by default ($HOME/.shared-ringdb on UNIX like systems). You may use --shared-ringdb-dir to override this location, and should then do so for all Monero forks for them to share the database.