moneromooo-monero
ed2c81ed95
replace std::list with std::vector on some hot paths
...
also use reserve where appropriate
6 years ago
luigi1111
9eb51887b0
Merge pull request #3919
...
ace2eda
blockchain: pop forked blocks only when DB is not read-only (stoffu)
6 years ago
luigi1111
5a221c0e48
Merge pull request #3904
...
4f3a4fb
blockchain: return error when requesting non existent output (moneromooo-monero)
6 years ago
luigi1111
81a2ff768b
Merge pull request #3903
...
2b0c632
tx_pool: hold off parsing a tx blob till we actually need it (moneromooo-monero)
6 years ago
luigi1111
50bc95519e
Merge pull request #3828
...
16e209e
core: lock incoming tx lock when checking the txpool and chain (moneromooo-monero)
6 years ago
luigi1111
cfd66dae4b
Merge pull request #3691
...
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)
6 years ago
luigi1111
fb2b16f10a
Merge pull request #3732
...
fa0839f
Ensure m_timestamps has the correct number for computing difficulty. (thaerkh)
6 years ago
luigi1111
b3363e8e0a
Merge pull request #3726
...
b5cb1bc
blockchain: avoid exception if asked for a block we do not have (moneromooo-monero)
6 years ago
luigi1111
6be2516140
Merge pull request #3687
...
6b13976
blockchain: log in DEBUG when a block is found, and where (moneromooo-monero)
6 years ago
luigi1111
2619d966c6
Merge pull request #3908
...
827ca3f
bump version for 0.12.2 point release (fluffypony)
95ccf50
update checkpoints.dat for point release (fluffypony)
6 years ago
luigi1111
22c8730261
Merge pull request #3450
...
3b941be
core: add get_earliest_ideal_height_for_version() (stoffu)
6 years ago
luigi1111
8a1f0d7d13
Merge pull request #3940
...
f24cbc5
blockchain: fix deadlock with the difficulty cache (moneromooo-monero)
6 years ago
moneromooo-monero
f24cbc5245
blockchain: fix deadlock with the difficulty cache
6 years ago
stoffu
ace2edacb6
blockchain: pop forked blocks only when DB is not read-only
6 years ago
moneromooo-monero
f0322a083a
blockchain: demote a hash-of-hashes validation warning to debug
...
This data comes from untrusted peers, and validation failures
are therefore normal.
6 years ago
Riccardo Spagni
95ccf508cd
update checkpoints.dat for point release
6 years ago
moneromooo-monero
2b0c632f32
tx_pool: hold off parsing a tx blob till we actually need it
6 years ago
moneromooo-monero
4f3a4fb701
blockchain: return error when requesting non existent output
...
avoids RPC thread dying, causing the wallet to timeout
6 years ago
luigi1111
9bc8f76924
Merge pull request #3525
...
66a659b
blockchain: add scope guard to waiter for threaded txv1 verification (stoffu)
6 years ago
luigi1111
a7ea14dc6a
Merge pull request #3876
...
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)
6 years ago
luigi1111
4267a0bb51
Merge pull request #3731
...
a66f152
Use median timestamp if current time renders a block invalid. (thaerkh)
6 years ago
luigi1111
c534fe8d19
Merge pull request #3251
...
b9389e5
db_lmdb: save pruned and prunable tx data separately (moneromooo-monero)
6 years ago
luigi1111
ed72f35e9a
Merge pull request #3446
...
a6b8d3f
tx_pool: remove old comment from fill_block_template() (stoffu)
6 years ago
luigi1111
764340d112
Merge pull request #3420
...
a6a54fa
blockchain: cache difficulty for next block (moneromooo-monero)
6 years ago
moneromooo-monero
740da1ba95
core: fix automatic safe db sync mode switching
6 years ago
stoffu
a6b8d3fee1
tx_pool: remove old comment from fill_block_template()
6 years ago
moneromooo-monero
b9389e582e
db_lmdb: save pruned and prunable tx data separately
...
This bumps DB version to 2, migration code will run for v1 DBs
6 years ago
Riccardo Spagni
45975fd8eb
update checkpoints
6 years ago
Riccardo Spagni
f794d3b3df
Merge pull request #3787
...
ce63ab09
blockchain: invalidate misc caches when popping blocks (moneromooo-monero)
6 years ago
Riccardo Spagni
709658d166
Merge pull request #3832
...
cb9c7972
Fix output shuffling for multisig (stoffu)
6 years ago
moneromooo-monero
5f8ffca34d
speed up get_output_distribution (and precalc common case)
6 years ago
Riccardo Spagni
791da4343c
Merge pull request #3749
...
872cb4ef
blockchain: pop top if block version disagrees with the ideal fork version (stoffu)
6 years ago
moneromooo-monero
ce173cbb5b
core: remove threadpool dependency from header
6 years ago
stoffu
cb9c7972b6
Fix output shuffling for multisig
6 years ago
moneromooo-monero
16e209e08d
core: lock incoming tx lock when checking the txpool and chain
...
This gets rid of an innocuous race trying to add the same tx
twice to the txpool
6 years ago
Thaer Khawaja
a66f152f75
Use median timestamp if current time renders a block invalid.
6 years ago
moneromooo-monero
b5cb1bc403
blockchain: avoid exception if asked for a block we do not have
...
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.
6 years ago
moneromooo-monero
ce63ab09db
blockchain: invalidate misc caches when popping blocks
...
Might be a bit heavy handed, but conservative.
6 years ago
moneromooo-monero
6f859e4328
cryptonote: make sure outPk setup always happens
6 years ago
stoffu
872cb4efd8
blockchain: pop top if block version disagrees with the ideal fork version
6 years ago
Thaer Khawaja
fa0839f2f5
Ensure m_timestamps has the correct number for computing difficulty.
6 years ago
Riccardo Spagni
2ab5b1a21f
Merge pull request #3683
...
dad10775
Only log an error if fork version is higher AND is not known. (Thaer Khawaja)
6 years ago
moneromooo-monero
6b13976330
blockchain: log in DEBUG when a block is found, and where
...
Eases up debugging
6 years ago
moneromooo-monero
ffeeefde60
speedup get_output_histogram for all amounts when min_count > 0
...
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.
6 years ago
Thaer Khawaja
dad1077577
Only log an error if fork version is higher AND is not known.
6 years ago
Riccardo Spagni
a95461e76d
Merge pull request #3609
...
08343aba
tx_pool: fix loading with colliding key images (moneromooo-monero)
6 years ago
Riccardo Spagni
226de8e928
Merge pull request #3530
...
eb59f7c5
cryptonote_tx_util: make destinations properly shuffled (stoffu)
6 years ago
Riccardo Spagni
5053f8f40b
Merge pull request #3502
...
11c933e1
fix lambda compile error on openbsd (moneromooo-monero)
6 years ago
moneromooo-monero
08343abaf4
tx_pool: fix loading with colliding key images
...
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
6 years ago
stoffu
eb59f7c563
cryptonote_tx_util: make destinations properly shuffled
6 years ago