mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #4260
a54dbaee
blockchain_blackball: add --force-chain-reaction-pass flag (moneromooo-monero)44439c32
record blackballs as amount/offset, and add export ability (moneromooo-monero)4bce935b
blockchain_blackball: more optimizations (moneromooo-monero)b66ba783
blockchain_blackball: do not process duplicate blockchains parts (moneromooo-monero)639a3c01
blockchain_blackball: make it clear secondary passes are not incremental (moneromooo-monero)eb8a51be
blockchain_blackball: detect spent outputs by partial ring reuse (moneromooo-monero)d6d276c6
blockchain_blackball: fix chain reaction phase in incremental mode (moneromooo-monero)2b2a681b
blockchain_blackball: avoid false positives for different amounts (moneromooo-monero)80e4fef3
blockchain_blackball: set transaction looping txn to read only (moneromooo-monero)4801d6b5
blockchain_blackball: add stats (moneromooo-monero)846190fd
blockchain_blackball: support pre-v2 databases (moneromooo-monero)daa6cc7d
blockchain_blackball: use LMDB for the cache (moneromooo-monero)50cb370d
ringdb: allow blackballing many outputs at once (moneromooo-monero)
This commit is contained in:
commit
c74d9057f8
7 changed files with 1244 additions and 304 deletions
|
@ -59,17 +59,17 @@ static crypto::key_image generate_key_image()
|
|||
return key_image;
|
||||
}
|
||||
|
||||
static crypto::public_key generate_output()
|
||||
static std::pair<uint64_t, uint64_t> generate_output()
|
||||
{
|
||||
return rct::rct2pk(rct::scalarmultBase(rct::skGen()));
|
||||
return std::make_pair(rand(), rand());
|
||||
}
|
||||
|
||||
|
||||
static const crypto::chacha_key KEY_1 = generate_chacha_key();
|
||||
static const crypto::chacha_key KEY_2 = generate_chacha_key();
|
||||
static const crypto::key_image KEY_IMAGE_1 = generate_key_image();
|
||||
static const crypto::public_key OUTPUT_1 = generate_output();
|
||||
static const crypto::public_key OUTPUT_2 = generate_output();
|
||||
static const std::pair<uint64_t, uint64_t> OUTPUT_1 = generate_output();
|
||||
static const std::pair<uint64_t, uint64_t> OUTPUT_2 = generate_output();
|
||||
|
||||
class RingDB: public tools::ringdb
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue