Commit Graph

11279 Commits

Author SHA1 Message Date
Crypto City
232164bb45 cryptonote_basic: fix calculating hashes from pruned 2020-06-24 19:05:39 +00:00
Crypto City
422f80ff86 tx_pool: temporary crash if we can't get a batch txn
It'll trigger if db corruption would ensue
2020-06-24 09:27:35 +00:00
Crypto City
9eeea486e5 cryptonote_core: fix db state corruption
When updating the block template after receiving a block,
the txpool speculative txn ends up reusing the syncing txn,
which means the abort doesn't actually abort, and the db
ends up with the speculative actions committed.
2020-06-24 09:25:47 +00:00
Crypto City
8c249305f7 unit_tests: don't link to urho3d 2020-06-24 01:06:54 +00:00
Crypto City
3292a4e88a rpc: fix getting tiles from flag 2020-06-24 00:44:10 +00:00
Crypto City
5530ee7f30 db_lmdb: remove some more uninitialized padding in the db 2020-06-23 18:05:53 +00:00
Crypto City
6ad2217a7c daemon: add debug parsing of data as account/city/flag 2020-06-23 14:15:45 +00:00
Crypto City
f2586853ee tx_pool: print txid we failed to find meta for 2020-06-22 22:24:58 +00:00
Crypto City
562334fbf7 cc: start city levels a bit earlier, and make ciies cheaper 2020-06-22 22:16:08 +00:00
Crypto City
6e059b5c6c cc: add a couple more integer overflow checks to the build command 2020-06-22 22:15:13 +00:00
Crypto City
09c272a064 tests: add test for building with palette change 2020-06-22 22:15:13 +00:00
Crypto City
ac4b549063 game: add key bindings for block add/remove on selection and undo/redo 2020-06-22 22:15:13 +00:00
Crypto City
aad838775b cc: make command handlers default to verify log category 2020-06-22 22:15:13 +00:00
Crypto City
11cfd6b2b5 game: fix missing buildings totals row 2020-06-22 22:15:13 +00:00
Crypto City
1a43d39a69 game: fix stale list widgets 2020-06-22 22:15:13 +00:00
Crypto City
0d211b5c48 game: fix material/block confusion when abandoning builds 2020-06-22 22:15:13 +00:00
Crypto City
08c86aad5f game: add notification with approve/abandon when building 2020-06-22 22:15:13 +00:00
Crypto City
18c45236be game: add missing file 2020-06-22 22:15:13 +00:00
Crypto City
6f4fc81b1d functional_tests: add chat tests 2020-06-22 22:15:13 +00:00
Crypto City
5d30d10b68 functional_tests: add some more invitations tests 2020-06-22 22:15:13 +00:00
Crypto City
fd4873be57 cc: decrease the high end min size for RES2/RES3 2020-06-22 22:15:13 +00:00
Crypto City
cd9bd63d16 cc: tweak lunar date 2020-06-22 22:15:13 +00:00
Crypto City
0eaf2c7c44 game: fix falling through floors when ending up slightly below 2020-06-22 22:15:13 +00:00
Crypto City
57a473435e game: F and O keys can now go back to walker camera mode too 2020-06-22 22:15:13 +00:00
Crypto City
375bc342b4 game: update camera type widget when switching with keys 2020-06-22 22:15:13 +00:00
Crypto City
c177ac4a31 game: fix collisions after switching camera types 2020-06-22 22:15:13 +00:00
Crypto City
6ef6c7b381 tx_pool: also mine local txes in test mode 2020-06-22 22:15:13 +00:00
Crypto City
e424cb9538 game: avoid resetting lists when their contents don't change 2020-06-22 22:15:13 +00:00
Crypto City
c7ce18cfdb cryptonote_basic: make cc signature unprunable
While it's technically prunable, we would not save much (64 bytes,
but we'd need to add 32 bytes for the hash of those 64 bytes), so
we might as well not bother
2020-06-22 22:15:13 +00:00
moneromooo-monero
80174b8248 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-21 01:18:30 +00:00
Crypto City
3e05ee54fe tx_pool: do not allow more than one (non kept by block) hunt command at once 2020-06-21 01:18:30 +00:00
moneromooo-monero
9c7ff67386 python-rpc: add missing sync_txpool python entry point 2020-06-21 01:18:29 +00:00
Crypto City
3af15d65e0 blockchain: return txes to the txpool when actions fail to execute 2020-06-21 01:18:29 +00:00
Crypto City
9a5e85e35a cryptonote_core: do not sync more than a randomx epoch at once 2020-06-21 01:18:29 +00:00
Crypto City
2b1dce37e6 tx_pool: only allow one research command per discovery per block
The results of a research command are not known yet at the time
a block is filled with transactions
2020-06-21 01:18:29 +00:00
Crypto City
93e1def31d blockchain: log commands that fail to execute 2020-06-21 01:18:29 +00:00
Crypto City
ef2c7bcca8 functional_tests: use fast pow 2020-06-21 01:18:29 +00:00
Crypto City
f112b180e3 cc: fix unlocking discoveries bug 2020-06-21 01:18:29 +00:00
Crypto City
25be313e16 cc: add cc default log category 2020-06-21 01:18:29 +00:00
Crypto City
206b30cb8f functional_tests: add reorg test 2020-06-21 01:18:29 +00:00
Crypto City
9c46a1c6e1 randomx: even faster pow for tests 2020-06-21 01:18:29 +00:00
Crypto City
1d007bd2e2 cc: store max city level in the update command
so it can be properly reverted
2020-06-21 01:18:29 +00:00
moneromooo-monero
2743357518 functional_tests: add p2p functional tests
Tests tx/block propagation and reorgs
2020-06-21 01:18:29 +00:00
Crypto City
b945e80261 functional_tests: add randomx tests 2020-06-21 01:18:29 +00:00
Crypto City
75516e6e34 core: fix mining from a block that's not the current top 2020-06-21 01:18:29 +00:00
Crypto City
d15fb7d9f2 game: fix build commands with new material variants 2020-06-14 23:43:31 +00:00
Crypto City
62361e19f3 game: guard against -1 list selection 2020-06-14 23:43:31 +00:00
Crypto City
986967c064 game: fix readonly chat 2020-06-14 23:43:31 +00:00
Crypto City
a767fb4d4e tx_pool: fix potential exception filling a block template 2020-06-14 23:43:31 +00:00
Crypto City
df3678b3e0 game: fix removing blocks not looking up through palette 2020-06-14 23:43:31 +00:00