jwinterm
e805d42c1a
Merge pull request 'Dynamic Unlock from HF 16' ( #313 ) from wowario/wownero:dynamic-lock into master
...
Reviewed-on: wownero/wownero#313
4 years ago
wowario
8757282908
use block id
4 years ago
wowario
5b46a0df6d
add generated coins and height to unlock calculation
4 years ago
wowario
1eb01bb388
Dynamic Unlock from HF 16
4 years ago
wowario
97dfd5ae74
fix non-void function
...
Signed-off-by: wowario <wowario@protonmail.com>
4 years ago
jwinterm
bda76b6be9
Merge pull request 'Revert SHA-3 on Master branch' ( #302 ) from wowario/wownero:sha3 into master
...
Reviewed-on: wownero/wownero#302
4 years ago
wowario
b3453b4b65
revert #256 switch to SHA-3 PoW
4 years ago
wowario
b532cd8109
update checkpoints
4 years ago
stoffu
5b83ccbb2d
daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation
...
On startup, it checks against the difficulty checkpoints, and if any mismatch is found, recalculates all the blocks with wrong difficulties. Additionally, once a week it recalculates difficulties of blocks after the last difficulty checkpoint.
4 years ago
SomaticFanatic
bcd71a5af9
Update copyright year to 2020
...
Update copyright year to 2020
4 years ago
jw
e91b041c75
Merge pull request #278 from wowario/checkpoints
...
build: prepare v0.8.0.1 release
4 years ago
wowario
9f5fa3f7f9
update checkpoints
4 years ago
moneromooo-monero
72655f78fc
blockchain: fix timestamp/difficulty cache getting out of sync
...
The cache is discarded when a block is popped, but then gets
rebuilt when the difficulty for next block is requested.
While this is all properly locked, it does not take into account
the delay caused by a database transaction being only committed
(and thus its effects made visible to other threads) later on,
which means another thread could request difficulty between
the pop and the commit, which would end up using stale database
view to build the cache, but that cache would not be invalidated
again when the transaction gets committed, which would cause the
cache to not match the new database data.
To fix this, we now keep track of when the cache is invalidated
so we can invalidate it again upon database transaction commit
to ensure it gets calculated again with fresh data next time it
is nedeed.
4 years ago
moneromooo-monero
b3847bc194
blockchain: fix total_height in getblocks.bin response
4 years ago
moneromooo-monero
009abd48e5
blockchain: detect and log bad difficulty calculations
4 years ago
jw
3b1c27db69
Merge pull request #256 from wowario/SHA-3
...
switch to SHA-3 PoW
4 years ago
wowario
87dcc37776
switch to SHA-3 PoW
...
Co-authored-by: fuwa <fuwa0529@users.noreply.github.com>
4 years ago
jw
6e43f020ae
Merge pull request #255 from wowario/last
...
upstream
4 years ago
moneromooo-monero
febb8df4bb
blockchain: fix theoretical race getting bulk timestamps
4 years ago
wowario
7e3dbdde05
build: prepare v0.8.0.0 release
4 years ago
wowario
193c15ecce
refactor difficulty for testnet
4 years ago
moneromooo-monero
a33c86d875
blockchain_db: faster fetching of consecutive txes
...
Useful for wallet refresh or node sync
4 years ago
wowario
c9a8f4f01c
update checkpoints.dat
4 years ago
wowario
2bcaa4ec02
update checkpoints.dat
4 years ago
wowario
e89be7b80c
support old BP
4 years ago
wowario
652bd57080
initial commit
4 years ago
luigi1111
44547006bf
Merge pull request #6347
...
fcb06f7
cryptonote_core: skip block notify on blockchain switching rollback (xiphon)
4 years ago
luigi1111
c4f75fe898
Merge pull request #6339
...
c61abf8
remove empty statements (shopglobal)
4 years ago
Alexander Blair
aa982a51da
Merge pull request #6284
...
02224e71
Fix check_fee() discrepancy. (UkoeHB)
4 years ago
Alexander Blair
4da37daf67
Merge pull request #6211
...
5985c5af
rpc: add bad-blocks to flush_cache RPC (moneromooo-monero)
4 years ago
xiphon
fcb06f7a82
cryptonote_core: skip block notify on blockchain switching rollback
4 years ago
Interchained
c61abf87c0
remove empty statements
...
Cleaning up a little around the code base.
4 years ago
luigi1111
d7aeb5a9f8
Merge pull request #6233
...
8a27645
blockchain: fix flushing txes from the txpool (moneromooo-monero)
4 years ago
Alexander Blair
8eedc8a390
Merge pull request #6140
...
08635a08
blockchain: speedup fetching pruned contiguous tx blobs (moneromooo-monero)
4 years ago
Alexander Blair
c4abfbfbe7
Merge pull request #6124
...
21d4c216
blockchain: error out if the builtin hashes data size is wrong (moneromooo-monero)
4 years ago
UkoeHB
02224e714d
Fix check_fee() discrepancy.
...
M100 = max{300kb, min{100block_median, m_long_term_effective_median_block_weight}}
not
M100 = max{300kb, m_long_term_effective_median_block_weight}
Fix base reward in get_dynamic_base_fee_estimate().
get_dynamic_base_fee_estimate() should match check_fee()
Fee is calculated based on block reward, and the reward penalty takes into account 0.5*max_block_weight (both before and after HF_VERSION_EFFECTIVE_SHORT_TERM_MEDIAN_IN_PENALTY).
Moved median calculation according to best practice of 'keep definitions close to where they are used'.
4 years ago
moneromooo-monero
8a276451b2
blockchain: fix flushing txes from the txpool
5 years ago
moneromooo-monero
5985c5afe8
rpc: add bad-blocks to flush_cache RPC
...
Flushes m_invalid_blocks in Blockchain.
5 years ago
moneromooo-monero
08635a0875
blockchain: speedup fetching pruned contiguous tx blobs
...
About twice as fast, very roughly
5 years ago
moneromooo-monero
21d4c21619
blockchain: error out if the builtin hashes data size is wrong
5 years ago
Lee Clagett
5d7ae2d279
Adding support for hidden (anonymity) txpool
5 years ago
Riccardo Spagni
e4d1674e8c
0.15.0.0 release engineering
5 years ago
moneromooo-monero
eb16755083
blockchain: fix unwanted error when probing the pool for a tx
5 years ago
luigi1111
cf2d4d9a16
Merge pull request #5974
...
7fcd0b5
blockchain: initialize pow to ff..ff (moneromooo-monero)
5 years ago
luigi1111
8bb3c6a8e6
Merge pull request #5970
...
ab96181
blockchain: use effective median block weight for penalty from v12 (moneromooo-monero)
5 years ago
luigi1111
84ce43a239
Merge pull request #5966
...
be82c40
Support median block size > 4 GB (moneromooo-monero)
5 years ago
luigi1111
6f202844b5
Merge pull request #5919
...
01f660f
blockchain: fill in cumulative block weight for alt blocks (moneromooo-monero)
5 years ago
moneromooo-monero
be82c40703
Support median block size > 4 GB
...
add a 128/64 division routine so we can use a > 32 bit median block
size in calculations
5 years ago
moneromooo-monero
7fcd0b55ea
blockchain: initialize pow to ff..ff
...
as a safety to reject if it somehow does not get initialised
5 years ago
luigi1111
37a72fd6ae
Merge pull request #5941
...
d37d30f
blockchain: tweak fee as a function of median values (moneromooo-monero)
5 years ago