aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/ringdb.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-04-11unit_tests: add ringdb unit testsmoneromooo-monero1-4/+14
2018-03-16ringdb: factor ring addition codemoneromooo-monero1-22/+16
2018-03-16ringdb: use the genesis block as a db namemoneromooo-monero1-3/+3
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/+30
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-125/+98
2018-03-16wallet: add an output blackball list to avoid using those in ringsmoneromooo-monero1-6/+114
2018-03-16wallet: add shared ring databasemoneromooo-monero1-0/+340
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.