aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Merge pull request #3940luigi11112018-06-071-8/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | f24cbc5 blockchain: fix deadlock with the difficulty cache (moneromooo-monero)
| * | | | | | blockchain: fix deadlock with the difficulty cachemoneromooo-monero2018-06-061-8/+12
| | |/ / / / | |/| | | |
* / | | | | blockchain: demote a hash-of-hashes validation warning to debugmoneromooo-monero2018-06-021-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | This data comes from untrusted peers, and validation failures are therefore normal.
* | | | | Merge pull request #3525luigi11112018-05-301-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 66a659b blockchain: add scope guard to waiter for threaded txv1 verification (stoffu)
| * | | | | blockchain: add scope guard to waiter for threaded txv1 verificationstoffu2018-03-301-0/+1
| | | | | |
* | | | | | Merge pull request #3876luigi11112018-05-301-5/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 740da1b core: fix automatic safe db sync mode switching (moneromooo-monero) e942d34 protocol: do not switch to unsafe sync mode for just a few blocks (moneromooo-monero)
| * | | | | | core: fix automatic safe db sync mode switchingmoneromooo-monero2018-05-281-5/+6
| | | | | | |
* | | | | | | Merge pull request #3731luigi11112018-05-302-6/+15
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a66f152 Use median timestamp if current time renders a block invalid. (thaerkh)
| * | | | | | | Use median timestamp if current time renders a block invalid.Thaer Khawaja2018-05-132-6/+15
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | Merge pull request #3251luigi11112018-05-294-12/+18
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b9389e5 db_lmdb: save pruned and prunable tx data separately (moneromooo-monero)
| * | | | | | | db_lmdb: save pruned and prunable tx data separatelymoneromooo-monero2018-05-234-12/+18
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | This bumps DB version to 2, migration code will run for v1 DBs
* | | | | | | Merge pull request #3446luigi11112018-05-291-4/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a6b8d3f tx_pool: remove old comment from fill_block_template() (stoffu)
| * | | | | | | tx_pool: remove old comment from fill_block_template()stoffu2018-05-281-4/+0
| |/ / / / / /
* | | | | | | Merge pull request #3420luigi11112018-05-292-3/+22
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a6a54fa blockchain: cache difficulty for next block (moneromooo-monero)
| * | | | | | | blockchain: cache difficulty for next blockmoneromooo-monero2018-03-192-3/+22
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Takes about 10 ms, which takes pretty much all of the get_info RPC, which is called pretty often from wallets. Also add a new lock so we don't need to lock the blockchain lock, which will avoid blocking for a long time when calling the getinfo RPC while syncing. Users of get_difficulty_for_next_block who need the lock will have locked it already.
* | | | | | | update checkpointsRiccardo Spagni2018-05-231-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge pull request #3787Riccardo Spagni2018-05-211-0/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | ce63ab09 blockchain: invalidate misc caches when popping blocks (moneromooo-monero)
| * | | | | | blockchain: invalidate misc caches when popping blocksmoneromooo-monero2018-05-091-0/+6
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Might be a bit heavy handed, but conservative.
* | | | | | Merge pull request #3832Riccardo Spagni2018-05-212-9/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | cb9c7972 Fix output shuffling for multisig (stoffu)
| * | | | | | Fix output shuffling for multisigstoffu2018-05-202-9/+11
| |/ / / / /
* | | | | | speed up get_output_distribution (and precalc common case)moneromooo-monero2018-05-214-22/+8
| | | | | |
* | | | | | Merge pull request #3749Riccardo Spagni2018-05-211-0/+47
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | 872cb4ef blockchain: pop top if block version disagrees with the ideal fork version (stoffu)
| * | | | | blockchain: pop top if block version disagrees with the ideal fork versionstoffu2018-05-061-0/+47
| | |/ / / | |/| | |
* / | | | cryptonote: make sure outPk setup always happensmoneromooo-monero2018-05-071-33/+0
|/ / / /
* | | | Merge pull request #3683Riccardo Spagni2018-04-282-0/+12
|\ \ \ \ | | | | | | | | | | | | | | | dad10775 Only log an error if fork version is higher AND is not known. (Thaer Khawaja)
| * | | | Only log an error if fork version is higher AND is not known.Thaer Khawaja2018-04-222-0/+12
| | |_|/ | |/| |
* / | | speedup get_output_histogram for all amounts when min_count > 0moneromooo-monero2018-04-232-3/+4
|/ / / | | | | | | | | | | | | | | | This skips the vast majority of "dust" output amounts with just one instance on the chain. Clocks in at 0.15% of the original time on testnet.
* | | Merge pull request #3609Riccardo Spagni2018-04-121-17/+26
|\ \ \ | | | | | | | | | | | | 08343aba tx_pool: fix loading with colliding key images (moneromooo-monero)
| * | | tx_pool: fix loading with colliding key imagesmoneromooo-monero2018-04-111-17/+26
| | |/ | |/| | | | | | | | | | | | | | | | A key image may be present more than once if all but one of the txes spending that key image are coming from blocks. When loading a txpool from storage, we must load the one that's not from a block first to avoid rejection
* | | Merge pull request #3530Riccardo Spagni2018-04-121-2/+3
|\ \ \ | | | | | | | | | | | | eb59f7c5 cryptonote_tx_util: make destinations properly shuffled (stoffu)
| * | | cryptonote_tx_util: make destinations properly shuffledstoffu2018-03-311-2/+3
| | |/ | |/|
* | | Merge pull request #3502Riccardo Spagni2018-04-121-1/+1
|\ \ \ | | | | | | | | | | | | 11c933e1 fix lambda compile error on openbsd (moneromooo-monero)
| * | | fix lambda compile error on openbsdmoneromooo-monero2018-03-271-1/+1
| | |/ | |/|
* / | update block hashes for checkpoints.datRiccardo Spagni2018-03-241-1/+1
|/ /
* / core: fix use of uninitialised datamoneromooo-monero2018-03-181-1/+2
|/
* Move v7 fork to 1546000 to give more update timemoneromooo-monero2018-03-181-2/+2
|
* Merge pull request #3418Riccardo Spagni2018-03-171-1/+2
|\ | | | | | | 20a00266 blockchain: forbid bulletproof types before v8 (moneromooo-monero)
| * blockchain: forbid bulletproof types before v8moneromooo-monero2018-03-161-1/+2
| | | | | | | | | | They were already forbidden implicitely, but let's make that explicit for robustness
* | Merge pull request #3414Riccardo Spagni2018-03-161-1/+1
|\ \ | | | | | | | | | 524cbdc1 blockchain: fix log message about per-kB fee (stoffu)
| * | blockchain: fix log message about per-kB feestoffu2018-03-161-1/+1
| | |
* | | Merge pull request #3336Riccardo Spagni2018-03-163-6/+6
|\ \ \ | | | | | | | | | | | | 57c0b1ed Fix typos in various files (Dimitris Apostolou)
| * | | Fix typos in various filesDimitris Apostolou2018-03-153-6/+6
| |/ /
* | / add RPC to get a histogram of outputs of a given amountmoneromooo-monero2018-03-164-2/+78
| |/ |/|
* | Remove the `Blockchain::get_all_known_block_ids` function.Jean Pierre Dudey2018-03-142-28/+0
|/ | | | | | This function isn't used in the codebase. Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
* keypair::generate: always require hw::device to avoid possible mistakestoffu2018-03-141-1/+1
|
* device: untangle cyclic depenencystoffu2018-03-141-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | When #3303 was merged, a cyclic dependency chain was generated: libdevice <- libcncrypto <- libringct <- libdevice This was because libdevice needs access to a set of basic crypto operations implemented in libringct such as scalarmultBase(), while libringct also needs access to abstracted crypto operations implemented in libdevice such as ecdhEncode(). To untangle this cyclic dependency chain, this patch splits libringct into libringct_basic and libringct, where the basic crypto ops previously in libringct are moved into libringct_basic. The cyclic dependency is now resolved thanks to this separation: libcncrypto <- libringct_basic <- libdevice <- libcryptonote_basic <- libringct This eliminates the need for crypto_device.cpp and rctOps_device.cpp. Also, many abstracted interfaces of hw::device such as encrypt_payment_id() and get_subaddress_secret_key() were previously implemented in libcryptonote_basic (cryptonote_format_utils.cpp) and were then called from hw::core::device_default, which is odd because libdevice is supposed to be independent of libcryptonote_basic. Therefore, those functions were moved to device_default.cpp.
* Merge pull request #3371Riccardo Spagni2018-03-141-0/+3
|\ | | | | | | 84decbea core: add v7 for 1539500 on mainnet (moneromooo-monero)
| * core: add v7 for 1539500 on mainnetmoneromooo-monero2018-03-071-0/+3
| |
* | Merge pull request #3358Riccardo Spagni2018-03-141-0/+8
|\ \ | | | | | | | | | 978663d4 Stagenet: successive forks up to v7 (stoffu)
| * | Stagenet: successive forks up to v7stoffu2018-03-091-0/+8
| | |