summaryrefslogtreecommitdiff
path: root/src/cryptonote_core
Commit message (Collapse)AuthorAgeFilesLines
* tx_pool: initialize bitflags padding since it gets written to storagemoneromooo-monero2018-07-031-0/+2
| | | | Avoids valgrind reporting uninitialized data usage
* blockchain: pop forked blocks only when DB is not read-onlystoffu2018-07-031-1/+1
|
* blockchain: return error when requesting non existent outputmoneromooo-monero2018-07-031-6/+13
| | | | avoids RPC thread dying, causing the wallet to timeout
* core: lock incoming tx lock when checking the txpool and chainmoneromooo-monero2018-07-031-0/+1
| | | | | This gets rid of an innocuous race trying to add the same tx twice to the txpool
* Merge pull request #3912Riccardo Spagni2018-06-031-1/+1
|\ | | | | | | de742b5c blockchain: demote a hash-of-hashes validation warning to debug (moneromooo-monero)
| * 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.
* | update checkpoints.dat for point releaseRiccardo Spagni2018-06-021-1/+1
|/
* Merge pull request #3802Riccardo Spagni2018-05-312-6/+15
|\ | | | | | | a66f152f Use median timestamp if current time renders a block invalid. (Thaer Khawaja)
| * Use median timestamp if current time renders a block invalid.Thaer Khawaja2018-05-132-6/+15
| |
| * 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)
| * \ \ 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
| | |
* | | core: fix automatic safe db sync mode switchingmoneromooo-monero2018-05-301-5/+6
| | |
* | | update checkpointsRiccardo Spagni2018-05-231-1/+1
| | |
* | | Merge pull request #3833Riccardo Spagni2018-05-212-9/+11
|\ \ \ | | | | | | | | | | | | aabe3eed Fix output shuffling for multisig (stoffu)
| * | | Fix output shuffling for multisigstoffu2018-05-202-9/+11
| | | |
* | | | Merge pull request #3815Riccardo Spagni2018-05-214-22/+8
|\ \ \ \ | | | | | | | | | | | | | | | ffe9d882 speed up get_output_distribution (and precalc common case) (moneromooo-monero)
| * | | | speed up get_output_distribution (and precalc common case)moneromooo-monero2018-05-194-22/+8
| |/ / /
* | | | Merge pull request #3753Riccardo Spagni2018-05-211-0/+47
|\ \ \ \ | |/ / / |/| | | | | | | 4980d3c0 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
| | | |
* | | | blockchain: invalidate misc caches when popping blocksmoneromooo-monero2018-05-091-0/+6
| | | | | | | | | | | | | | | | Might be a bit heavy handed, but conservative.
* | | | cryptonote: make sure outPk setup always happensmoneromooo-monero2018-05-071-33/+0
|/ / /
* | | Merge pull request #3690Riccardo Spagni2018-04-282-0/+12
|\ \ \ | | | | | | | | | | | | 80dc5d21 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-232-0/+12
| | | |
* | | | speedup get_output_histogram for all amounts when min_count > 0moneromooo-monero2018-04-222-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 #3610Riccardo Spagni2018-04-121-17/+26
|\ \ \ | | | | | | | | | | | | 178c11f4 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 #3531Riccardo 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 #3503Riccardo Spagni2018-03-291-1/+1
|\ \ | | | | | | | | | 8ff2cc75 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
|