Commit Graph

7698 Commits

Author SHA1 Message Date
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