mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #4260
a54dbaeeblockchain_blackball: add --force-chain-reaction-pass flag (moneromooo-monero)44439c32record blackballs as amount/offset, and add export ability (moneromooo-monero)4bce935bblockchain_blackball: more optimizations (moneromooo-monero)b66ba783blockchain_blackball: do not process duplicate blockchains parts (moneromooo-monero)639a3c01blockchain_blackball: make it clear secondary passes are not incremental (moneromooo-monero)eb8a51beblockchain_blackball: detect spent outputs by partial ring reuse (moneromooo-monero)d6d276c6blockchain_blackball: fix chain reaction phase in incremental mode (moneromooo-monero)2b2a681bblockchain_blackball: avoid false positives for different amounts (moneromooo-monero)80e4fef3blockchain_blackball: set transaction looping txn to read only (moneromooo-monero)4801d6b5blockchain_blackball: add stats (moneromooo-monero)846190fdblockchain_blackball: support pre-v2 databases (moneromooo-monero)daa6cc7dblockchain_blackball: use LMDB for the cache (moneromooo-monero)50cb370dringdb: 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