Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-01-16 | Merge pull request #5032 | Riccardo Spagni | 1 | -7/+5 | |
5ee6f037 blockchain: fix wrong hf version when popping multiple blocks (moneromooo-monero) 634d359a blockchain: use the version passed as parameter, not a new one (moneromooo-monero) 94a375d5 hardfork: remove batch transactions setup (moneromooo-monero) | |||||
2019-01-16 | Merge pull request #5015 | Riccardo Spagni | 2 | -59/+5 | |
6f2081f8 cryptonote_core: revert extra_tx_map (moneromooo-monero) | |||||
2019-01-16 | Merge pull request #4993 | Riccardo Spagni | 1 | -1/+3 | |
b8342dd5 blockchain: fix block rate check for empty blockchains (moneromooo-monero) | |||||
2019-01-16 | Merge pull request #4984 | Riccardo Spagni | 4 | -8/+25 | |
008647d7 blockchain_db: speedup tx output gathering (moneromooo-monero) | |||||
2019-01-01 | blockchain: fix wrong hf version when popping multiple blocks | moneromooo-monero | 1 | -6/+4 | |
Since we keep track of the hf version in the db, we pick it up from there instead of doing the full reorg call, which is quite expensive | |||||
2019-01-01 | blockchain: use the version passed as parameter, not a new one | moneromooo-monero | 1 | -1/+1 | |
2018-12-31 | Merge pull request #4946 | luigi1111 | 1 | -8/+15 | |
6644b9b blockchain_db: remove a couple unused functions (moneromooo-monero) ce594f5 blockchain_db: allocate known size vector only once (moneromooo-monero) 8332698 db_lmdb: inline check_open, it's trivial and called everywhere (moneromooo-monero) 5511563 db_lmdb: avoid pointless division (moneromooo-monero) d1efe3d cryptonote: set tx hash on newly parsed txes when known (moneromooo-monero) 9cc68a2 tx_pool: add a few std::move where it can make a difference (moneromooo-monero) | |||||
2018-12-31 | Merge pull request #4940 | luigi1111 | 2 | -7/+15 | |
9e64a71 blockchain: call deinit in dtor (moneromooo-monero) | |||||
2018-12-31 | Merge pull request #4928 | luigi1111 | 1 | -5/+3 | |
affff94 blockchain: fix race between two external mining threads (moneromooo-monero) | |||||
2018-12-25 | cryptonote_core: revert extra_tx_map | moneromooo-monero | 2 | -59/+5 | |
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. | |||||
2018-12-18 | blockchain: fix block rate check for empty blockchains | moneromooo-monero | 1 | -1/+3 | |
2018-12-18 | blockchain_db: speedup tx output gathering | moneromooo-monero | 4 | -8/+25 | |
We know all the data we'll want for getblocks.bin is contiguous | |||||
2018-12-12 | Merge pull request #4923 | Riccardo Spagni | 1 | -0/+1 | |
aba9a9c2 daemon: stop miner before we bring the whole thing down (moneromooo-monero) | |||||
2018-12-12 | Merge pull request #4920 | Riccardo Spagni | 1 | -5/+4 | |
e98ae34e core: fix adding new pre-hoh block when a tx is already in the pool (moneromooo-monero) | |||||
2018-12-12 | Merge pull request #4909 | Riccardo Spagni | 2 | -35/+86 | |
756684bb blockchain: avoid unnecessary DB lookups when syncing (moneromooo-monero) | |||||
2018-12-12 | Merge pull request #4903 | Riccardo Spagni | 2 | -0/+39 | |
dc1c1252 add command pop_blocks (Jason Wong) | |||||
2018-12-12 | Merge pull request #4787 | Riccardo Spagni | 2 | -1/+17 | |
3dba7f25 protocol: option to pad transaction relay to the next kB (moneromooo-monero) | |||||
2018-12-05 | tx_pool: add a few std::move where it can make a difference | moneromooo-monero | 1 | -3/+4 | |
2018-12-05 | cryptonote: set tx hash on newly parsed txes when known | moneromooo-monero | 1 | -5/+11 | |
2018-12-05 | blockchain: call deinit in dtor | moneromooo-monero | 2 | -7/+15 | |
This ensures the io service that runs in another thread cannot access data after it's deleted | |||||
2018-12-04 | Merge pull request #4894 | Riccardo Spagni | 5 | -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) | |||||
2018-12-04 | move int-util.h to epee | moneromooo-monero | 2 | -2/+2 | |
2018-12-04 | Merge pull request #4869 | Riccardo Spagni | 1 | -1/+1 | |
60f36386 Avoid unnecessary temp block and copy ctor (moneromooo-monero) | |||||
2018-12-04 | Merge pull request #4854 | Riccardo Spagni | 2 | -4/+0 | |
bd98e99c Removed a lot of unnecessary includes (Martijn Otto) | |||||
2018-12-02 | blockchain: fix race between two external mining threads | moneromooo-monero | 1 | -5/+3 | |
2018-11-30 | daemon: stop miner before we bring the whole thing down | moneromooo-monero | 1 | -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). | |||||
2018-11-28 | add command pop_blocks | Jason Wong | 2 | -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 | |||||
2018-11-27 | blockchain: avoid unnecessary DB lookups when syncing | moneromooo-monero | 2 | -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. | |||||
2018-11-26 | core: fix adding new pre-hoh block when a tx is already in the pool | moneromooo-monero | 1 | -5/+4 | |
2018-11-26 | rpc: speedup get_outs.bin | moneromooo-monero | 1 | -8/+26 | |
2018-11-23 | remove some unused code | moneromooo-monero | 2 | -8/+3 | |
Found by codacy.com | |||||
2018-11-23 | a few minor (but easy) performance tweaks | moneromooo-monero | 3 | -9/+9 | |
Found by codacy.com | |||||
2018-11-19 | Avoid unnecessary temp block and copy ctor | moneromooo-monero | 1 | -1/+1 | |
block already has a default ctor, and the extra object churn due to its innards (vectors, etc) is pointless. | |||||
2018-11-16 | tests: add unit tests for get_output_distribution | moneromooo-monero | 1 | -0/+1 | |
2018-11-16 | blockchain: remove "0 is height" shortcut from get_output_distribution | moneromooo-monero | 1 | -2/+0 | |
This prevents asking for just 0, and the RPC layer already does this | |||||
2018-11-16 | Revert "blockchain: simplify output distribution code" | moneromooo-monero | 1 | -2/+7 | |
This reverts commit b2bb9312a75781e714acf3c406634b3d4cded418. | |||||
2018-11-16 | Merge pull request #4806 | Riccardo Spagni | 1 | -1/+2 | |
ac23b10f blockchain: fix innocuous difficulty cache inconsistency (moneromooo-monero) 3b14d972 blockchain: use uint64_t for block height, not size_t (moneromooo-monero) | |||||
2018-11-16 | Merge pull request #4768 | Riccardo Spagni | 1 | -3/+2 | |
cf552c75 tx_pool: allow take_tx to work without m_txs_by_fee_and_receive_time (moneromooo-monero) | |||||
2018-11-16 | Merge pull request #4765 | Riccardo Spagni | 1 | -1/+1 | |
09dbd9cb tx_pool: fix comment about transaction_prefix (moneromooo-monero) | |||||
2018-11-15 | Removed a lot of unnecessary includes | Martijn Otto | 2 | -4/+0 | |
2018-11-14 | Merge pull request #4769 | Riccardo Spagni | 6 | -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) | |||||
2018-11-06 | Merge pull request #4735 | Riccardo Spagni | 1 | -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) | |||||
2018-11-06 | protocol: option to pad transaction relay to the next kB | moneromooo-monero | 2 | -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. | |||||
2018-11-05 | blockchain: fix innocuous difficulty cache inconsistency | moneromooo-monero | 1 | -0/+1 | |
This inconsistent state would not actually be used in practice | |||||
2018-11-05 | blockchain: use uint64_t for block height, not size_t | moneromooo-monero | 1 | -1/+1 | |
for consistency | |||||
2018-11-05 | cryptonote_core: avoid gratuitous recalculations in check_block_rate() | xiphon | 1 | -1/+2 | |
2018-11-04 | Merge pull request #4688 | Riccardo Spagni | 1 | -3/+3 | |
5a2e54a1 Fix prune using receive time as tx_weight (doy-lee) | |||||
2018-11-04 | Merge pull request #4683 | Riccardo Spagni | 1 | -2/+2 | |
3a85af40 core: fix handle_incoming_tx* comment about return value (moneromooo-monero) | |||||
2018-11-04 | blockchain: remove unused output_scan_worker parameter | moneromooo-monero | 2 | -10/+5 | |
2018-11-04 | blockchain: don't run threads if we have just one function to run | moneromooo-monero | 1 | -1/+1 | |
2018-11-01 | cryptonote_core: fix build error gcc 5.4.0 'sign-compare' | xiphon | 1 | -1/+1 | |
2018-11-01 | tx_pool: speed up take_tx for transactions from blocks | moneromooo-monero | 2 | -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. | |||||
2018-11-01 | tx_pool: remove unnecessary get_transaction_hash | moneromooo-monero | 1 | -4/+3 | |
2018-11-01 | core: avoid unnecessary tx/blob conversions | moneromooo-monero | 6 | -14/+17 | |
2018-10-31 | tx_pool: allow take_tx to work without m_txs_by_fee_and_receive_time | moneromooo-monero | 1 | -3/+2 | |
This should make it possible to have two daemons running on the same database again. | |||||
2018-10-31 | tx_pool: fix comment about transaction_prefix | moneromooo-monero | 1 | -1/+1 | |
It was leftover from a change that was undone before commit, but the comment change was let through | |||||
2018-10-27 | core: fix unmixable special case allowing ring size below 11 | moneromooo-monero | 1 | -1/+1 | |
2018-10-26 | Merge pull request #4536 | Riccardo Spagni | 5 | -27/+34 | |
fd62b6e7 blocks: use auto-generated .c files instead of 'LD -r -b binary' (xiphon) | |||||
2018-10-26 | Merge pull request #4408 | Riccardo Spagni | 4 | -0/+69 | |
341b3931 cryptonote_core: warn when the block rate deviates from expectations (moneromooo-monero) | |||||
2018-10-26 | Merge pull request #4308 | Riccardo Spagni | 1 | -0/+6 | |
9907ea06 cryptonote: sort tx_extra fields (moneromooo-monero) | |||||
2018-10-23 | Fix prune using receive time as tx_weight | doy-lee | 1 | -3/+3 | |
2018-10-22 | blocks: use auto-generated .c files instead of 'LD -r -b binary' | xiphon | 5 | -27/+34 | |
2018-10-21 | core: fix handle_incoming_tx* comment about return value | moneromooo-monero | 1 | -2/+2 | |
2018-10-20 | Merge pull request #4522 | Riccardo Spagni | 1 | -0/+3 | |
a39c0358 blockchain: add check test options are given for fakechain mode (moneromooo-monero) | |||||
2018-10-20 | Merge pull request #4666 | Riccardo Spagni | 1 | -2/+2 | |
cf75ee72 blockchain: move two new verification errors to the verify category (moneromooo-monero) | |||||
2018-10-20 | Merge pull request #4637 | Riccardo Spagni | 1 | -1/+6 | |
c39e0a17 core: don't verify range proofs multiple times (moneromooo-monero) | |||||
2018-10-19 | blockchain: move two new verification errors to the verify category | moneromooo-monero | 1 | -2/+2 | |
Lest we get people get scared again | |||||
2018-10-18 | tx_pool: revert #4592 and move bin2hex conversion to on_get_transaction_pool | stoffu | 1 | -1/+1 | |
2018-10-17 | core: don't verify range proofs multiple times | moneromooo-monero | 1 | -1/+6 | |
2018-10-15 | Merge pull request #4389 | Riccardo Spagni | 2 | -32/+32 | |
6844ae1b tx_pool: avoid parsing a whole tx if only the prefix is needed (moneromooo-monero) | |||||
2018-10-15 | tx_pool: store hex string instead of raw binary to tx_blob of ↵ | stoffu | 1 | -1/+1 | |
get_transaction_pool RPC Inspired by https://github.com/masari-project/masari/issues/93 | |||||
2018-10-08 | Revert "Merge pull request #4472" | Riccardo Spagni | 5 | -34/+27 | |
This reverts commit 79d46c4d551a9b1261801960095bf4d24967211a, reversing changes made to c9fc61dbb56cca442c775faa2554a7460879b637. | |||||
2018-10-08 | blockchain: add check test options are given for fakechain mode | moneromooo-monero | 1 | -0/+3 | |
Coverity 188616 | |||||
2018-10-08 | tx_pool: avoid parsing a whole tx if only the prefix is needed | moneromooo-monero | 2 | -32/+32 | |
2018-10-07 | cryptonote: sort tx_extra fields | moneromooo-monero | 1 | -0/+6 | |
This removes some small amount of fingerprinting entropy. There is no consensus rule to require this since this field is technically free form, and a transaction is free to have custom data in it. | |||||
2018-10-04 | blocks: use auto-generated .c files instead of 'LD -r -b binary' | xiphon | 5 | -27/+34 | |
2018-10-02 | Merge pull request #4476 | Riccardo Spagni | 1 | -1/+1 | |
fa9e54b6 build: fix gcc false positive 'stringop-overflow' warning (xiphon) | |||||
2018-10-02 | Merge pull request #4467 | Riccardo Spagni | 1 | -2/+2 | |
fa942ef6 daemon: silence daemon update warnings on testnet (iDunk5400) | |||||
2018-09-30 | build: fix gcc false positive 'stringop-overflow' warning | xiphon | 1 | -1/+1 | |
2018-09-29 | Merge pull request #4333 | Riccardo Spagni | 3 | -0/+33 | |
73403004 add --block-notify to monerod and --tx-notify to monero-wallet-{cli,rpc} (moneromooo-monero) | |||||
2018-09-29 | daemon: silence daemon update warnings on testnet | iDunk5400 | 1 | -2/+2 | |
2018-09-25 | Merge pull request #4423v0.13.0.0-RC1 | Riccardo Spagni | 1 | -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) | |||||
2018-09-25 | Merge pull request #4435 | Riccardo Spagni | 1 | -0/+1 | |
c39ad0cd tx_pool: fix tx removal at startup keeping references (moneromooo-monero) | |||||
2018-09-25 | tx_pool: fix tx removal at startup keeping references | moneromooo-monero | 1 | -0/+1 | |
2018-09-24 | blockchain: add stagenet v8 and v9, two weeks before mainnet | moneromooo-monero | 1 | -0/+2 | |
2018-09-23 | update checkpoints.dat | Riccardo Spagni | 1 | -1/+1 | |
2018-09-21 | Merge pull request #4378 | Riccardo Spagni | 2 | -1/+18 | |
ac934663 rpc: add a "is an update available" flag in get_info (moneromooo-monero) | |||||
2018-09-21 | Merge pull request #4369 | Riccardo Spagni | 1 | -7/+2 | |
b2bb9312 blockchain: simplify output distribution code (moneromooo-monero) befdcbf4 db_lmdb: do not use base for cumulative distribution (moneromooo-monero) | |||||
2018-09-20 | cryptonote_core: warn when the block rate deviates from expectations | moneromooo-monero | 4 | -0/+69 | |
The warning threshold is set to allow a false positive every ten days on average. | |||||
2018-09-18 | Merge pull request #4325 | Riccardo Spagni | 1 | -0/+6 | |
4e1e9a60 blockchain: add mainnet v8 height targetting 18 october (moneromooo-monero) | |||||
2018-09-14 | Merge pull request #4372 | Riccardo Spagni | 1 | -1/+1 | |
1660b0e7 tx_pool: make the max tx size a consensus rule from v8 (moneromooo-monero) | |||||
2018-09-14 | remove obsolete daemon selection of fake outs and old tx construction | moneromooo-monero | 4 | -328/+0 | |
2018-09-14 | rpc: add a "is an update available" flag in get_info | moneromooo-monero | 2 | -1/+18 | |
Make it easier for a user to be told when to update | |||||
2018-09-13 | tx_pool: make the max tx size a consensus rule from v8 | moneromooo-monero | 1 | -1/+1 | |
2018-09-12 | blockchain: simplify output distribution code | moneromooo-monero | 1 | -7/+2 | |
2018-09-11 | blockchain: add a testnet v9 a day after v8 | moneromooo-monero | 1 | -0/+1 | |
So that bulletproofs become mandatory | |||||
2018-09-11 | v8: per byte fee, pad bulletproofs, fixed 11 ring size | moneromooo-monero | 8 | -327/+356 | |
2018-09-11 | require canonical multi output bulletproof layout | moneromooo-monero | 1 | -0/+29 | |
2018-09-11 | Bulletproof aggregated verification and tests | moneromooo-monero | 4 | -51/+149 | |
Also constrains bulletproofs to simple rct, for simplicity | |||||
2018-09-11 | bulletproofs: add aggregated verification | moneromooo-monero | 2 | -2/+2 | |
Ported from sarang's java code | |||||
2018-09-11 | bulletproofs: add multi output bulletproofs to rct | moneromooo-monero | 3 | -8/+24 | |
2018-09-04 | Merge pull request #4276 | luigi1111 | 1 | -7/+1 | |
48a7bc4 tx_pool: fix infinite loop when failing to find a meta record (moneromooo-monero) | |||||
2018-09-04 | Merge pull request #4268 | luigi1111 | 1 | -0/+3 | |
1f2409e Do memwipe for critical secret keys copied to rct::key (stoffu) | |||||
2018-09-02 | blockchain: add mainnet v8 height targetting 18 october | moneromooo-monero | 1 | -0/+6 | |
and v9 a day later | |||||
2018-08-22 | Merge pull request #4240 | luigi1111 | 1 | -1/+1 | |
83f5587 blockchain: use uint64_t for height, not size_t (moneromooo-monero) | |||||
2018-08-22 | Merge pull request #4204 | luigi1111 | 3 | -14/+35 | |
b278b83 core: sync database based on bytes added, not blocks added (moneromooo-monero) | |||||
2018-08-19 | tx_pool: fix infinite loop when failing to find a meta record | moneromooo-monero | 1 | -7/+1 | |
2018-08-16 | Do memwipe for critical secret keys copied to rct::key | stoffu | 1 | -0/+3 | |
2018-08-16 | core: cache block template where possible | moneromooo-monero | 4 | -2/+94 | |
This avoids constant rechecking of the same things each time a miner asks for the block template. The tx pool maintains a cookie to allow users to detect when the pool state changed, which means the block template needs rebuilding. | |||||
2018-08-15 | Merge pull request #4164 | luigi1111 | 1 | -15/+19 | |
8e24533 blockchain: some batch tx scanning speedup (moneromooo-monero) | |||||
2018-08-12 | core: sync database based on bytes added, not blocks added | moneromooo-monero | 3 | -14/+35 | |
Blocks have a very wide range, whereas actual size is the relevant quantity to consider when syncing | |||||
2018-08-09 | blockchain: use uint64_t for height, not size_t | moneromooo-monero | 1 | -1/+1 | |
2018-07-27 | Merge pull request #4108 | luigi1111 | 1 | -0/+1 | |
8c05237 blockchain: cache next block difficulty after adding a block (moneromooo-monero) | |||||
2018-07-21 | blockchain: some batch tx scanning speedup | moneromooo-monero | 1 | -15/+19 | |
2018-07-19 | Merge pull request #4081 | luigi1111 | 1 | -1/+2 | |
d95bc44 blockchain: fix getting invalid block data on failure (moneromooo-monero) | |||||
2018-07-19 | Merge pull request #4076 | luigi1111 | 1 | -0/+2 | |
aa0ea0a blockchain: set the m_verifivation_failed flag in a couple more places (moneromooo-monero) | |||||
2018-07-19 | Merge pull request #4047 | luigi1111 | 2 | -6/+35 | |
41b4bf9 tx_pool: cache check_tx_inputs results (moneromooo-monero) | |||||
2018-07-19 | Merge pull request #3981 | luigi1111 | 1 | -5/+34 | |
45e419b db: store cumulative rct output distribution in the db for speed (moneromooo-monero) | |||||
2018-07-19 | Merge pull request #3973 | luigi1111 | 2 | -6/+7 | |
50af357 alt_chain_info can now give more info about a particular alt chain (moneromooo-monero) | |||||
2018-07-19 | Merge pull request #3854 | luigi1111 | 4 | -4/+87 | |
149da42 db_lmdb: enable batch transactions by default (stoffu) 34cb6b4 add --regtest and --fixed-difficulty for regression testing (vicsn) 9e1403e update get_info RPC and bump RPC version (vicsn) 207b66e first new functional tests (vicsn) | |||||
2018-07-13 | db: store cumulative rct output distribution in the db for speed | moneromooo-monero | 1 | -5/+34 | |
This gets rid of the temporary precalc cache. Also make the RPC able to send data back in binary or JSON, since there can be a lot of data This bumps the LMDB database format to v3, with migration. | |||||
2018-07-07 | blockchain: cache next block difficulty after adding a block | moneromooo-monero | 1 | -0/+1 | |
It's not 100% certain it'll be needed, but it avoids getinfo needing the blockchain lock and potentially blocking | |||||
2018-06-29 | blockchain: fix getting invalid block data on failure | moneromooo-monero | 1 | -1/+2 | |
2018-06-29 | add --regtest and --fixed-difficulty for regression testing | victorsintnicolaas | 4 | -4/+87 | |
on_generateblocks RPC call combines functionality from the on_getblocktemplate and on_submitblock RPC calls to allow rapid block creation. Difficulty is set permanently to 1 for regtest. Makes use of FAKECHAIN network type, but takes hard fork heights from mainchain Default reserve_size in generate_blocks RPC call is now 1. If it is 0, the following error occurs 'Failed to calculate offset for'. Queries hard fork heights info of other network types | |||||
2018-06-28 | blockchain: set the m_verifivation_failed flag in a couple more places | moneromooo-monero | 1 | -0/+2 | |
when a block being added to the main chain is invalid. This ensures the peer is banned after a number of these. | |||||
2018-06-28 | blockchain: fix build after waiter::wait prototype change | moneromooo-monero | 1 | -1/+1 | |
2018-06-27 | Merge pull request #3986 | luigi1111 | 1 | -2/+2 | |
b628503 Remove old logic saved in comments. (jeandudey) | |||||
2018-06-27 | Merge pull request #3982 | luigi1111 | 1 | -12/+1 | |
08b85a8 cryptonote_config: add get_config to refactor x = testnet ? config::testnet::X : stagenet ? config::stagenet::X : config::X (stoffu) 0cf80ba net_node: resolve host for node addresses given via command line flags (stoffu) | |||||
2018-06-27 | Merge pull request #3716 | luigi1111 | 6 | -104/+140 | |
a2b557f 6795bd0 209ec96 ed2c81e a830db2 57ea902 31a895e ba8331c f7f1917 41be339 f025ae9 ef2cb63 dcfd299 5d3e702 2704624 2771a18 0e4c7d0 (moneromooo-monero) | |||||
2018-06-26 | threadpool: allow leaf functions to run concurrently | moneromooo-monero | 2 | -8/+8 | |
Decrease the number of worker threads by one to account for the fact the calling thread acts as a worker thread now | |||||
2018-06-26 | blockchain: simplify/speedup handle_get_objects | moneromooo-monero | 1 | -13/+8 | |
2018-06-26 | rpc: rework to avoid repeated calculations in get_blocks.bin | moneromooo-monero | 4 | -10/+19 | |
2018-06-26 | replace std::list with std::vector on some hot paths | moneromooo-monero | 6 | -76/+108 | |
also use reserve where appropriate | |||||
2018-06-26 | alt_chain_info can now give more info about a particular alt chain | moneromooo-monero | 2 | -6/+7 | |
2018-06-25 | Merge pull request #3975 | luigi1111 | 1 | -1/+1 | |
2d5921e blockchain: avoid duplicate db query for height (moneromooo-monero) | |||||
2018-06-25 | Merge pull request #3936 | luigi1111 | 1 | -0/+2 | |
d81e042 tx_pool: initialize bitflags padding since it gets written to storage (moneromooo-monero) | |||||
2018-06-24 | tx_pool: cache check_tx_inputs results | moneromooo-monero | 2 | -6/+35 | |
This is called a lot when creating a block template, and does not change until the blockchain changes. This also avoids tx parsing when cached. | |||||
2018-06-20 | Merge pull request #3919 | luigi1111 | 1 | -1/+1 | |
ace2eda blockchain: pop forked blocks only when DB is not read-only (stoffu) | |||||
2018-06-20 | Merge pull request #3904 | luigi1111 | 1 | -6/+13 | |
4f3a4fb blockchain: return error when requesting non existent output (moneromooo-monero) | |||||
2018-06-20 | Merge pull request #3903 | luigi1111 | 2 | -12/+35 | |
2b0c632 tx_pool: hold off parsing a tx blob till we actually need it (moneromooo-monero) | |||||
2018-06-19 | Merge pull request #3828 | luigi1111 | 1 | -0/+1 | |
16e209e core: lock incoming tx lock when checking the txpool and chain (moneromooo-monero) | |||||
2018-06-17 | Merge pull request #3691 | luigi1111 | 2 | -6/+3 | |
db55263 threadpool: allow constructing an object, and misc tweaks (moneromooo-monero) ce173cb core: remove threadpool dependency from header (moneromooo-monero) 3147468 unit_tests: add threadpool unit test (moneromooo-monero) | |||||
2018-06-16 | Merge pull request #3732 | luigi1111 | 1 | -1/+1 | |
fa0839f Ensure m_timestamps has the correct number for computing difficulty. (thaerkh) | |||||
2018-06-16 | Merge pull request #3726 | luigi1111 | 1 | -8/+11 | |
b5cb1bc blockchain: avoid exception if asked for a block we do not have (moneromooo-monero) | |||||
2018-06-12 | Merge pull request #3687 | luigi1111 | 1 | -3/+3 | |
6b13976 blockchain: log in DEBUG when a block is found, and where (moneromooo-monero) | |||||
2018-06-11 | Remove old logic saved in comments. | Jean Pierre Dudey | 1 | -2/+2 | |
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com> | |||||
2018-06-11 | cryptonote_config: add get_config to refactor x = testnet ? ↵ | stoffu | 1 | -12/+1 | |
config::testnet::X : stagenet ? config::stagenet::X : config::X | |||||
2018-06-09 | blockchain: avoid duplicate db query for height | moneromooo-monero | 1 | -1/+1 | |
2018-06-08 | Merge pull request #3908 | luigi1111 | 1 | -1/+1 | |
827ca3f bump version for 0.12.2 point release (fluffypony) 95ccf50 update checkpoints.dat for point release (fluffypony) | |||||
2018-06-08 | Merge pull request #3450 | luigi1111 | 3 | -0/+19 | |
3b941be core: add get_earliest_ideal_height_for_version() (stoffu) | |||||
2018-06-07 | Merge pull request #3940 | luigi1111 | 1 | -8/+12 | |
f24cbc5 blockchain: fix deadlock with the difficulty cache (moneromooo-monero) | |||||
2018-06-06 | blockchain: fix deadlock with the difficulty cache | moneromooo-monero | 1 | -8/+12 | |
2018-06-05 | tx_pool: initialize bitflags padding since it gets written to storage | moneromooo-monero | 1 | -0/+2 | |
Avoids valgrind reporting uninitialized data usage | |||||
2018-06-04 | blockchain: pop forked blocks only when DB is not read-only | stoffu | 1 | -1/+1 | |
2018-06-02 | blockchain: demote a hash-of-hashes validation warning to debug | moneromooo-monero | 1 | -1/+1 | |
This data comes from untrusted peers, and validation failures are therefore normal. | |||||
2018-06-02 | update checkpoints.dat for point release | Riccardo Spagni | 1 | -1/+1 | |
2018-06-02 | tx_pool: hold off parsing a tx blob till we actually need it | moneromooo-monero | 2 | -12/+35 | |
2018-06-01 | blockchain: return error when requesting non existent output | moneromooo-monero | 1 | -6/+13 | |
avoids RPC thread dying, causing the wallet to timeout | |||||
2018-05-30 | Merge pull request #3525 | luigi1111 | 1 | -0/+1 | |
66a659b blockchain: add scope guard to waiter for threaded txv1 verification (stoffu) | |||||
2018-05-30 | Merge pull request #3876 | luigi1111 | 1 | -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) | |||||
2018-05-30 | Merge pull request #3731 | luigi1111 | 2 | -6/+15 | |
a66f152 Use median timestamp if current time renders a block invalid. (thaerkh) | |||||
2018-05-29 | Merge pull request #3251 | luigi1111 | 4 | -12/+18 | |
b9389e5 db_lmdb: save pruned and prunable tx data separately (moneromooo-monero) | |||||
2018-05-29 | Merge pull request #3446 | luigi1111 | 1 | -4/+0 | |
a6b8d3f tx_pool: remove old comment from fill_block_template() (stoffu) | |||||
2018-05-29 | Merge pull request #3420 | luigi1111 | 2 | -3/+22 | |
a6a54fa blockchain: cache difficulty for next block (moneromooo-monero) | |||||
2018-05-28 | core: fix automatic safe db sync mode switching | moneromooo-monero | 1 | -5/+6 | |
2018-05-28 | tx_pool: remove old comment from fill_block_template() | stoffu | 1 | -4/+0 | |
2018-05-23 | db_lmdb: save pruned and prunable tx data separately | moneromooo-monero | 4 | -12/+18 | |
This bumps DB version to 2, migration code will run for v1 DBs | |||||
2018-05-23 | update checkpoints | Riccardo Spagni | 1 | -1/+1 | |
2018-05-21 | Merge pull request #3787 | Riccardo Spagni | 1 | -0/+6 | |
ce63ab09 blockchain: invalidate misc caches when popping blocks (moneromooo-monero) | |||||
2018-05-21 | Merge pull request #3832 | Riccardo Spagni | 2 | -9/+11 | |
cb9c7972 Fix output shuffling for multisig (stoffu) | |||||
2018-05-21 | speed up get_output_distribution (and precalc common case) | moneromooo-monero | 4 | -22/+8 | |
2018-05-21 | Merge pull request #3749 | Riccardo Spagni | 1 | -0/+47 | |
872cb4ef blockchain: pop top if block version disagrees with the ideal fork version (stoffu) | |||||
2018-05-20 | core: remove threadpool dependency from header | moneromooo-monero | 2 | -6/+3 | |
2018-05-20 | Fix output shuffling for multisig | stoffu | 2 | -9/+11 | |
2018-05-18 | core: lock incoming tx lock when checking the txpool and chain | moneromooo-monero | 1 | -0/+1 | |
This gets rid of an innocuous race trying to add the same tx twice to the txpool | |||||
2018-05-13 | Use median timestamp if current time renders a block invalid. | Thaer Khawaja | 2 | -6/+15 | |
2018-05-09 | blockchain: avoid exception if asked for a block we do not have | moneromooo-monero | 1 | -8/+11 | |
This can happen if a peer tries to obtain the next span from other peers if that span is needed for not downloaded yet. Also if the peer maliciously requests a non existent block hash. | |||||
2018-05-09 | blockchain: invalidate misc caches when popping blocks | moneromooo-monero | 1 | -0/+6 | |
Might be a bit heavy handed, but conservative. | |||||
2018-05-07 | cryptonote: make sure outPk setup always happens | moneromooo-monero | 1 | -33/+0 | |
2018-05-06 | blockchain: pop top if block version disagrees with the ideal fork version | stoffu | 1 | -0/+47 | |
2018-04-29 | Ensure m_timestamps has the correct number for computing difficulty. | Thaer Khawaja | 1 | -1/+1 | |
2018-04-28 | Merge pull request #3683 | Riccardo Spagni | 2 | -0/+12 | |
dad10775 Only log an error if fork version is higher AND is not known. (Thaer Khawaja) | |||||
2018-04-23 | blockchain: log in DEBUG when a block is found, and where | moneromooo-monero | 1 | -3/+3 | |
Eases up debugging | |||||
2018-04-23 | speedup get_output_histogram for all amounts when min_count > 0 | moneromooo-monero | 2 | -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. | |||||
2018-04-22 | Only log an error if fork version is higher AND is not known. | Thaer Khawaja | 2 | -0/+12 | |
2018-04-12 | Merge pull request #3609 | Riccardo Spagni | 1 | -17/+26 | |
08343aba tx_pool: fix loading with colliding key images (moneromooo-monero) | |||||
2018-04-12 | Merge pull request #3530 | Riccardo Spagni | 1 | -2/+3 | |
eb59f7c5 cryptonote_tx_util: make destinations properly shuffled (stoffu) | |||||
2018-04-12 | Merge pull request #3502 | Riccardo Spagni | 1 | -1/+1 | |
11c933e1 fix lambda compile error on openbsd (moneromooo-monero) | |||||
2018-04-11 | tx_pool: fix loading with colliding key images | moneromooo-monero | 1 | -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 | |||||
2018-03-31 | cryptonote_tx_util: make destinations properly shuffled | stoffu | 1 | -2/+3 | |
2018-03-30 | blockchain: add scope guard to waiter for threaded txv1 verification | stoffu | 1 | -0/+1 | |
2018-03-27 | fix lambda compile error on openbsd | moneromooo-monero | 1 | -1/+1 | |
2018-03-24 | update block hashes for checkpoints.dat | Riccardo Spagni | 1 | -1/+1 | |
2018-03-21 | core: add get_earliest_ideal_height_for_version() | stoffu | 3 | -0/+19 | |
2018-03-19 | blockchain: cache difficulty for next block | moneromooo-monero | 2 | -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. | |||||
2018-03-18 | core: fix use of uninitialised data | moneromooo-monero | 1 | -1/+2 | |
2018-03-18 | Move v7 fork to 1546000 to give more update time | moneromooo-monero | 1 | -2/+2 | |
2018-03-17 | Merge pull request #3418 | Riccardo Spagni | 1 | -1/+2 | |
20a00266 blockchain: forbid bulletproof types before v8 (moneromooo-monero) | |||||
2018-03-16 | blockchain: forbid bulletproof types before v8 | moneromooo-monero | 1 | -1/+2 | |
They were already forbidden implicitely, but let's make that explicit for robustness | |||||
2018-03-16 | Merge pull request #3414 | Riccardo Spagni | 1 | -1/+1 | |
524cbdc1 blockchain: fix log message about per-kB fee (stoffu) |