aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
Commit message (Collapse)AuthorAgeFilesLines
...
| * | cryptonote: set tx hash on newly parsed txes when knownmoneromooo-monero2018-12-051-5/+11
| | |
* | | Merge pull request #4940luigi11112018-12-312-7/+15
|\ \ \ | | | | | | | | | | | | 9e64a71 blockchain: call deinit in dtor (moneromooo-monero)
| * | | blockchain: call deinit in dtormoneromooo-monero2018-12-052-7/+15
| |/ / | | | | | | | | | | | | 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 #4923Riccardo Spagni2018-12-121-0/+1
|\ \ \ | | | | | | | | | | | | aba9a9c2 daemon: stop miner before we bring the whole thing down (moneromooo-monero)
| * | | daemon: stop miner before we bring the whole thing downmoneromooo-monero2018-11-301-0/+1
| |/ / | | | | | | | | | | | | | | | This avoids the miner erroring out trying to submit blocks to a core that's already shut down (and avoids pegging the CPU while we're busy shutting down).
* | | Merge pull request #4920Riccardo Spagni2018-12-121-5/+4
|\ \ \ | | | | | | | | | | | | e98ae34e core: fix adding new pre-hoh block when a tx is already in the pool (moneromooo-monero)
| * | | core: fix adding new pre-hoh block when a tx is already in the poolmoneromooo-monero2018-11-261-5/+4
| |/ /
* | | Merge pull request #4909Riccardo Spagni2018-12-122-35/+86
|\ \ \ | | | | | | | | | | | | 756684bb blockchain: avoid unnecessary DB lookups when syncing (moneromooo-monero)
| * | | blockchain: avoid unnecessary DB lookups when syncingmoneromooo-monero2018-11-272-35/+86
| |/ / | | | | | | | | | | | | | | | | | | 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-122-0/+39
|\ \ \ | | | | | | | | | | | | dc1c1252 add command pop_blocks (Jason Wong)
| * | | add command pop_blocksJason Wong2018-11-282-0/+39
| |/ / | | | | | | | | | | | | | | | 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 #4787Riccardo Spagni2018-12-122-1/+17
|\ \ \ | | | | | | | | | | | | 3dba7f25 protocol: option to pad transaction relay to the next kB (moneromooo-monero)
| * | | protocol: option to pad transaction relay to the next kBmoneromooo-monero2018-11-062-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To help protect one's privacy from traffic volume analysis for people using Tor or I2P. This will really fly once we relay txes on a timer rather than on demand, though. Off by default for now since it's wasteful and doesn't bring anything until I2P's in.
* | | | Merge pull request #4894Riccardo Spagni2018-12-045-17/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | remove some unused codemoneromooo-monero2018-11-232-8/+3
| | | | | | | | | | | | | | | | | | | | Found by codacy.com
| * | | | a few minor (but easy) performance tweaksmoneromooo-monero2018-11-233-9/+9
| | | | | | | | | | | | | | | | | | | | Found by codacy.com
* | | | | move int-util.h to epeemoneromooo-monero2018-12-042-2/+2
| |_|_|/ |/| | |
* | | | 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.
* | | | | Merge pull request #4854Riccardo Spagni2018-12-042-4/+0
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | bd98e99c Removed a lot of unnecessary includes (Martijn Otto)
| * | | | Removed a lot of unnecessary includesMartijn Otto2018-11-152-4/+0
| | | | |
* | | | | 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 #4768Riccardo Spagni2018-11-161-3/+2
|\ \ \ \ | | | | | | | | | | | | | | | cf552c75 tx_pool: allow take_tx to work without m_txs_by_fee_and_receive_time (moneromooo-monero)
| * | | | tx_pool: allow take_tx to work without m_txs_by_fee_and_receive_timemoneromooo-monero2018-10-311-3/+2
| | |_|/ | |/| | | | | | | | | | | | | | This should make it possible to have two daemons running on the same database again.
* | | | Merge pull request #4765Riccardo Spagni2018-11-161-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | 09dbd9cb tx_pool: fix comment about transaction_prefix (moneromooo-monero)
| * | | | tx_pool: fix comment about transaction_prefixmoneromooo-monero2018-10-311-1/+1
| |/ / / | | | | | | | | | | | | | | | | It was leftover from a change that was undone before commit, but the comment change was let through
* | | | Merge pull request #4769Riccardo Spagni2018-11-146-29/+39
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-042-10/+5
| | | |
| * | | blockchain: don't run threads if we have just one function to runmoneromooo-monero2018-11-041-1/+1
| | | |
| * | | tx_pool: speed up take_tx for transactions from blocksmoneromooo-monero2018-11-012-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This happens for every historical tx when syncing, and the unnecessary parsing is actually showing up on profile. Since these are kept cached for just one block, this does not increase memory usage after syncing.
| * | | tx_pool: remove unnecessary get_transaction_hashmoneromooo-monero2018-11-011-4/+3
| | | |
| * | | core: avoid unnecessary tx/blob conversionsmoneromooo-monero2018-11-016-14/+17
| |/ /
* | | Merge pull request #4735Riccardo Spagni2018-11-061-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 73e504c1 rpc: adjust ring size error message now that too high is also possible (moneromooo-monero) a5ca7f4f core: fix unmixable special case allowing ring size below 11 (moneromooo-monero)
| * | | core: fix unmixable special case allowing ring size below 11moneromooo-monero2018-10-271-1/+1
| |/ /
* | / cryptonote_core: avoid gratuitous recalculations in check_block_rate()xiphon2018-11-051-1/+2
| |/ |/|
* | Merge pull request #4688Riccardo Spagni2018-11-041-3/+3
|\ \ | | | | | | | | | 5a2e54a1 Fix prune using receive time as tx_weight (doy-lee)
| * | Fix prune using receive time as tx_weightdoy-lee2018-10-231-3/+3
| | |
* | | Merge pull request #4683Riccardo Spagni2018-11-041-2/+2
|\ \ \ | | | | | | | | | | | | 3a85af40 core: fix handle_incoming_tx* comment about return value (moneromooo-monero)
| * | | core: fix handle_incoming_tx* comment about return valuemoneromooo-monero2018-10-211-2/+2
| | | |
* | | | cryptonote_core: fix build error gcc 5.4.0 'sign-compare'xiphon2018-11-011-1/+1
| |_|/ |/| |
* | | Merge pull request #4536Riccardo Spagni2018-10-265-27/+34
|\ \ \ | | | | | | | | | | | | 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-225-27/+34
| | | |