Commit Graph

12691 Commits

Author SHA1 Message Date
luigi1111
9f93a1b632
Merge pull request #6650
0fd6cce blockchain: fix timestamp/difficulty cache getting out of sync (moneromooo-monero)
2020-07-08 20:38:03 -05:00
moneromooo-monero
0fd6ccef21
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-07-08 22:31:51 +00:00
luigi1111
803f58553b
Merge pull request #6675
3721d56 epee: fix array underflow in unicode parsing (moneromooo-monero)
2020-07-08 17:27:53 -05:00
luigi1111
99b14ccd6a
Merge pull request #6647
4d8d121 Fix D++ block template check (vtnerd)
2020-07-08 17:25:01 -05:00
luigi1111
18bb011afe
Merge pull request #6629
795e186 blockchain: fix total_height in getblocks.bin response (moneromooo-monero)
2020-07-08 17:23:28 -05:00
luigi1111
e8d87fccc2
Merge pull request #6627
4df8f9c rpc: fix loading rpc payment data from file (moneromooo-monero)
2020-07-08 17:22:33 -05:00
luigi1111
0376195015
Merge pull request #6611
dc1a053 rpc: fix comparison of seconds vs microseconds (moneromooo-monero)
2020-07-08 17:21:31 -05:00
luigi1111
3057f52f89
Merge pull request #6599
6e4a55b rpc: fix relay_tx error return mixup (moneromooo-monero)
9b86e14 functional_tests: add simple relay_tx test (moneromooo-monero)
2020-07-08 17:20:29 -05:00
luigi1111
228101a72e
Merge pull request #6597
ec46069 Fix incorrect lenght of command INS_PREFIX_HASH (grydz)
2020-07-08 17:18:10 -05:00
luigi1111
81c2586358
Merge pull request #6588
bcef52d daemon: remove time based 'update needed' status string (moneromooo-monero)
2020-07-08 17:15:19 -05:00
luigi1111
340e1943ac
Merge pull request #6587
94befec fix typo in pick_preferred_rct_inputs (Parean)
2020-07-08 17:14:09 -05:00
luigi1111
be170c485c
Merge pull request #6584
78d435a rpc: don't display invalid json errors on default log level (moneromooo-monero)
2020-07-08 17:12:43 -05:00
luigi1111
8b3fa2d373
Merge pull request #6574
7ebb351 rpc: lock access to the rpc payment object (moneromooo-monero)
2020-07-08 17:11:32 -05:00
luigi1111
634262f3f5
Merge pull request #6568
f037121 cryptonote_core: remove 'We are most likely forked' message (moneromooo-monero)
2020-07-08 17:10:39 -05:00
luigi1111
f1334ebf64
Merge pull request #6566
567402c protocol: move the 'peer claims higher version' warning to debug (moneromooo-monero)
2020-07-08 17:08:58 -05:00
luigi1111
35e2520115
Merge pull request #6559
15538f7 ByteSlice: Fix persisting ptr to std::moved SSO buffer (Doy-lee)
2020-07-08 17:07:50 -05:00
luigi1111
ee817e00bb
Merge pull request #6550
ca60d60 easylogging++: sanitize log payload (moneromooo-monero)
2020-07-08 17:06:26 -05:00
luigi1111
ed903578d7
Merge pull request #6544
5741b4d blockchain: detect and log bad difficulty calculations (moneromooo-monero)
2020-07-08 17:04:41 -05:00
luigi1111
7d903bc992
Merge pull request #6528
b73f4e7 [master]: Update gitian yml files (iDunk5400)
2020-07-08 17:03:37 -05:00
Crypto City
e28cd0c4ce game: allow ellipsoid selection on land without flags 2020-07-08 15:08:46 +00:00
Crypto City
ba37b600e1 game: new better selection render code 2020-07-08 10:50:00 +00:00
Crypto City
a0151f3322 game: better wording for "changes automatically abandoned" message 2020-07-08 01:26:41 +00:00
Crypto City
cfd4f8773e game: fix set_intersection with disjoint sets, and add missing variant 2020-07-08 01:26:41 +00:00
Crypto City
762d984dd3 urho3d: speedup urho octree removal 2020-07-07 18:19:26 +00:00
Crypto City
6a7b98f6e2 game: change fatal error dialog name to Townforge 2020-07-07 10:16:30 +00:00
Crypto City
e74bd4023e game: edit mode switch on/off speedups 2020-07-07 01:40:14 +00:00
selsta
ed901798d9
version: update name 2020-07-06 23:22:25 +02:00
Crypto City
fbc158483b game: fix tile leaks 2020-07-06 18:26:19 +00:00
Crypto City
e762925a34 tx_pool: ensure we don't add two dependent build commands in a block 2020-07-06 16:14:08 +00:00
Crypto City
b650db10a3 game: fix queued commands showing others' commands 2020-07-06 16:07:15 +00:00
Crypto City
0b20f2598c game: fix playing a particular track 2020-07-06 15:27:24 +00:00
Crypto City
5fa715215b game: fix OOM in selection 2020-07-06 15:04:12 +00:00
Crypto City
b65c4b749b urho3d: allow move assignment to same object
fixes assert in audio shuffling
2020-07-06 13:59:22 +00:00
Crypto City
dbca7896f6 p2p: move a spammy log to debug 2020-07-05 23:41:17 +00:00
Crypto City
a10a3db128 bump version to 0.19.1.3 2020-07-05 22:43:42 +00:00
Crypto City
e92b9ebe21 clean up some cmake skullduggery 2020-07-05 21:40:27 +00:00
Crypto City
e77cd6023c game: fix food/heating in building settings screen 2020-07-05 18:22:44 +00:00
Crypto City
7d941492b5 epee: make traffic logs not show up at level 1 2020-07-05 16:55:38 +00:00
Crypto City
4b6f3b5326 p2p: make a log less noisy 2020-07-05 16:55:38 +00:00
Crypto City
bc3510ead4 game: ensure a snapshot is requested on reorg or sync error 2020-07-05 16:55:38 +00:00
Crypto City
336ac147e3 cryptonote_basic: allow getting pruned weight for txes with no range proofs
Bare txes are just that
2020-07-05 16:55:38 +00:00
Crypto City
041b57752a remove old cc debug commands
They're useless now, since everything can be done in the game
2020-07-05 14:34:45 +00:00
Crypto City
968811a33e add ICU_LIBRARIES for boost_locale on windows 2020-07-05 13:34:02 +00:00
Crypto City
9fdce282b9 unbound: bodge shared builds using in tree unbound 2020-07-05 13:29:27 +00:00
Crypto City
0e30f0d385 game: revert debug build options 2020-07-05 13:29:27 +00:00
Crypto City
0ddf600c3b game: add an option to display pending unmatched trades 2020-07-05 12:55:43 +00:00
Crypto City
3bfea164b5 game: catch exceptions on withdraw 2020-07-05 12:55:43 +00:00
Crypto City
cd5fd5ccf0 cc: fix mining trade commands referencing txpool trade commands 2020-07-05 12:55:43 +00:00
tevador
a3933a2a5e Update RandomX to v1.1.8 2020-07-04 15:24:39 +02:00
Crypto City
efe0af4e51 bump version to 0.19.1.2 2020-07-04 11:26:58 +00:00