aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
| * | cryptonote_core: revert extra_tx_mapmoneromooo-monero2018-12-251-58/+4
| | | | | | | | | | | | | | | | | | | | | | | | While the lookups are faster, the zeroCommit calls have to be done again when storing the new outputs in the db, which ends up making the whole thing slower after all, and the ways this can be cached aren't very nice code wise, so let's forget it since the gains aren't very large anyway.
* | | Merge pull request #4993Riccardo Spagni2019-01-161-1/+3
|\ \ \ | | | | | | | | | | | | b8342dd5 blockchain: fix block rate check for empty blockchains (moneromooo-monero)
| * | | blockchain: fix block rate check for empty blockchainsmoneromooo-monero2018-12-181-1/+3
| |/ /
* | | Merge pull request #4984Riccardo Spagni2019-01-161-8/+17
|\ \ \ | |_|/ |/| | | | | 008647d7 blockchain_db: speedup tx output gathering (moneromooo-monero)
| * | blockchain_db: speedup tx output gatheringmoneromooo-monero2018-12-181-8/+17
| |/ | | | | | | We know all the data we'll want for getblocks.bin is contiguous
* | Merge pull request #4940luigi11112018-12-311-7/+10
|\ \ | | | | | | | | | 9e64a71 blockchain: call deinit in dtor (moneromooo-monero)
| * | blockchain: call deinit in dtormoneromooo-monero2018-12-051-7/+10
| | | | | | | | | | | | | | | This ensures the io service that runs in another thread cannot access data after it's deleted
* | | Merge pull request #4928luigi11112018-12-311-5/+3
|\ \ \ | |_|/ |/| | | | | affff94 blockchain: fix race between two external mining threads (moneromooo-monero)
| * | blockchain: fix race between two external mining threadsmoneromooo-monero2018-12-021-5/+3
| | |
* | | Merge pull request #4909Riccardo Spagni2018-12-121-33/+84
|\ \ \ | | | | | | | | | | | | 756684bb blockchain: avoid unnecessary DB lookups when syncing (moneromooo-monero)
| * | | blockchain: avoid unnecessary DB lookups when syncingmoneromooo-monero2018-11-271-33/+84
| |/ / | | | | | | | | | | | | | | | | | | Some of the inputs for block in a span will be from other earlier blocks in that span. Keep track of those outputs so we don't have to look them up again after those early blocks are added to the blockchain.
* | | Merge pull request #4903Riccardo Spagni2018-12-121-0/+32
|\ \ \ | | | | | | | | | | | | dc1c1252 add command pop_blocks (Jason Wong)
| * | | add command pop_blocksJason Wong2018-11-281-0/+32
| |/ / | | | | | | | | | | | | | | | add new public method to Blockchain and update according to code review update after review: better lock/unlock, try catch and coding style
* | | Merge pull request #4894Riccardo Spagni2018-12-041-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aee7a4e3 wallet_rpc_server: do not use RPC data if the call failed (moneromooo-monero) 1a0733e5 windows_service: fix memory leak (moneromooo-monero) 0dac3c64 unit_tests: do not rethrow a copy of an exception (moneromooo-monero) 5d9915ab cryptonote: fix get_unit for non default settings (moneromooo-monero) d4f50cb1 remove some unused code (moneromooo-monero) 61163971 a few minor (but easy) performance tweaks (moneromooo-monero) 30023074 tests: slow_memmem now returns size_t (moneromooo-monero)
| * | | a few minor (but easy) performance tweaksmoneromooo-monero2018-11-231-3/+3
| | | | | | | | | | | | | | | | Found by codacy.com
* | | | move int-util.h to epeemoneromooo-monero2018-12-041-1/+1
| |_|/ |/| |
* | | Merge pull request #4869Riccardo Spagni2018-12-041-1/+1
|\ \ \ | |_|/ |/| | | | | 60f36386 Avoid unnecessary temp block and copy ctor (moneromooo-monero)
| * | Avoid unnecessary temp block and copy ctormoneromooo-monero2018-11-191-1/+1
| | | | | | | | | | | | | | | block already has a default ctor, and the extra object churn due to its innards (vectors, etc) is pointless.
* | | rpc: speedup get_outs.binmoneromooo-monero2018-11-261-8/+26
| |/ |/|
* | tests: add unit tests for get_output_distributionmoneromooo-monero2018-11-161-0/+1
| |
* | blockchain: remove "0 is height" shortcut from get_output_distributionmoneromooo-monero2018-11-161-2/+0
| | | | | | | | This prevents asking for just 0, and the RPC layer already does this
* | Revert "blockchain: simplify output distribution code"moneromooo-monero2018-11-161-2/+7
|/ | | | This reverts commit b2bb9312a75781e714acf3c406634b3d4cded418.
* Merge pull request #4806Riccardo Spagni2018-11-161-1/+2
|\ | | | | | | | | ac23b10f blockchain: fix innocuous difficulty cache inconsistency (moneromooo-monero) 3b14d972 blockchain: use uint64_t for block height, not size_t (moneromooo-monero)
| * blockchain: fix innocuous difficulty cache inconsistencymoneromooo-monero2018-11-051-0/+1
| | | | | | | | This inconsistent state would not actually be used in practice
| * blockchain: use uint64_t for block height, not size_tmoneromooo-monero2018-11-051-1/+1
| | | | | | | | for consistency
* | Merge pull request #4769Riccardo Spagni2018-11-141-10/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5808530f blockchain: remove unused output_scan_worker parameter (moneromooo-monero) 1426209a blockchain: don't run threads if we have just one function to run (moneromooo-monero) 6f7a5fd4 db_lmdb: slight speedup getting array data from the blockchain (moneromooo-monero) 99fbe100 db_lmdb: save some string copies for readonly db keys/values (moneromooo-monero) bf31447e tx_pool: speed up take_tx for transactions from blocks (moneromooo-monero) 4f005a77 tx_pool: remove unnecessary get_transaction_hash (moneromooo-monero) 593ef598 perf_timer: call reserve on new timer array (moneromooo-monero) 6ecc99ad core: avoid unnecessary tx/blob conversions (moneromooo-monero) 00cc1a16 unit_tests: notify test special case for the usual weirdo (moneromooo-monero)
| * | blockchain: remove unused output_scan_worker parametermoneromooo-monero2018-11-041-7/+4
| | |
| * | blockchain: don't run threads if we have just one function to runmoneromooo-monero2018-11-041-1/+1
| | |
| * | core: avoid unnecessary tx/blob conversionsmoneromooo-monero2018-11-011-2/+2
| |/
* / core: fix unmixable special case allowing ring size below 11moneromooo-monero2018-10-271-1/+1
|/
* Merge pull request #4536Riccardo Spagni2018-10-261-15/+14
|\ | | | | | | fd62b6e7 blocks: use auto-generated .c files instead of 'LD -r -b binary' (xiphon)
| * blocks: use auto-generated .c files instead of 'LD -r -b binary'xiphon2018-10-221-15/+14
| |
* | Merge pull request #4408Riccardo Spagni2018-10-261-0/+9
|\ \ | | | | | | | | | 341b3931 cryptonote_core: warn when the block rate deviates from expectations (moneromooo-monero)
| * | cryptonote_core: warn when the block rate deviates from expectationsmoneromooo-monero2018-09-201-0/+9
| | | | | | | | | | | | | | | The warning threshold is set to allow a false positive every ten days on average.
* | | Merge pull request #4522Riccardo Spagni2018-10-201-0/+3
|\ \ \ | | | | | | | | | | | | a39c0358 blockchain: add check test options are given for fakechain mode (moneromooo-monero)
| * | | blockchain: add check test options are given for fakechain modemoneromooo-monero2018-10-081-0/+3
| | | | | | | | | | | | | | | | Coverity 188616
* | | | blockchain: move two new verification errors to the verify categorymoneromooo-monero2018-10-191-2/+2
| |_|/ |/| | | | | | | | Lest we get people get scared again
* | | Revert "Merge pull request #4472"Riccardo Spagni2018-10-081-14/+15
|/ / | | | | | | | | This reverts commit 79d46c4d551a9b1261801960095bf4d24967211a, reversing changes made to c9fc61dbb56cca442c775faa2554a7460879b637.
* | blocks: use auto-generated .c files instead of 'LD -r -b binary'xiphon2018-10-041-15/+14
| |
* | Merge pull request #4467Riccardo Spagni2018-10-021-2/+2
|\ \ | | | | | | | | | fa942ef6 daemon: silence daemon update warnings on testnet (iDunk5400)
| * | daemon: silence daemon update warnings on testnetiDunk54002018-09-291-2/+2
| | |
* | | Merge pull request #4333Riccardo Spagni2018-09-291-0/+5
|/ / | | | | | | 73403004 add --block-notify to monerod and --tx-notify to monero-wallet-{cli,rpc} (moneromooo-monero)
* | Merge pull request #4423v0.13.0.0-RC1Riccardo Spagni2018-09-251-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 357441a2 add checkpoints for testnet and mainnet (Riccardo Spagni) d9f666d7 update checkpoints.dat (Riccardo Spagni) 6b1b4e83 update version to 13.0 (Riccardo Spagni) 6f153533 update readme with v13.0 (Riccardo Spagni)
| * | update checkpoints.datRiccardo Spagni2018-09-231-1/+1
| | |
* | | blockchain: add stagenet v8 and v9, two weeks before mainnetmoneromooo-monero2018-09-241-0/+2
|/ /
* | Merge pull request #4369Riccardo Spagni2018-09-211-7/+2
|\ \ | |/ |/| | | | | b2bb9312 blockchain: simplify output distribution code (moneromooo-monero) befdcbf4 db_lmdb: do not use base for cumulative distribution (moneromooo-monero)
| * blockchain: simplify output distribution codemoneromooo-monero2018-09-121-7/+2
| |
* | Merge pull request #4325Riccardo Spagni2018-09-181-0/+6
|\ \ | | | | | | | | | 4e1e9a60 blockchain: add mainnet v8 height targetting 18 october (moneromooo-monero)
| * | blockchain: add mainnet v8 height targetting 18 octobermoneromooo-monero2018-09-021-0/+6
| | | | | | | | | | | | and v9 a day later
* | | remove obsolete daemon selection of fake outs and old tx constructionmoneromooo-monero2018-09-141-242/+0
| |/ |/|