aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/cryptonote_basic_impl.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-08-01blockchain_db: add k-anonymity to txid fetchingjeffro2561-0/+35
Read more about k-anonymity [here](https://en.wikipedia.org/wiki/K-anonymity). We implement this feature in the monero daemon for transactions by providing a "Txid Template", which is simply a txid with all but `num_matching_bits` bits zeroed out, and the number `num_matching_bits`. We add an operation to `BlockchainLMDB` called `get_txids_loose` which takes a txid template and returns all txids in the database (chain and mempool) that satisfy that template. Thus, a client can ask about a specific transaction from a daemon without revealing the exact transaction they are inquiring about. The client can control the statistical chance that other TXIDs (besides the one in question) match the txid template sent to the daemon up to a power of 2. For example, if a client sets their `num_matching_bits` to 5, then statistically any txid has a 1/(2^5) chance to match. With `num_matching_bits`=10, there is a 1/(2^10) chance, so on and so forth. Co-authored-by: ACK-J <60232273+ACK-J@users.noreply.github.com>
2023-04-25Merge pull request #8765luigi11111-9/+0
630906c cryptonote_basic: remove unused struct (tobtoht)
2023-03-06cryptonote_basic: remove unused structtobtoht1-9/+0
2023-01-16Copyright: Update to 2023mj-xmr1-1/+1
Co-authored-by: plowsof <plowsof@protonmail.com> extra files
2022-03-04Copyright: Update to 2022mj-xmr1-1/+1
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2019-04-05cryptonote: rework block blob size sanity checkmoneromooo-monero1-1/+0
Use the actual block weight limit, assuming that weight is always greater or equal to size
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2018-11-23a few minor (but easy) performance tweaksmoneromooo-monero1-1/+1
Found by codacy.com
2018-09-11v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero1-2/+2
2018-03-05Stagenetstoffu1-4/+4
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-10-07Subaddresseskenshi841-19/+11
2017-09-25move checkpoints in a separate librarymoneromooo-monero1-25/+0
2017-08-08cryptonote_basic: fix silly CLANG warning about not emitting functionmoneromooo-monero1-1/+1
2017-07-27Move OpenAlias console input back from libsmoneromooo-monero1-2/+11
Library code should definitely not ask for console input unless it's clearly an input function. Delegating the user interaction part to the caller means it can now be used by a GUI, or have a decision algorithm better adapted to a particular caller.
2017-04-11Simplified the implementation and features of spanLee Clagett1-7/+22
2017-04-11Improvements for epee binary to hex functions:Lee Clagett1-16/+8
- Performance improvements - Added `span` for zero-copy pointer+length arguments - Added `std::ostream` overload for direct writing to output buffers - Removal of unused `string_tools::buff_to_hex`
2017-03-17wallet-rpc: enable openaliasstoffu1-0/+2
2017-03-15Add intervening v5 fork for increased min block sizemoneromooo-monero1-0/+1
Minimum mixin 4 and enforced ringct is moved from v5 to v6. v5 is now used for an increased minimum block size (from 60000 to 300000) to cater for larger typical/minimum transaction size. The fee algorithm is also changed to decrease the base per kB fee, and add a cheap tier for those transactions which we do not care if they get delayed (or even included in a block).
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi841-0/+142