Commit Graph

7698 Commits

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