Commit Graph

7698 Commits

Author SHA1 Message Date
rbrunner7
387fd668d1 Daemon: Print estimates for time until fully synced 2020-03-21 07:32:55 +01:00
Aaron Hook
aa93e38862 p2p: remove old debug commands 2020-03-20 22:09:44 -07:00
Crypto City
ce042970d2 cc: decrease the building materials superlinearity on economic power
and remove a couple obsolete arrays
2020-03-20 19:27:51 +00:00
Crypto City
b4975ea4f3 cc: double influence for most buildings without varying potential 2020-03-20 19:27:51 +00:00
Crypto City
39163c168a Event badges can now be awarded after creation 2020-03-20 19:27:51 +00:00
Crypto City
97941b0603 game: add ignore recommendation UI 2020-03-20 19:27:51 +00:00
Crypto City
0bd7f9d09a game: add new event badge ui 2020-03-20 19:27:51 +00:00
Crypto City
b4ae149b7c cc: set empty land tax equal to those with a 100% building
Buildings could originally go down to 50%, but they can't now.
2020-03-20 19:27:51 +00:00
Crypto City
22199dd9b3 cc: set town square potential to 1, same as other roads 2020-03-20 19:27:51 +00:00
Crypto City
bdb53f11b6 blockchain_db: remove buggy and unused set_cc_account_name 2020-03-20 19:27:51 +00:00
Crypto City
2882f6bc80 badges 2020-03-20 19:27:51 +00:00
Crypto City
27e0b1fe3f wallet: add missing remove parameter to cc_build 2020-03-20 19:27:51 +00:00
Crypto City
0d413cf164 merge cc_account data into a structure 2020-03-20 19:27:51 +00:00
Crypto City
3bfd22a1f6 game: do not display flag 3D model when ignored 2020-03-20 19:27:51 +00:00
Crypto City
8d3fbb1727 Add ignore machinery 2020-03-20 19:27:51 +00:00
Crypto City
a6b8da5f0e add player defined custom items 2020-03-20 19:27:51 +00:00
Crypto City
238aadaa51 version: bump to 0.16.0.3 2020-03-20 19:27:51 +00:00
Crypto City
35192d02ef game: honour material from imported magica voxel models 2020-03-20 19:26:32 +00:00
Crypto City
281d927b4a game: automatically add ".vox" if not present when saving a model 2020-03-20 19:26:32 +00:00
Crypto City
037ff35a80 cc: fix "next city" estimation 2020-03-20 19:25:39 +00:00
Crypto City
2402a8ad3a p2p: keep connected to the seed node for now 2020-03-20 19:25:39 +00:00
Crypto City
955fa74687 game: don't print how short of materials we are for existing buildings 2020-03-20 19:25:39 +00:00
moneromooo-monero
bcae95a22e
p2p: do not add recently failed addresses to the peerlist 2020-03-20 15:45:26 +00:00
Lee Clagett
ad13a4b2ac Fixing static_asserts in ZMQ JSON 2020-03-19 19:49:51 -04:00
Lee Clagett
5de2295f3c Correct key image check in tx_pool 2020-03-14 19:17:15 +00:00
xiphon
c075aa7a6c workaround for GetObject windows.h macro and rapidjson conflict 2020-03-14 00:46:47 +00:00
moneromooo-monero
f8d76f395b
core: move the LockedTXN class out of txpool so it may be reused
for example, in the RPC server
2020-03-12 11:30:05 +00:00
moneromooo-monero
320bc845b3
rpc: add --rpc-payment-allow-free-loopback
This allows RPC coming from the loopback interface to not have
to pay for service. This makes it possible to run an externally
accessible RPC server for payment while also having a local RPC
server that can be run unrestricted and payment free.
2020-03-12 11:27:34 +00:00
Alexander Blair
820ab9fdea
Merge pull request #6273
0f78b06e Various improvements to the ZMQ JSON-RPC handling: (Lee Clagett)
2020-03-12 01:13:49 -07:00
Alexander Blair
d500bbe68f
Merge pull request #6268
a6c24412 wallet: fix exceptions getting the hash of a pruned tx (moneromooo-monero)
2020-03-12 01:02:31 -07:00
Alexander Blair
092a57df99
Merge pull request #6243
4771a7ae p2p: remove obsolete local time in handshake (moneromooo-monero)
2fbbc4a2 p2p: avoid sending the same peer list over and over (moneromooo-monero)
3004835b epee: remove backward compatible endian specific address serialization (moneromooo-monero)
39a343d7 p2p: remove backward compatible peer list (moneromooo-monero)
60631802 p2p: simplify last_seen serialization now we have optional stores (moneromooo-monero)
9467b2e4 cryptonote_protocol: omit top 64 bits of difficulty when 0 (moneromooo-monero)
b595583f serialization: do not write optional fields with default value (moneromooo-monero)
5f98b46d p2p: remove obsolete local time from TIMED_SYNC (moneromooo-monero)
2020-03-12 00:32:46 -07:00
Crypto City
7237cf652f version: bump to 0.16.0.2 2020-03-12 01:24:18 +00:00
moneromooo-monero
a4f5d66dfd db_lmdb: fix race crash using a stale cursor
If a db resize happened, the txpool meta cursor might be stale,
and was not being renewed when necessary.
It would cause this SEGSEGV:

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

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

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

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

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

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

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

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

    transfer <addr1> <amount1> <addr1> <amount2>
2020-01-11 11:48:27 +01:00
Crypto City
88ea3cf8c6 game: player info window skeleton 2020-01-10 22:22:25 +00:00
Crypto City
6ce02621bc cc: make the labour cost function a bit less jaggy 2020-01-10 18:03:44 +00:00
Crypto City
14097fdc9f wallet: don't init the bitmessage socket before use
It saves having to create a SSL key that won't be used
2020-01-10 17:05:08 +00:00
Crypto City
b857530615 game: fancy clouds 2020-01-10 17:05:08 +00:00
rbrunner7
664720747f Daemon: Guard against reporting "synchronized" too early
The added condition "hshd.current_height >= target" guards against
reporting "synchronized" too early in the special situation that the
very first peer sending us data is synced to a lower height than
ourselves.
2020-01-10 15:49:49 +01:00
moneromooo-monero
0349347e6d
ringdb: use a different iv for key and data in rings table
This is technically a record encrypted in two pieces,
so the iv needs to be different.
Some backward compatibility is added to read data written
by existing code, but new data is written with the new code.
2020-01-09 17:32:21 +00:00
moneromooo-monero
7b88208722
simplewallet: reword mixin in user message in terms of ring size 2020-01-09 17:32:21 +00:00
moneromooo-monero
f507a43a23
wallet2: do not remove known rings when a tx fails
Even if it fails, the ring composition is known to a potential
adversary, and so we should reuse the same ring next time
2020-01-09 17:32:21 +00:00
UkoeHB
02224e714d Fix check_fee() discrepancy.
M100 = max{300kb, min{100block_median, m_long_term_effective_median_block_weight}}
not
M100 = max{300kb, m_long_term_effective_median_block_weight}

Fix base reward in get_dynamic_base_fee_estimate().

get_dynamic_base_fee_estimate() should match check_fee()

Fee is calculated based on block reward, and the reward penalty takes into account 0.5*max_block_weight (both before and after HF_VERSION_EFFECTIVE_SHORT_TERM_MEDIAN_IN_PENALTY).

Moved median calculation according to best practice of 'keep definitions close to where they are used'.
2020-01-09 09:11:09 -06:00
Crypto City
289d9c134b cc: fix "cleanup" with tiny amount of basic, no medium, and some high 2020-01-08 00:13:46 +00:00
Crypto City
302aade6cb cc: tweak requirements/cost/production
Scale all requirements up by 8 times, so small flags have enough
blocks to build something. Larger ones will have too many, but
we don't care since they don't have to use a minimum anymore.
Tweak sawmill/stonecutter so they still get some profit with
those new numbers
2020-01-08 00:07:02 +00:00
moneromooo-monero
a84131cea3
p2p: fix off by one adding fallback peers
The code would ignore the first one to be added
2020-01-07 14:40:26 +00:00
Crypto City
9e0202913f game: fix race on new wallets 2020-01-07 13:41:23 +00:00
Crypto City
38c3352f6c game: simplify inventory code
Don't add 2048 list items, most of them hidden, get rid of
the index-to-item map, don't recreate the list unless changed
2020-01-06 21:42:55 +00:00
Crypto City
feb843c742 rpc: change items from uint32_t[NUM_ITEMS] to std::vector<{uint32_t, uint32_t}> 2020-01-06 21:40:39 +00:00
Crypto City
aef68e112c game: add stroke effect to the spector mode text
It makes the text readable when on bright daylight sky background
2020-01-06 12:44:11 +00:00
Crypto City
f258baa705 game: fix face orientations in new instanced quads render mode
They did not match the other modes
2020-01-06 12:44:11 +00:00
Crypto City
dbedf8df2d game: don't drop to per-cube rendering when a building isn't ours 2020-01-06 12:44:11 +00:00
Crypto City
6eee3091fb game: improve procsky (and enable it by default) and lighting
Procsky is now updated only when needed, removing the performance hit

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