Commit Graph

1383 Commits (c6c4ead44ee7ecd1959a940564c3fd5c96cf1ba5)

Author SHA1 Message Date
moneromooo-monero ae6885f6b4
blockchain: incremental long term block weight cache
5 years ago
moneromooo-monero 9b687c7873
blockchain: simple cache for the long term block weights
5 years ago
cslashm 98fdcb2aa5 Add support for V11 protocol with BulletProofV2 and short amount.
5 years ago
moneromooo-monero 547a9708de
cryptonote: block parsing + hash calculation speedup
5 years ago
moneromooo-monero 11604b6da6
blockchain: avoid unneeded block copy
5 years ago
moneromooo-monero 8461df0405
save some database calls when getting top block hash and height
5 years ago
moneromooo-monero 3bbc366147
Avoid repeated (de)serialization when syncing
5 years ago
moneromooo-monero 1730a44f90
core: improve block rate monitor trigger probabilities
5 years ago
moneromooo-monero 91f4c7f45f
Make difficulty 128 bit instead of 64 bit
5 years ago
moneromooo-monero e9519e9876
cryptonote: fix calculating coinbase tx hash
5 years ago
Riccardo Spagni 5ac46c5310
Merge pull request #5256
5 years ago
Riccardo Spagni 4c91eb23a0
Merge pull request #5061
5 years ago
moneromooo-monero 77e9815db7
blockchain: do not try to pop the genesis block
5 years ago
moneromooo-monero 4ef3c895a4
blockchain: fix ahead of time PoW batch calc
5 years ago
moneromooo-monero 4b21d38dfd
blockchain: speed up getting N blocks weights/long term weights
5 years ago
Riccardo Spagni 49afbd0c53
Merge pull request #5232
5 years ago
binaryFate 1f2930ce0b Update 2019 copyright
5 years ago
moneromooo-monero 88c85c18e0
cryptonote: avoid double parsing blocks when syncing
5 years ago
moneromooo-monero 238401d4e9
core: avoid double parsing blocks after hoh
5 years ago
moneromooo-monero dc5a76095c
blockchain: avoid unneeded block copy
5 years ago
moneromooo-monero 79b4e9f377
save some database calls when getting top block hash and height
5 years ago
moneromooo-monero 9827880877
blockchain: avoid pointless transaction copy and temporary
5 years ago
moneromooo-monero 07d655e438
blockchain: avoid duplicate block hash computation
5 years ago
moneromooo-monero f75d51abda
core: avoid calculating tx prefix hash when we don't need it
5 years ago
moneromooo-monero b044d03a51
Avoid repeated (de)serialization when syncing
5 years ago
Riccardo Spagni 082149c580
fix merge errors, update recommended version to 0.14.0.2
5 years ago
Riccardo Spagni f3b368c659
update checkpoints hash
5 years ago
moneromooo-monero ef93b0995c
various: remove unused variables
5 years ago
Riccardo Spagni e1a177f0da
Merge pull request #5092
5 years ago
moneromooo-monero 5f67e7f547
blockchain: forbid older BP rct versions from v11
5 years ago
Riccardo Spagni 815c8a48ab
Merge pull request #5174
5 years ago
Riccardo Spagni 8c53ac2dd1
Merge pull request #5132
5 years ago
moneromooo-monero 3dde67d82d
blockchain: add v10 fork heights
5 years ago
moneromooo-monero a17da7202b
Print the reason why a notification spec failed to parse
5 years ago
moneromooo-monero 356d813799
blockchain: include number of discarded blocks in --reorg-notify
5 years ago
moneromooo-monero 4d598e3d4d
core: add a few more block rate window sizes
5 years ago
moneromooo-monero d4fb9641e0
core: add --block-rate-notify
5 years ago
Riccardo Spagni 55305559c1
Merge pull request #5124
5 years ago
moneromooo-monero b8787f4302
ArticMine's new block weight algorithm
5 years ago
cslashm 460da140ec New scheme key destination contrfol
5 years ago
Tom Smeding fec359a641 cryptonote: Fix enum check in expand_transaction_2
5 years ago
Tom Smeding 9bf0e53751 cryptonote: Add const-qualifier on comparison functor
5 years ago
moneromooo-monero 23813c7160
blockchain: add --reorg-notify
5 years ago
moneromooo-monero f6db59b011
notify: handle arbitrary tags
5 years ago
Riccardo Spagni 0daa00e035
Merge pull request #5052
5 years ago
moneromooo-monero eec792764d
blockchain: fix default genesis block timestamp
5 years ago
moneromooo-monero f931e16c6e
add a bulletproof version, new bulletproof type, and rct config
5 years ago
moneromooo-monero b750fb27b0
Pruning
5 years ago
Riccardo Spagni 4e72384318
Merge pull request #5008
5 years ago
Riccardo Spagni 54eb3318e2
Merge pull request #5048
5 years ago
moneromooo-monero c6d387184e
core: include a dummy encrypted payment id when no payment is used
5 years ago
moneromooo-monero b7441c4a32
core, wallet: remember original text version of destination address
5 years ago
moneromooo-monero a9b1c04acf
crptonote_core: do not error out sending unparsable extra field
5 years ago
Riccardo Spagni dc726f4b3b
Merge pull request #5032
5 years ago
Riccardo Spagni a80978e699
Merge pull request #5015
5 years ago
Riccardo Spagni 1f71bfc8d0
Merge pull request #4993
5 years ago
Riccardo Spagni 9d57ee9ff6
Merge pull request #4984
5 years ago
moneromooo-monero a67b77a9eb
blockchain: don't propagate exception past dtor
6 years ago
moneromooo-monero 5ee6f03742
blockchain: fix wrong hf version when popping multiple blocks
6 years ago
moneromooo-monero 634d359a84
blockchain: use the version passed as parameter, not a new one
6 years ago
luigi1111 69e8567c0e
Merge pull request #4946
6 years ago
luigi1111 c7af379d29
Merge pull request #4940
6 years ago
luigi1111 6d3caaff70
Merge pull request #4928
6 years ago
moneromooo-monero 6f2081f867
cryptonote_core: revert extra_tx_map
6 years ago
moneromooo-monero b8342dd52c
blockchain: fix block rate check for empty blockchains
6 years ago
moneromooo-monero 008647d7eb
blockchain_db: speedup tx output gathering
6 years ago
Riccardo Spagni fe3c8c9682
Merge pull request #4923
6 years ago
Riccardo Spagni e19a205ff4
Merge pull request #4920
6 years ago
Riccardo Spagni 83684ea515
Merge pull request #4909
6 years ago
Riccardo Spagni 0fccc78e39
Merge pull request #4903
6 years ago
Riccardo Spagni dde1e69723
Merge pull request #4787
6 years ago
moneromooo-monero 9cc68a2f74
tx_pool: add a few std::move where it can make a difference
6 years ago
moneromooo-monero d1efe3d91c
cryptonote: set tx hash on newly parsed txes when known
6 years ago
moneromooo-monero 9e64a71e7d
blockchain: call deinit in dtor
6 years ago
Riccardo Spagni 81418cb281
Merge pull request #4894
6 years ago
moneromooo-monero ec1a62b50d
move int-util.h to epee
6 years ago
Riccardo Spagni e7d30780de
Merge pull request #4869
6 years ago
Riccardo Spagni c00ac446fd
Merge pull request #4854
6 years ago
moneromooo-monero affff949f9
blockchain: fix race between two external mining threads
6 years ago
moneromooo-monero aba9a9c277
daemon: stop miner before we bring the whole thing down
6 years ago
Jason Wong dc1c12528d add command pop_blocks
6 years ago
moneromooo-monero 756684bb28
blockchain: avoid unnecessary DB lookups when syncing
6 years ago
moneromooo-monero e98ae34e4b
core: fix adding new pre-hoh block when a tx is already in the pool
6 years ago
moneromooo-monero fc98f7a0a1
rpc: speedup get_outs.bin
6 years ago
moneromooo-monero d4f50cb109
remove some unused code
6 years ago
moneromooo-monero 611639710d
a few minor (but easy) performance tweaks
6 years ago
moneromooo-monero 60f36386e4
Avoid unnecessary temp block and copy ctor
6 years ago
moneromooo-monero 31d80027b5
tests: add unit tests for get_output_distribution
6 years ago
moneromooo-monero 0936dae8a4
blockchain: remove "0 is height" shortcut from get_output_distribution
6 years ago
moneromooo-monero 872c7eb26a
Revert "blockchain: simplify output distribution code"
6 years ago
Riccardo Spagni c37c70f459
Merge pull request #4806
6 years ago
Riccardo Spagni 9827958f5e
Merge pull request #4768
6 years ago
Riccardo Spagni e90ee7548c
Merge pull request #4765
6 years ago
Martijn Otto bd98e99c80
Removed a lot of unnecessary includes
6 years ago
Riccardo Spagni 0cc3fc3756
Merge pull request #4769
6 years ago
Riccardo Spagni 299d75b209
Merge pull request #4735
6 years ago
moneromooo-monero 3dba7f252e
protocol: option to pad transaction relay to the next kB
6 years ago
moneromooo-monero ac23b10f15
blockchain: fix innocuous difficulty cache inconsistency
6 years ago
moneromooo-monero 3b14d9727b
blockchain: use uint64_t for block height, not size_t
6 years ago
xiphon b3067962fa cryptonote_core: avoid gratuitous recalculations in check_block_rate()
6 years ago
Riccardo Spagni adf4eb8d50
Merge pull request #4688
6 years ago
Riccardo Spagni 5918ef93f8
Merge pull request #4683
6 years ago
moneromooo-monero 5808530f54
blockchain: remove unused output_scan_worker parameter
6 years ago
moneromooo-monero 1426209a10
blockchain: don't run threads if we have just one function to run
6 years ago
xiphon 233f00c601 cryptonote_core: fix build error gcc 5.4.0 'sign-compare'
6 years ago
moneromooo-monero bf31447e9b
tx_pool: speed up take_tx for transactions from blocks
6 years ago
moneromooo-monero 4f005a77c2
tx_pool: remove unnecessary get_transaction_hash
6 years ago
moneromooo-monero 6ecc99ad1f
core: avoid unnecessary tx/blob conversions
6 years ago
moneromooo-monero cf552c752d
tx_pool: allow take_tx to work without m_txs_by_fee_and_receive_time
6 years ago
moneromooo-monero 09dbd9cbbc
tx_pool: fix comment about transaction_prefix
6 years ago
moneromooo-monero a5ca7f4fb5
core: fix unmixable special case allowing ring size below 11
6 years ago
Riccardo Spagni 056a58d13f
Merge pull request #4536
6 years ago
Riccardo Spagni 557c17e206
Merge pull request #4408
6 years ago
Riccardo Spagni 1c91963dcd
Merge pull request #4308
6 years ago
doy-lee 5a2e54a1cb Fix prune using receive time as tx_weight
6 years ago
xiphon fd62b6e79f blocks: use auto-generated .c files instead of 'LD -r -b binary'
6 years ago
moneromooo-monero 3a85af403d
core: fix handle_incoming_tx* comment about return value
6 years ago
Riccardo Spagni 5c418c0522
Merge pull request #4522
6 years ago
Riccardo Spagni a38299801f
Merge pull request #4666
6 years ago
Riccardo Spagni 93f2c13a39
Merge pull request #4637
6 years ago
moneromooo-monero cf75ee722a
blockchain: move two new verification errors to the verify category
6 years ago
stoffu 776aefdac1
tx_pool: revert #4592 and move bin2hex conversion to on_get_transaction_pool
6 years ago
moneromooo-monero c39e0a1706
core: don't verify range proofs multiple times
6 years ago
Riccardo Spagni c531df734f
Merge pull request #4389
6 years ago
stoffu a677492f1b
tx_pool: store hex string instead of raw binary to tx_blob of get_transaction_pool RPC
6 years ago
Riccardo Spagni ac5674524a
Revert "Merge pull request #4472"
6 years ago
moneromooo-monero a39c035846
blockchain: add check test options are given for fakechain mode
6 years ago
moneromooo-monero 6844ae1b8d
tx_pool: avoid parsing a whole tx if only the prefix is needed
6 years ago
moneromooo-monero 9907ea0694
cryptonote: sort tx_extra fields
6 years ago
xiphon 02d3ef7bda blocks: use auto-generated .c files instead of 'LD -r -b binary'
6 years ago
Riccardo Spagni d1d64327b6
Merge pull request #4476
6 years ago
Riccardo Spagni e2da7c7817
Merge pull request #4467
6 years ago
xiphon fa9e54b6ee build: fix gcc false positive 'stringop-overflow' warning
6 years ago
Riccardo Spagni 83d8f03c23
Merge pull request #4333
6 years ago
iDunk5400 fa942ef610
daemon: silence daemon update warnings on testnet
6 years ago
Riccardo Spagni 8bf5a00564
Merge pull request #4423
6 years ago
Riccardo Spagni 689758d691
Merge pull request #4435
6 years ago
moneromooo-monero c39ad0cd72
tx_pool: fix tx removal at startup keeping references
6 years ago
moneromooo-monero 50981c40ce
blockchain: add stagenet v8 and v9, two weeks before mainnet
6 years ago
Riccardo Spagni d9f666d78c
update checkpoints.dat
6 years ago
Riccardo Spagni 0645dcdbdb
Merge pull request #4378
6 years ago
Riccardo Spagni d6893aedf6
Merge pull request #4369
6 years ago
moneromooo-monero 341b3931ed
cryptonote_core: warn when the block rate deviates from expectations
6 years ago
Riccardo Spagni 22a6591a70
Merge pull request #4325
6 years ago
Riccardo Spagni 3584a852a3
Merge pull request #4372
6 years ago
moneromooo-monero be001326d1
remove obsolete daemon selection of fake outs and old tx construction
6 years ago
moneromooo-monero ac9346637a
rpc: add a "is an update available" flag in get_info
6 years ago
moneromooo-monero 1660b0e72c
tx_pool: make the max tx size a consensus rule from v8
6 years ago
moneromooo-monero b2bb9312a7
blockchain: simplify output distribution code
6 years ago
moneromooo-monero 9137ad2c63
blockchain: add a testnet v9 a day after v8
6 years ago
moneromooo-monero 5ffb2ff9b7
v8: per byte fee, pad bulletproofs, fixed 11 ring size
6 years ago
moneromooo-monero c444b1b229
require canonical multi output bulletproof layout
6 years ago
moneromooo-monero 2a8fcb421b
Bulletproof aggregated verification and tests
6 years ago
moneromooo-monero bacf0a1e2f
bulletproofs: add aggregated verification
6 years ago
moneromooo-monero 9ce9f8caf6
bulletproofs: add multi output bulletproofs to rct
6 years ago
luigi1111 03738fdde1
Merge pull request #4276
6 years ago
luigi1111 5f1bbe3bce
Merge pull request #4268
6 years ago
moneromooo-monero 4e1e9a607e
blockchain: add mainnet v8 height targetting 18 october
6 years ago
luigi1111 ec6982f8eb
Merge pull request #4240
6 years ago
luigi1111 4a4ea78ecd
Merge pull request #4204
6 years ago
moneromooo-monero 48a7bc4280
tx_pool: fix infinite loop when failing to find a meta record
6 years ago
stoffu 1f2409e9e2
Do memwipe for critical secret keys copied to rct::key
6 years ago
moneromooo-monero 82d1b74500
core: cache block template where possible
6 years ago
luigi1111 fd3b71129b
Merge pull request #4164
6 years ago
moneromooo-monero b278b83860
core: sync database based on bytes added, not blocks added
6 years ago
moneromooo-monero 83f5587167
blockchain: use uint64_t for height, not size_t
6 years ago
luigi1111 dda05f357a
Merge pull request #4108
6 years ago
moneromooo-monero 8e24533a7f
blockchain: some batch tx scanning speedup
6 years ago
luigi1111 61eea83978
Merge pull request #4081
6 years ago
luigi1111 9474567d76
Merge pull request #4076
6 years ago
luigi1111 5cade94189
Merge pull request #4047
6 years ago
luigi1111 21afa71ba6
Merge pull request #3981
6 years ago
luigi1111 d518dae4bf
Merge pull request #3973
6 years ago
luigi1111 025187e6c9
Merge pull request #3854
6 years ago
moneromooo-monero 45e419bd5c
db: store cumulative rct output distribution in the db for speed
6 years ago
moneromooo-monero 8c0523771f
blockchain: cache next block difficulty after adding a block
6 years ago
moneromooo-monero d95bc44c6b
blockchain: fix getting invalid block data on failure
6 years ago
victorsintnicolaas 34cb6b4b70 add --regtest and --fixed-difficulty for regression testing
6 years ago
moneromooo-monero aa0ea0aafc
blockchain: set the m_verifivation_failed flag in a couple more places
6 years ago
moneromooo-monero 84d9e7faec
blockchain: fix build after waiter::wait prototype change
6 years ago
luigi1111 87d7612311
Merge pull request #3986
6 years ago
luigi1111 3ad4ecd4ff
Merge pull request #3982
6 years ago
luigi1111 a844844cda
Merge pull request #3716
6 years ago
moneromooo-monero 2771a18e85
threadpool: allow leaf functions to run concurrently
6 years ago
moneromooo-monero ef2cb63287
blockchain: simplify/speedup handle_get_objects
6 years ago
moneromooo-monero a830db2577
rpc: rework to avoid repeated calculations in get_blocks.bin
6 years ago
moneromooo-monero ed2c81ed95
replace std::list with std::vector on some hot paths
6 years ago
moneromooo-monero 50af3579ee
alt_chain_info can now give more info about a particular alt chain
6 years ago
luigi1111 14372ca95a
Merge pull request #3975
6 years ago
luigi1111 c3ec5373b3
Merge pull request #3936
6 years ago
moneromooo-monero 41b4bf9d6d
tx_pool: cache check_tx_inputs results
6 years ago
luigi1111 9eb51887b0
Merge pull request #3919
6 years ago
luigi1111 5a221c0e48
Merge pull request #3904
6 years ago
luigi1111 81a2ff768b
Merge pull request #3903
6 years ago
luigi1111 50bc95519e
Merge pull request #3828
6 years ago
luigi1111 cfd66dae4b
Merge pull request #3691
6 years ago
luigi1111 fb2b16f10a
Merge pull request #3732
6 years ago
luigi1111 b3363e8e0a
Merge pull request #3726
6 years ago
luigi1111 6be2516140
Merge pull request #3687
6 years ago
Jean Pierre Dudey b628503bad Remove old logic saved in comments.
6 years ago
stoffu 08b85a8e00
cryptonote_config: add get_config to refactor x = testnet ? config::testnet::X : stagenet ? config::stagenet::X : config::X
6 years ago
moneromooo-monero 2d5921eefa
blockchain: avoid duplicate db query for height
6 years ago
luigi1111 2619d966c6
Merge pull request #3908
6 years ago
luigi1111 22c8730261
Merge pull request #3450
6 years ago
luigi1111 8a1f0d7d13
Merge pull request #3940
6 years ago
moneromooo-monero f24cbc5245
blockchain: fix deadlock with the difficulty cache
6 years ago
moneromooo-monero d81e042306
tx_pool: initialize bitflags padding since it gets written to storage
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
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
6 years ago
luigi1111 9bc8f76924
Merge pull request #3525
6 years ago
luigi1111 a7ea14dc6a
Merge pull request #3876
6 years ago
luigi1111 4267a0bb51
Merge pull request #3731
6 years ago
luigi1111 c534fe8d19
Merge pull request #3251
6 years ago
luigi1111 ed72f35e9a
Merge pull request #3446
6 years ago
luigi1111 764340d112
Merge pull request #3420
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
6 years ago
Riccardo Spagni 45975fd8eb update checkpoints
6 years ago
Riccardo Spagni f794d3b3df
Merge pull request #3787
6 years ago
Riccardo Spagni 709658d166
Merge pull request #3832
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
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
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
6 years ago
moneromooo-monero ce63ab09db
blockchain: invalidate misc caches when popping blocks
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
6 years ago
moneromooo-monero 6b13976330
blockchain: log in DEBUG when a block is found, and where
6 years ago
moneromooo-monero ffeeefde60
speedup get_output_histogram for all amounts when min_count > 0
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
6 years ago
Riccardo Spagni 226de8e928
Merge pull request #3530
6 years ago
Riccardo Spagni 5053f8f40b
Merge pull request #3502
6 years ago
moneromooo-monero 08343abaf4
tx_pool: fix loading with colliding key images
6 years ago
stoffu eb59f7c563
cryptonote_tx_util: make destinations properly shuffled
6 years ago
stoffu 66a659bb03
blockchain: add scope guard to waiter for threaded txv1 verification
6 years ago
moneromooo-monero 11c933e137
fix lambda compile error on openbsd
6 years ago
Riccardo Spagni dac3895ac1
update block hashes for checkpoints.dat
6 years ago
stoffu 3b941befae
core: add get_earliest_ideal_height_for_version()
6 years ago
moneromooo-monero a6a54fa883
blockchain: cache difficulty for next block
6 years ago
moneromooo-monero b1398fff40
core: fix use of uninitialised data
6 years ago