Commit Graph

9319 Commits

Author SHA1 Message Date
Crypto City
12af6d219c cc: #include <float.h> for windows 2020-07-26 23:40:18 +00:00
Crypto City
607c468522 game: fix focus issues with notification widgets and tooltips 2020-07-26 20:54:21 +00:00
Crypto City
3d45aeec8a game: better terrain rendering 2020-07-26 17:59:43 +00:00
Crypto City
031d32d08e cc: make cities grow in cost more slowly 2020-07-26 10:31:37 +00:00
Crypto City
8865cd79e7 game: reset focus as much as we can 2020-07-26 01:48:14 +00:00
Crypto City
81b40844ee cc: make some terrain voronoi cells empty 2020-07-26 00:45:25 +00:00
Crypto City
4f91c59b12 cc: fix terrain caching when changing seed 2020-07-26 00:35:29 +00:00
Crypto City
c55f7fb9b3 game: make extent markers not selectable/blocking 2020-07-25 22:43:59 +00:00
Crypto City
473d94b037 game: don't reset music when going into the options screen 2020-07-25 22:43:59 +00:00
Crypto City
e280bb5cf4 game: add a notification when a new block is found 2020-07-25 22:43:58 +00:00
Crypto City
34856d0808 keep track of the item supply 2020-07-25 22:43:58 +00:00
Crypto City
ac65554890 cc: make the town square use cobblestones, not wall sandstone 2020-07-25 22:43:58 +00:00
Crypto City
36b9d5f3ba game: fix cloud cover height changes with camera position 2020-07-25 22:43:58 +00:00
Crypto City
a4f815ec00 game: add "for sale" note in the building tooltip 2020-07-25 22:43:58 +00:00
Crypto City
c82b13e08f game: camera tweaks 2020-07-25 22:43:58 +00:00
Crypto City
5208310a41 game: use actual firefighting bonus to resolve fight fire commands 2020-07-25 22:43:58 +00:00
Crypto City
b268c5b8c7 add elevation bonus 2020-07-25 22:43:58 +00:00
Crypto City
c598cfec0a remove building within range of resource generators constraint 2020-07-25 22:43:58 +00:00
Crypto City
cc29bd8f2e cc: quadruple road stone requirements 2020-07-25 22:43:58 +00:00
Crypto City
bdfc76b151 game: change flag extents to 3D markers
Works better for 3D terrain
2020-07-25 22:43:58 +00:00
Crypto City
6e04ee20dc game: fix undo/redo not updating budget 2020-07-25 22:43:58 +00:00
Crypto City
664d56f520 Height map 2020-07-25 22:43:53 +00:00
moneromooo-monero
c1b03fb1a6
rpc: return empty txid get_outs rather than 00..00 when not requested
It's more obvious there's no txid, and it saves space
2020-07-25 17:01:21 +00:00
Crypto City
7bb9e27a16 fixed: add sin/cos tables 2020-07-25 13:09:34 +00:00
Crypto City
805f57bb8e game: use a custom geometry class for dynamic models 2020-07-24 15:36:50 +00:00
Crypto City
ba6331de8b game: fix falling to the floor on first frame 2020-07-24 15:36:50 +00:00
Crypto City
d5ed85032a game: fix jump when editing a building we're on top of 2020-07-24 15:36:50 +00:00
Crypto City
bb800cbeea game: fix undo/redo triggering the "was changed on chain" check 2020-07-24 15:36:50 +00:00
Crypto City
29bc0d85f9 game: fix falling through the floor 2020-07-24 15:36:50 +00:00
Crypto City
36c8495887 blockchain_db: fix mining maker/taker in a block 2020-07-24 15:36:50 +00:00
Crypto City
07af33b237 core: fix --block-sync-size 2020-07-24 15:36:50 +00:00
Crypto City
6918004419 cc: fix temperature to heating function 2020-07-24 15:36:50 +00:00
Crypto City
ac171bf477 cc: rewrite potential system and add more potentials 2020-07-24 15:36:50 +00:00
Crypto City
1b70f0dee1 UITBAnimatedImageWidget: avoid accessing unallocated memory 2020-07-24 15:36:50 +00:00
Crypto City
f2ab126a1d cc: remove unused city origin parameters in potential functions 2020-07-24 15:36:50 +00:00
Crypto City
cf6955fedb UITBAnimatedImageWidget: invalidate layout on animation change 2020-07-24 15:36:50 +00:00
Crypto City
3937c8a4cb game: do not include the unlocked amount in the deposit message
It just makes things more confusing
2020-07-24 15:36:49 +00:00
Crypto City
eef30b89dd game: add compass size option 2020-07-24 15:36:49 +00:00
Crypto City
0bb633c75a game: don't reload a snapshot to go to a vista in the current city 2020-07-24 15:36:49 +00:00
Crypto City
e6533ed4d1 game: add font size option and default based on screen size
Not saved for now
2020-07-24 15:36:49 +00:00
Crypto City
84128fad81 game: fix link error in dynamic builds 2020-07-24 15:36:49 +00:00
Crypto City
b6a3d9cc82 game: fix player history pagination on first load 2020-07-24 15:36:49 +00:00
Crypto City
af6e9afc60 game: add bookmark/go to vista (camera position/orientation) 2020-07-24 15:36:49 +00:00
moneromooo-monero
8baa7bb238
daemon: don't print "(pruned)" for coinbase txes
Pruned coinbase txes are the same as unpruned ones, so the
prunable data is empty
2020-07-24 13:42:20 +00:00
rbrunner7
fb31167b12 Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command 2020-07-24 07:12:11 +02:00
xiphon
76c16822d0 wallet2_api: implement runtime proxy configuration 2020-07-20 13:45:12 +00:00
xiphon
3d6bc0a680 wallet2: throw a error on wallet initialization failure 2020-07-20 04:40:34 +00:00
Alexander Blair
2a82258dff
Merge pull request #6580
ed901798d version: update name (selsta)
2020-07-19 03:42:43 -07:00
Alexander Blair
3434cc24a2
Merge pull request #6578
a6803231e daemon: complain if data dir resides on FAT32 volume (Windows) (xiphon)
2020-07-19 03:41:55 -07:00
Alexander Blair
9871fefbf9
Merge pull request #6565
72cdfa4a2 fix a few typos in error messages (moneromooo-monero)
2020-07-19 03:40:19 -07:00
Alexander Blair
c0a6e1aab9
Merge pull request #6557
bd69e3b37 testdb: add override in a couple places where it's missing (moneromooo-monero)
2020-07-19 03:39:53 -07:00
Alexander Blair
bb0241da6e
Merge pull request #6538
7178bb5c8 keccak: remove aligned check (moneromooo-monero)
2020-07-19 03:38:53 -07:00
Alexander Blair
61e5208181
Merge pull request #6537
5e0ea6e95 simplewallet: add missing calls to on_command (moneromooo-monero)
2020-07-19 03:38:07 -07:00
Alexander Blair
6d6c691a0f
Merge pull request #6536
bd9653663 db_lmdb: test for mmap support at init time (moneromooo-monero)
2020-07-19 03:37:15 -07:00
Alexander Blair
36d50d93f2
Merge pull request #6534
7bd66b01b daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation (stoffu)
2020-07-19 03:36:39 -07:00
Alexander Blair
814e617117
Merge pull request #6526
5d882f4f1 blockchain: fix theoretical race getting bulk timestamps (moneromooo-monero)
2020-07-19 03:34:52 -07:00
Alexander Blair
3ba6c7fd30
Merge pull request #6516
8656a8c9f remove double includes (sumogr)
2020-07-19 03:34:28 -07:00
Alexander Blair
a0d179e528
Merge pull request #6512
5ef0607da Update copyright year to 2020 (SomaticFanatic)
2020-07-19 03:32:59 -07:00
Alexander Blair
5041de8a3b
Merge pull request #6488
99684e3e simplewallet: add show_qr_code command (selsta)
2020-07-16 06:14:30 -07:00
moneromooo-monero
332d60719a
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-07-09 14:52:13 +00: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
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
ed903578d7
Merge pull request #6544
5741b4d blockchain: detect and log bad difficulty calculations (moneromooo-monero)
2020-07-08 17:04:41 -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
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
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
e77cd6023c game: fix food/heating in building settings screen 2020-07-05 18:22:44 +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
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
Crypto City
efe0af4e51 bump version to 0.19.1.2 2020-07-04 11:26:58 +00:00
Crypto City
b675367f5d game: fix account creation command not showing up in queued commands 2020-07-04 11:26:58 +00:00
Crypto City
db7fc22681 game: fix accessing freed memory in player history navigation 2020-07-04 11:26:58 +00:00
Crypto City
d2e2fedb62 game: fix accessing freed memory when cancelling password dialog 2020-07-04 11:26:58 +00:00
Crypto City
3bbfa8823a game: fix accessing freed memory in options dialog 2020-07-04 11:26:58 +00:00
Crypto City
3d47f9878b s/Creating/Building/ for building settings in queued commands 2020-07-04 11:26:58 +00:00
Crypto City
966505cf59 game: improve music shuffle mode 2020-07-04 11:26:58 +00:00
Crypto City
494a5677d2 game: remove leftover debug traces 2020-07-04 11:26:58 +00:00
Crypto City
acc6694561 game: fix loading from config in single directory mode 2020-07-04 11:26:58 +00:00
Crypto City
d26aa755c5 static build fixes 2020-07-04 11:26:58 +00:00
Crypto City
43e6932dce game: add sanity check on width/height when popping tiles 2020-07-04 10:22:31 +00:00
Crypto City
cf78cddf21 bump version to 0.19.1.1 2020-07-02 22:43:43 +00:00
Crypto City
5ddc99f872 more static build fixes 2020-07-02 22:43:01 +00:00
Crypto City
a0162bf909 bump version to 0.19.1.0 2020-07-02 20:28:25 +00:00
Crypto City
fb8bce37b2 static build fixes 2020-07-02 20:26:28 +00:00
Crypto City
75ae2ba6d1 game: make this work with pak files and without a bin directory 2020-07-02 20:26:28 +00:00
Crypto City
e0f406ff8a bump version to 0.19.0.0 2020-06-30 16:23:20 +00:00
Crypto City
2e49b2e7f7 game: fix crash in city level window 2020-06-30 16:23:20 +00:00
Crypto City
8d3a440a2e cc: make city levels a bit harder to get 2020-06-30 15:58:07 +00:00
Crypto City
dc7767bc7a game: use a better RNG for random city coordinates 2020-06-30 15:06:09 +00:00
Crypto City
77e4b7e359 blockchain: update block 1 tag 2020-06-30 11:44:51 +00:00
Crypto City
789748a196 wallet2: update genesis block timestamp for chain restart 2020-06-30 11:44:51 +00:00
Crypto City
5e70484c18 cc: restrict lists of ids to forbid duplicates 2020-06-30 11:06:22 +00:00
Crypto City
63a3230fdb add ignore tests 2020-06-30 11:06:08 +00:00
Crypto City
2d72a700b4 cc: remove game check for ignore command
it's already done by the core and it breaks tests using a custom one
2020-06-30 00:32:02 +00:00
Crypto City
5bc640db53 cc: halve hunt cost/yield again 2020-06-29 23:46:31 +00:00
Crypto City
0124fd4ee1 calendar: fix early summer game start
Spring in fact
2020-06-29 23:33:47 +00:00
Crypto City
c7a56048e0 game: enable resize flag if anything is selected 2020-06-29 23:33:31 +00:00
Crypto City
3ede1a8e52 daemon: fix print_bc synopsis line 2020-06-29 22:23:00 +00:00
Crypto City
5b705e9ad0 cc: make hunts get less meat (and cost less labour) 2020-06-29 22:16:08 +00:00
Crypto City
149a1f8ff3 cc: increase food spoil rate a bit 2020-06-29 22:16:08 +00:00
Crypto City
dfc8d77b67 game: add a "no wallet" link in spectator mode and a quick intro text 2020-06-29 22:16:08 +00:00
Crypto City
16aa25cc1b game: add wallet creation capability 2020-06-29 22:16:08 +00:00
Crypto City
f6af276e28 Revert "tx_pool: temporary crash if we can't get a batch txn"
This reverts commit 422f80ff86.
2020-06-29 22:16:08 +00:00
Crypto City
05785d3789 cc: add town square bonus 2020-06-29 22:16:08 +00:00
Crypto City
d48350f09d game: make building settings read only if we're not the owner 2020-06-29 22:16:08 +00:00
Crypto City
c86f0826ce tx_pool: print spammy error only once 2020-06-29 22:16:08 +00:00
Crypto City
eefd589d20 mine all txes in offline mode 2020-06-29 22:16:08 +00:00
Crypto City
8716536b01 store/restore palette in derelict/removed buildings in game update 2020-06-29 22:16:08 +00:00
Crypto City
def2faacfe Revert "cryptonote_basic: make cc signature unprunable"
This reverts commit c7ce18cfdb.
2020-06-29 22:16:08 +00:00
Crypto City
ef2b4e7e8b Revert "cryptonote_basic: fix calculating hashes from pruned"
This reverts commit 232164bb45.
2020-06-29 22:16:08 +00:00
Crypto City
48015c885a game: plug undo/redo keys in 2020-06-29 22:16:08 +00:00
Crypto City
cbab2212ee game: fix ellipse selection on windows 2020-06-29 22:16:08 +00:00
Crypto City
817a25d011 cc: decrease labour cost for military buildings 2020-06-29 22:16:08 +00:00
Crypto City
6ed94ef015 tx_pool: don't complain about timed out txes, just ignore them 2020-06-29 22:16:08 +00:00
Crypto City
5311bb9ae9 game: better history pagination when filtering 2020-06-29 22:16:08 +00:00
Crypto City
2d598ed64e cc: make research cost decrease much slower with time 2020-06-29 22:16:08 +00:00
Crypto City
155acfe9d6 cc: decrease amount of food produced a bit 2020-06-29 22:16:08 +00:00
Crypto City
904f8cb920 game: add current top height in node section 2020-06-29 22:16:08 +00:00
Crypto City
513a9a9d20 cc: tweak moose/bear regeneration down a bit 2020-06-29 22:16:08 +00:00
Crypto City
1434ac8f5e cc: tweak heating needs a bit 2020-06-29 22:16:08 +00:00
Crypto City
4801700ddb rpc: fix test typo in relay_tx 2020-06-29 22:16:08 +00:00
Crypto City
fffeb1bdae cc: allow hunting with a population less than actual 2020-06-29 22:16:08 +00:00
Crypto City
39ae33f4d5 cc: log amount of money sent/received in event log 2020-06-29 22:16:08 +00:00
Crypto City
8e57dbef25 game: fix stale last update events list 2020-06-29 22:16:08 +00:00
Crypto City
f9cae3c326 cryptonote_protocol: don't drop connections for a conflicing tx 2020-06-29 22:16:08 +00:00
Crypto City
408480373e game: fix non 7 bit ASCII input 2020-06-29 22:16:07 +00:00
Crypto City
2efe96eb9b game: fix research ranking 2020-06-29 22:16:07 +00:00
Crypto City
161ba197b1 game: add a command to remove only top level blocks in the selection 2020-06-29 22:16:07 +00:00
Crypto City
5a4e37be99 game: make music default not include chiptunes 2020-06-29 22:16:07 +00:00
Crypto City
b6674fc24b game: fix selection based block removal removing from the bottom 2020-06-29 22:16:07 +00:00
Crypto City
b5fcb9e1b7 game: add random music selection and a skip track button 2020-06-29 22:16:07 +00:00
Crypto City
d3e5c83e4a game: fix focus on message boxes 2020-06-29 22:16:07 +00:00
Crypto City
8004178593 game: fix incorrect chat line count when resetting chat 2020-06-29 22:16:07 +00:00
moneromooo-monero
afd002c31f
daemon: print sampling time in print_net_stats 2020-06-25 13:03:59 +00:00
moneromooo-monero
ec7bba0793
util: fix kilo prefix typo (K instead of k) 2020-06-25 13:03:24 +00:00
Crypto City
3d7245a7f5 game: plug selection based key bindings into the game 2020-06-25 10:44:45 +00:00
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
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
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
selsta
2f1ad3b3d2
updates: mac gui .tar.bz2 -> .dmg 2020-06-22 02:55:22 +02:00
Dusan Klinec
f9e3fcdf3e
add trezor support to sweep_single 2020-06-21 23:17:58 +02:00
selsta
99684e3ec3
simplewallet: add show_qr_code command
Thanks to iDunk for helping with Windows.
2020-06-21 20:15:10 +02: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
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
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
1d007bd2e2 cc: store max city level in the update command
so it can be properly reverted
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
Crypto City
63667034df game: allow starting mining when a wallet without account is loaded 2020-06-14 23:43:31 +00:00
Crypto City
e6bd9ab95f cc: allow \r in player profile 2020-06-14 23:43:31 +00:00
Crypto City
87277db6da db_lmdb: zero out padding in db structures
So db data doesn't have random unused data in it
2020-06-14 23:43:31 +00:00
Crypto City
f32ee18b21 cc: print full mismatched game update txes only the first time
They're huge and fill the log really fast
2020-06-14 23:43:31 +00:00
Crypto City
e394496fca blockchain: add popped txes in original order
since it matters for townforge due to dependencies within a block
2020-06-14 23:43:31 +00:00
Crypto City
188328010e cc: decrease amount of wood needed for heating by 90% 2020-06-14 23:43:30 +00:00
Crypto City
704250e901 add a couple more city specializations 2020-06-14 23:43:30 +00:00
Crypto City
a8c61ebb81 tx_pool: copy insert_key_images dandelion changes to insert_cc_nonces 2020-06-14 23:43:30 +00:00
Crypto City
b39bc5406f cryptonote_core: fix incoming tx sorting 2020-06-14 23:43:30 +00:00
Crypto City
d72beedc33 game: add "ignore influence" better 2020-06-14 23:43:30 +00:00
Crypto City
399a9aeba3 game: lock wallet while refreshing 2020-06-14 23:43:30 +00:00
Crypto City
75cc5e8b36 game: add a couple include guards 2020-06-14 23:43:30 +00:00
Crypto City
ba8d50a973 game: cast to unsigned long when using %lu in printf 2020-06-14 23:43:30 +00:00
Crypto City
056b2e45fc game: use keccak instead of rand for cloud/horizon random numbers
Turns out rand yields ridiculous looking forest/clouds on windows
2020-06-14 23:43:30 +00:00
Crypto City
b586c8d290 game: fix locking bug on wallet load 2020-06-14 23:43:30 +00:00
Crypto City
a198126b75 game: link against zlib 2020-06-14 23:43:30 +00:00
Crypto City
5565a26aa4 game: fix locking bug 2020-06-14 23:43:30 +00:00
Crypto City
8e7a14f33d game: fix destruction ordering bug on exit 2020-06-14 23:43:30 +00:00
Crypto City
091c17928e game: enable start mining button only when a wallet is loaded 2020-06-14 23:43:30 +00:00
Crypto City
b21d24f388 start city levels a bit higher 2020-06-14 23:43:30 +00:00
Crypto City
23c813cf45 add city specializations 2020-06-14 23:43:30 +00:00
Crypto City
2bfba55751 game: do not load data from the installed urho3d 2020-06-14 23:43:30 +00:00
Crypto City
103e227edb add chiptune music too 2020-06-14 23:43:30 +00:00
Crypto City
d5f47b578e cc: make new cities ten times cheaper 2020-06-14 23:43:30 +00:00
Crypto City
bcd0d9dea1 make this build on windows
Thanks to syksy and iDunk for testing/debugging on windows
2020-06-14 23:43:30 +00:00
moneromooo-monero
267ce5b718
avoid a couple needless copies 2020-06-14 18:05:35 +00:00
Lee Clagett
4d8d121462 Fix D++ block template check 2020-06-12 22:05:52 -04:00
selsta
58e1c8b031
repo: update donation fund address 2020-06-09 12:19:39 +02:00
stoffu
7bd66b01bf
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.
2020-06-09 10:40:51 +09:00
luigi1111
ff4d470629
Merge pull request #6576
4d3c2d0 rpc: add a sanity limit to a few RPC in restricted mode (moneromooo-monero)
2020-06-08 14:27:05 -05:00
luigi1111
c4f4091dd4
Merge pull request #6561
c17fe81 wallet2: fix multisig data clearing stomping on a vector (moneromooo-monero)
2020-06-08 14:21:33 -05:00
luigi1111
445f74c71a
Merge pull request #6556
5ed37ba serialization: fix bad rapidjson api usage (moneromooo-monero)
2020-06-08 14:18:09 -05:00
luigi1111
28745b1b63
Merge pull request #6553
bb5c5df cryptonote_protocol: reject requests/notifications before handshake (moneromooo-monero)
f1d0457 cryptonote_protocol: stricter limit to number of objects requested (moneromooo-monero)
2020-06-08 14:16:42 -05:00
luigi1111
e17c864ba2
Merge pull request #6549
82d21f5 easylogging++: sanitize log payload (moneromooo-monero)
7d0b7e8 [master] MMS: New 'config_checksum' subcommand (rbrunner7)
2020-06-08 14:12:08 -05:00
luigi1111
3a577f1ce7
Merge pull request #6525
86cf811 simplewallet: don't complain about incoming payment ids on change (moneromooo-monero)
2020-06-08 14:07:45 -05:00
luigi1111
09667700e8
Merge pull request #6519
ab44293 trezor: add new firmware version support (ph4r05)
2020-06-08 14:03:57 -05:00
luigi1111
37c359e765
Merge pull request #6514
4baee20 build: prepare v0.16.0.0 release (selsta)
2020-06-08 14:02:00 -05:00
Crypto City
acb9e0f201 add architect badge 2020-06-07 17:22:35 +00:00
Crypto City
03f31114b5 add atlas badge 2020-06-07 17:22:35 +00:00
Crypto City
f8ad8d1724 game: add music 2020-06-07 17:22:35 +00:00
woodser
ef694d028f fix warning by removing std::move() on temporary http_client object 2020-06-06 11:38:32 -04:00
moneromooo-monero
795e18632c
blockchain: fix total_height in getblocks.bin response 2020-06-05 15:27:07 +00:00
moneromooo-monero
4df8f9c414
rpc: fix loading rpc payment data from file
Got broken after making one of those micro optimizations requested on review..
2020-06-05 11:21:24 +00:00
Crypto City
98d41a94d6 version: bump version to 0.18.1.0 2020-06-01 13:52:00 +00:00
Lee Clagett
7aeb503547 Fix boost <1.60 compilation and fix boost 1.73+ warnings 2020-05-31 21:18:11 -04:00
moneromooo-monero
dc1a053081
rpc: fix comparison of seconds vs microseconds 2020-05-31 22:28:23 +00:00
moneromooo-monero
eb1b321fe2
miner: increase min/max intervals to full extents
This prevents setting target to, eg, 65 being ignored

and remove an unused constant
2020-05-31 12:36:47 +00:00
Crypto City
0ae6f713fb blockchain: empty builtin hashes 2020-05-31 11:51:22 +00:00
Crypto City
2a90a3df6b fixes after merge 2020-05-31 00:41:03 +00:00
Crypto City
396157b032 Merge remote-tracking branch 'origin/master' into cc 2020-05-30 18:55:11 +00:00
Crypto City
1f3603d209 game: add missing files 2020-05-30 13:44:14 +00:00
Crypto City
453f4cf9af encode accrual as a signed integer for space savings 2020-05-30 11:46:19 +00:00
Crypto City
377486bb47 bump version to 0.18.0.1 2020-05-30 10:59:23 +00:00
Crypto City
da1894dbbf bump version to 0.18.0.0 2020-05-29 23:48:32 +00:00
Crypto City
5eb8dac1fa add new sandstone wall material 2020-05-29 23:48:32 +00:00
Crypto City
66e3a902b4 game: fix asserts in options dialog 2020-05-29 23:48:32 +00:00
Crypto City
bcda16b1ad game: fix spammy method hiding warning 2020-05-29 23:20:51 +00:00
Crypto City
9c352eb8f1 game: remove unused field 2020-05-29 23:20:51 +00:00
Crypto City
dd42a67f99 remove a couple pessimizing std::move 2020-05-29 23:20:51 +00:00
Crypto City
5c5f2f0aa0 add a few missing override 2020-05-29 23:20:51 +00:00
Crypto City
45c006b63b fix a couple class/struct mismatch 2020-05-29 23:20:51 +00:00
Crypto City
81e8a19880 remove unused/unneeded captures 2020-05-29 23:20:51 +00:00
Crypto City
bc21350d81 cc: fix operator precedence 2020-05-29 23:20:51 +00:00
Crypto City
d0eb30afe5 cc: fix bitise op 2020-05-29 23:20:51 +00:00
Crypto City
7ee418270e game: fix assert when closing the palette dialog 2020-05-29 23:20:51 +00:00
Crypto City
2098b31d0a db_lmdb: fix leaks 2020-05-29 23:20:51 +00:00
Crypto City
8d74dd747a game: build with optimizations again 2020-05-29 23:20:50 +00:00
Crypto City
7ad4e2dc78 tx_pool: remove txes when the parentage chain is too long 2020-05-29 23:20:50 +00:00
Crypto City
b9c69cf918 update blockchain_prune to handle cc tables 2020-05-29 23:20:50 +00:00
Crypto City
adb611acd5 cc: decrease military buildings stone requirements 2020-05-29 23:20:50 +00:00
Crypto City
c22e54b850 unlock_time is now valid only for coinbase txes 2020-05-29 23:20:50 +00:00
Crypto City
72796a1cc0 game: keep horizon trees on the ground when moving up/down 2020-05-29 23:20:50 +00:00
Crypto City
267b2ad975 game: thinner columns for scores with low range 2020-05-29 23:20:50 +00:00
Crypto City
b3e066d27f game: improve node section with sync ratio and hash rate 2020-05-29 23:20:50 +00:00
Crypto City
3caac66292 cc: some discovery patent time tweaks 2020-05-29 23:20:50 +00:00
Crypto City
dd15eb8d6c cc: quantize tax a bit 2020-05-29 23:20:50 +00:00
Crypto City
2e2b08830b blockchain: change block 1 tag 2020-05-29 23:20:50 +00:00
Crypto City
da975c6c35 game: add daemon start/stop mining from the game 2020-05-29 23:20:50 +00:00
Crypto City
637f5e7c3a game: hide "ignore influence" debug helper widget 2020-05-29 23:20:50 +00:00
Crypto City
3b752a31fb cc: add insulation discoveries 2020-05-29 23:20:50 +00:00
Crypto City
e7c7ee6f7f cc: add moose hide clothing discoveries 2020-05-29 23:20:50 +00:00
Crypto City
e5b55f7251 cc: decrease the higher thresholds for number of discoveries badge 2020-05-29 23:20:50 +00:00
Crypto City
b69cd8099c cc: add masonry discoveries 2020-05-29 23:20:50 +00:00
Crypto City
9e36486b8f add hunting tactics discoveries 2020-05-29 23:20:50 +00:00
Crypto City
81fce3a543 time chat txes out at 24 hours, not 12 2020-05-29 23:20:50 +00:00
Crypto City
5c13ec049a game: move the compass to the left, where it's not under the panel 2020-05-29 23:20:50 +00:00
Crypto City
215f524015 game: lighting tweaks
Starker difference between fully lit and ambient, and draw the horizon
trees unlit, but change their material colour based on overall light
(it'll be faster, and gets rid of the occasional white tint)
2020-05-29 23:20:50 +00:00
Crypto City
8508f1f6ef cc: tweak building role unlocking levels 2020-05-29 23:20:50 +00:00
Crypto City
6e5a79ccb8 game: make a separate dialog for special event help 2020-05-29 23:20:50 +00:00
Crypto City
66f13fe3ec firefighting service is free for the firefighting building owner 2020-05-29 23:20:50 +00:00
Crypto City
3dd83d049c game: fix a few niggles with the firefighting dialog 2020-05-29 23:20:50 +00:00
Crypto City
b18e1d6569 cc: fix firefighting fee destination 2020-05-29 23:20:50 +00:00
Crypto City
b592cc8c11 game: fix crash when flags go 2020-05-29 23:20:50 +00:00
Crypto City
9f6ba5916b rpc: fix last update height in snapshot 2020-05-29 23:20:50 +00:00
Crypto City
e095385f04 game: add confirmation messages for demolish and destroy flag 2020-05-29 23:20:50 +00:00
Crypto City
6a545eb294 cc: add ghost town badge 2020-05-29 23:20:50 +00:00
Crypto City
b7e71a4645 game: fix horizon positioning inaccuracies 2020-05-29 23:20:50 +00:00
Crypto City
74537cdc2e More city levels, and space less closer 2020-05-29 23:20:50 +00:00
Crypto City
e98aa10308 cc: don't give an attribute point before levelling up 2020-05-29 23:20:50 +00:00
Crypto City
828bb1ba41 allow destroying a flag 2020-05-29 23:20:50 +00:00
Crypto City
acb1fc6d89 game: dirty flags when processing trade commands
They might change owner so we need to recreate the influence models
2020-05-29 23:20:50 +00:00
Crypto City
a5e1da3070 daemon: print flag name in cc_get_flag 2020-05-29 23:20:50 +00:00
Crypto City
d38179d8c5 game: fix missing vegetation in new buildings 2020-05-29 23:20:50 +00:00
Crypto City
f1e4f6ef0e game: fix first land purchase discount when not invited 2020-05-29 23:20:50 +00:00
Crypto City
0cc8c0c675 game balance updates after all the recent changes 2020-05-29 23:20:50 +00:00
Crypto City
6ba7f88b97 switch to lunar inspired calendar 2020-05-29 23:20:50 +00:00
Crypto City
7820ec6200 game: load TB data via the urho3d resource system 2020-05-29 23:20:50 +00:00
Crypto City
d2949eb3ff Change the address prefix from CC to TF 2020-05-29 23:20:49 +00:00
Crypto City
1e96286164 only mine txes that are valid as a set 2020-05-29 23:20:49 +00:00
Crypto City
81bb7a114d tx_pool: better error reporting when a command conflicts 2020-05-29 23:20:49 +00:00
Crypto City
2c0ed00c21 game: remove leftover hardcoded 8 tile scale 2020-05-29 23:20:49 +00:00
Crypto City
ce07516176 mine only one tx per account per block 2020-05-29 23:20:49 +00:00
Crypto City
28fd762094 tx_pool: conflict multiple redemption of the same invitation 2020-05-29 23:20:49 +00:00
Crypto City
69eba00a96 tx_pool: only accept a public key once when creating accounts 2020-05-29 23:20:49 +00:00
Crypto City
ec5b91992f game: queued commands now display only the current player's commands 2020-05-29 23:20:49 +00:00
Crypto City
7bdecd48fe game: file selector focus improvements 2020-05-29 23:20:49 +00:00
Crypto City
cfcae9094d claim cost in firefighting, flag resizing and city founding 2020-05-29 23:20:49 +00:00
Crypto City
282ea69c74 cc: add some more coloured block variants 2020-05-29 23:20:49 +00:00
Crypto City
9e35324658 game: add a spanning columns render mode 2020-05-29 23:20:49 +00:00
Crypto City
2f77fc4051 invitations 2020-05-29 23:20:49 +00:00
Crypto City
9012ee2aa7 game: display higher level badges first in leaderboards tooltip 2020-05-29 23:20:49 +00:00
Crypto City
4ebfb78787 game: add a leaderboard for weekly level progress 2020-05-29 23:20:49 +00:00
Crypto City
6b69c8c03f cc: bump streak badge thresholds slightly 2020-05-29 23:20:49 +00:00
Crypto City
3b74fd0962 Add some more discoveries 2020-05-29 23:20:49 +00:00
Crypto City
c12e950d2b cc: add foundations discoveries 2020-05-29 23:20:49 +00:00
Crypto City
d1a803e97c game: include patent time in research dialog 2020-05-29 23:20:49 +00:00
Crypto City
fe4e7e9f39 cc: decrease city level progression difficulty 2020-05-29 23:20:49 +00:00
Crypto City
dc62bd7bdc game: do not use empty names 2020-05-29 23:20:49 +00:00
Crypto City
01d399fd11 cc: award streak badge after all others, or we could miss some case 2020-05-29 23:20:49 +00:00
Crypto City
9e07e19cbf add wrecker badge (number of buildings demolished) 2020-05-29 23:20:49 +00:00
Crypto City
a76e62f22c core: sign create_aaccount commands too
with the new pubkey, to prove we know it
2020-05-29 23:20:49 +00:00
Crypto City
97c7c6c19e bump game payouts a bit 2020-05-29 23:20:49 +00:00
Crypto City
d3dbe239b6 game: fix hidden part of the hunt dialog with military bonus 2020-05-29 23:20:49 +00:00
Crypto City
f764b6cd57 game: display badge leaderboard with level, and badges as tooltip 2020-05-29 23:20:49 +00:00
Crypto City
c1d08f8f39 cc: do not award badges to the game account nor treasuries 2020-05-29 23:20:49 +00:00
Crypto City
ad26aef0e3 game: auto add variants to palette when selected and not already in 2020-05-29 23:20:49 +00:00
Crypto City
b9dda9eae5 game: fix material selection ui focus issues 2020-05-29 23:20:49 +00:00
Crypto City
179341a274 game: don't count chat commands in queued commands list 2020-05-29 23:20:49 +00:00
Crypto City
7e78f3bd54 cc: fix pioneer badge levels order 2020-05-29 23:20:49 +00:00
Crypto City
edbaccddea cc: fix reverting game update with flags on fire 2020-05-29 23:20:49 +00:00
Crypto City
52b82838e5 game: fix bad palette access 2020-05-29 23:20:48 +00:00
Crypto City
a8041489bd game: more explicit error messages for flag resizing 2020-05-29 23:20:48 +00:00
Crypto City
98ad361d8a firefighting 2020-05-29 23:20:45 +00:00
moneromooo-monero
6e4a55ba7e
rpc: fix relay_tx error return mixup 2020-05-28 11:33:27 +00:00
François Colas
ec46069248 Fix incorrect lenght of command INS_PREFIX_HASH
buffer_send[4] (LC) is an unsigned char, len should not
exceed 254 (255 - 1 for the option).
2020-05-27 18:06:19 +02:00
Crypto City
6a18101b1a add invitation system 2020-05-26 16:22:42 +00:00
Crypto City
cecb5e0c77 db_lmdb: make some 8 bit fields not bitfields 2020-05-26 16:22:42 +00:00
Crypto City
5fbbecefca add streak badge 2020-05-26 16:22:42 +00:00
Crypto City
11787592a3 player profile may be edited from level 5 only 2020-05-26 16:22:42 +00:00
Crypto City
b333b92415 move cc_badge.h away from blockchain_db.h 2020-05-26 16:22:42 +00:00
Crypto City
ded3539067 cc: add a few discoveries 2020-05-26 16:22:42 +00:00
Crypto City
79d3b4b58a game: bodge a missing last character in material selection ui 2020-05-26 16:22:42 +00:00
Crypto City
1cdb478d39 game: material selection ui 2020-05-26 16:22:42 +00:00
Crypto City
85657e3c8c game: mitigate X/SDL input bug 2020-05-26 16:22:42 +00:00
Crypto City
9371eb8d6a cc: distribute last resort item purchases among all cities 2020-05-26 16:22:42 +00:00
Crypto City
691fe0d57d cc: guard against a city with 0 weight 2020-05-26 16:22:42 +00:00
Crypto City
d5bdc5d4c8 game: add some hysteresis to the compass 2020-05-26 16:22:42 +00:00
Crypto City
d0191ad7f1 game: add a compass 2020-05-26 16:22:42 +00:00
Crypto City
8872019d43 game: replace chat icons with a free to use one
Since I did not permission from Pardus to use theirs
2020-05-26 16:22:42 +00:00
moneromooo-monero
bcef52d430
daemon: remove time based "update needed" status string 2020-05-24 21:44:03 +00:00
Denis Smirnov
94befecb05 fix typo in pick_preferred_rct_inputs 2020-05-25 03:39:54 +07:00
rbrunner7
7d0b7e83ef [master] MMS: New 'config_checksum' subcommand 2020-05-24 10:23:55 +02:00
moneromooo-monero
82d21f5b3c easylogging++: sanitize log payload
Some of it might be coming from untrusted sources

Reported by itsunixiknowthis
2020-05-24 08:38:59 +02:00
moneromooo-monero
78d435a5fa
rpc: don't display invalid json errors on default log level
It's not something the user needs to know, and will display
attacker controlled data
2020-05-23 12:26:49 +00:00
xiphon
a6803231e6 daemon: complain if data dir resides on FAT32 volume (Windows) 2020-05-21 15:23:44 +00:00
moneromooo-monero
4d3c2d0b7b
rpc: add a sanity limit to a few RPC in restricted mode 2020-05-20 19:17:49 +00:00
selsta
1d31e6c000
net_node: remove dead seed nodes 2020-05-20 01:06:03 +02:00
moneromooo-monero
7ebb351c2d
rpc: lock access to the rpc payment object 2020-05-19 18:26:28 +00:00
moneromooo-monero
f0371210e9
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-19 16:27:24 +00:00
moneromooo-monero
567402c508
protocol: move the "peer claims higher version" warning to debug
Because there's a neverending supply of cunts claiming a wrong
version just to say "look at me" I guess
2020-05-19 16:14:53 +00:00
moneromooo-monero
72cdfa4a20
fix a few typos in error messages
Reported by adrelanos
2020-05-19 15:59:26 +00:00
moneromooo-monero
c17fe815a2
wallet2: fix multisig data clearing stomping on a vector 2020-05-19 10:45:40 +00:00
moneromooo-monero
f1d0457523
cryptonote_protocol: stricter limit to number of objects requested
Reported by xnbya
2020-05-19 10:33:03 +00:00
moneromooo-monero
bb5c5dff15
cryptonote_protocol: reject requests/notifications before handshake
Reported by xnbya
2020-05-19 10:33:02 +00:00
moneromooo-monero
bd69e3b37a
testdb: add override in a couple places where it's missing 2020-05-18 14:17:48 +00:00
moneromooo-monero
5ed37ba83c
serialization: fix bad rapidjson api usage 2020-05-18 14:17:23 +00:00
moneromooo-monero
5741b4d74d
blockchain: detect and log bad difficulty calculations 2020-05-17 12:44:45 +00:00
moneromooo-monero
eda1675858
wallet_rpc_server: use unlock_time in suggested confirmations calc 2020-05-17 01:03:32 +00:00
moneromooo-monero
35665df206
protocol: don't drop a connection if we can't get a compatible chain
This can now happen if:
- we have a pruned db
- we have not connected to the monero network for a while
- we connect to a node
- that node asks us for history
- we only have a pruned version of the most recent common block

In that case, it's better to not reply but keep the connection alive,
so we can sync off it.
2020-05-16 19:55:31 +00:00
moneromooo-monero
7178bb5c84
keccak: remove aligned check
Some tools report the alignment check as UB, which seems a bit
dubious, but since the performance difference between the two
versions is minimal, I'll go with the safe version
2020-05-16 12:28:27 +00:00
Lee Clagett
a11ec4ac1d Support for supercop ASM in wallet, and benchmark for supercop 2020-05-16 10:25:17 +00:00
moneromooo-monero
5e0ea6e95c
simplewallet: add missing calls to on_command
It resets the inactivity time
2020-05-16 00:48:44 +00:00
moneromooo-monero
bd96536637
db_lmdb: test for mmap support at init time
It'll make it clearer when a DB init failure is due to being
on a filesystem which does not support mmap
2020-05-16 00:20:22 +00:00
Lee Clagett
67ade80055 Add randomized delay when forwarding txes from i2p/tor -> ipv4/6 2020-05-15 07:57:35 +00:00
selsta
f35ced6d7f
build: fix boost 1.73 compatibility 2020-05-14 22:57:53 +02:00
moneromooo-monero
86cf811a39
simplewallet: don't complain about incoming payment ids on change 2020-05-13 23:28:31 +00:00
selsta
4baee200a7
build: prepare v0.16.0.0 release 2020-05-13 16:15:03 +02:00
moneromooo-monero
5d882f4f14
blockchain: fix theoretical race getting bulk timestamps 2020-05-13 13:42:41 +00:00
Dusan Klinec
ab4429346d
trezor: add new firmware version support 2020-05-12 16:31:36 +02:00
sumogr
8656a8c9ff remove double includes 2020-05-11 13:53:17 +00:00
luigi1111
77a008f714
Merge pull request #6510
70609d7 cryptonote_core: take out the time based upgrade warning (moneromooo-monero)
2020-05-07 10:44:34 -05:00
luigi1111
4c2f78aeeb
Merge pull request #6506
42e1484 wallet2: fix keys file deserialization exception handling (xiphon)
2020-05-07 10:43:05 -05:00
SomaticFanatic
5ef0607da6 Update copyright year to 2020
Update copyright year to 2020
2020-05-06 22:36:54 -04:00
moneromooo-monero
70609d7681
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-06 18:27:23 +00:00
luigi1111
dbba6004f5
Merge pull request #6503
f80ab3e cryptonote_protocol: do not request pruned borromean sig txes (moneromooo-monero)
2020-05-06 12:22:28 -05:00
moneromooo-monero
f80ab3edde
cryptonote_protocol: do not request pruned borromean sig txes
We don't have a function to calculate their weight from a pruned
version (yet).
2020-05-06 12:44:00 +00:00
luigi1111
f2c78f6a5b
Merge pull request #6486
feee455 Fixes for ZMQ JSON-RPC endpoint names for raw tx (vtnerd)
2020-05-06 00:34:30 -05:00
luigi1111
3de804f1e9
Merge pull request #6485
7a8c1ee wallet2: fix subaddress expansion when receiving monero (moneromooo-monero)
2020-05-06 00:31:51 -05:00
luigi1111
98e3802b26
Merge pull request #6484
e7d0105 message_store: don't print an error when there is no mms file (moneromooo-monero)
2020-05-06 00:30:39 -05:00
luigi1111
de025281dc
Merge pull request #6481
119f706 rpc: fix 'use_bootstrap_daemon_if_necessary' return value (xiphon)
2020-05-06 00:29:49 -05:00
luigi1111
9e3f72c375
Merge pull request #6480
4f489fa wallet2: check_connection return false on get_version status != OK (xiphon)
2020-05-06 00:28:18 -05:00
luigi1111
0f233c6ad8
Merge pull request #6478
ee58362 Used legacy category to match insert_key_images behavior (vtnerd)
2020-05-06 00:27:13 -05:00
luigi1111
483e5cab5c
Merge pull request #6472
2efbd5f cryptonote: fix reuse of non default tx data when relaying (moneromooo-monero)
2020-05-06 00:25:18 -05:00
luigi1111
8d0f1696df
Merge pull request #6471
c6a1294 add another seed node (Gingeropolous/selsta)
9faf3d1 Add erciccione's seed node (erciccione/selsta)
2020-05-06 00:23:59 -05:00
luigi1111
1f505a5eac
Merge pull request #6468
a813c46 cryptonote_core: skip dns checkpoints on startup if not enforced (xiphon)
2020-05-06 00:22:20 -05:00
luigi1111
6d1f3c9acd
Merge pull request #6467
8b655de simplewallet: report timestamp based expected unlock time on balance (moneromooo-monero)
2020-05-05 23:40:44 -05:00
luigi1111
b4023dcfc5
Merge pull request #6441
613071f use memwipe on secret k/alpha values (moneromooo-monero)
2020-05-05 23:39:32 -05:00
xiphon
42e14840fb wallet2: fix keys file deserialization exception handling 2020-05-05 16:34:50 +00:00
Lee Clagett
e5214a2ca2 Adding ZMQ/Pub support for txpool_add and chain_main events 2020-05-04 02:06:35 +00:00
luigi1111
8185054db7
Merge pull request #6451
4ed60b6 Bulletproofs: verification speedup (SarangNoether)
2020-05-02 15:14:41 -05:00
luigi1111
ec90f9a54b
Merge pull request #6453
d2d3a81 bootstrap_daemon: fix missing virtual destructor and lambda capture (clang warning) (xiphon)
2020-05-01 15:47:47 -05:00
luigi1111
ac9f7c9bec
Merge pull request #6449
27d551d simplewallet: add sweep_account command (moneromooo-monero)
2020-05-01 15:36:19 -05:00
luigi1111
c9b800a787
Merge pull request #6446
e509ede trezor: adapt to new passphrase mechanism (ph4r05)
2020-05-01 15:32:52 -05:00
luigi1111
f020b24b02
Merge pull request #6444
b367630 simplewallet : missing function block separator (sumogr)
2020-05-01 15:24:33 -05:00
luigi1111
6e7b883212
Merge pull request #6443
145be6d p2p: startup speedup, init seed nodes on first 'connect_to_seed()' (xiphon)
2020-05-01 15:23:05 -05:00
luigi1111
6b7e88e16c
Merge pull request #6440
7c4a400 simplewallet: fix strings (show_transfers & export_transfers) (sumogr)
2020-05-01 15:21:57 -05:00
luigi1111
443f5c6bda
Merge pull request #6436
688a3e8 Add timelock verification on device (cslashm)
2020-05-01 15:20:05 -05:00
luigi1111
3e21e591b8
Merge pull request #6350
da99157 Use byte_slice for sending zmq messages - removes data copy within zmq (vtnerd)
2020-05-01 15:13:58 -05:00
Sumo Gr
dd807b8410 txpool.cpp: rename var to fix for old g++ version (xenial default) 2020-04-29 10:03:51 +00:00
Lee Clagett
feee455c9f Fixes for ZMQ JSON-RPC endpoint names for raw tx 2020-04-29 01:07:27 -04:00
Crypto City
06472348cf WIP - palettes 2020-04-28 15:43:03 +00:00
Crypto City
15620cb958 game: more user friendly repair all button 2020-04-28 15:08:40 +00:00
Crypto City
8372adf43d game: remove unused prototype 2020-04-28 15:08:40 +00:00
Crypto City
c082af2f5e game: fix colunm resizing in flags list 2020-04-28 15:08:40 +00:00
Crypto City
7e64fabdb2 game: remove obsolete code 2020-04-28 15:08:40 +00:00
Crypto City
145e16098d game: fix repair all considering empty flags 2020-04-28 15:08:40 +00:00
Crypto City
3275d55daf game: fix switches back and forth from per cube rendering mode 2020-04-28 15:08:40 +00:00
moneromooo-monero
7a8c1eece9
wallet2: fix subaddress expansion when receiving monero 2020-04-27 16:48:19 +00:00
Dusan Klinec
e509ede2aa
trezor: adapt to new passphrase mechanism
- choice where to enter passphrase is now made on the host
- use wipeable string in the comm stack
- wipe passphrase memory
- protocol optimizations, prepare for new firmware version
- minor fixes and improvements
- tests fixes, HF12 support
2020-04-27 18:17:56 +02:00
moneromooo-monero
e7d01056f4
message_store: don't print an error when there is no mms file
It confuses people
2020-04-27 15:44:29 +00:00
xiphon
119f706921 rpc: fix 'use_bootstrap_daemon_if_necessary' return value 2020-04-27 10:32:33 +00:00
Crypto City
ed78e68f43 game: make notifications a bit easier to read by moving the shadow 2020-04-27 01:41:02 +00:00
Crypto City
497d951fce game: do not drop to block based rendering when hovering or unselected
Target block highlight used to be material based, which required
per block rendering, but is now a frame cursor, which does not.
2020-04-27 01:41:02 +00:00
xiphon
4f489fa6a2 wallet2: check_connection return false on get_version status != OK 2020-04-26 13:08:17 +00:00
Lee Clagett
ee58362b1f Used legacy category to match insert_key_images behavior 2020-04-24 20:19:37 -04:00
Crypto City
f7243bbe23 game: enable/disable profile edit based on player info dialog account 2020-04-24 13:44:45 +00:00
Crypto City
b4eac58802 game: add a screenshot based title screen 2020-04-24 01:21:20 +00:00
Crypto City
63c50b5c08 from monero 2020-04-22 17:16:55 +00:00
moneromooo-monero
2efbd5f0cc
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-04-22 16:50:20 +00:00
Crypto City
6ad068d938 make city levels somewhat easier to achieve 2020-04-22 15:14:48 +00:00
Crypto City
30d8e2f394 cc: unlock commercial buildings at level 1 2020-04-22 15:14:48 +00:00
Gingeropolous
c6a1294b5e
add another seed node
node is funded by random people and managed by me. currently functioning as public node at uwillrunanodesoon.moneroworld.com
2020-04-22 15:43:22 +02:00
moneromooo-monero
8b655de8ed
simplewallet: report timestamp based expected unlock time on balance 2020-04-22 13:34:58 +00:00
erciccione
9faf3d1a72
Add erciccione's seed node 2020-04-22 10:24:40 +02:00
xiphon
145be6dbdb p2p: startup speedup, init seed nodes on first 'connect_to_seed()' 2020-04-21 23:40:04 +00:00
Crypto City
8995df508a game: better city level window 2020-04-21 23:24:45 +00:00
Crypto City
9f16dc3047 game: improved queued commands dialog 2020-04-21 21:12:29 +00:00
Crypto City
5805cee584 game: select a flag upon a "go to" command 2020-04-21 18:03:01 +00:00
Crypto City
ecfed58928 game: print loaded magica voxel model budget 2020-04-21 17:41:07 +00:00
Crypto City
1bc5e42030 game: better queued commands dialog details 2020-04-21 17:41:07 +00:00
Crypto City
b0bea18f8e game: add a buy/sell UI swap option 2020-04-21 17:41:07 +00:00
Crypto City
2080b6ba06 cc: fix empty role production/consumption 2020-04-21 17:41:07 +00:00
Crypto City
3ac7c259d0 add icons for discoveries 2020-04-21 17:41:07 +00:00
Crypto City
43c8ff1745 cc: add a few discoveries 2020-04-21 17:41:07 +00:00
Crypto City
25565bf321 cc: add weather expertise discovery 2020-04-21 17:41:07 +00:00
Crypto City
c06125b8fa cc: add a couple more explicit tx verification errors for badges 2020-04-21 17:41:07 +00:00
Crypto City
88fcd3d63d cc: add pioneer badge 2020-04-21 17:41:07 +00:00
Crypto City
a7fe78acb0 game: catch level up dialog overflows before sending to the daemon 2020-04-21 17:41:07 +00:00
Crypto City
7544b7ebb6 cc: add overflow sanity check 2020-04-21 17:41:07 +00:00
Crypto City
8c5d13c46a game: fix level calculation in player info dialog 2020-04-21 17:41:07 +00:00
Crypto City
0c2a6b0daf game: add a "show all badges" mode 2020-04-21 17:41:07 +00:00
Crypto City
3a0571d578 give some slight share/production edge with building age
This should make it somewhat more appealing to build an existing building
rather then buy your own land and build a new building on it, given there
is no land scarcity.
2020-04-21 17:41:07 +00:00
Crypto City
24884aedf9 db_lmdb: always append new flag/account/item/etc ids, never reuse 2020-04-21 17:41:07 +00:00
Crypto City
e9a6620fab game: add "queued commands" notification and dialog 2020-04-21 17:41:07 +00:00
Crypto City
6016dc8406 game: allow setting only dialog width from ui config files 2020-04-21 17:41:07 +00:00
Crypto City
f8f0342941 bump version to 0.17.0.2 2020-04-21 17:41:07 +00:00
Crypto City
a5da17a2b9 game: fix removing an area of blocks 2020-04-21 17:40:25 +00:00
Crypto City
a7e7423a86 game: fix block selection effect 2020-04-21 17:40:25 +00:00
Crypto City
39d4694dbb cc: log badge level in history also for event badges 2020-04-21 17:40:25 +00:00
Crypto City
55459361e8 cc: fix empty badge name in game event 2020-04-21 17:40:25 +00:00
Crypto City
1654f43ffc blockchain: revert all game events on pop, not just game update ones 2020-04-21 17:40:25 +00:00
Crypto City
34841acb37 game: add pagination to player history 2020-04-21 17:40:25 +00:00
Crypto City
6eb516d10f game: fix camera/selection wobbling 2020-04-21 17:40:25 +00:00
Crypto City
da3f3fd420 game: fix accessing invalid pointer 2020-04-21 17:40:25 +00:00
luigi1111
378cdeaeae
Merge pull request #6470
79a1653 p2p: add seed node. (guywillett)
2020-04-21 09:14:38 -05:00
luigi1111
c846c8650e
Merge pull request #6445
5715460 Always reject duplicate key-images from second txid (vtnerd)
babf25d Allow unrestricted rpc calls to get full txpool info (vtnerd)
2020-04-21 09:03:37 -05:00
luigi1111
cc91c0221d
Merge pull request #6415
09abca7 wallet_api: checkUpdate - optional version and buildtag params (xiphon)
2020-04-21 08:52:57 -05:00
luigi1111
cb8f4280bb
Merge pull request #6408
5ef7138 daemon: fix print_net_stats RPC calls (moneromooo-monero)
2020-04-21 08:46:39 -05:00
guy
79a1653a07 p2p: add seed node. 2020-04-21 15:35:30 +02:00
luigi1111
2d729fbdf7
Merge pull request #6332
87d7558 Allow wallet2.h to run in WebAssembly (woodser)
2020-04-21 08:26:54 -05:00
luigi1111
9c660e159e
Merge pull request #6278
387fd66 Daemon: Print estimates for time until fully synced (rbrunner7)
2020-04-21 08:19:02 -05:00
xiphon
a813c46a1b cryptonote_core: skip dns checkpoints on startup if not enforced 2020-04-20 18:56:22 +00:00
Crypto City
fdb408ba3a Bump version to 0.17.0.1 2020-04-19 12:27:07 +00:00
Crypto City
14c46c0f30 game: only cycle through flag budgets for flags we own 2020-04-19 12:20:41 +00:00
Crypto City
9b3168c714 game: fix hang cycling materials on a building with none left 2020-04-19 12:16:52 +00:00
Crypto City
59f4990c57 wallet2: bump chain start time for wallet height estimation 2020-04-19 12:16:52 +00:00
Crypto City
4ed731fc53 game: fix badge path for leaderboards 2020-04-19 12:16:52 +00:00
Crypto City
30c51534a7 game: disable withdraw and chat input for wallets without account 2020-04-19 12:16:52 +00:00
Crypto City
87576a615a cc: fix deposit history recording 2020-04-18 11:32:34 +00:00
Crypto City
ad54330da8 bump version to 0.17.0.0 2020-04-16 23:55:48 +00:00
Crypto City
ab72f1ff46 game: scroll player info lists as a whole 2020-04-16 23:55:48 +00:00
Crypto City
5bfd1701da cc: move gemstone find code for reuse 2020-04-16 17:11:46 +00:00
Crypto City
593141807a make badge thresholds visible in game 2020-04-16 17:11:46 +00:00
Crypto City
9dabc1675a cc: prevent duplicate badge awards 2020-04-16 13:22:13 +00:00
Crypto City
b6bd294cac cc: rename the first city Helsengaard 2020-04-16 13:03:49 +00:00
Crypto City
d64f6407cf game: add event height in player history 2020-04-16 13:03:49 +00:00
Crypto City
cbc29c21ff game: fix 3D building removal 2020-04-16 13:03:49 +00:00
Crypto City
31186c9694 magica: fix model export overriding material 2020-04-16 13:03:49 +00:00
Crypto City
105b3b3da5 game: update max points on the fly to place in level up dialog 2020-04-16 13:03:49 +00:00
Crypto City
68dccd3fcb cc: change hoarder badge icon so it tints properly 2020-04-16 13:03:49 +00:00
Crypto City
13a0ef7fe8 cc: tweak gemstone find chance 2020-04-16 13:03:20 +00:00
Crypto City
dc6de325cc game: fix accessing invalid data in new badge screen 2020-04-16 13:03:20 +00:00
Crypto City
53a9d8746f cc: enable all food items 2020-04-16 13:03:20 +00:00
Crypto City
de34e6519c Add trailblazer badge (building away from other buildings) 2020-04-16 13:03:20 +00:00
xiphon
d2d3a81d0e bootstrap_daemon: fix missing virtual destructor and lambda capture (clang warning) 2020-04-15 21:22:55 +00:00
Crypto City
3f8b45895f Give small boost in hunting for players with a military building 2020-04-15 17:52:54 +00:00
Crypto City
2b2a42728b cc: tweak temperature algorithm to avoid huge cliffs 2020-04-15 17:51:31 +00:00
Crypto City
326f4bc3f2 allow repairing many flags in one command 2020-04-15 17:51:31 +00:00
woodser
87d75584e8 Allow wallet2.h to run in WebAssembly
- Add abstract_http_client.h which http_client.h extends.
- Replace simple_http_client with abstract_http_client in wallet2,
message_store, message_transporter, and node_rpc_proxy.
- Import and export wallet data in wallet2.
- Use #if defined __EMSCRIPTEN__ directives to skip incompatible code.
2020-04-15 13:22:46 -04:00
moneromooo-monero
613071f4fa
use memwipe on secret k/alpha values
Reported by UkoeHB_ and sarang
2020-04-15 01:16:31 +00:00
Sarang Noether
4ed60b626a Bulletproofs: verification speedup 2020-04-14 20:31:30 -04:00
Crypto City
0d2a615d1d cc: tweak hunt parameters 2020-04-14 22:02:56 +00:00
Crypto City
e7157d7860 cc: add missing hunt files 2020-04-14 16:48:23 +00:00
Crypto City
9567b4eec6 cc: remove spammy debug traces 2020-04-14 16:18:51 +00:00
Crypto City
12d2d9fe4c cc: tweak gemstones 2020-04-14 16:08:34 +00:00
moneromooo-monero
27d551d12f
simplewallet: add sweep_account command
Expects an account number, then the usual sweep_all options

Useful to move monero that was accidentally sent to a subaddress
with a very large account index.
2020-04-14 15:06:46 +00:00
Crypto City
f001beac17 game: switch back ctrl and shift speed modifiers 2020-04-14 14:38:35 +00:00
Crypto City
9467c65440 cc: fix badge multiple counting bug 2020-04-14 14:30:56 +00:00
Crypto City
07edcb32e4 game: fix crash in badge screen when data is recreated 2020-04-14 14:30:26 +00:00
Crypto City
2777806457 cc: add a badge for gemstones 2020-04-14 13:33:06 +00:00
Crypto City
e908c94845 cC: fix negative temperature display 2020-04-14 12:55:40 +00:00
Crypto City
0581a73ed5 cc: tweak temperature anomalies 2020-04-14 12:55:06 +00:00
Crypto City
334adf95a8 cc: bump granary badge levels 2020-04-14 12:23:40 +00:00
Crypto City
70938bf2b1 add gemstones
Randomly found in quarries, increase residential shares
2020-04-14 12:21:59 +00:00
Crypto City
ffe257989b cc: tweak food generation and spoil rates a bit 2020-04-14 12:21:29 +00:00
Crypto City
75ea224fec cc: fix mixup in extra spoil rate from rats special event 2020-04-14 12:05:51 +00:00
Crypto City
87e1c327ee cc: add pathfinder badge 2020-04-13 19:55:55 +00:00
Crypto City
c2bcb56d88 cc: make bear attack stop as soon as bear numbers are down enough 2020-04-13 19:16:10 +00:00
Crypto City
dcacc2341a game: add an option to change the GM account for debugging 2020-04-13 17:46:16 +00:00
Crypto City
3b87070a5d add hunt system 2020-04-13 17:23:54 +00:00
Crypto City
8d34bf41f3 cc: fix food spoil underflow 2020-04-13 17:23:44 +00:00
Crypto City
8d7e740ae3 game: fix tooltip crash in badges screen 2020-04-12 14:45:07 +00:00
Crypto City
54340ea84e game: fix crash due to bug handling ignore system 2020-04-12 12:42:59 +00:00
Crypto City
d1dd1d8779 cc: reword mansion badge thresholds 2020-04-12 11:19:48 +00:00
Crypto City
e05a73fc8b cc: add monopoly badge (number of patents) 2020-04-12 01:58:37 +00:00
Crypto City
4468b9910a cc: add mansion badge 2020-04-12 01:37:59 +00:00
Crypto City
cc76150af4 cc: bump granary badge thresholds 2020-04-12 00:28:56 +00:00
Crypto City
22fd1bad22 game: add player history tab 2020-04-12 00:07:56 +00:00
Crypto City
538d312c5a game: allow selecting another player from the player info screen 2020-04-11 20:25:52 +00:00
Crypto City
bf738e7524 cc: extend the db to store all game events, not just game update ones 2020-04-11 19:02:00 +00:00
Lee Clagett
c26c93019a Add byte_stream for zero-copy serialization, and add support in ZMQ-JSON. 2020-04-11 04:12:11 +00:00
luigi1111
7c74e1919e
Merge pull request #6405
8d23047 p2p: add another seed node (moneromooo-monero)
2020-04-10 16:13:04 -05:00
luigi1111
228af683a7
Merge pull request #6403
5de2295 Correct key image check in tx_pool (vtnerd)
2020-04-10 16:10:33 -05:00
luigi1111
bce050ee78
Merge pull request #6394
69b5992 simplewallet: new 'address one-off <major> <minor>' command (moneromooo-monero)
2020-04-10 16:06:10 -05:00
luigi1111
7954f8cb18
Merge pull request #6358
8958b4e blockchain_db: faster fetching of consecutive txes (moneromooo-monero)
2020-04-10 16:01:37 -05:00
luigi1111
53800b3b63
Merge pull request #6341
927fd47 simplewallet: fix smart mining not starting after first setup (moneromooo-monero)
2020-04-10 15:59:14 -05:00
Crypto City
62e057f5db add cold snap and heat wave special events 2020-04-10 19:19:14 +00:00
Sumo Gr
b367630ee8
simplewallet : missing function block separator 2020-04-10 21:27:41 +03:00
Crypto City
4f6ba85b23 cc: add a few more badges 2020-04-10 15:03:38 +00:00
Crypto City
0e05fe6898 game: change hoarder badge icon, reorg badges directory tree 2020-04-10 13:00:15 +00:00
Crypto City
49f0ad2e11 game: make the nick a link to the player info dialog 2020-04-10 01:59:43 +00:00
Crypto City
15f5524e58 wallet2: ensure spectator ignore settings are initialized 2020-04-10 01:59:15 +00:00
Crypto City
b4a41650da game: add ignore button in player dialog 2020-04-10 01:51:27 +00:00
Crypto City
cdf7d7b629 game: add a "both recommendations and custom" ignore setting 2020-04-10 01:51:27 +00:00
Crypto City
3fa07cb081 daemon: fix off by one in badge display 2020-04-10 01:51:27 +00:00
Crypto City
b1384bcaf4 game: add player badges page 2020-04-10 01:51:27 +00:00
Crypto City
3c2b07fd15 game: display actual badge counts in badge leaderboard 2020-04-10 01:51:27 +00:00
Crypto City
22b7c5f171 game: add loading wallet notification 2020-04-10 01:51:27 +00:00
Crypto City
1e4fe875c1 cc: decrease temperature anomalies 2020-04-10 01:51:27 +00:00
Crypto City
dad6a9a30c game: add food in player building columns 2020-04-10 01:51:27 +00:00
Crypto City
29c65a60e6 game: add a filter for player inventory 2020-04-10 01:51:27 +00:00
Crypto City
a0b6a6e8aa add a dice roll command, for use in story/roleplaying 2020-04-10 01:51:27 +00:00
sumogr
7c4a4003a3 simplewallet: fix strings (show_transfers & export_transfers) 2020-04-08 19:17:58 +03:00
Crypto City
ecac95a576 game: ignore fake blocks in refresh 2020-04-08 11:04:01 +00:00
Crypto City
898f1c822a cc: include tx command nonce in research RNG seed
Avoids several research txes in the same block sharing a seed
2020-04-08 11:04:01 +00:00
Crypto City
9153c6f110 Add editable player profile 2020-04-08 11:04:01 +00:00
cslashm
688a3e87e7 Add timelock verification on device 2020-04-08 11:12:32 +02:00
Crypto City
287fd9cfd1 Add player attributes for storytelling/role playing purposes 2020-04-08 00:15:51 +00:00
moneromooo-monero
69b5992296
simplewallet: new "address one-off <major> <minor>" command 2020-04-07 16:25:01 +00:00
Crypto City
2ffc120d30 cc: add labour cost for agricultural buildings 2020-04-05 18:36:34 +00:00
Crypto City
047659cd68 cc: decrease labour output more in a strike special event 2020-04-05 18:36:10 +00:00
Crypto City
b130680e65 cc: change events/discoveries that used to change agricultural shares 2020-04-05 15:53:37 +00:00
Crypto City
a7dae613c8 game: print leaderboard flags with their id when not in the current city 2020-04-05 12:45:37 +00:00
Crypto City
e603882098 game: fix town square detection for multiple cities 2020-04-05 12:35:50 +00:00
Crypto City
3891353d7e add a new command to destroy owned items 2020-04-04 23:41:15 +00:00
luigi1111
bbceb31044
Merge pull request #6395
ad13a4b Fixing static_asserts in ZMQ JSON (vtnerd)
2020-04-04 13:17:54 -05:00
luigi1111
d102a72027
Merge pull request #6384
ec01077 db_lmdb: fix race crash using a stale cursor (moneromooo-monero)
2020-04-04 13:14:19 -05:00
luigi1111
d1f3d3376d
Merge pull request #6381
e719760 Fix receive order leakage with tx fluffing (vtnerd)
2020-04-04 13:12:31 -05:00
luigi1111
975825a1fd
Merge pull request #6375
ebf3c10 Added logging for dropped local txes with no i2p/tor connections (vtnerd)
2020-04-04 13:11:30 -05:00
luigi1111
97af9649c9
Merge pull request #6372
7b9017f p2p: plug tor to clearnet association vector (Aaron Hook)
2020-04-04 13:09:55 -05:00
luigi1111
59ab769210
Merge pull request #6364
6e1cb5a device: Ledger - fix wide char hidapi error string conversion (xiphon)
2020-04-04 13:02:18 -05:00
luigi1111
5757d99208
Merge pull request #6361
68a6507 Fixed bug in ZMQ JSON-RPC method field (vtnerd)
2020-04-04 13:01:15 -05:00
luigi1111
0150a480fd
Merge pull request #6357
42a7a4d daemon: auto public nodes - cache and prioritize most stable nodes (xiphon)
2020-04-04 12:59:23 -05:00
luigi1111
6a6eedd842
Merge pull request #6353
6810150 daemon: if no banned IPs print something (sumogr)
2020-04-04 12:56:36 -05:00
luigi1111
cfc0f4a7fa
Merge pull request #6351
81c5943 Remove temporary std::string creation in some hex->bin calls (vtnerd)
5fcc23a Move hex->bin conversion to monero copyright files and with less includes (vtnerd)
3387f0e Reduce template bloat in hex->bin for ZMQ json (vtnerd)
2020-04-04 12:55:02 -05: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
ad5200e440
Merge pull request #6342
82da832 rpc: Add check for too old timestamps in payment signatures. (glv2)
2020-04-04 12:49:02 -05:00
luigi1111
c4f75fe898
Merge pull request #6339
c61abf8 remove empty statements (shopglobal)
2020-04-04 12:47:31 -05:00
luigi1111
081d49c59f
Merge pull request #6338
80d5320 Hash domain separation (SarangNoether)
2020-04-04 12:44:45 -05:00
luigi1111
6011064693
Merge pull request #6334
cc18926 wallet2_api: wallet recovery - seed offset passphrase support (xiphon)
2020-04-04 12:41:32 -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
85efaeb7bf
Merge pull request #6322
29b7cd1 device_ledger: include status code name in error message (xiphon)
2020-04-04 12:39:21 -05:00
luigi1111
ab802b4b80
Merge pull request #6321
1a6e7bd wallet2: mention --daemon-ssl-allow-any-cert in --proxy error msg (xiphon)
2020-04-04 12:37:26 -05:00
luigi1111
4398facb2e
Merge pull request #6286
6d6af70 cryptonote_basic: drop unused verification_context::m_not_rct field (xiphon)
2020-04-04 12:33:32 -05:00
Crypto City
31c0293151 game: add item data in trade ui 2020-04-04 16:03:12 +00:00
Crypto City
5057f46a17 game: add selection extend commands 2020-04-04 02:11:21 +00:00
Crypto City
20d51716a4 game: print city size and next level threshold 2020-04-04 01:34:32 +00:00
Crypto City
2edb2843f9 game: allow unsetting controls 2020-04-04 00:59:02 +00:00
Crypto City
d241cd3d17 game: more minecraft style controls 2020-04-04 00:32:39 +00:00
Crypto City
1ebd6d0bee game: add invert mouse y and mouse sensitivity to controls config 2020-04-04 00:11:36 +00:00
Crypto City
b11e194565 blockchain: require the mayor to mine the first block
Rather than the game account, to ensure the bootstrap town square
does not go poof at the first game update due to no money for tax
2020-04-03 22:07:34 +00:00
Crypto City
d0035c9f8c game: add welcome message when entering a new town 2020-04-03 18:43:49 +00:00
Crypto City
72edd4266f game: reset clouds when travelling to another town 2020-04-03 16:31:15 +00:00
Crypto City
c77977b513 cc: fix staff salary being paid for every city 2020-04-03 16:14:34 +00:00
Crypto City
00da461a57 daemon: add optional filter argument to cc_get_last_update_events 2020-04-03 16:11:21 +00:00
Crypto City
ddf4491019 game: add controls configuration UI 2020-04-03 15:43:36 +00:00
Crypto City
40a4f3e64e game: add section to the config file 2020-04-03 15:43:36 +00:00
Crypto City
8f794a4a1e add temperature and building heating requirements 2020-04-03 15:43:36 +00:00
Crypto City
d7fa5676fe cc: special events now have a min duration 2020-04-03 15:43:35 +00:00
Crypto City
b3c3647cb9 add food consumption 2020-04-03 15:43:35 +00:00
Crypto City
36e4b8f7f7 game: shrink crosshair 2020-04-03 15:43:35 +00:00
Crypto City
8b615de226 add date 2020-04-03 15:43:35 +00:00
Crypto City
ba34dbda35 game: remove debug traces 2020-04-03 15:43:35 +00:00
Crypto City
91465c097b Rename default town/mayor names and expenses to game 2020-04-03 15:43:35 +00:00
Crypto City
beceb3ce79 cc: bump agricultural building min size requirements 2020-04-03 15:43:35 +00:00
Crypto City
95130d9781 game: separate internal score and display line in leaderboards 2020-04-03 15:43:35 +00:00
Crypto City
d298a83865 game: fix off by one in badge score calculation 2020-04-03 15:43:35 +00:00
Crypto City
11e369b9c4 game: fix new block resetting filters 2020-04-03 15:43:35 +00:00
Crypto City
012c4b9a38 game: add level to player info dialog 2020-04-03 15:43:35 +00:00
Crypto City
b1100d7776 cc: change badge score calculation 2020-04-03 15:43:35 +00:00
Crypto City
a5d2eb2138 store badge award height 2020-04-03 15:43:35 +00:00
Crypto City
98aea9e99b game: add credits screen 2020-04-03 15:43:35 +00:00
Crypto City
dc3a109313 game: basic build mode 2020-04-03 15:43:35 +00:00
Crypto City
8ef9dc6c3c game: display single tile land tax if no selection 2020-04-03 15:43:35 +00:00
Crypto City
51a6b6efe9 cc: increase the land tax increase from town center 2020-04-03 15:43:35 +00:00
Crypto City
6474ce3fc7 game: display a markets button when we're short of materials 2020-04-03 15:43:35 +00:00
Crypto City
49b0f4de5c game: add filter for notifications in chat 2020-04-03 15:43:35 +00:00
Lee Clagett
da99157462 Use byte_slice for sending zmq messages - removes data copy within zmq 2020-04-03 01:56:17 +00:00
xiphon
09abca76ae wallet_api: checkUpdate - optional version and buildtag params 2020-04-02 00:31:43 +00:00
Sarang Noether
80d5320fff Hash domain separation 2020-04-01 08:31:00 -04:00
xiphon
6d6af701ec cryptonote_basic: drop unused verification_context::m_not_rct field 2020-03-31 21:58:25 +00:00
moneromooo-monero
21fe6a289b
p2p: fix frequent weak_ptr exception on connection
When a handshake fails, it can fail due to timeout or destroyed
connection, in which case the connection will be, or already is,
closed, and we don't want to do it twice.
Additionally, when closing a connection directly from the top
level code, ensure the connection is gone from the m_connects
list so it won't be used again.

AFAICT this is now clean in netstat, /proc/PID/fd and print_cn.

This fixes a noisy (but harmless) exception.
2020-03-31 20:29:41 +00: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
94f44d4ee3
Merge pull request #6325
3627e53 rpc: fix print_pool_sh not finding local txes (moneromooo-monero)
2020-03-31 15:13:51 -05:00
luigi1111
f9de65b546
Merge pull request #6304
2e9d1e6 wallet2: fix store-tx-info loading (moneromooo-monero)
2020-03-31 15:13:19 -05:00
luigi1111
d0065f3063
Merge pull request #6302
dab604e wallet2_api: implement estimateTransactionFee (xiphon)
2020-03-31 15:12:48 -05:00
luigi1111
8a829e2cc4
Merge pull request #6301
9989cb0 simplewallet: warn about correlations if print-ring-members is not set (moneromooo-monero)
2020-03-31 13:37:19 -05:00
luigi1111
0253f86fde
Merge pull request #6298
fe92fa1 [randomx] Add missing randomx_vm_set_cache() (cohcho)
2020-03-31 13:36:21 -05:00
luigi1111
ccc3726d86
Merge pull request #6260
320bc84 rpc: add --rpc-payment-allow-free-loopback (moneromooo-monero)
2020-03-31 13:35:16 -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
Lee Clagett
571546067f Always reject duplicate key-images from second txid 2020-03-30 17:52:42 +00:00
Lee Clagett
babf25d2ec Allow unrestricted rpc calls to get full txpool info 2020-03-30 17:52:42 +00:00
moneromooo-monero
5ef7138d86
daemon: fix print_net_stats RPC calls 2020-03-29 13:45:58 +00:00
moneromooo-monero
9989cb087e
simplewallet: warn about correlations if print-ring-members is not set
The warning about spending more than one output with similar creation
time was skipped if print-ring-members was not set, and it defaults to
false, which means most people probably aren't getting this warning if
they spend correlated outputs.

Reported by SeventhAlpaca.
2020-03-28 11:46:06 +00:00
moneromooo-monero
8d230473ef
p2p: add another seed node
Node from syksy, administered by mooo
2020-03-27 22:51:44 +00:00
Alexander Blair
72262b348a
Merge pull request #6299
9c1f970b wallet2: remember daemon address overrides when loading a new wallet (moneromooo-monero)
2020-03-27 12:33:15 -07:00
Alexander Blair
5780594202
Merge pull request #6296
50e59cfa wallet2: reject zero keys in json input (moneromooo-monero)
2020-03-27 12:31:59 -07:00
Alexander Blair
3ed5e7ce9f
Merge pull request #6295
bcae95a2 p2p: do not add recently failed addresses to the peerlist (moneromooo-monero)
2020-03-27 12:30:06 -07: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
5ba6eef272
Merge pull request #6288
0349347e ringdb: use a different iv for key and data in rings table (moneromooo-monero)
7b882087 simplewallet: reword mixin in user message in terms of ring size (moneromooo-monero)
f507a43a wallet2: do not remove known rings when a tx fails (moneromooo-monero)
2020-03-27 12:23:59 -07:00
Alexander Blair
7d4a93fab3
Merge pull request #6285
d0641b42 net: fix incorrect less operator for top/i2p addresses (Aaron Hook)
2020-03-27 12:23:00 -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
e160e0b517
Merge pull request #6283
a84131ce p2p: fix off by one adding fallback peers (moneromooo-monero)
2020-03-27 12:19:55 -07:00
Alexander Blair
a762084b15
Merge pull request #6282
66472074 Daemon: Guard against reporting "synchronized" too early (rbrunner7)
2020-03-27 12:19:07 -07:00
Alexander Blair
c038cc8b79
Merge pull request #6280
b818522d p2p: fix spurious warning when we're connected to at last one seed (moneromooo-monero)
2020-03-27 12:17:54 -07:00
Alexander Blair
3baa68bbab
Merge pull request #6279
36bdf402 p2p: fix adding wrong indices to the filtered peer list (moneromooo-monero)
2020-03-27 12:17:07 -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
Alexander Blair
338824add3
Merge pull request #6227
f8d76f39 core: move the LockedTXN class out of txpool so it may be reused (moneromooo-monero)
2020-03-27 12:15:37 -07:00
Lee Clagett
02d887c2e5 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-03-26 15:01:30 +00: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
Crypto City
5c198dd7d6 allow resizing flags (when empty) 2020-03-21 16:21:35 +00:00
rbrunner7
387fd668d1 Daemon: Print estimates for time until fully synced 2020-03-21 07:32:55 +01:00
Aaron Hook
aa93e38862 p2p: remove old debug commands 2020-03-20 22:09:44 -07:00
Crypto City
ce042970d2 cc: decrease the building materials superlinearity on economic power
and remove a couple obsolete arrays
2020-03-20 19:27:51 +00:00
Crypto City
b4975ea4f3 cc: double influence for most buildings without varying potential 2020-03-20 19:27:51 +00:00
Crypto City
39163c168a Event badges can now be awarded after creation 2020-03-20 19:27:51 +00:00
Crypto City
97941b0603 game: add ignore recommendation UI 2020-03-20 19:27:51 +00:00
Crypto City
0bd7f9d09a game: add new event badge ui 2020-03-20 19:27:51 +00:00
Crypto City
b4ae149b7c cc: set empty land tax equal to those with a 100% building
Buildings could originally go down to 50%, but they can't now.
2020-03-20 19:27:51 +00:00
Crypto City
22199dd9b3 cc: set town square potential to 1, same as other roads 2020-03-20 19:27:51 +00:00
Crypto City
bdb53f11b6 blockchain_db: remove buggy and unused set_cc_account_name 2020-03-20 19:27:51 +00:00
Crypto City
2882f6bc80 badges 2020-03-20 19:27:51 +00:00
Crypto City
27e0b1fe3f wallet: add missing remove parameter to cc_build 2020-03-20 19:27:51 +00:00
Crypto City
0d413cf164 merge cc_account data into a structure 2020-03-20 19:27:51 +00:00
Crypto City
3bfd22a1f6 game: do not display flag 3D model when ignored 2020-03-20 19:27:51 +00:00
Crypto City
8d3fbb1727 Add ignore machinery 2020-03-20 19:27:51 +00:00
Crypto City
a6b8da5f0e add player defined custom items 2020-03-20 19:27:51 +00:00
Crypto City
238aadaa51 version: bump to 0.16.0.3 2020-03-20 19:27:51 +00:00
Crypto City
35192d02ef game: honour material from imported magica voxel models 2020-03-20 19:26:32 +00:00
Crypto City
281d927b4a game: automatically add ".vox" if not present when saving a model 2020-03-20 19:26:32 +00:00
Crypto City
037ff35a80 cc: fix "next city" estimation 2020-03-20 19:25:39 +00:00
Crypto City
2402a8ad3a p2p: keep connected to the seed node for now 2020-03-20 19:25:39 +00:00
Crypto City
955fa74687 game: don't print how short of materials we are for existing buildings 2020-03-20 19:25:39 +00:00
moneromooo-monero
bcae95a22e
p2p: do not add recently failed addresses to the peerlist 2020-03-20 15:45:26 +00:00
Lee Clagett
ad13a4b2ac Fixing static_asserts in ZMQ JSON 2020-03-19 19:49:51 -04:00
Lee Clagett
5de2295f3c Correct key image check in tx_pool 2020-03-14 19:17:15 +00:00
xiphon
c075aa7a6c workaround for GetObject windows.h macro and rapidjson conflict 2020-03-14 00:46:47 +00: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
moneromooo-monero
320bc845b3
rpc: add --rpc-payment-allow-free-loopback
This allows RPC coming from the loopback interface to not have
to pay for service. This makes it possible to run an externally
accessible RPC server for payment while also having a local RPC
server that can be run unrestricted and payment free.
2020-03-12 11:27:34 +00:00
Alexander Blair
820ab9fdea
Merge pull request #6273
0f78b06e Various improvements to the ZMQ JSON-RPC handling: (Lee Clagett)
2020-03-12 01:13:49 -07:00
Alexander Blair
d500bbe68f
Merge pull request #6268
a6c24412 wallet: fix exceptions getting the hash of a pruned tx (moneromooo-monero)
2020-03-12 01:02:31 -07:00
Alexander Blair
092a57df99
Merge pull request #6243
4771a7ae p2p: remove obsolete local time in handshake (moneromooo-monero)
2fbbc4a2 p2p: avoid sending the same peer list over and over (moneromooo-monero)
3004835b epee: remove backward compatible endian specific address serialization (moneromooo-monero)
39a343d7 p2p: remove backward compatible peer list (moneromooo-monero)
60631802 p2p: simplify last_seen serialization now we have optional stores (moneromooo-monero)
9467b2e4 cryptonote_protocol: omit top 64 bits of difficulty when 0 (moneromooo-monero)
b595583f serialization: do not write optional fields with default value (moneromooo-monero)
5f98b46d p2p: remove obsolete local time from TIMED_SYNC (moneromooo-monero)
2020-03-12 00:32:46 -07:00
Crypto City
7237cf652f version: bump to 0.16.0.2 2020-03-12 01:24:18 +00:00
moneromooo-monero
a4f5d66dfd db_lmdb: fix race crash using a stale cursor
If a db resize happened, the txpool meta cursor might be stale,
and was not being renewed when necessary.
It would cause this SEGSEGV:

in mdb_cursor_set ()
in mdb_cursor_get ()
in cryptonote::BlockchainLMDB::get_txpool_tx_blob(crypto::hash const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cryptonote::relay_category) const ()
in cryptonote::tx_memory_pool::get_transaction(crypto::hash const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cryptonote::relay_category) const ()
in cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::handle_notify_new_fluffy_block(int, epee::misc_utils::struct_init<cryptonote::NOTIFY_NEW_FLUFFY_BLOCK::request_t>&, cryptonote::cryptonote_connection_context&) ()
2020-03-12 01:20:17 +00:00
Crypto City
5ef8f20630 log special events in last game update 2020-03-12 01:20:17 +00:00
Crypto City
2f9a80f3e9 cc: fix event text mixup for mayor/game payouts 2020-03-12 01:20:17 +00:00
moneromooo-monero
ec01077720
db_lmdb: fix race crash using a stale cursor
If a db resize happened, the txpool meta cursor might be stale,
and was not being renewed when necessary.
It would cause this SEGSEGV:

in mdb_cursor_set ()
in mdb_cursor_get ()
in cryptonote::BlockchainLMDB::get_txpool_tx_blob(crypto::hash const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cryptonote::relay_category) const ()
in cryptonote::tx_memory_pool::get_transaction(crypto::hash const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cryptonote::relay_category) const ()
in cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::handle_notify_new_fluffy_block(int, epee::misc_utils::struct_init<cryptonote::NOTIFY_NEW_FLUFFY_BLOCK::request_t>&, cryptonote::cryptonote_connection_context&) ()
2020-03-12 00:57:32 +00:00
Crypto City
ab41df1444 db_lmdb: fix share retrieval with more than one city 2020-03-11 14:18:53 +00:00
Crypto City
5cafb2dd0d version: bump to 0.16.0.1 2020-03-11 02:39:43 +00:00
Crypto City
d39da3a6d1 game: possible fix for rare crash when building 2020-03-11 02:36:27 +00:00
Crypto City
2257e9c42a Fix a few bugs with new cities 2020-03-11 02:36:27 +00:00
Crypto City
ce8a608389 game: fix adding a block where a block already is 2020-03-11 02:36:27 +00:00
Lee Clagett
e719760253 Fix receive order leakage with tx fluffing 2020-03-10 22:30:07 -04:00
Crypto City
2e4e0ca84a p2p: don't do grey list housekeeping before we connected 2020-03-10 13:01:55 +00:00
Crypto City
3726d18016 game: always print "next update in N blocks" in last update events 2020-03-10 13:01:55 +00:00
Crypto City
20221bb5fe wallet2: fix refresh-from-height for new test chain 2020-03-10 13:01:55 +00:00
Crypto City
d93c790547 game: don't submit the second part of a two part buy tx if the first part failed 2020-03-10 13:01:55 +00:00
Crypto City
368161a65c game: fix buying from player and game at the same time 2020-03-10 12:45:41 +00:00
Lee Clagett
3387f0e327 Reduce template bloat in hex->bin for ZMQ json 2020-03-09 17:55:55 +00:00
Lee Clagett
5fcc23ae0a Move hex->bin conversion to monero copyright files and with less includes 2020-03-09 05:23:59 +00:00
Aaron Hook
7b9017f671
p2p: plug tor to clearnet association vector
During the handshake for an incoming connection, the peer id is checked against the local node's peer id only for the specific zone of the incoming peer, in order to avoid linking public addresses to tor addresses:
5d7ae2d279/src/p2p/net_node.inl (L2343)

However, on handshakes for outgoing connections, all zones are checked:
5d7ae2d279/src/p2p/net_node.inl (L1064)

If an attacker wanted to link a specific tor node to a public node, they could potentially connect to as many public nodes as possible, get themselves added to the peer whitelist, maybe stuff some more attacker-owned addresses into the greylist, then disconnect, and for any future incoming connections, respond with the tor node's id in an attempt to link the public/tor addresses.
2020-03-07 18:12:59 +00:00
moneromooo-monero
9c1f970b82
wallet2: remember daemon address overrides when loading a new wallet 2020-03-07 18:09:31 +00:00
Lee Clagett
ebf3c10fcb Added logging for dropped local txes with no i2p/tor connections 2020-03-07 00:03:17 +00:00
Lee Clagett
0f78b06e8c Various improvements to the ZMQ JSON-RPC handling:
- Finding handling function in ZMQ JSON-RPC now uses binary search
  - Temporary `std::vector`s in JSON output now use `epee::span` to
    prevent allocations.
  - Binary -> hex in JSON output no longer allocates temporary buffer
  - C++ structs -> JSON skips intermediate DOM creation, and instead
    write directly to an output stream.
2020-03-05 14:20:56 +00:00
xiphon
6e1cb5a4d0 device: Ledger - fix wide char hidapi error string conversion 2020-03-01 11:42:48 +00:00
Alexander Blair
4764d18eeb
Merge pull request #6248
21c3d42e p2p: drop the peerlist dump to TRACE (moneromooo-monero)
2020-02-28 20:21:27 -08:00
Alexander Blair
da617ac1b0
Merge pull request #6238
f717d593 wallet2: guard against race with multiple decrypt_keys users (moneromooo-monero)
2020-02-28 20:21:06 -08:00
Alexander Blair
ea6396ea66
Merge pull request #6222
a6a2ad6c simplewallet: set manual refresh mode in rescan_bc (moneromooo-monero)
2020-02-28 19:59:43 -08:00
Alexander Blair
8c2939a7cb
Merge pull request #6058
88b82bef simplewallet: point to "set help" in the lock screen message (moneromooo-monero)
f19c9f23 util: allow newlines in string to be split (moneromooo-monero)
2020-02-28 19:54:37 -08:00
Alexander Blair
f3fddd935f
Merge pull request #6259
69336931 rpc: fill miner_tx_hash again (moneromooo-monero)
2020-02-28 19:51:15 -08:00
Alexander Blair
9ea7df3b31
Merge pull request #6242
716012ca rpc: drop the obsolete and wrong "unpruned size" log (moneromooo-monero)
2020-02-28 19:50:02 -08:00
Alexander Blair
5bd496e8ef
Merge pull request #6241
ae84ec90 wallet-cli/rpc: allow sweep_all to use outputs in all subaddresses within an account (stoffu)
2020-02-28 19:49:41 -08:00
Alexander Blair
19ce033299
Merge pull request #6236
bc6d8aa3 Corrected message typo (palomato)
2020-02-28 19:49:07 -08:00
Alexander Blair
a6cf4b09e7
Merge pull request #6235
5cbb17b9 wallet2: fix hang in wallet refresh (moneromooo-monero)
2020-02-28 19:48:41 -08: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
2deb02f81d
Merge pull request #6224
d93e1dff simplewallet: warn on refresh if refresh-from-block-height seems off (moneromooo-monero)
2020-02-28 19:46:33 -08:00
Alexander Blair
6742c4acb7
Merge pull request #6223
c3613031 Silence miner debugmsg spam (Howard Chu)
2020-02-28 19:45:55 -08:00
Alexander Blair
afff9e7041
Merge pull request #6219
72ca7e3b Fix time comparison math (Jason Rhinelander)
2020-02-28 19:43:44 -08:00
Alexander Blair
e22655a187
Merge pull request #6215
a2578892 --disable-ban-rpc option to prevent RPC users from banning (naughtyfox)
2020-02-28 19:43:06 -08:00
Alexander Blair
5e492c4cbc
Merge pull request #6213
94266eeb simplewallet: fix output age display with duplicate heights (moneromooo-monero)
f1d379d2 simplewallet: fix "outputs in same tx" detector (moneromooo-monero)
2020-02-28 19:36:41 -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
Alexander Blair
8606b1a14a
Merge pull request #6203
ef95a76d remove unused variable 'ptx' from on_describe_transfer() (woodser)
2020-02-28 19:34:41 -08:00
Crypto City
e3777a1f87 bump version to 0.16.0.0/baltia 2020-02-28 19:49:14 +00:00
Crypto City
10f48689f8 propagating fire special event 2020-02-28 19:37:11 +00:00
xiphon
42a7a4dd32 daemon: auto public nodes - cache and prioritize most stable nodes 2020-02-28 08:06:43 +00:00
moneromooo-monero
8958b4e7aa
blockchain_db: faster fetching of consecutive txes
Useful for wallet refresh or node sync
2020-02-27 15:05:34 +00:00
Crypto City
7fad07e25f cc: fix shares/city allocation 2020-02-26 21:52:10 +00:00
Crypto City
d51e1a7e54 cc: thunderstorm special event 2020-02-26 14:58:43 +00:00
sumogr
6810150d46 daemon: if no banned IPs print something 2020-02-24 20:52:55 +00:00
Crypto City
02766c3a6b game: speed up spectator wallet mode 2020-02-23 02:15:50 +00:00
Crypto City
6c5570b814 special events 2020-02-23 01:31:27 +00:00
Crypto City
ad356a3bed tx_pool: do not flush trade txes if they've not expired yet 2020-02-22 14:17:21 +00:00
Crypto City
e8e5e63996 repairing now uses materials too 2020-02-22 14:17:21 +00:00
Crypto City
bbaede1539 game: fix camera being blocked by cursor 2020-02-22 14:17:21 +00:00
Crypto City
5a5cad4f70 game: add some debug logs for share generation 2020-02-22 14:17:21 +00:00
Crypto City
17aa798040 cc: tweak the per role road weights
We want residential/commercial to benefit more from roads, and left
agricultural/industrial to benefit least
2020-02-22 14:17:21 +00:00
Crypto City
820bb44fdb cc: give the initial town square less economic power 2020-02-22 14:17:21 +00:00
Crypto City
453e433738 keep some building roles disabled until a town reaches a certain level 2020-02-22 14:17:21 +00:00
Crypto City
52da390658 add town levels (aesthetic only for now) and use weighted shares for subsidy 2020-02-22 14:17:21 +00:00
Crypto City
61f312635e cc: fix signedness warning 2020-02-22 14:17:21 +00:00
Crypto City
70846153cd cc: decrease influence radii somewhat 2020-02-22 14:17:21 +00:00
Crypto City
43a8a6f1b5 game: add "flags" to total flags in buildings list dialog 2020-02-22 14:17:21 +00:00
Crypto City
0c7f6962cb cc: potential can never be 0, 1 is now the minimum
Avoids hassles with buildings having no potential
2020-02-22 14:17:21 +00:00
Crypto City
9812860c8d game: select current town by default in travel dialog 2020-02-22 14:17:21 +00:00
Crypto City
6d4f2a20bc cc: make additional cities scale on 2^n, not 10^n 2020-02-22 14:17:21 +00:00
Crypto City
912906634f game: show areas for the selected flag, if any, hover if none 2020-02-22 14:17:21 +00:00
Crypto City
76000ab6dd game: add resource availability distance 2020-02-22 14:17:21 +00:00
Crypto City
be7b3bee4a cc: slash last resort price by 5 2020-02-22 14:17:21 +00:00
Crypto City
7da3d6ccd7 game: add a filter for my/all orders 2020-02-22 14:17:21 +00:00
Crypto City
8ff331ff85 game: distinguish between disconnected and incompatible daemons 2020-02-22 14:17:21 +00:00
Crypto City
3d056c5b1d game: fix hang closing while the wallet password dialog is open 2020-02-22 14:17:21 +00:00
Crypto City
93dde3f83e game: remove "newly added" ghost effect
It looks so bad at night it makes it hard to see blocks
2020-02-22 14:17:21 +00:00
Crypto City
bcc16a0ad4 game: add "wallet synced" notification 2020-02-22 14:17:21 +00:00
Crypto City
11c5ca898b We can now remove materials already on the blockchain 2020-02-22 14:17:21 +00:00
Crypto City
4464d79932 game: message box aesthetic tweaks 2020-02-22 14:17:21 +00:00
Crypto City
ead26dd063 game: fix large performance drop in edit mode
Nothing was instanced. Instancing is now done, but this means
blocks all get the same UV, and so look a lot worse due to repetition
of an eighth of the texture on each side.
2020-02-22 14:17:20 +00:00
Crypto City
3f353f31ec tweak road shares so tiny roads don't get huge bonuses 2020-02-22 14:17:20 +00:00
Crypto City
01e6188dab game: close only the columns selector on escape if open 2020-02-22 14:17:20 +00:00
Crypto City
8034f506b7 game: fix adding hovering blocks 2020-02-22 14:17:20 +00:00
Crypto City
4f85ec704b game: do not count town squares in largest buildings leaderboard 2020-02-22 14:17:20 +00:00
Crypto City
a157a91de8 game: surrender to the idiotic warning spam that's getting on my nerves 2020-02-22 14:17:20 +00:00
Crypto City
8a89ba4c01 game: remove a TODO that's now moot 2020-02-22 14:17:20 +00:00
Crypto City
b8986d7cb0 game: fix building settings layout creeping to the left 2020-02-22 14:17:20 +00:00
Crypto City
13040bf4f4 cc: bump min buy size a bit 2020-02-22 14:17:20 +00:00
luigi1111
39e1890276
Merge pull request #6198
5f2a32c daemon: run with -rpc-payment-address and --rpc-restricted-bind-port (moneromooo-monero)
2020-02-19 22:25:44 -05:00
luigi1111
04187e5968
Merge pull request #6197
f812783 simplewallet: fix encrypted payment id note triggering on dummy ones (moneromooo-monero)
2020-02-19 22:24:44 -05:00
luigi1111
2de1137e60
Merge pull request #6194
316ab7b wallet2: better error when restoring a wallet with the wrong keys (moneromooo-monero)
2020-02-19 22:23:46 -05:00
luigi1111
22a0367398
Merge pull request #6190
096a9db Wallet: Distingush amounts for a single subaddress (tmoravec)
2020-02-19 22:22:36 -05:00
xiphon
fcb06f7a82 cryptonote_core: skip block notify on blockchain switching rollback 2020-02-19 16:19:29 +00:00
Crypto City
02b26b92db fix cultural buildings not getting payouts 2020-02-18 14:56:41 +00:00
Crypto City
626c916627 game: add consumption/production to buildings list 2020-02-18 14:56:41 +00:00
Crypto City
0bb92d8003 game: allow hiding some columns in flag list 2020-02-18 01:31:31 +00:00
Crypto City
895f7f9e6a game: add hotkeys for free/orbit cams 2020-02-17 22:12:27 +00:00
Crypto City
24c45d2ef2 game: show a building in the 3D view when double clicking it in a list 2020-02-17 21:52:15 +00:00
Crypto City
7f4fd0cfa6 game: default last update events to filter for the current player 2020-02-17 20:58:09 +00:00
Crypto City
329fb89d4c game: announce new players in chat 2020-02-17 20:22:27 +00:00
Crypto City
963ec238ee game: fix wrong parent in building settings 2020-02-17 20:19:02 +00:00
Crypto City
d709d855a4 game: unset focus on selection commands 2020-02-17 18:52:00 +00:00
Crypto City
e71d90d735 game: sort flags by clicking on header buttons in player info dialog 2020-02-17 18:20:49 +00:00
Interchained
c61abf87c0 remove empty statements
Cleaning up a little around the code base.
2020-02-17 11:55:15 -05:00
Guillaume Le Vaillant
82da832368 rpc: Add check for too old timestamps in payment signatures. 2020-02-17 15:10:19 +01:00
Crypto City
b9520cbffb game: fix research placement ordering, and add missing rd postfix 2020-02-17 14:05:30 +00:00
Crypto City
9599bb6958 game: the sun now rises in the east and sets in the west 2020-02-17 13:54:46 +00:00
Crypto City
adfb28bead game: fix console input focus highlight position 2020-02-17 13:54:46 +00:00
Crypto City
3f7607586c game: add footer to the player flag list
Dirty, but hey
2020-02-17 13:54:46 +00:00
moneromooo-monero
927fd47934
simplewallet: fix smart mining not starting after first setup
Also avoid rewriting the wallet if the setting is already was we need
2020-02-17 13:16:09 +00:00
Crypto City
7fa3010098 game: fix trade sorting 2020-02-16 23:13:22 +00:00
Crypto City
71c9723157 game: do not set video mode twice
We get the saved config manually before initializing the engine.
This fixes occasional loss of window focus at startup.
2020-02-16 22:00:44 +00:00
Crypto City
d30fe0a6ef game: disable focus for all panel widgets except edit field and buttons
This allows unimpleded 3D world motion
2020-02-16 22:00:44 +00:00
Crypto City
05fdc65e1e game: allow vertical console resizing only 2020-02-16 15:43:26 +00:00
Crypto City
bf30f57596 game: player flags grid now has resizable columns 2020-02-16 15:43:24 +00:00
Crypto City
903c206b0f game: check for modal dialogs before acting on keys in main view 2020-02-16 02:28:37 +00:00
Crypto City
517c590cdd game: do not lose filters on new blocks in last update dialog 2020-02-16 01:48:49 +00:00
Crypto City
937e73da15 game: ensure the amount selection dialog does not clip the message 2020-02-16 01:22:50 +00:00
Crypto City
a0af892a30 game: print max amount of money that can be selected 2020-02-16 01:04:41 +00:00
Crypto City
37750bbee7 game: print notification when a trade goes through
It's too easy to think the button click was missed, and click again
2020-02-16 00:31:43 +00:00
Crypto City
15e4833082 game: add a "selsect whole flag" command
Useful for large flags where mouse selection is finnicky when seen
whole from afar
2020-02-16 00:26:22 +00:00
Crypto City
7aa3d2da0c cc: replace spend public keys by cc keys
They're not the raw keys now and I forgot to replace them
2020-02-16 00:11:38 +00:00
Crypto City
bc6033aef7 game: remember window size 2020-02-16 00:04:18 +00:00
Crypto City
ccf3589e09 game: disable building settings input widgets if a building exists 2020-02-15 23:57:15 +00:00
Crypto City
5e3f37f902 game: print player nick with the right colour in chat 2020-02-15 23:57:15 +00:00
Crypto City
b6b9ed6ad8 game: print time till next update in last update dialog 2020-02-15 23:57:15 +00:00
Crypto City
c9752a0b3d some s/monero/townforge/ where appropriate 2020-02-14 13:19:03 +00:00
Crypto City
4f0ba51d29 game: bring up options on ESC 2020-02-14 13:19:03 +00: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
09c8111c53
threadpool: lock mutex in create
In some contrived case, it might theoretically be the case that
destroy is called from another thread, which would modify the
threads array from two threads.

Coverity 208372
2020-02-12 21:05:28 +00:00
xiphon
cc18926eba wallet2_api: wallet recovery - seed offset passphrase support 2020-02-11 23:36:50 +00:00
Crypto City
dd5adf983a game: update spector mode and node notification windows on resize 2020-02-11 21:41:41 +00:00
Crypto City
2149a17a10 game: don't try to set tiny video modes 2020-02-11 21:19:51 +00:00
Crypto City
f9cb74ecf7 game: move camera to the town square when travelling to a city 2020-02-11 19:17:36 +00:00
Crypto City
5a6006134a game: forbid removing more cases of existing blocks 2020-02-11 18:57:39 +00:00
Crypto City
c5907db199 game: prevent placing blocks below already built blocks
This would not yield the expected result
2020-02-11 18:52:22 +00:00
Crypto City
fb8b3af6fd game: merge faces into larger rectangles for performance 2020-02-11 18:17:16 +00:00
moneromooo-monero
9bde70e567
core: mention time being off in hash rate changes message 2020-02-10 16:56:10 +00:00
Crypto City
85ffc6ca5f game: restore walker camera by default 2020-02-10 02:04:38 +00:00
Crypto City
187da862a9 game: handle enter when in text fields 2020-02-09 21:11:42 +00:00
Crypto City
871336c4b7 game: update balance on synced 2020-02-09 19:34:10 +00:00
Crypto City
2141026848 Change a few more user visible Crypto City strings to TownForge 2020-02-09 15:43:45 +00:00
Crypto City
902fa67635 blockchain: enable block 1 check again 2020-02-09 15:41:24 +00:00
Crypto City
35e0c6a753 game: fix tooltip interfering with mouse rotation 2020-02-09 15:41:07 +00:00
Crypto City
5f42d3641a automatic match commands 2020-02-09 15:41:07 +00:00
moneromooo-monero
e4cd618178 rpc: fix print_pool_sh not finding local txes 2020-02-08 13:05:35 +00:00
moneromooo-monero
3627e53aab
rpc: fix print_pool_sh not finding local txes 2020-02-08 12:56:00 +00:00
xiphon
29b7cd1351 device_ledger: include status code name in error message 2020-02-08 01:46:39 +00:00
Crypto City
ef507c1ebd Revert "game: ensure non interactable list items don't claim a hit"
This reverts commit 5bd7572adb.

That was a bad idea.
2020-02-07 16:55:09 +00:00
xiphon
1a6e7bd40f wallet2: mention --daemon-ssl-allow-any-cert in --proxy error msg 2020-02-07 10:02:27 +00:00
Crypto City
364e197627 cc: tweak potential maps 2020-02-07 00:56:42 +00:00
Crypto City
549d90e6be game: add potential visualization
The ground takes the greyscale value of the potential for that tile
2020-02-06 19:29:34 +00:00
Crypto City
22c40d0b89 game: fix and simplify terrain positioning 2020-02-06 15:16:39 +00:00
moneromooo-monero
c2095fc27b
miner: use verification mode for low diff one block nonce searches
This avoids lengthy init times when testing
2020-02-06 14:27:10 +00:00
Alexander Blair
bd4acbf44c
Merge pull request #6183
3813a992 download: catch exceptions checking for size (moneromooo-monero)
2020-02-06 00:34:58 -08:00
Alexander Blair
af27276452
Merge pull request #6178
7ac7d5d3 updates: fix source code URL on _WIN32 (selsta)
2020-02-06 00:33:49 -08:00
Alexander Blair
e552ba14b2
Merge pull request #6127
67b4a19e simplewallet: noob-friendly help menu (wowario)
2020-02-06 00:33:31 -08:00
Alexander Blair
995f34b538
Merge pull request #6103
4b384003 wallet2: don't try to lock an empty filename (moneromooo-monero)
2020-02-06 00:33:18 -08:00
Alexander Blair
756f06cd83
Merge pull request #6102
b328de6b wallet_rpc_server: add tx weight in transfer commands responses (moneromooo-monero)
2020-02-06 00:32:47 -08:00
Alexander Blair
8136bf37e2
Merge pull request #6096
a633f85d daemon: allow printing N blocks from the end of the chain (moneromooo-monero)
2020-02-06 00:31:50 -08:00
Alexander Blair
b8e5c769c7
Merge pull request #6095
7ba31191 daemon: add +meta print_tx parameter (moneromooo-monero)
2020-02-06 00:31:17 -08:00
Alexander Blair
78d4d5ab79
Merge pull request #6094
236d2a88 blockchain_stats: make it work on pruned blockchains (moneromooo-monero)
2020-02-06 00:30:48 -08:00
Alexander Blair
2532567091
Merge pull request #6078
b9fc2066 Add a --keep-fakechain option to keep fakechain databases (JamesWrigley)
2020-02-06 00:30:15 -08:00
Alexander Blair
cd1610bc37
Merge pull request #6076
22d30866 simplewallet: add missing inactivity-lock-timeout to set help blurb (moneromooo-monero)
9f57f0df simplewallet: do not mention inactivity if a lock was manual (moneromooo-monero)
2020-02-06 00:29:52 -08:00
Alexander Blair
3b224bb99d
Merge pull request #6069
d64e5aa7 wallet: allow message sign/verify for subaddresses (moneromooo-monero)
2020-02-06 00:29:32 -08:00
Alexander Blair
34d7ea62f6
Merge pull request #6053
deb350b7 always print peer IDs in the same format (moneromooo-monero)
2020-02-06 00:28:47 -08:00
Alexander Blair
9a08ac98c0
Merge pull request #6050
65301c40 core: point out when we hit the block rate visibility limit (moneromooo-monero)
2020-02-06 00:28:18 -08:00
Alexander Blair
9658f5d7fc
Merge pull request #6040
2f8f3a94 rpc: base flush_cache request/response on the new base structs (moneromooo-monero)
2020-02-06 00:26:34 -08:00
Alexander Blair
25c1bd4714
Merge pull request #6035
b90c4bc3 rpc: error out from get_info if the proxied call errors out (moneromooo-monero)
fa16df99 make_test_signature: exit nicely on top level exception (moneromooo-monero)
054b2621 node_rpc_proxy: init some new rpc payment fields in invalidate (moneromooo-monero)
d0faae2a rpc: init a few missing client_info members (moneromooo-monero)
d56a483a rpc: do not propagate exceptions out of a dtor (moneromooo-monero)
3c849188 rpc: always set the update field in update on sucess (moneromooo-monero)
2020-02-06 00:26:13 -08:00
Crypto City
ee4cdcaa3e game: fix spectator mode widget flickering
Or bodge it, rather.
2020-02-05 20:37:54 +00:00
Crypto City
e41bd2a01e game: add graphics mode options 2020-02-05 01:54:56 +00:00
Crypto City
10fa503b7e game: change the window title to TownForge 2020-02-05 00:54:51 +00:00
luigi1111
d7aeb5a9f8
Merge pull request #6233
8a27645 blockchain: fix flushing txes from the txpool (moneromooo-monero)
2020-02-04 14:38:35 -05:00
Crypto City
74ace85ed0 game: increase the number of loaded sections to match horizon/zone 2020-02-04 15:18:00 +00:00
Crypto City
effc47d82a game: fix falling off the edge of the world
Well, increase that radius a lot anyway
2020-02-04 15:02:09 +00:00
Crypto City
39bdccc437 game: add forest horizon 2020-02-04 14:55:58 +00:00
Crypto City
32ee9647ef game: default to clouds on 2020-02-04 14:55:43 +00:00
Crypto City
3e05b3e9d0 game: make some edit fields autofocus where appropriate 2020-02-04 01:12:16 +00:00
Crypto City
6020912e94 game: fix crash accessing null flag 2020-02-04 01:11:10 +00:00
Crypto City
fccb8c6f15 game: add header to buildings list in player info dialog 2020-02-04 00:41:37 +00:00
Crypto City
c05d737979 cc: increase patent itme, and add some more discoveries 2020-02-03 20:02:32 +00:00
Crypto City
c13a4642d7 game: flag tooltip tweaks 2020-02-03 16:36:17 +00:00
Crypto City
4020cff279 game: tweak widget enabled/disabled state based on wallet/account 2020-02-03 16:20:30 +00:00
Crypto City
5bd7572adb game: ensure non interactable list items don't claim a hit 2020-02-03 16:20:22 +00:00
Crypto City
67f4e4f956 game: do not pick any scene object when a TB widget is in the way 2020-02-03 16:20:22 +00:00
Crypto City
15b6cab28a cc: decrease threshold for new cities 2020-02-03 16:20:22 +00:00
Crypto City
09b4953f3c game: show tooltip with building info on hover 2020-02-03 16:20:22 +00:00
Crypto City
048282de81 game: player info dialog 2020-02-03 16:20:22 +00:00
Crypto City
302f81013d game: add current name as default in rename dialog 2020-02-01 11:59:12 +00:00
Crypto City
e19be588c6 game: smooth motion when the orbit camera avoids obstacles 2020-02-01 01:52:41 +00:00
Crypto City
ee2246d5d0 blockchain: disable block 1 for now 2020-01-31 23:28:38 +00:00
Crypto City
c0a680bbdc game: make orbit camera avoid obstacles 2020-01-31 20:47:22 +00:00
Crypto City
159cd822dd game: constrain walker camera pitch 2020-01-31 19:06:57 +00:00
Crypto City
d4efb19936 game: use planes rather than boxes for ground 2020-01-31 18:59:53 +00:00
Crypto City
f7f223967c game: make boundaries more visible 2020-01-31 15:30:16 +00:00
moneromooo-monero
b818522d29
p2p: fix spurious warning when we're connected to at last one seed 2020-01-31 15:11:22 +00:00
Crypto City
f2962eb131 game: add orbit camera
Useful when building
2020-01-31 15:05:17 +00:00
Crypto City
a4495fe653 game: add camera type selection, and default to walker 2020-01-31 14:29:04 +00:00
Crypto City
0217ad3035 walker-camera: fix unwanted roll 2020-01-31 13:41:32 +00:00
Crypto City
bc16deee19 game: rename "Actions" to "Commands" and add an exit button 2020-01-31 03:35:08 +00:00
Crypto City
aa0d1c7cbf game: move show flags to the options dialog 2020-01-31 03:21:02 +00:00
Crypto City
f4e0f98d6d cc: make military buildings' influence much larger
They don't get payouts, and their only use is bonuses for other
buildings, so they need to have a lot more to start being worth
the price.
2020-01-31 01:37:32 +00:00
Crypto City
46b97a477b game: make terrain actually infinite (for some small version of infinity) 2020-01-31 01:26:14 +00:00
Crypto City
7e277ba370 game: add missing files for found city dialog 2020-01-30 17:46:04 +00:00
Crypto City
7d09141bda game: add a "pick random coordinates" button to the found city dialog 2020-01-30 17:45:41 +00:00
Crypto City
122e383cd2 different building types now contribute differently to city growth 2020-01-30 17:26:02 +00:00
Crypto City
28615fe42d cc: modulate bonus buildings get from roads by role 2020-01-30 15:44:32 +00:00
Crypto City
90ecde3f3d db_lmdb: guard against cities founded after the genesis block 2020-01-30 15:44:32 +00:00
Crypto City
3cceab2f0b rpc: initialize new cities in cc_debug_allocate_new_city 2020-01-30 15:44:32 +00:00
Crypto City
31680e85f0 db_lmdb: don't delete a record we did no add in account keys 2020-01-30 15:44:32 +00:00
Crypto City
70f136440f daemon: print city name in cc_get_city 2020-01-30 15:44:32 +00:00
Crypto City
0da452c2d1 game: add largest buildings leaderboard 2020-01-30 15:44:32 +00:00
Crypto City
44176fbe43 game: add building activity leaderboard 2020-01-30 02:04:20 +00:00
Crypto City
eeb0d446b3 game: highlight "chat" button text when your nick is mentioned 2020-01-29 22:30:16 +00:00
Crypto City
d5b99cf343 game: don't re-focus the GUI when it's not focused 2020-01-29 20:49:05 +00:00
Crypto City
03dfa20a44 game: simplify and fix item selection in last update events dialog 2020-01-29 19:05:11 +00:00
Crypto City
870eefb108 cc: do not add "flag N" in events, they're redundant 2020-01-29 18:47:43 +00:00
Crypto City
a4ea6a7767 ensure generator production does not overflow 2020-01-29 18:44:17 +00:00
moneromooo-monero
4771a7aec1
p2p: remove obsolete local time in handshake
Also removes a potential fingerprinting vector
2020-01-29 14:39:58 +00:00
moneromooo-monero
2fbbc4a2d3
p2p: avoid sending the same peer list over and over
Nodes remember which connections have been sent which peer addresses
and won't send it again. This causes more addresses to be sent as
the connection lifetime grows, since there is no duplication anymore,
which increases the diffusion speed of peer addresses. The whole
white list is now considered for sending, not just the most recent
seen peers. This further hardens against topology discovery, though
it will more readily send peers that have been last seen earlier
than it otherwise would. While this does save a fair amount of net
bandwidth, it makes heavy use of std::set lookups, which does bring
network_address::less up the profile, though not too aggressively.
2020-01-29 14:39:56 +00:00
Crypto City
57526fd8f5 game: texturing improvements and new materials 2020-01-29 14:00:15 +00:00
Crypto City
49aa16bc51 wip - texturing 2020-01-29 01:21:45 +00:00
Crypto City
8554a4ed10 game: textures now extend over 8x8 tiles
Looks a lot better
2020-01-29 01:19:49 +00:00
Crypto City
cf37ca6393 game: add leaderboards dialog
And a leaderboard for discoveries
2020-01-28 21:08:20 +00:00
Crypto City
9fd1740594 game: fix crash in research dialog 2020-01-28 21:08:20 +00:00
Crypto City
aad82022a3 cc: give new towns only the town square 2020-01-28 21:08:20 +00:00
Crypto City
656d583919 cc: some more resources tweaks 2020-01-28 21:08:20 +00:00
Crypto City
53be0c04af game: fix typo in building settings message 2020-01-28 15:20:10 +00:00
Crypto City
8b6e8cca7b game: use std::vector<uint8_t> instead of std::vector<bool>
Turns out the load of operator== with a large selection kills performance
2020-01-28 15:05:21 +00:00
Crypto City
3c514cd9ba game: remove some unused code 2020-01-28 15:05:21 +00:00
Crypto City
329c20a2b2 game: don't warn when optional files are not found 2020-01-28 15:05:21 +00:00
Crypto City
2b55564405 blockchain: guard against large pre-start chain reorg 2020-01-28 15:05:21 +00:00
Crypto City
87d5be8ddb cc: move the town hall to the north side, in view of the start camera 2020-01-28 15:05:21 +00:00
Crypto City
24ccfe38ae cc: tweak road materials again 2020-01-28 15:05:21 +00:00
Crypto City
4183745da4 add price limit for accrual trades 2020-01-28 15:05:21 +00:00
Crypto City
9ad2e1355d cc: make workforce proximity bonus/penalty starker 2020-01-28 15:05:21 +00:00
Crypto City
2282646a45 game: add flag size in the building settings dialog 2020-01-28 15:05:21 +00:00
Crypto City
7c1ea29fac cc: tweak workforce building 2020-01-28 15:05:21 +00:00
Crypto City
86448078f5 cc: basic residential does not need commercial influence anymore
make it just a bonus
2020-01-28 15:05:21 +00:00
Crypto City
28f8debbcf game: show road bonus for new buildings 2020-01-28 15:05:21 +00:00
Crypto City
53de630939 game: derive all windows from UITBWindow 2020-01-28 15:05:21 +00:00
Crypto City
d920561281 cc: bring first city earlier by 10 2020-01-28 15:05:21 +00:00
Crypto City
1c08f5d5a1 game: fix spurious "broken up" flag areas 2020-01-28 15:05:21 +00:00
moneromooo-monero
39a343d76e
p2p: remove backward compatible peer list 2020-01-26 18:37:33 +00:00
moneromooo-monero
606318026e
p2p: simplify last_seen serialization now we have optional stores 2020-01-26 18:37:32 +00:00
moneromooo-monero
9467b2e44c
cryptonote_protocol: omit top 64 bits of difficulty when 0 2020-01-26 18:37:31 +00:00
moneromooo-monero
5f98b46d58
p2p: remove obsolete local time from TIMED_SYNC 2020-01-26 18:37:26 +00:00
Alexander Blair
8eedc8a390
Merge pull request #6140
08635a08 blockchain: speedup fetching pruned contiguous tx blobs (moneromooo-monero)
2020-01-25 16:55:18 -08:00
Alexander Blair
40f82b35ae
Merge pull request #6170
56a4469e network: log traffic and add a simple traffic analysis script (moneromooo-monero)
2020-01-25 16:54:24 -08:00
moneromooo-monero
56a4469ef3
network: log traffic and add a simple traffic analysis script 2020-01-26 00:33:41 +00:00
moneromooo-monero
dd8c6b1703
wallet: do not split integrated addresses in address book api 2020-01-26 00:03:53 +00:00
Crypto City
623bc266ca tx_pool: fix tracking of city/flag trade commands 2020-01-25 23:17:44 +00:00
Crypto City
5a4d63f5f1 cc: new match command, matches trades without trading itself
This will be useful for trade ussing accrual
2020-01-25 22:18:04 +00:00
Crypto City
22b74d59d1 cc: ensure chat commands are not mined 2020-01-25 19:33:54 +00:00
xiphon
dab604e010 wallet2_api: implement estimateTransactionFee 2020-01-25 05:34:51 +00:00
Alexander Blair
59e7d5686b
Merge pull request #6093
2e58eb5c lmdb: Remove meaningless const qualifier on function type (Nathan Dorfman)
2020-01-24 20:24:44 -08:00
Alexander Blair
e8f94e7f1d
Merge pull request #6173
8231c7cd rpc: fix bootstrap RPC payment RPC being made in raw JSON, not JSON RPC (moneromooo-monero)
81c26589 rpc: don't auto fail RPC needing payment in bootstrap mode (moneromooo-monero)
2020-01-24 20:19:41 -08:00
Alexander Blair
93d49c1a54
Merge pull request #6172
d7cf8727 rpc: add received_timestamp for pool txes in gettransactions (moneromooo-monero)
2020-01-24 20:17:39 -08:00
Alexander Blair
e51ce477db
Merge pull request #6157
402dd207 db_lmdb: guard against non NUL terminated keys (moneromooo-monero)
2020-01-24 20:07:37 -08:00
Alexander Blair
159c78758a
Merge pull request #6154
3b419333 wallet: don't issue node rpc proxy requests in '--offline' mode (xiphon)
2020-01-24 20:07:01 -08:00
Alexander Blair
f20a962774
Merge pull request #6153
24adee4a p2p: don't request flags after closing connection (moneromooo-monero)
2020-01-24 20:06:46 -08:00
Alexander Blair
d1b08c00cf
Merge pull request #6146
70c9cd3c Change to Tx diffusion (Dandelion++ fluff) instead of flooding (Lee Clagett)
2020-01-24 20:06:34 -08:00
Alexander Blair
5558919e56
Merge pull request #6128
9fe8a76c perf_timer: fix pause/resume macros dereferencing too much (moneromooo-monero)
2020-01-24 20:06:12 -08:00
moneromooo-monero
2e9d1e6e1f
wallet2: fix store-tx-info loading
The backward compatibility code was always setting it to 1
in modern wallets since store_tx_keys was not present and thus
assumed to be 1 by default.

Reported by SeventhAlpaca
2020-01-24 16:34:07 +00:00
Crypto City
0a53ab2732 wallet2: don't process game balance changes for pool txes 2020-01-24 15:49:35 +00:00
Crypto City
fb9e5297e8 auto updating trade prices
A trade order can be set to update its price every game update,
allowing auctions of sorts
2020-01-24 15:49:34 +00:00
Crypto City
df17dcdcda name binaries and relevant files townforge* 2020-01-24 15:49:34 +00:00
Crypto City
f8fddabe81 add a give (items) command 2020-01-24 15:49:34 +00:00
Crypto City
712fed31fa cc: don't require a valid pubkey when not sending money 2020-01-24 15:49:34 +00:00
Crypto City
ae6ad7eb3a cc: fix reverting game update with defaulted land 2020-01-24 15:49:34 +00:00
Crypto City
8e2c9d5489 cc: make roads use granite, but less so 2020-01-24 15:49:34 +00:00
Crypto City
97da41ec66 game: fix selection disappearing as the mouse moves off an object 2020-01-24 15:49:34 +00:00
Crypto City
564b79bbc9 game: add edit commands which went missing during the tb switch 2020-01-24 15:49:34 +00:00
Crypto City
4ccc38366d game: fix influence/generator area markers 2020-01-24 15:49:34 +00:00
Crypto City
26c803adf6 game: factor out the area model builder, it'll be reused 2020-01-24 15:49:34 +00:00
Crypto City
0158e4bc71 game: add travel between cities 2020-01-24 15:49:34 +00:00
Crypto City
d68801f026 Allow trading cities 2020-01-24 15:49:34 +00:00
Crypto City
9d06dcf5b9 db_lmdb: don't place null pubkeys in the key-to-account table
all treasuries will have that key
2020-01-24 15:49:34 +00:00
Crypto City
7d6cb44866 db_lmdb: fix missing city name in for_all_cc_cities 2020-01-24 15:49:34 +00:00
Crypto City
c82864acfc New cities can now be created, price goes down with world size 2020-01-24 15:49:34 +00:00
Crypto City
b395e17a43 game: fix disappearing budget items 2020-01-20 00:58:01 +00:00
Crypto City
429cf3e9c0 game: disable assign items when appropriate
it was left enabled as a debug helper
2020-01-20 00:58:01 +00:00
Aaron Hook
d0641b42fe net: fix incorrect less operator for top/i2p addresses 2020-01-18 19:18:56 -08:00
Crypto City
3e25efaf45 game: display the max amount assignable in item select dialog 2020-01-18 13:02:00 +00:00
Crypto City
8ae7f04e93 game: some usability tweaks in trade ui 2020-01-18 12:14:27 +00:00
Crypto City
d6200512fd game: fix line taken out by mistkae in previous commit 2020-01-18 12:11:22 +00:00
Crypto City
d1b618ec43 game: wip - switch to turbo badger for ui 2020-01-18 01:21:51 +00:00
Crypto City
9c8fa71031 game: add missing node config dialog files 2020-01-17 23:24:08 +00:00
Crypto City
bc5bc0f085 game: make centered size conigurable 2020-01-17 23:21:37 +00:00
moneromooo-monero
484fc0c844 wallet2: remember daemon address overrides when loading a new wallet 2020-01-17 22:35:07 +00:00
Crypto City
bed5895ac3 game: node config dialog and disconnected notification 2020-01-17 21:13:02 +00:00
cohcho
fe92fa1391 [randomx] Add missing randomx_vm_set_cache() 2020-01-17 19:25:26 +00:00
Crypto City
4d4fbd7b41 game: wip - switch to turbo badger for ui 2020-01-17 16:59:43 +00:00
Crypto City
d0a35cbf6d game: more fuck you tb for this disappearing shade icon 2020-01-17 12:24:14 +00:00
Alexander Blair
beb815a81d
Merge pull request #6144
0e0351c4 wallet_rpc_server: add count parameter to create_address (Matt Smith)
2020-01-16 17:51:25 -08:00
Alexander Blair
c39ea485a0
Merge pull request #6141
b9b5c473 threadpool: use std::move when taking an element off the queue (moneromooo-monero)
2020-01-16 17:45:44 -08:00
Crypto City
1dc8488ca6 game: wip - switch to turbo badger for ui 2020-01-17 01:44:59 +00:00
Alexander Blair
2ce5529680
Merge pull request #6134
a7a40e28 Actually concatenate error strings. (Bert Peters)
2020-01-16 17:42:27 -08:00
Alexander Blair
f1ca98a7ef
Merge pull request #6133
b2ad757f Replace memset with memwipe. (Bert Peters)
2020-01-16 17:41:35 -08:00
Alexander Blair
e4e70b57ca
Merge pull request #6130
6dec0013 simplewallet: fix restore height warning (selsta)
2020-01-16 17:39:03 -08:00
Alexander Blair
c4abfbfbe7
Merge pull request #6124
21d4c216 blockchain: error out if the builtin hashes data size is wrong (moneromooo-monero)
2020-01-16 17:31:35 -08:00
Alexander Blair
c6f4113265
Merge pull request #6119
6f45cfa5 p2p: zero last seen timestamp when inserting a new peer (moneromooo-monero)
2020-01-16 17:29:27 -08:00
Alexander Blair
3acb22b889
Merge pull request #6115
27522aaa core_tests: reset thread pool between tests (moneromooo-monero)
2020-01-16 17:27:15 -08:00
Crypto City
5d188770ab game: fix constant change events for main window 2020-01-16 22:50:33 +00:00
Crypto City
3903e10240 game: fix disappearing shade icon, fuck you tb 2020-01-16 21:58:55 +00:00
moneromooo-monero
50e59cfada
wallet2: reject zero keys in json input
Because the user might do this for reasons unknown.
Values beyond l-1 will be reduced, so are accepted.

Reported by who-biz.
2020-01-16 19:58:21 +00:00
Crypto City
a9b39c68aa game: wip - switch to turbo badger for ui 2020-01-16 13:36:02 +00:00
Crypto City
c896aeb2b3 game: fix random flag construction height when selling items 2020-01-16 13:32:56 +00:00
Crypto City
5376ff9fce game: fix inventory/budget selection 2020-01-15 21:53:27 +00:00
Crypto City
524f5f51f9 game: add flag info / last update events again 2020-01-15 21:10:44 +00:00
Crypto City
3cbf53cf13 game: make the main command window shadable 2020-01-15 21:03:33 +00:00
Crypto City
fbbd2e56d1 game: disable wallet widgets when no wallet is loaded 2020-01-15 19:31:53 +00:00
Crypto City
4688a3ba9e game: keep console the width of the screen 2020-01-15 19:31:35 +00:00
Crypto City
f438bd2866 game: fix flag display mode at startup 2020-01-15 18:35:06 +00:00
Crypto City
9c26e18e80 game: wip - switch to turbo badger for ui 2020-01-15 18:20:45 +00:00
Crypto City
af6405909b game: fix edit field context menu 2020-01-15 12:36:35 +00:00
Crypto City
ce43aecf41 game: move the commands window on resize if flush right or bottom 2020-01-15 11:36:07 +00:00
Crypto City
c6e3d0994f game: wip - switch to turbo badger for ui 2020-01-15 02:32:08 +00:00
Crypto City
a6d47c4c4a game: wip - switch to turbo badger for ui 2020-01-15 01:30:50 +00:00
xiphon
ffe7165ebf wallet: reroll fake outs selection on local tx_sanity_check failure 2020-01-14 22:56:23 +00:00
Crypto City
4a32053f66 game: wip - switch to turbo badger for ui 2020-01-13 21:55:23 +00:00
Crypto City
0465ed3b96 game: wip - switch to turbo badger for ui 2020-01-13 18:49:18 +00:00
Crypto City
06c92d3cec game: wip - switch to turbo badger for ui 2020-01-13 03:34:14 +00:00
Alexander Blair
e49a055e89
Merge pull request #6112
7c1d31b0 build: fix IOS, build blockchain_db and rpc, skip wallet_rpc_server (xiphon)
2020-01-11 18:10:44 -08:00
Alexander Blair
d024695772
Merge pull request #6105
0de8a0d3 wallet_rpc_server: new estimate_tx_size_and_weight RPC (moneromooo-monero)
2020-01-11 18:04:49 -08:00
Tadeas Moravec
096a9dbdf9
Wallet: Distingush amounts for a single subaddress
Adding a new `amounts` field ot the output of `get_transfers` RPC
method. This field specifies individual payments made to a single
subaddress in a single transaction, e.g., made by this command:

    transfer <addr1> <amount1> <addr1> <amount2>
2020-01-11 11:48:27 +01:00
Crypto City
88ea3cf8c6 game: player info window skeleton 2020-01-10 22:22:25 +00:00
Crypto City
6ce02621bc cc: make the labour cost function a bit less jaggy 2020-01-10 18:03:44 +00:00
Crypto City
14097fdc9f wallet: don't init the bitmessage socket before use
It saves having to create a SSL key that won't be used
2020-01-10 17:05:08 +00:00
Crypto City
b857530615 game: fancy clouds 2020-01-10 17:05:08 +00:00
rbrunner7
664720747f Daemon: Guard against reporting "synchronized" too early
The added condition "hshd.current_height >= target" guards against
reporting "synchronized" too early in the special situation that the
very first peer sending us data is synced to a lower height than
ourselves.
2020-01-10 15:49:49 +01:00
moneromooo-monero
0349347e6d
ringdb: use a different iv for key and data in rings table
This is technically a record encrypted in two pieces,
so the iv needs to be different.
Some backward compatibility is added to read data written
by existing code, but new data is written with the new code.
2020-01-09 17:32:21 +00:00
moneromooo-monero
7b88208722
simplewallet: reword mixin in user message in terms of ring size 2020-01-09 17:32:21 +00:00
moneromooo-monero
f507a43a23
wallet2: do not remove known rings when a tx fails
Even if it fails, the ring composition is known to a potential
adversary, and so we should reuse the same ring next time
2020-01-09 17:32:21 +00:00
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'.
2020-01-09 09:11:09 -06:00
Crypto City
289d9c134b cc: fix "cleanup" with tiny amount of basic, no medium, and some high 2020-01-08 00:13:46 +00:00
Crypto City
302aade6cb cc: tweak requirements/cost/production
Scale all requirements up by 8 times, so small flags have enough
blocks to build something. Larger ones will have too many, but
we don't care since they don't have to use a minimum anymore.
Tweak sawmill/stonecutter so they still get some profit with
those new numbers
2020-01-08 00:07:02 +00:00
moneromooo-monero
a84131cea3
p2p: fix off by one adding fallback peers
The code would ignore the first one to be added
2020-01-07 14:40:26 +00:00
Crypto City
9e0202913f game: fix race on new wallets 2020-01-07 13:41:23 +00:00
Crypto City
38c3352f6c game: simplify inventory code
Don't add 2048 list items, most of them hidden, get rid of
the index-to-item map, don't recreate the list unless changed
2020-01-06 21:42:55 +00:00
Crypto City
feb843c742 rpc: change items from uint32_t[NUM_ITEMS] to std::vector<{uint32_t, uint32_t}> 2020-01-06 21:40:39 +00:00
Crypto City
aef68e112c game: add stroke effect to the spector mode text
It makes the text readable when on bright daylight sky background
2020-01-06 12:44:11 +00:00
Crypto City
f258baa705 game: fix face orientations in new instanced quads render mode
They did not match the other modes
2020-01-06 12:44:11 +00:00
Crypto City
dbedf8df2d game: don't drop to per-cube rendering when a building isn't ours 2020-01-06 12:44:11 +00:00
Crypto City
6eee3091fb game: improve procsky (and enable it by default) and lighting
Procsky is now updated only when needed, removing the performance hit

A nighttime camera light is now added, and interpolates with the
sun light at dawn and dusk
2020-01-06 12:44:11 +00:00
Crypto City
0e8efe7976 game: add some shadow bias to fix some nasty artifacts 2020-01-04 23:24:45 +00:00
Crypto City
1734a6219c game: keep settings in a config file 2020-01-04 20:21:23 +00:00
Crypto City
5822dfd221 game: update labour when processing build commands 2020-01-04 14:49:36 +00:00
Crypto City
39a3fbec66 game: fix missing polygons on large meshes in optimized mesh render mode 2020-01-04 14:27:40 +00:00
Crypto City
e9afc00504 core: add txes to the txpool in parentage order 2020-01-04 13:51:23 +00:00
Crypto City
0c732485be game: prevent loading a model on flag without a building we own 2020-01-04 13:51:23 +00:00
Crypto City
4b5e70d283 tx_pool: add some debug logs on ready checks 2020-01-04 13:51:23 +00:00
Crypto City
055457ec67 cc: fix one CHECK_AND_ASSERT_MES to CHECK_COMMAND_SET 2020-01-04 13:51:23 +00:00
Crypto City
f77ff2201f game: new render mode using StaticModelGroup and instancing 2020-01-04 13:51:23 +00:00
Crypto City
5f40893ef7 game: fix node leak when changing render mode 2020-01-03 22:17:12 +00:00
Crypto City
f8f8035a1d db_lmdb: store accounts flags in canonical sorted order 2020-01-03 20:30:51 +00:00
moneromooo-monero
36bdf40288
p2p: fix adding wrong indices to the filtered peer list 2020-01-03 17:56:54 +00:00
Crypto City
559c5f7b2e fix issues with game update event cache and tests 2020-01-03 16:27:51 +00:00
Crypto City
1d8d178f36 blockchain: constrain the large coinbase tx allowance conditions 2020-01-03 15:23:14 +00:00
Crypto City
0df1c4eb7e game: only display the side of the frame quad if large enough 2020-01-02 22:51:35 +00:00
Crypto City
17a9eac108 game: add options for shadows and procsky 2020-01-02 21:55:32 +00:00
Crypto City
765e4bd709 game: disable smiley/clear buttons in spectator mode 2020-01-02 19:32:33 +00:00
Crypto City
b6dbec2347 game: don't crash when failing to load a wallet 2020-01-02 19:01:14 +00:00
Crypto City
45a2130be1 game: disable console input in spectator mode 2020-01-02 18:56:53 +00:00
Crypto City
a2d2598dc6 game: make the "load a wallet" button in spectator mode look better 2020-01-02 16:44:07 +00:00
Crypto City
c156b4459a game: highlight the selected item in the trade ui 2020-01-02 16:29:52 +00:00
Crypto City
3ac2fbffc8 game: always select an item by default in the trade ui 2020-01-02 16:10:40 +00:00
Crypto City
bac1eb6f47 game: display flag boundary rather than full area 2020-01-02 15:21:56 +00:00
Crypto City
8404b02301 miner: mine in verification mode when on low difficulty 2020-01-02 10:24:31 +00:00
Crypto City
c8c048f300 game: add activation notification when setting a building settings 2020-01-02 10:18:23 +00:00
Crypto City
a4986e988f game: clear screen even earlier at startup 2020-01-02 09:54:24 +00:00
Crypto City
051bc8bc08 game: draw a single quad for the flag base 2020-01-02 09:51:56 +00:00
Crypto City
d41a7a753c game: move the custom mesh creation to a separate routine
It will be reused
2020-01-02 09:51:52 +00:00
Crypto City
e75a4803d3 game: splashscreen instead of whatever was in video RAM at the time 2020-01-02 00:05:14 +00:00
Crypto City
f2086cc7a1 game: initialize UI earlier 2020-01-01 21:33:46 +00:00
Crypto City
f7fc704b5c game: add a "spectator mode" text and load button when in spectator mode 2020-01-01 21:28:18 +00:00
Crypto City
87085a9538 game: add spectator mode
A player without an account can now look around the game,
just not alter it
2020-01-01 20:42:14 +00:00
Crypto City
36fe5f9cc5 cc: fix FlagState leak 2020-01-01 18:04:34 +00:00
Crypto City
4f1d3acc70 cc: add a game update cache 2020-01-01 16:53:02 +00:00
Crypto City
c13754532c Remove the unused "commit" version of game update creation 2020-01-01 16:33:15 +00:00
Crypto City
7e4fe631d5 allow large game update commands 2020-01-01 15:14:16 +00:00
Crypto City
debcea9769 cc: fix building name being lost on game update revert 2020-01-01 15:12:48 +00:00
Crypto City
18696fe6a1 include construction height in flag trade commands
This prevents someone from demolishing their building and selling
the now empty land to a waiting buyer
2019-12-31 11:16:38 +00:00
moneromooo-monero
7566d1d274 wallet: fix exceptions getting the hash of a pruned tx 2019-12-31 10:21:07 +00:00
Crypto City
eb494c526b cc: fix cumulative influence using the wrong flag's side for rounding 2019-12-31 10:19:13 +00:00
Crypto City
93743aa560 game: fix adding/removing blocks in a selection that spans flags 2019-12-31 10:19:13 +00:00
moneromooo-monero
d64e5aa719
wallet: allow message sign/verify for subaddresses 2019-12-31 08:44:36 +00:00
Crypto City
ab653343d6 game: fix leaking/duplicate flag quads 2019-12-30 22:38:18 +00:00
Crypto City
48082c41e9 game: select currently selected flag in trade ui, if any 2019-12-30 22:38:18 +00:00
Crypto City
868b8e3e2f game: add flags to trade ui 2019-12-30 22:38:18 +00:00
Crypto City
4a8aa3db2f game: pre-fill price/amount when clicking on an order 2019-12-30 22:38:18 +00:00
Crypto City
a1734a9935 game: bump trade ui price column widget width 2019-12-30 22:38:17 +00:00
Crypto City
b98aa4aaad game: better market selection 2019-12-30 22:38:17 +00:00
Crypto City
6818ef511f game: display potential as "-" when it doesn't apply 2019-12-30 22:38:17 +00:00
Crypto City
217166bcab game: add a resizing widget to the chat 2019-12-30 22:38:17 +00:00
Crypto City
c3e0f43f72 cc: make patent time per discovery 2019-12-30 22:38:17 +00:00
moneromooo-monero
a6c24412e5
wallet: fix exceptions getting the hash of a pruned tx 2019-12-30 15:14:57 +00:00
Crypto City
a31eaa1e55 simplewallet: don't print spent/received game money when locked 2019-12-29 18:47:18 +00:00
Crypto City
fe31868d7f game: fix horizontal scrollbar in chat 2019-12-29 18:41:18 +00:00
Crypto City
290067e908 game: don't print influence or potential when they don't apply 2019-12-29 17:51:02 +00:00
Crypto City
44ff248f19 game: add existing building name in building settings dialog 2019-12-29 17:50:40 +00:00
Crypto City
51469f08a8 cc: change research influence
Due to the way the research command works, we can't easily
determine "shares" for a research building, so instead we
make the research building influence others
2019-12-29 17:50:26 +00:00
Crypto City
883096ea25 cc: fix research bonus not taking height/EP into account
and grows in power of 1.5 to encourage large buildings (campuses)
2019-12-28 17:09:35 +00:00
Crypto City
cc2d565657 cc: fix research money not going back to treasury 2019-12-28 17:09:14 +00:00
Crypto City
2e136c18c4 replace more arrays of NUM_ITEMS by a std::map 2019-12-28 16:33:17 +00:00
Crypto City
bdbc367c8e keep track of building age 2019-12-28 16:33:17 +00:00
Crypto City
87122879af tx_pool: always send receive time for chat game txes 2019-12-27 19:23:33 +00:00
Crypto City
d740c0900a game: remove budget activation threshold when unused 2019-12-27 19:02:45 +00:00
Crypto City
fdac2c3917 game: announce discoveries in chat 2019-12-27 18:58:30 +00:00
Crypto City
c5583c224f more research tweaking 2019-12-27 17:37:46 +00:00
Crypto City
0d0ac253b9 make budget count against research difficulty decrease instead 2019-12-27 13:52:38 +00:00
Crypto City
24a9685e57 game: hide locked and discovered discoveries by default 2019-12-27 03:08:55 +00:00
Crypto City
c4d88a0996 cc: add a couple more discoveries 2019-12-27 02:24:49 +00:00
Crypto City
94c605528c cc: do not count existing budget for chance to discover
turns out this is the best in practice
2019-12-27 01:52:36 +00:00
Crypto City
bc78dfe75c cc: fix bug hashing research outcome 2019-12-27 01:51:08 +00:00
Crypto City
dbfac813e3 add some research/discoveries tests 2019-12-27 01:51:08 +00:00
Crypto City
d1f8d2c717 game: improve research UI
Prediction of chance of discovery from amount paid, colouring,
hide widgets if a discovery is not currently researchable
2019-12-26 18:03:59 +00:00
Crypto City
241a60c1ee game: swap buy and sell widgets around, it feels more natural 2019-12-26 16:49:13 +00:00
Crypto City
f81c8203aa game: add in chat game notifications
So far, only used for new buildings
2019-12-26 16:26:55 +00:00
Crypto City
22a59fb069 cc: add a few more discoveries 2019-12-26 16:26:55 +00:00
Crypto City
2f33a4a4f4 game: add research UI 2019-12-26 16:23:16 +00:00
Crypto City
54c462ed22 change item balances from uint32_t[NUM_ITEMS] to std::map<uint32, uint32>
We have a lot more item space now, and a lot of it is sparse
2019-12-26 16:23:16 +00:00
Crypto City
4fc5db3f78 small research fixes and factor some code 2019-12-25 23:19:02 +00:00
Crypto City
1076fe952b cc: add research buildings 2019-12-25 22:29:52 +00:00
Crypto City
ccb71779c6 game: fix buying from the last resort seller from the trade ui 2019-12-25 22:29:36 +00:00
Crypto City
86a1517139 Discoveries and research 2019-12-25 20:36:51 +00:00
Crypto City
33d04dff63 cc: fix defaulting on buildings not clearing flags from accounts 2019-12-24 19:16:25 +00:00
Crypto City
73af7e4905 game: add matching and expiration to the trade UI 2019-12-24 18:42:13 +00:00
Crypto City
1cc85512c3 game: fix type mismatch 2019-12-24 18:11:08 +00:00
Crypto City
fd7ad43a88 game: trade UI (no matching yet) 2019-12-24 13:42:41 +00:00
Crypto City
d3981da708 cc: fix item balance check not setting the detail flag 2019-12-24 13:42:31 +00:00
Crypto City
3ce82a8424 game: update blur sizes on window resize 2019-12-23 21:50:29 +00:00
Crypto City
2069249b41 game: speed up default rendering case
Disable glow effect when it's used for anything
2019-12-23 21:32:22 +00:00
Crypto City
20ce5ae867 game: fix new/glow effect missing 2019-12-23 21:29:56 +00:00
Crypto City
3dba400994 cc: cleanup tiny block amounts in requirements 2019-12-23 19:14:52 +00:00
Crypto City
6f5e74503f cc: more tweaks and payout fixes 2019-12-23 18:12:06 +00:00
Crypto City
90d31182b4 more road and influence tweaks 2019-12-23 13:32:49 +00:00
Crypto City
0b870194dc cc: make land cost proportional to tiles (with some skew penalty) 2019-12-23 01:49:10 +00:00
Crypto City
d3b1cb3334 cc: slash all costs by 10 2019-12-23 00:57:12 +00:00
Crypto City
85485b6ebc cc: tweak RES requirements 2019-12-23 00:38:25 +00:00
Crypto City
4a63f50420 only consider active buildings for road bonus/shares calc 2019-12-23 00:05:54 +00:00
Crypto City
94dd8fb8d3 cc: fix shares and activation in game update 2019-12-22 20:11:42 +00:00
Crypto City
5fc8c98a20 tweak road bonus for residential flags based on north/south 2019-12-22 15:51:03 +00:00
Crypto City
40801f4f33 custom repair print function
to avoid relying on floats
2019-12-22 14:06:29 +00:00
Crypto City
9475f232ba cc: some more tweaking 2019-12-21 23:42:08 +00:00
Crypto City
dedcfa08e5 cc: make the agricultural min size smaller 2019-12-21 17:56:58 +00:00
Crypto City
ab39221a5e Add minimum sizes for certain roles/economic power combinations 2019-12-21 17:56:58 +00:00
Crypto City
1c3e744cb3 game: fix tile changing before all build txes are emitted 2019-12-21 17:56:58 +00:00
Crypto City
46ff4e2d31 cc: fix min/max trade expiration to match block target change 2019-12-21 17:56:58 +00:00
Crypto City
b98b8bf5b2 some more road tweaking 2019-12-21 17:56:58 +00:00
Crypto City
28d92dacfa cc: fix removing update events from the wrong height on revert 2019-12-21 17:56:58 +00:00
Crypto City
4417e82007 game: fix loop back to end on previous button in update events dialog 2019-12-21 17:56:58 +00:00
Crypto City
51d6704a08 cc: connection_squares now also returns direction
of the first building compared to the second building
2019-12-21 17:56:58 +00:00
Crypto City
56e71876a1 cc: take into account amount of road space leading to a building 2019-12-21 17:56:58 +00:00
Crypto City
b9146035de cc: add adjecent squares calc
I'm sure it'll come handy soon
2019-12-21 17:56:58 +00:00
Crypto City
a6b50d309c road tweaks 2019-12-21 17:56:58 +00:00
Crypto City
22285d7b70 Roads 2019-12-21 17:56:58 +00:00
moneromooo-monero
6933693179
rpc: fill miner_tx_hash again
It was removed to save duplicated generation time, but it can
be copied from another instance instead
2019-12-20 14:16:31 +00:00
Crypto City
976dec8ded game: print building role if unnamed in events dialog 2019-12-19 00:58:29 +00:00
Crypto City
ed7e28d13d game: fix off by one 2019-12-18 21:24:59 +00:00
Crypto City
d46b622f65 game: allow empty role in building settings for empty building
also select the current role by default
2019-12-18 21:22:06 +00:00
Crypto City
f48ea3fefd game: fix buffer overflow 2019-12-18 21:15:39 +00:00
Crypto City
a585369ab1 game: make shares 64 bits in a place where they were still 32 bits 2019-12-18 01:04:27 +00:00
moneromooo-monero
21c3d42eb9
p2p: drop the peerlist dump to TRACE
It's spammy
2019-12-17 20:27:04 +00:00
Crypto City
2cc1144b19 cc: slowly increase land tax with distance from the town center 2019-12-17 13:56:16 +00:00
Crypto City
89b1c6c0d8 cc: tweak workforce generator a bit and fix its money sink 2019-12-17 13:56:15 +00:00
Crypto City
8a41742521 cc, game: disable some items and roles
They'll be game upgrades
2019-12-17 13:56:15 +00:00
Crypto City
7eeaa75acd cc: disable BUILD_RATIO_ACTIVE_THRESHOLD_PERCENT
It seemed like a good idea to push people to build, but it
might instead push people to build anything quick even if
they don't have a nice idea yet
2019-12-17 13:56:15 +00:00
Crypto City
6fafc90925 game: add building names to the last events dialog 2019-12-17 01:40:31 +00:00
Crypto City
099ddec05f game: move Map to GameState 2019-12-17 01:40:31 +00:00
moneromooo-monero
5f71de2803 wallet2: guard against race with multiple decrypt_keys users
If more than one thread wants to make sure of the spend secret key,
then we decrypt on the first caller and reencrypt on the last caller,
otherwise we could use an invalid secret key.
2019-12-17 01:40:29 +00:00
moneromooo-monero
f717d5936c
wallet2: guard against race with multiple decrypt_keys users
If more than one thread wants to make sure of the spend secret key,
then we decrypt on the first caller and reencrypt on the last caller,
otherwise we could use an invalid secret key.
2019-12-17 01:38:29 +00:00
moneromooo-monero
716012ca3a
rpc: drop the obsolete and wrong "unpruned size" log
Since we now get pruned data in the first place, the "unpruned" data
size will in fact be the pruned data size, leading to confusion
2019-12-16 14:50:07 +00:00
stoffu
ae84ec90c8
wallet-cli/rpc: allow sweep_all to use outputs in all subaddresses within an account 2019-12-16 21:10:11 +09:00
Crypto City
c76b4a210a game: fix free camera not keeping from rolling 2019-12-14 19:26:24 +00:00
Crypto City
56920d6130 game: fix crash removing last block 2019-12-14 19:01:43 +00:00
palomato
bc6d8aa343
Corrected message typo
Message was "peer claims higher version that we think"
Requested change "peer claims higher version than we think"
2019-12-14 13:06:09 -05:00
Crypto City
bbebe773f8 db_lmdb: fix bugs allocating new flags after some were deleted 2019-12-14 16:40:46 +00:00
Crypto City
2fa0400d72 Fixups after monero rebase, and fix tests after other recent changes 2019-12-14 16:40:46 +00:00
moneromooo-monero
5cbb17b946
wallet2: fix hang in wallet refresh
If the hashes received would move the current blockchain past the
stop point, the short history would not be updated, since we do
not expect another loop, but the daemon might return earlier hashes,
causing the end index to not be enough to reach the threshold and
this require another loop, which will download the same hashes and
cause an infinite loop.
2019-12-14 16:24:04 +00:00
moneromooo-monero
8a276451b2
blockchain: fix flushing txes from the txpool 2019-12-14 02:13:39 +00:00
Crypto City
41e339eff1 cc: decrease the one off fee to buy land 2019-12-13 01:33:07 +00:00
Crypto City
cbb7cb02ac game: add a basic "walker" camera
moves at ground level, can climb over one block
2019-12-13 01:33:07 +00:00
Crypto City
6577c31175 game: move camera code in a separate class with a base class 2019-12-13 01:33:07 +00:00
Crypto City
68b220edb7 game: speedup removing nodes 2019-12-13 01:33:07 +00:00
Crypto City
54646f0aeb game: optimized mesh generation 2019-12-13 01:33:07 +00:00
Crypto City
0223c854f8 game: F12 to draw debug geometry 2019-12-13 01:33:07 +00:00
Crypto City
ed8adb98ff game: fix crash switching material before the game is loaded 2019-12-13 01:33:07 +00:00
Crypto City
be772d75ba game: fix world tile streaming 2019-12-13 01:33:07 +00:00
Crypto City
a449e9aa33 game: add setting to ignore influence to get a cost/profit estimate 2019-12-13 01:33:07 +00:00
Crypto City
66293b2a88 cc: some more tweaking 2019-12-13 01:33:07 +00:00
Crypto City
a2389a9953 game: fix wood material after addition of more stone 2019-12-13 01:33:06 +00:00
Crypto City
a3ea3dd222 game: fix cursor/block z fighting 2019-12-13 01:33:06 +00:00
Crypto City
87b2d3e165 we can now build below existing blocks 2019-12-13 01:33:06 +00:00
Crypto City
cefe06e359 game: fix block addition to the wrong place 2019-12-13 01:33:06 +00:00
Crypto City
d2cfa670e0 game: fix error when removing a block where none exists 2019-12-13 01:33:06 +00:00
Crypto City
818d564719 game: better picking, and highlight selected tile too 2019-12-13 01:33:06 +00:00
Crypto City
5cc149c89f tests: fix tests after recent emission changes 2019-12-13 01:33:06 +00:00
Crypto City
11cf7f532b new demolish command
Recovers 20% of the flag budget, and the flag may now be reused
for another building role
2019-12-13 01:33:06 +00:00
Crypto City
b52d1cd974 game: fix theoretical loop bug 2019-12-13 01:32:49 +00:00
Crypto City
17b0ead854 game: estimate payouts for the first building of its type 2019-12-13 01:32:49 +00:00
Crypto City
019625c127 cc: some more tweaking 2019-12-13 01:32:49 +00:00
Crypto City
52deff213b game: add a scale field to the user guide prices 2019-12-13 01:32:49 +00:00
Crypto City
56a6b57d4b game: fix missing balance at start before a new block 2019-12-13 01:32:49 +00:00
Crypto City
2e105eef4b simplewallet: in-game balance change message wording and typo 2019-12-13 01:32:49 +00:00
Crypto City
18ca20333a game: add flag size in building settings dialog 2019-12-13 01:32:49 +00:00
Crypto City
349ddcb8b2 change emission parameters
1 minute target
raise tail emission
decrease the number of decimals to 8
4 game updates per day
2019-12-13 01:32:49 +00:00
Crypto City
003f4b85ae cc: some more tweaking 2019-12-13 01:32:49 +00:00
Crypto City
fef8f8fee6 game: add user selectable prices for profit/loss estimation 2019-12-13 01:32:49 +00:00
Crypto City
e48aae2fb3 tmp - log spam 2019-12-13 01:32:49 +00:00
Crypto City
18333fe5dc game: allow building sideways 2019-12-13 01:32:49 +00:00
Crypto City
b185d9127a cc: some more tweaking 2019-12-13 01:32:49 +00:00
Crypto City
238e7b2fff game: add estimated cost/price/profit/loss for generators
in building settings dialog
2019-12-13 01:32:49 +00:00
Crypto City
4a2ce9af1e ensure shares for non-earning buildings are 0 2019-12-13 01:32:49 +00:00
Crypto City
e8578103fa cc: some more tweaking 2019-12-13 01:32:49 +00:00
Crypto City
7e02bf3023 cc: double influence 2019-12-13 01:32:49 +00:00
Crypto City
4289fb6549 cc: add a comment about staff cost accounting where it's confusing 2019-12-13 01:32:49 +00:00
Crypto City
9c92a14a4d wallet: add chat RPC 2019-12-13 01:32:49 +00:00
Crypto City
d54f907d43 add game subsidy 2019-12-13 01:32:49 +00:00
Crypto City
893dc067a6 blockchain_db: fix built tiles counting 2019-12-13 01:31:56 +00:00
Crypto City
2041f2e4f0 rework production/requirements some
Will need more
2019-12-13 01:31:56 +00:00
moneromooo-monero
618338363a 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
2019-12-13 01:31:56 +00:00
Crypto City
b80c323d42 remove some obsolete code 2019-12-13 01:31:25 +00:00
Crypto City
d0e49f833e game: chat display tweaks 2019-12-13 01:31:25 +00:00
Crypto City
c9c705f74e fix time drift causing missing chat lines 2019-12-13 01:31:25 +00:00
Crypto City
ed69abc73d game: don't try to send chat lines if there's no wallet 2019-12-13 01:31:25 +00:00
Crypto City
d49840000b game: make the console easier to snap to the end 2019-12-13 01:31:25 +00:00
moneromooo-monero
4fa9fc1070 rpc: add received_timestamp for pool txes in gettransactions 2019-12-13 01:31:25 +00:00
Crypto City
108234ea0d game: remember chat color in wallet attributes 2019-12-13 01:31:25 +00:00
Crypto City
c529d0e1dd game: display exception message when failing to load wallet 2019-12-13 01:31:25 +00:00
Crypto City
1c43243154 game: add chat button 2019-12-13 01:31:25 +00:00
Crypto City
0ab0f8d687 game: chat improvements: smileys, colors 2019-12-13 01:31:25 +00:00
Crypto City
d13a6ef700 game: add C hotkey for chat 2019-12-13 01:31:25 +00:00
Crypto City
6eecbf3f74 game: make the prefix style configurable 2019-12-13 01:31:25 +00:00
Crypto City
c1d07b7c42 p2p: fix connection to single seed network 2019-12-13 01:31:25 +00:00
Crypto City
dc612482eb cc: don't error when getting potential for a role with no potential
This will happen a lot since all flag types get potential,
it'll just be 0
2019-12-13 01:31:25 +00:00
Crypto City
80d2269217 player names are now unique and format restricted 2019-12-13 01:31:25 +00:00
Crypto City
6a4b803920 game: improve chat UI
Display /me lines in italic, and display timestamps in smaller font
2019-12-13 01:31:25 +00:00
Crypto City
ff42976c39 wallet_rpc_server: add cc_repair wallet RPC 2019-12-13 01:31:25 +00:00
Crypto City
84f16018d8 wallet_rpc_server: add cc_rename_flag wallet RPC 2019-12-13 01:31:25 +00:00
Crypto City
ecc038155a wallet_rpc_server: add new name field to building_settings 2019-12-13 01:31:25 +00:00
Crypto City
06401c86be game: save wallet cache on exit 2019-12-13 01:31:25 +00:00
Crypto City
da8a630d7f game: fix logic to get a new snapshot based on received blocks 2019-12-13 01:31:25 +00:00
Crypto City
d0915ab55e wallet2: add on_reorg callback 2019-12-13 01:31:25 +00:00
Crypto City
9de3148dd9 Add in-game chat through non-mineable txpool transactions 2019-12-13 01:31:25 +00:00
Crypto City
bcfa9ac956 cryptonote: fix prunable hash calculation 2019-12-13 01:31:25 +00:00
Crypto City
84d87d51a2 wallet2: fix cc_nonce not being serialized in pending_tx 2019-12-13 01:31:25 +00:00
Crypto City
629fcd44da game: add a console
Not the builtin one, since it's has builtin behaviour I don't want
and I'll need to extend this one
2019-12-13 01:31:25 +00:00
Crypto City
a762173511 game: add model export to Magical voxel format 2019-12-13 01:31:25 +00:00
Crypto City
87a2ab33de game: add save api (not used yet) 2019-12-13 01:31:25 +00:00
Crypto City
a0b6135cc9 game: don't display a dialog when trying to remove a block already on chain
It is aggravating
2019-12-13 01:31:25 +00:00
Crypto City
998730ef6e game: disable buy button when there is no selection 2019-12-13 01:31:25 +00:00
Crypto City
585b7c806d cc: tax empty land the same as a min level building 2019-12-13 01:31:25 +00:00
Crypto City
9770001686 Cities can now have a name 2019-12-13 01:31:25 +00:00
Crypto City
f0d7b3a8c4 game: use a 5x5 section setup from a 3x3 2019-12-13 01:31:25 +00:00
Crypto City
d7063d99d8 flags (with a building) can now be named and renamed 2019-12-13 01:31:25 +00:00
Crypto City
6b6ce844a3 game: don't display uninitialized timestamps in events window 2019-12-13 01:31:25 +00:00
Crypto City
5127173182 game: the events viewer can now explore history 2019-12-13 01:31:25 +00:00
Crypto City
5922cdad67 better player name lookup in game
Automatic lookup, and snapshots include the current set
2019-12-13 01:31:25 +00:00
Crypto City
cf0aca6c9b game: display owner name in flag window 2019-12-13 01:31:25 +00:00
Crypto City
d781e35365 game: display flags with the same colour if they have the same owner 2019-12-13 01:31:25 +00:00
Crypto City
761d212b53 cc: save events to the db
This makes them retrievable from a snapshot, after a restart,
and after a reorg that crosses a game update
2019-12-13 01:31:25 +00:00
Crypto City
b89e696a80 flag 0 is now invalid
makes it possible to have a "no flag applies" semantic
2019-12-13 01:31:25 +00:00
Crypto City
8f613351ec daemon: print cc command type in print_pool_sh 2019-12-13 01:31:25 +00:00
Crypto City
3e41959825 players can now select a name when creating an account 2019-12-13 01:31:25 +00:00
moneromooo-monero
fe48fe2790 core_tests: reset thread pool between tests
Avoids a DB error (leading to an assert) where a thread uses
a read txn previously created with an environment that was
since closed and reopened. While this usually works since
BlockchainLMDB renews txns if it detects the environment has
changed, this will not work if objects end up being allocated
at the same address as the previous instance, leading to stale
data usage.

Thanks hyc for the LMDB debugging.
2019-12-13 01:31:04 +00:00
Crypto City
be0ebbe148 fix fresh clone build 2019-12-13 01:31:04 +00:00
Crypto City
6b7bb1493b cc: repair command now takes a delta repair
rather than a from/to pair, which avoids it getting invalid if
a game update occurs before it gets mined
2019-12-13 01:31:04 +00:00
Crypto City
fd45f4bce9 game: note when building settings costs are over player inventory 2019-12-13 01:31:04 +00:00
Crypto City
c9616f7f83 better error reporting when submitting invalid commands 2019-12-13 01:31:04 +00:00
Crypto City
8261e1f03c game: disable building settings OK button on invalid configuration 2019-12-13 01:30:29 +00:00
Crypto City
d5f371143c game: pass resource flags upstream and include them in command 2019-12-13 01:30:29 +00:00
Crypto City
79b4718b07 game: show extra labour in building settings dialog 2019-12-13 01:30:29 +00:00
Crypto City
6f24dc5dc7 game: fix estimated land tax in building settings window 2019-12-13 01:30:29 +00:00
Crypto City
b2a77a2b39 cc: building settings costs more labour with distance to generators 2019-12-13 01:30:29 +00:00
Crypto City
f6e2faeeb7 wallet_rpc_server: add parent to build command 2019-12-13 01:30:28 +00:00
Crypto City
9853c226ef wallet_rpc_server: add resource_flags to building_settings request 2019-12-13 01:30:28 +00:00
Crypto City
3543d06137 rpc: return influence in cc_get_flag response 2019-12-13 01:30:28 +00:00
Crypto City
b2ce755525 cc: fix get_distance, and add unit tests 2019-12-13 01:30:28 +00:00
Crypto City
1d765e5689 cc: remove leftover debug trace 2019-12-13 01:30:28 +00:00
Crypto City
a3f97c26ec wallet_rpc_server: return command nonce in build command 2019-12-13 01:30:28 +00:00
Crypto City
1570a58471 db_lmdb: set economic power to 0 for new land (before any building) 2019-12-13 01:30:28 +00:00
Crypto City
ddb878c0b0 rpc: serialize missing field in cc_get_flag response 2019-12-13 01:30:28 +00:00
Crypto City
ed4ccaa3cf wallet: remove unused budget field in building_settings response 2019-12-13 01:30:28 +00:00
Crypto City
1caeafccb6 cc: fix game update revert reverting wrong items 2019-12-13 01:30:28 +00:00
Crypto City
cd10f8d974 p2p: add seed node 2019-12-13 01:28:54 +00:00
Crypto City
ac22b43e79 blockchain: fix get_output_distribution assuming monero forks 2019-12-13 01:28:54 +00:00
Crypto City
67946e117e cc: clear last events when reverting a game update command 2019-12-13 01:28:54 +00:00
Crypto City
95a9010a3a game: enable/disable buttons depending on current state 2019-12-13 01:28:54 +00:00
Crypto City
bedf6e19b1 simplewallet: replace cow with cubes on lock screen 2019-12-13 01:28:54 +00:00
Crypto City
d1d5226922 game: display a "loading wallet" notification when starting loading 2019-12-13 01:28:54 +00:00
Crypto City
dc5df6bba9 game: keep budget unchanged if there is not enough to build 2019-12-13 01:28:54 +00:00
Crypto City
c9c91ccb08 cc: add staff (extra payments per building count)
to incentivize richer people towards larger buildings rather
than many small ones
2019-12-13 01:28:54 +00:00
Crypto City
1bc506271e blockchain: fix crash in init 2019-12-13 01:28:54 +00:00
Crypto City
25cb8145fe game: fix inconsistent escape behaviour 2019-12-13 01:28:54 +00:00
Crypto City
341ed8ed53 rejig repair a bit
Repair is now 0 before anything is built, and goes to 100% when
building. This makes it easier when building anew after a building
got destroyed due to decay
2019-12-13 01:28:54 +00:00
Crypto City
79348ffb50 cc: don't add 0 land tax events 2019-12-13 01:28:21 +00:00
Crypto City
dfd37c7bf5 game: add mouse/key based building
z to place a block where the mouse points
x to remove a block where the mouse points
tab to cycle through block types
2019-12-13 01:28:21 +00:00
Crypto City
f2f92e924e game: auto select next item type when adding a row in item select dialog 2019-12-13 01:28:21 +00:00
Crypto City
de89dfa53b game: fix double counting of blocks when building 2019-12-13 01:28:21 +00:00
Crypto City
836b362159 fix reverting buy_land after trading flags 2019-12-13 01:28:21 +00:00
Crypto City
70b4a8f594 Fixes after rebasing onto latest monero 2019-12-13 01:27:46 +00:00
Crypto City
63b26444bb wallet: add assign_items RPC command 2019-12-13 01:26:54 +00:00
Crypto City
210882c66f remove tile data and set repair to 0 for derelict buildings 2019-12-13 01:26:54 +00:00
Crypto City
8fae545324 simplewallet: fix prospective balance reporting for create_account 2019-12-13 01:26:54 +00:00
Crypto City
5ed672eff3 rpc: fix pop_blocks not returning an error on error 2019-12-13 01:26:54 +00:00
Crypto City
302bcbef8f cc: add paranoid static assert about MIN_BUY_SIDE_SIZE 2019-12-13 01:26:54 +00:00
Crypto City
3b479592a8 db_lmdb: fix flag tile deletion 2019-12-13 01:26:54 +00:00
Crypto City
fd3b33d1d9 cc: fix stray db writes 2019-12-13 01:26:54 +00:00
Crypto City
94d28268f8 rpc: add optional cc_fee in get_transactions response 2019-12-13 01:26:54 +00:00
Crypto City
4d2bfe56f6 db_lmdb: don't move leftover balance to treasury on account deletion
It breaks reorgs
2019-12-13 01:26:05 +00:00
Crypto City
cfa02b4775 cc: fix stonecutter producing wood, not stone 2019-12-13 01:26:05 +00:00
Crypto City
21924d6aa9 cc: include bonus/penalty in game events 2019-12-13 01:26:05 +00:00
Crypto City
0aa4a74cd7 cc: tone down inactivity decay boost a bit 2019-12-13 01:26:05 +00:00
Crypto City
62263ec477 game: mention clicking on inventory when starting building 2019-12-13 01:26:05 +00:00
Crypto City
93de644e29 game: fix material selection for blocks only 2019-12-13 01:26:05 +00:00
Crypto City
3c1a2fcf39 game: some last update events dialog cosmetics 2019-12-13 01:26:05 +00:00
Crypto City
6b89692a82 game: make item buy dialog more forgiving
Merge duplicates and ignore empty fields
2019-12-13 01:26:05 +00:00
Crypto City
97cc397371 game: fix activation budget using the remaining budget 2019-12-13 01:26:05 +00:00
Crypto City
424143aa6d cc: fix item delta decoding 2019-12-13 01:26:05 +00:00
Crypto City
94737a7cff game: add notification when selecting materials 2019-12-13 01:26:05 +00:00
Crypto City
4a8c0cd031 game: add "activation budget use" to the flag window 2019-12-13 01:26:05 +00:00
Crypto City
897624f12a game: "pin" flag window when there is a selection 2019-12-13 01:26:05 +00:00
Crypto City
199fb76c3c game: UI for last update events 2019-12-13 01:26:05 +00:00
Crypto City
f26920e64e fix shares not being serialized in game update 2019-12-13 01:26:05 +00:00
Crypto City
4d5c6530be cc: fix game handler check mixing balance and items 2019-12-13 01:26:05 +00:00
Crypto City
71b1cd6fc8 game: remove leftover debug print 2019-12-13 01:26:05 +00:00
Crypto City
cf72522e86 make game update actions retrievable as text 2019-12-13 01:26:05 +00:00
Crypto City
32d7a3523d game: make window resizeable 2019-12-13 01:21:44 +00:00
Crypto City
02607cbc32 blockchain: verify game update command in miner tx 2019-12-13 01:21:44 +00:00
Crypto City
f92bc5e779 building activation requires a thresold of the budget to be used 2019-12-13 01:21:44 +00:00
Crypto City
c1c246b389 cc: make some log a bit more verbose 2019-12-13 01:21:44 +00:00
Crypto City
329ae07c49 blockchain: fix core tests for pre-v12 blocks 2019-12-13 01:21:44 +00:00
Crypto City
84106cbcbe allow 50-1000 economic level (in steps of 50) 2019-12-13 01:21:44 +00:00
Crypto City
e8f0a0c6c6 land tax is now proportional to economic power 2019-12-13 01:21:44 +00:00
Crypto City
4269143cd9 blockchain: allow large blocks, if they're due to the coinbase tx
Game update txes might get large
2019-12-13 01:21:44 +00:00
Crypto City
0b799a2a45 game: fix potential init bug 2019-12-13 01:21:44 +00:00
Crypto City
1824fec36a rework potential maps and add potential for generators 2019-12-13 01:21:44 +00:00
Crypto City
7c2f33c660 game: display "buildable" zone around generators 2019-12-13 01:21:44 +00:00
Crypto City
fd7eea2f4d repair level below 70% affects shares 2019-12-13 01:21:44 +00:00
Crypto City
d9176ad644 add repair command and UI 2019-12-13 01:21:44 +00:00
Crypto City
1d0ec34f78 setting up buildings needs to have relevant generators nearby 2019-12-13 01:21:44 +00:00
Crypto City
e6b2da4bb9 generators basics 2019-12-13 01:21:44 +00:00
Crypto City
136a6f5838 game: fix build materials coming from player rather than budget 2019-12-13 01:21:44 +00:00
Crypto City
c3e5087803 game: add motion speed modifiers, and increase far clip plane/fog 2019-12-13 01:21:44 +00:00
Crypto City
d10437e1ce fix typo 2019-12-13 01:21:44 +00:00
Crypto City
4809c5ed3a game: some ui width tweaks 2019-12-13 01:21:44 +00:00
Crypto City
aac978baa7 more work on influence 2019-12-13 01:21:44 +00:00
Crypto City
3fb509b796 more work in influence 2019-12-13 01:21:44 +00:00
Crypto City
81daa4733d improve snapshot handling 2019-12-13 01:21:44 +00:00
Crypto City
2fc645626a enable procsky and increase far plane 2019-12-13 01:21:44 +00:00
Crypto City
455c859823 new command to assign items to a flag 2019-12-13 01:21:44 +00:00
Crypto City
4e0158c476 fix prev cc_shares record fetching 2019-12-13 01:21:44 +00:00
Crypto City
9ec1540fee game: display treasury balance 2019-12-13 01:21:44 +00:00
Crypto City
5ff843a7a5 functional tests: fix cc tests (adding building settings as a side effect) 2019-12-13 01:21:44 +00:00
Crypto City
a2ff11aee3 rpc: CC locking fix 2019-12-13 01:21:44 +00:00
Crypto City
cd0c10342d game: fix estimate payout in empty world 2019-12-13 01:21:04 +00:00
Crypto City
445d59c650 city support in game update command 2019-12-13 01:21:04 +00:00
Crypto City
7b26b94e56 make shares 64 bit 2019-12-13 01:21:04 +00:00
Crypto City
3a9ce612ff game: display influence radius
also display those overlays with alpha
2019-12-13 01:21:04 +00:00
Crypto City
346f3e9791 game update 2019-12-13 01:21:04 +00:00
Crypto City
818aa814c3 game: get a new snapshot when we get a game update command
These will be complex to get right, so might as well get a new
snapshot. This can change if it proves slow as the world grows.
2019-12-13 01:20:38 +00:00
Crypto City
058e08e025 tweak influence rules 2019-12-13 01:20:38 +00:00
Crypto City
a7fcb2cce8 payouts 2019-12-13 01:20:38 +00:00
Crypto City
96bbe1857c keep land if a building decays to 0 2019-12-13 01:20:38 +00:00
Crypto City
6e8c42868d more work on influence 2019-12-13 01:20:38 +00:00
Crypto City
13f61e7e16 some work on potential 2019-12-13 01:20:38 +00:00
Crypto City
937621b98b add get_cc_agricultural_potential for an area 2019-12-13 01:20:38 +00:00
Crypto City
bfa21bfd15 cc: pass role, not stability, to influence calc 2019-12-13 01:20:37 +00:00
Crypto City
1795477cdd replace monetary cost by labour cost in building 2019-12-13 01:20:37 +00:00
Crypto City
f6dfd72be6 game: rename "Load" button "Import model" 2019-12-13 01:20:37 +00:00
Crypto City
043d41aaa3 game: maintain flag budget when approving/abandoning building 2019-12-13 01:20:37 +00:00
Crypto City
abe4da3167 fixes for labour as item 2019-12-13 01:20:37 +00:00
Crypto City
9b9aed1c56 make blocks and labour items 2019-12-13 01:20:37 +00:00
Crypto City
0a2797fea5 blockchain: remove some obsolete code 2019-12-13 01:20:37 +00:00
Crypto City
f9804e9cd7 game: better building settings UI 2019-12-13 01:20:37 +00:00
Crypto City
3b4bc714b4 game: don't ask for a snapshot multiple times when syncing 2019-12-13 01:20:37 +00:00
Crypto City
ef859fd01b game: enable/disable some buttons based on game state 2019-12-13 01:20:37 +00:00
Crypto City
29a7b2f954 more work on building settings 2019-12-13 01:20:37 +00:00
Crypto City
958e11370a cc: decrease town center stability potential map size 2019-12-13 01:20:37 +00:00
Crypto City
fb318fbf16 building settings 2019-12-13 01:20:37 +00:00
Crypto City
2bdb7be38c add role flag field 2019-12-13 01:20:37 +00:00
Crypto City
9cd6f6fc5c game: add a flag window, with basic flag info 2019-12-13 01:20:37 +00:00
Crypto City
d5b68cd957 game: don't allow buying more than 256x256
It'd end up buying a size modulo 256
2019-12-13 01:20:37 +00:00
Crypto City
4e1b8e14b9 add cc influence building blocks 2019-12-13 01:20:37 +00:00
Crypto City
70179de428 potential maps 2019-12-13 01:20:37 +00:00
Crypto City
8a9b3f0e66 more work on game update 2019-12-13 01:20:37 +00:00
Crypto City
2dbab85c58 quadtree: move to cc, and use std::shared_ptr instead of Urho3D's 2019-12-13 01:20:37 +00:00
Crypto City
3b318b5bf4 more work on trade command 2019-12-13 01:20:37 +00:00
Crypto City
1248fc2dc7 more work on trade command 2019-12-13 01:20:37 +00:00
Crypto City
4d351a682a more work on trade command 2019-12-13 01:20:37 +00:00
Crypto City
50dfea93af game: make the quadtree is a bit more generic 2019-12-13 01:19:10 +00:00
Crypto City
5face5e4c6 more work on trade command - accept only one trade for the same flag 2019-12-13 01:19:10 +00:00
Crypto City
39cfbb1c2d tx_pool: remove obsolete code 2019-12-13 01:19:10 +00:00
Crypto City
d422c248cf cc_command_defs: fix account size, it should be 32 bit 2019-12-13 01:19:10 +00:00
Crypto City
fc3bcb1533 tx_pool: flush txes with unknown parent 2019-12-13 01:19:10 +00:00
Crypto City
ca666fd6ff change display mode to "show/hide flags"
blocks are now always shown
2019-12-13 01:19:10 +00:00
Crypto City
f663f2d2b4 fix build wrt SDL 2019-12-13 01:19:10 +00:00
Crypto City
96cb892a74 more work on trade command 2019-12-13 01:19:10 +00:00
Crypto City
fe42578f44 removing blocks now obeys the fine grained selection 2019-12-13 01:19:10 +00:00
Crypto City
35d1b47607 Fix block caching when popping 2019-12-13 01:19:10 +00:00
Crypto City
8ca411330f game: copy Data/CoreData as game build post step 2019-12-13 01:19:10 +00:00
Crypto City
665d71b1f6 game: flatten all terrain for now 2019-12-13 01:19:10 +00:00
Crypto City
a502fca9b1 include for join 2019-12-13 01:19:10 +00:00
Crypto City
737db2a7e3 add missing file 2019-12-13 01:19:10 +00:00
Crypto City
35a15567fe more work on trade command 2019-12-13 01:19:10 +00:00
Crypto City
303267a975 more work on trade command 2019-12-13 01:19:10 +00:00
Crypto City
2c88df3028 more work on trade command 2019-12-13 01:19:10 +00:00
Crypto City
1979fa16ee more work on trade command 2019-12-13 01:19:10 +00:00
Crypto City
9ab9d4439b more work on trade command 2019-12-13 01:19:10 +00:00
Crypto City
2c4d9aa8ab more work on trade command 2019-12-13 01:19:10 +00:00
Crypto City
0fab3d28a4 wallet_rpc_server: handle unencoded blocks 2019-12-13 01:19:10 +00:00
Crypto City
32f6fe1f8e don't use the wallet keys for CC, but a derived key, for privacy 2019-12-13 01:19:10 +00:00
Crypto City
257c6279fc make create_account not a cc_command_base_t subclass 2019-12-13 01:18:57 +00:00
Crypto City
db46103ddf daemon: print_bc parameter to list only blocks with txes 2019-12-13 01:18:57 +00:00
Crypto City
33b25649ee fix deposit always sending 0 2019-12-13 01:18:57 +00:00
Crypto City
fad8355a7e add functional tests, a few fixes, and a cc_get_info wallet rpc 2019-12-13 01:18:57 +00:00
Crypto City
c37f2bdb10 fix account unset in rpc transfer 2019-12-13 01:18:57 +00:00
Crypto City
b36dba06b3 more work on trade commands 2019-12-13 01:18:57 +00:00
Crypto City
b791566140 trade command, and command overhaul it required 2019-12-13 01:18:19 +00:00
Crypto City
b188f4636d more work on game update command 2019-12-13 01:14:17 +00:00
Crypto City
32b856036e display repair in UI
also remove obsolete buy command in Map
2019-12-13 01:12:39 +00:00
Crypto City
efdeddfaaa add edge selection 2019-12-13 01:12:39 +00:00
Crypto City
408fb7b456 preliminary code to allow game commands in coinbase txes 2019-12-13 01:12:39 +00:00
Crypto City
634e477278 "game" command, for consensus driven changes 2019-12-13 01:12:39 +00:00
Crypto City
98533616d3 add a repair field to flag 2019-12-13 01:12:39 +00:00
Crypto City
21bc5cf724 display relative, not absolute, coordinates 2019-12-13 01:12:39 +00:00
Crypto City
49b9a267fc grow/shrink selection 2019-12-13 01:12:39 +00:00
Crypto City
fd30df3d66 remove console 2019-12-13 01:12:39 +00:00
Crypto City
103eb5407c elliptical selection mode 2019-12-13 01:12:39 +00:00
Crypto City
fa695cd790 new effect fixes 2019-12-13 01:12:39 +00:00
Crypto City
5b72dd7c5e don't add invisible nodes for type 0 2019-12-13 01:12:39 +00:00
Crypto City
9dbb2c2f02 save support for magica models 2019-12-13 01:12:39 +00:00
Crypto City
d2f70a2fd4 faster 2019-12-13 01:12:39 +00:00
Crypto City
65549199c6 display fixes 2019-12-13 01:12:39 +00:00
Crypto City
97a9c7fad8 Load Magica voxel models in game - current material only 2019-12-13 01:12:39 +00:00
Crypto City
88e62ebe0c faster 2019-12-13 01:12:39 +00:00
Crypto City
b6757ebfc4 fix hidden block bug - they could be hidden by invisible ones 2019-12-13 01:12:39 +00:00
Crypto City
5d74ba6159 don't accept "short" build commands
It'll increase tx size a bit, but is safer
2019-12-13 01:12:39 +00:00
Crypto City
94fd5505bc magica voxel model loader 2019-12-13 01:12:39 +00:00
Crypto City
26b36eb282 union/difference selection 2019-12-13 01:12:39 +00:00
Crypto City
8f8e41b7f4 First steps towards complex selection 2019-12-13 01:12:39 +00:00
Crypto City
ad61f42304 add procsky (disabled)
It looks nice, but is very slow, might be usable as an option
2019-12-13 01:12:39 +00:00
Crypto City
9a635be6f6 fix Z fighting over selection and flag areas 2019-12-13 01:12:39 +00:00
Crypto City
61f04e93ea fix selection material bug 2019-12-13 01:12:39 +00:00
Crypto City
9f8b9044a2 make deposit/withdraw dialog modal 2019-12-13 01:12:39 +00:00
Crypto City
ffa4ed2c33 selection/glow fixes 2019-12-13 01:12:39 +00:00
Crypto City
1baa9f16b4 glowing newly built blocks
Draws attention to changes on the map
2019-12-13 01:12:39 +00:00
Crypto City
e14fc34be3 fix incremental build 2019-12-13 01:12:39 +00:00
Crypto City
5e30ce1933 optimize build tx size 2019-12-13 01:12:39 +00:00
Crypto City
ad21d6deb0 make not-yet-committed blocks look ghosted 2019-12-13 01:12:39 +00:00
Crypto City
0ebee4f3e8 undo/redo 2019-12-13 01:12:39 +00:00
Crypto City
f5e54984bb fix bad wallet balance on startup 2019-12-13 01:12:39 +00:00
Crypto City
822d3796a1 buying blocks in game 2019-12-13 01:12:39 +00:00
Crypto City
43ce9e2471 fix build after argv constness change 2019-12-13 01:12:39 +00:00
Crypto City
16d1860d9b fix focus issues 2019-12-13 01:12:39 +00:00
Crypto City
25f58d70b6 display in player window when the wallet is disconnected 2019-12-13 01:12:39 +00:00
Crypto City
c80e02df62 don't spam error messages forever 2019-12-13 01:12:39 +00:00
Crypto City
0a4ceb808a tx_pool: don't leave some txes in the pool without ever rechecking them 2019-12-13 01:12:39 +00:00
Crypto City
492e3dff41 snapshots 2019-12-13 01:12:39 +00:00
Crypto City
c20e3c52a7 build with debug info for now 2019-12-13 01:12:39 +00:00
Crypto City
df605398b6 new cc_get_state.bin daemon RPC 2019-12-13 01:12:39 +00:00
Crypto City
6e2d8e7de2 pass around block when refreshing 2019-12-13 01:11:39 +00:00
Crypto City
a812517700 some ui niggles 2019-12-13 01:11:39 +00:00
Crypto City
478c2b9db5 fixes 2019-12-13 01:11:39 +00:00
Crypto City
bf83c766de add notification ui for not-an-error info messages 2019-12-13 01:11:39 +00:00
Crypto City
a2a40bae65 bounds check 2019-12-13 01:11:39 +00:00
Crypto City
530b557349 don't take focus away from scene when clicking on commands 2019-12-13 01:11:39 +00:00
Crypto City
bbf2d892bf remove some obsolete defines, and make others saner 2019-12-13 01:11:39 +00:00
Crypto City
b239e62fae don't send nop txes 2019-12-13 01:11:39 +00:00
Crypto City
3ae27245b7 add nonce/parent in rpc 2019-12-13 01:11:39 +00:00
Crypto City
e6c1424213 remove block fix 2019-12-13 01:11:39 +00:00
Crypto City
f99059ef47 better selection niggles fix 2019-12-13 01:11:39 +00:00
Crypto City
678ade5df3 cast 2019-12-13 01:11:39 +00:00
Crypto City
6d4bd7fefe fix selection niggles 2019-12-13 01:11:39 +00:00
Crypto City
d27f797be4 incremental build 2019-12-13 01:11:39 +00:00
Crypto City
ed94d6159b in-game building support with build-and-commit 2019-12-13 01:11:39 +00:00
Crypto City
0ec9932a1f parent wip 2019-12-13 01:11:39 +00:00
Crypto City
525d31deab fixes 2019-12-13 01:10:17 +00:00
Crypto City
9fe310463e remove obsolete land cost calculation code and format land cost 2019-12-13 01:10:17 +00:00
Crypto City
3735a16468 in-game deposit/withdraw 2019-12-13 01:10:17 +00:00
Crypto City
6af529ac1c one can now buy land from the game UI 2019-12-13 01:10:16 +00:00
Crypto City
c76692e532 more fixes 2019-12-13 01:10:16 +00:00
Crypto City
3a52320010 more fixes 2019-12-13 01:10:16 +00:00
Crypto City
d73ab99e95 more fixes, and per flag city mesh modifications 2019-12-13 01:10:16 +00:00
Crypto City
03276185c8 fixes 2019-12-13 01:10:16 +00:00
Crypto City
5e9c11a642 quadtree fixes and unit tests 2019-12-13 01:10:16 +00:00
Crypto City
31f1ccade8 skeleton code for processing cc commands 2019-12-13 01:10:16 +00:00
Crypto City
ee9cffc0a7 in game load wallet function 2019-12-13 01:10:16 +00:00
Crypto City
28c4b17382 display wallet balance as well 2019-12-13 01:10:16 +00:00
Crypto City
d134c0599b adjust core tests after taking owned blocks into account when building 2019-12-13 01:10:16 +00:00
Crypto City
10cf0fbd8c plug city coordinates into the renderer too 2019-12-13 01:10:16 +00:00
Crypto City
cb118473ee remove some obsolete game code 2019-12-13 01:10:16 +00:00
Crypto City
ae6ddc6b8e account for blocks when building 2019-12-13 01:10:16 +00:00
Crypto City
65fd81f0fe plug wallet into renderer (and add missing files) 2019-12-13 01:10:16 +00:00
Crypto City
bc55e16880 wallet2: guard against no callback set when asking for password 2019-12-13 01:10:16 +00:00
Crypto City
f514d80daf game: fix a few warnings 2019-12-13 01:10:16 +00:00
Crypto City
d1036eb863 fix using namespace in header
It was conflicitng with ssl
2019-12-13 01:10:16 +00:00
Crypto City
da0fee4abc import PoC 3D renderer 2019-12-13 01:10:16 +00:00
Crypto City
bb9c5b97bf cc_status wallet command 2019-12-13 01:10:16 +00:00
Crypto City
2369d280dd buy_blocks command 2019-12-13 01:10:16 +00:00
Crypto City
c1f82eaec7 crypto: faster hashing for tests 2019-12-13 01:10:16 +00:00
Crypto City
a9c688a385 improve build core test, fix min height 2019-12-13 01:10:16 +00:00
Crypto City
392e0fc84b some more build tests, and adjust build cost curve 2019-12-13 01:10:16 +00:00