jw
e91b041c75
Merge pull request #278 from wowario/checkpoints
...
build: prepare v0.8.0.1 release
2020-06-28 07:18:43 -07:00
wowario
9f5fa3f7f9
update checkpoints
2020-06-27 10:05:27 +03:00
moneromooo-monero
6da460a8df
tx_pool: mine stem txes in fake chain mode
...
This fixes the functional tests, since txes would not be mined
after being sent to the daemon (they'd be waiting for the
dandelion timeout first)
2020-06-27 04:04:20 +03:00
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.
2020-06-27 03:58:50 +03:00
Lee Clagett
4be84b7753
Fix D++ block template check
2020-06-27 03:53:37 +03:00
moneromooo-monero
b3847bc194
blockchain: fix total_height in getblocks.bin response
2020-06-27 03:53:19 +03:00
moneromooo-monero
19f284ddf9
cryptonote_core: remove "We are most likely forked" message
...
It's time based and we don't have forks every 6 months anymore
2020-05-25 13:05:32 +03:00
moneromooo-monero
009abd48e5
blockchain: detect and log bad difficulty calculations
2020-05-25 13:03:45 +03:00
jw
3b1c27db69
Merge pull request #256 from wowario/SHA-3
...
switch to SHA-3 PoW
2020-05-18 15:03:57 -07:00
wowario
87dcc37776
switch to SHA-3 PoW
...
Co-authored-by: fuwa <fuwa0529@users.noreply.github.com>
2020-05-15 08:37:36 +03:00
jw
6e43f020ae
Merge pull request #255 from wowario/last
...
upstream
2020-05-14 08:40:03 -07:00
moneromooo-monero
febb8df4bb
blockchain: fix theoretical race getting bulk timestamps
2020-05-14 18:25:14 +03:00
wowario
7e3dbdde05
build: prepare v0.8.0.0 release
2020-05-14 17:44:48 +03:00
wowario
193c15ecce
refactor difficulty for testnet
2020-05-09 23:22:28 +03:00
moneromooo-monero
3a8f49f79c
cryptonote_core: take out the time based upgrade warning
...
It doesn't really work anymore since we don't have a fork soon
2020-05-09 11:41:37 +03:00
Lee Clagett
0e59f26064
Used legacy category to match insert_key_images behavior
2020-05-09 11:38:05 +03:00
moneromooo-monero
0c201ab438
cryptonote: fix reuse of non default tx data when relaying
...
An automatic tx variable is initialized properly on the first
run through the loop, but not the second. Moving the variable
inside the loop ensures the ctor is called again to init it.
2020-05-09 11:37:19 +03:00
xiphon
4cb99f9365
cryptonote_core: skip dns checkpoints on startup if not enforced
2020-05-09 11:36:53 +03:00
cslashm
43cadb23b6
Add timelock verification on device
2020-05-04 10:14:35 +03:00
Sumo Gr
39e2802b9a
txpool.cpp: rename var to fix for old g++ version (xenial default)
2020-05-04 10:13:12 +03:00
Lee Clagett
2f8fff39bf
Always reject duplicate key-images from second txid
2020-05-04 10:12:11 +03:00
Lee Clagett
839a9e3707
Allow unrestricted rpc calls to get full txpool info
2020-05-04 10:11:52 +03:00
Lee Clagett
94f4af6cc4
Adding Dandelion++ support to public networks:
...
- New flag in NOTIFY_NEW_TRANSACTION to indicate stem mode
- Stem loops detected in tx_pool.cpp
- Embargo timeout for a blackhole attack during stem phase
2020-04-18 11:24:38 +03:00
Lee Clagett
d4c7ae4554
Correct key image check in tx_pool
2020-04-18 11:24:04 +03:00
moneromooo-monero
a33c86d875
blockchain_db: faster fetching of consecutive txes
...
Useful for wallet refresh or node sync
2020-04-18 11:23:01 +03:00
wowario
c9a8f4f01c
update checkpoints.dat
2020-04-06 13:10:35 +03:00
wowario
69663861e0
add v0.8 ASCII art
2020-04-06 09:47:39 +03:00
wowario
2bcaa4ec02
update checkpoints.dat
2020-04-06 09:09:31 +03:00
fuwa
b78a40f7a4
fix cn-pow variant
2020-04-06 09:09:31 +03:00
wowario
cf607654b6
add RandomWOW submodule
2020-04-06 09:09:31 +03:00
fuwa
22d3dc9a45
fix old bulletproof conditional branches
2020-04-06 09:09:30 +03:00
wowario
e89be7b80c
support old BP
2020-04-06 09:09:29 +03:00
wowario
652bd57080
initial commit
2020-04-06 09:09:17 +03:00
luigi1111
44547006bf
Merge pull request #6347
...
fcb06f7 cryptonote_core: skip block notify on blockchain switching rollback (xiphon)
2020-04-04 12:52:46 -05:00
luigi1111
c4f75fe898
Merge pull request #6339
...
c61abf8 remove empty statements (shopglobal)
2020-04-04 12:47:31 -05:00
luigi1111
0bb7191fd6
Merge pull request #6328
...
9bde70e core: mention time being off in hash rate changes message (moneromooo-monero)
2020-04-04 12:40:18 -05:00
luigi1111
6c7d928f19
Merge pull request #6336
...
760ecf2 console_handler: do not let exception past the dor (moneromooo-monero)
09c8111 threadpool: lock mutex in create (moneromooo-monero)
e377977 tx_pool: catch theoretical error in get_block_reward (moneromooo-monero)
2020-03-31 15:14:12 -05:00
luigi1111
096e2135dd
Merge pull request #6214
...
054b4c7 protocol: request txpool contents when synced (moneromooo-monero)
2020-03-31 13:32:55 -05:00
Alexander Blair
8cb005b39c
Merge pull request #6289
...
ffe7165e wallet: reroll fake outs selection on local tx_sanity_check failure (xiphon)
2020-03-27 12:28:29 -07:00
Alexander Blair
aa982a51da
Merge pull request #6284
...
02224e71 Fix check_fee() discrepancy. (UkoeHB)
2020-03-27 12:21:26 -07:00
Alexander Blair
a22cf5de1b
Merge pull request #6275
...
aa93e388 p2p: remove old debug commands (Aaron Hook)
2020-03-27 12:16:30 -07:00
moneromooo-monero
054b4c7f41
protocol: request txpool contents when synced
...
A newly synced Alice sends a (typically quite small) list of
txids in the local tpxool to a random peer Bob, who then uses
the existing tx relay system to send Alice any tx in his txpool
which is not in the list Alice sent
2020-03-22 16:03:31 +00:00
Aaron Hook
aa93e38862
p2p: remove old debug commands
2020-03-20 22:09:44 -07:00
moneromooo-monero
f8d76f395b
core: move the LockedTXN class out of txpool so it may be reused
...
for example, in the RPC server
2020-03-12 11:30:05 +00:00
Alexander Blair
4371ac4265
Merge pull request #6225
...
987c3139 print_coinbase_tx_sum now supports 128 bits sums (moneromooo-monero)
2020-02-28 19:48:11 -08:00
Alexander Blair
4da37daf67
Merge pull request #6211
...
5985c5af rpc: add bad-blocks to flush_cache RPC (moneromooo-monero)
2020-02-28 19:36:16 -08:00
xiphon
fcb06f7a82
cryptonote_core: skip block notify on blockchain switching rollback
2020-02-19 16:19:29 +00:00
Interchained
c61abf87c0
remove empty statements
...
Cleaning up a little around the code base.
2020-02-17 11:55:15 -05:00
moneromooo-monero
e3779775d7
tx_pool: catch theoretical error in get_block_reward
...
Coverity 196626
2020-02-12 21:05:28 +00:00
moneromooo-monero
9bde70e567
core: mention time being off in hash rate changes message
2020-02-10 16:56:10 +00:00