moneromooo-monero and wowario
13e9035505
blockchain: cache next block difficulty after adding a block
...
It's not 100% certain it'll be needed, but it avoids getinfo
needing the blockchain lock and potentially blocking
2018-07-27 15:54:07 -05:00
moneromooo-monero and wowario
fa3ae1a16d
alt_chain_info can now give more info about a particular alt chain
2018-07-27 09:33:24 -05:00
moneromooo-monero and wowario
a896603556
blockchain: set the m_verifivation_failed flag in a couple more places
...
when a block being added to the main chain is invalid.
This ensures the peer is banned after a number of these.
2018-07-27 04:06:12 -05:00
wowario and wowario
d0d1a14a05
Add stagenet fork heights
2018-07-04 19:20:05 +03:00
jw and GitHub
74a30ddccd
Merge pull request #56 from wowario/lwma-2
...
Implement LWMA-2 for HF v9
2018-06-13 20:02:44 -07:00
wowario
c5d51ca56c
add lwma-2
2018-06-14 03:58:11 +03:00
jw and GitHub
a0b5b82bb4
Merge pull request #46 from wowario/checkpoints
...
update checkpoints.dat
2018-06-04 10:03:56 -07:00
wowario
52e2799f6d
update checkpoints.dat
2018-06-04 17:44:29 +03:00
moneromooo-monero and wowario
26acaf82f9
speed up get_output_distribution (and precalc common case)
2018-06-04 11:26:54 +03:00
moneromooo-monero and wowario
24cd25d87e
blockchain: demote a hash-of-hashes validation warning to debug
...
This data comes from untrusted peers, and validation failures
are therefore normal.
2018-06-03 23:32:21 +03:00
wowario
cdb20d58b5
remove whitespace
2018-06-01 13:03:54 +03:00
jw and GitHub
1977bc6e2e
Merge pull request #39 from wowario/release-v0.2.1.0
...
Merge branch 'master' into release-v0.2.1.0
2018-05-27 07:10:57 -07:00
jw and GitHub
865ae628d4
Merge pull request #38 from wowario/ftl_check_window
...
Tighten future time limit and timestamp check window
2018-05-27 07:10:38 -07:00
wowario
b8636dd448
Merge branch 'master' into release-v0.2.1.0
2018-05-26 15:47:11 +03:00
wowario
54fe6c3b09
adjust FTL, timestamp check window
2018-05-26 09:46:16 +03:00
wowario
4209b715eb
testnet v9
2018-05-26 09:15:19 +03:00
stoffu and wowario
9f39259029
blockchain: pop top if block version disagrees with the ideal fork version
2018-05-24 12:28:17 +03:00
wowario
9919ee66a2
refactor mixin condition
2018-05-18 10:54:37 +03:00
jw and GitHub
0548011ca5
Merge pull request #30 from wowario/mixin
...
static mixin (protocol level)
2018-05-17 20:02:01 -07:00
wowario
fe94ba558c
static mixin
2018-05-17 18:38:36 +03:00
moneromooo-monero and wowario
23d1007327
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.
2018-05-16 23:59:48 +03:00
moneromooo-monero and wowario
68b3bb81cf
blockchain: invalidate misc caches when popping blocks
...
Might be a bit heavy handed, but conservative.
2018-05-16 15:17:29 +03:00
Thaer Khawaja and wowario
4a479d2fcc
Use median timestamp if current time renders a block invalid.
2018-05-14 00:02:10 +03:00
jwinterm
78f1e84139
Set v8 fork height and change version
2018-04-20 17:56:12 -07:00
wowario
0ac4b8e63e
increase ringsize to 10
2018-04-19 04:21:25 +03:00
wowario
efe03eb037
added LWMA
2018-04-16 11:57:28 +03:00
jwinterm
c473f01310
Initial commit
2018-03-29 19:55:44 -07:00
moneromooo-monero
bb20f104ba
Move v7 fork to 1546000 to give more update time
2018-03-18 09:29:31 +00:00
Riccardo Spagni
83651630bc
Merge pull request #3418
...
20a00266 blockchain: forbid bulletproof types before v8 (moneromooo-monero)
2018-03-17 16:51:47 +02:00
moneromooo-monero
20a002667c
blockchain: forbid bulletproof types before v8
...
They were already forbidden implicitely, but let's make that
explicit for robustness
2018-03-16 18:18:34 +00:00
Riccardo Spagni
432480fa42
Merge pull request #3414
...
524cbdc1 blockchain: fix log message about per-kB fee (stoffu)
2018-03-16 18:09:34 +02:00
Riccardo Spagni
0f27fc57ac
Merge pull request #3336
...
57c0b1ed Fix typos in various files (Dimitris Apostolou)
2018-03-16 18:08:07 +02:00
moneromooo-monero
41f727ce42
add RPC to get a histogram of outputs of a given amount
2018-03-16 10:32:26 +00:00
stoffu
524cbdc1e2
blockchain: fix log message about per-kB fee
2018-03-16 10:43:19 +09:00
Dimitris Apostolou and Dimitris Apostolou
57c0b1ed9f
Fix typos in various files
2018-03-15 18:25:38 +02:00
Jean Pierre Dudey
e1b526b371
Remove the Blockchain::get_all_known_block_ids function.
...
This function isn't used in the codebase.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com >
2018-03-14 21:56:19 -04:00
Riccardo Spagni
9a63fbcf83
Merge pull request #3371
...
84decbea core: add v7 for 1539500 on mainnet (moneromooo-monero)
2018-03-14 13:37:25 +02:00
stoffu
978663d461
Stagenet: successive forks up to v7
2018-03-09 13:59:11 +09:00
moneromooo-monero
84decbea48
core: add v7 for 1539500 on mainnet
2018-03-07 17:19:50 +00:00
moneromooo-monero
38657fd0e9
Bump min ring size from 5 to 7 from v7
2018-03-07 13:19:04 +00:00
Riccardo Spagni
abcdb7b5c4
Merge pull request #3308
...
6f8779d2 blockchain: fix random sync failures (moneromooo-monero)
2018-03-05 19:12:05 +02:00
Riccardo Spagni
4f93f74528
Merge pull request #3277
...
0e7ad2e2 Wallet API: generalize 'bool testnet' to 'NetworkType nettype' (stoffu)
af773211 Stagenet (stoffu)
cc9a0bee command_line: allow args to depend on more than one args (stoffu)
55f8d917 command_line::get_arg: remove 'required' for dependent args as they're always optional (stoffu)
450306a0 command line: allow has_arg to handle arg_descriptor<bool,false,true> #3318 (stoffu)
9f9e095a Use `genesis_tx` parameter in `generate_genesis_block`. #3261 (Jean Pierre Dudey)
2018-03-05 19:11:20 +02:00
Edward Betts
fbcc91c2a4
Correct spelling mistakes.
2018-03-05 17:00:40 +00:00
stoffu
af773211cb
Stagenet
2018-03-05 11:55:05 +09:00
moneromooo-monero
6f8779d282
blockchain: fix random sync failures
...
When a block is added as part of a chunk (when syncing historical
blocks), a block may end up already in the blockchain if it was
added to the queue before being added to the chain (though it's
not clear how that could happen, but it's an implementation detail)
and thus may not be added to the chain when add_block is called.
This would cause m_blocks_txs_check to not be cleared, causing it
to get out of sync at next call, and thus wrongfully reject the
next block.
2018-02-23 19:47:17 +00:00
Riccardo Spagni
f4a6bc79d9
Merge pull request #3226
...
e4646379 keccak: fix mdlen bounds sanity checking (moneromooo-monero)
2e3e90ac pass large parameters by const ref, not value (moneromooo-monero)
61defd89 blockchain: sanity check number of precomputed hash of hash blocks (moneromooo-monero)
9af6b2d1 ringct: fix infinite loop in unused h2b function (moneromooo-monero)
8cea8d0c simplewallet: double check a new multisig wallet is multisig (moneromooo-monero)
9b98a6ac threadpool: catch exceptions in dtor, to avoid terminate (moneromooo-monero)
24803ed9 blockchain_export: fix buffer overflow in exporter (moneromooo-monero)
f3f7da62 perf_timer: rewrite to make it clear there is no division by zero (moneromooo-monero)
c6ea3df0 performance_tests: remove add_arg call stray extra param (moneromooo-monero)
fa6b4566 fuzz_tests: fix an uninitialized var in setup (moneromooo-monero)
03887f11 keccak: fix sanity check bounds test (moneromooo-monero)
ad11db91 blockchain_db: initialize m_open in base class ctor (moneromooo-monero)
bece67f9 miner: restore std::cout precision after modification (moneromooo-monero)
1aabd14c db_lmdb: check hard fork info drop succeeded (moneromooo-monero)
2018-02-16 14:26:58 +01:00
Riccardo Spagni
24d8f9237f
Merge pull request #3248
...
d6a0ae96 blockchain: don't try to use hash check array after it's freed (moneromooo-monero)
2018-02-16 14:24:22 +01:00
moneromooo-monero
d6a0ae96c6
blockchain: don't try to use hash check array after it's freed
...
It's freed when we've synced past its end, but we might still
find an old chain somewhere
2018-02-10 11:26:06 +00:00
moneromooo-monero
61defd89e3
blockchain: sanity check number of precomputed hash of hash blocks
...
Coverity 142951
2018-02-02 17:10:13 +00:00
moneromooo-monero
c70f03cacf
blockchain: move bulletproofs to v8
...
and set v7 height to 1057027 on testnet (one block earlier)
This is to easily dump current nodes since we're going to change
the v7 rules with this.
2018-01-31 15:52:39 +00:00