Commit Graph

9988 Commits

Author SHA1 Message Date
Crypto City
406b33203b bump version to 0.28.1.1 2021-03-27 23:44:05 +00:00
Crypto City
1f8d22a302 game: fix daemon auto start in windows
Windows daemon doesn't have --detach
2021-03-27 23:43:02 +00:00
Crypto City
848674aa45 game: windows wants ".exe" binary suffix 2021-03-27 22:20:18 +00:00
Crypto City
377ff79160 game: fix build on mac
environ isn't defined in a system header
2021-03-27 21:23:43 +00:00
Crypto City
5ea71de480 bump version to 0.28.1.0 2021-03-27 17:24:26 +00:00
Crypto City
9be2784636 fix scaffolding discoveries not being used where appropriate 2021-03-27 16:31:30 +00:00
Crypto City
c0c848432a game: fix restoring a model backup on the town square 2021-03-27 14:00:55 +00:00
Crypto City
6fb72d6a61 game: tweak clip planes for lessened Z fighting 2021-03-27 11:40:27 +00:00
Crypto City
c7578ffb49 cc: give a penalty to agriculture on cliffs 2021-03-27 11:18:11 +00:00
Crypto City
534e5428fb game: boids now take more random routes, looks less weird 2021-03-27 00:50:13 +00:00
Crypto City
94888f7354 daemon-controller: use the same bootstrap daemon for all ops 2021-03-26 20:55:25 +00:00
Crypto City
0c7aa3166e cc: select a more appealing map 2021-03-26 20:37:15 +00:00
Crypto City
3501baf29b cc: tweak gemstone map, a bit more interesting 2021-03-26 20:37:15 +00:00
Crypto City
4007a33e95 cc: tweak stability map, it was too high frequency 2021-03-26 20:37:15 +00:00
Crypto City
59ee64e91f game: add selection filters for common image types for ipfs upload 2021-03-26 20:37:15 +00:00
Crypto City
836b1ebfa7 add two new badges, for item design and gilded item collection 2021-03-26 20:37:15 +00:00
Crypto City
e1e435a007 game: add view button in trade screen for custom items 2021-03-26 20:37:15 +00:00
Crypto City
f6ff04cda7 game: fix making new items without gold 2021-03-26 20:37:15 +00:00
Crypto City
8fe5a1835c game: the daemon is now started/stopped automatically (with option)
also fix stray "incompatible" message
2021-03-26 20:37:15 +00:00
Crypto City
a9a4f4bb4e bump version to 0.28.0.0 2021-03-25 14:52:29 +00:00
Crypto City
fa4d95bcb0 cc: fix coin supply below coin minting age for huge supplies 2021-03-25 14:37:57 +00:00
Crypto City
55462a21cd game: only use glibc wrappers on linux 2021-03-25 14:37:56 +00:00
Crypto City
6261344b9a remove mime_type from custom items, and add gold content 2021-03-25 14:37:56 +00:00
moneromooo-monero
447bfae2a4
wallet2: fix unlocked mixup in light wallet mode 2021-03-25 09:33:40 +00:00
moneromooo-monero
5a2edea16b
db_lmdb: catch exceptions testing for mmap support
Turns out at least one arch (armel based) does not have unique_path
implemented and throws
2021-03-25 09:24:45 +00:00
moneromooo-monero
f6e2636493
blockchain_db: harden code against invalid input types
If an invalid input type were to get to this, the code could
remove key images that might be present already in the chain,
which could allow a double spend, even if this is impossible
with the current code.

Reported by KeyboardWarrior.
2021-03-24 21:43:57 +00:00
Crypto City
8354848ec8 custom item secondary descriptions can now be updated 2021-03-23 23:36:38 +00:00
Crypto City
f69c7f3cac better ipfs integration
More centralized since we have to temporarily cache newly added data
for it to be instantly available, but that is optional, and it'll
still work with only a local ipfs daemon, with just a day's delay
2021-03-23 23:36:38 +00:00
Crypto City
4903cc2f38 ipfs: connect to townforge ipfs node for both get and add 2021-03-23 23:36:38 +00:00
Crypto City
5a58b7d2c5 ipfs_proxy: proxy to serve only data that's on the chain 2021-03-23 23:36:38 +00:00
Crypto City
240b311e49 merge_mining_proxy: fix a couple "monero-" name prefixes 2021-03-23 23:36:38 +00:00
Crypto City
20b806a964 rpc: add cc_is_custom_item_data RPC 2021-03-23 23:36:38 +00:00
Crypto City
64af90f54e game: simple in-game IPFS image viewer 2021-03-23 23:36:38 +00:00
anon
fe632560f4
cryptonote_protocol_handler: fix race condition 2021-03-22 19:42:46 +00:00
Crypto City
90efc53bf5 add a few more fields to merge mining related RPC 2021-03-20 14:55:17 +00:00
luigi1111
5b8d714a4b
Merge pull request #7422
d46d90c return output key for incoming transfers (benevanoff)
2021-03-20 01:57:44 -04:00
luigi1111
42987f93f4
Merge pull request #7418
68f1ca6 trezor: simplify recognition of integrated addresses (Dusan Klinec)
2021-03-20 01:53:03 -04:00
luigi1111
e04e208141
Merge pull request #7412
6477b47 wallet_rpc: add scan_tx (tobtoht)
2021-03-20 01:47:44 -04:00
luigi1111
602926fe9d
Merge pull request #7366
9867a91 Store RPC SSL key/cert for consistent authentication between runs (Lee Clagett)
2021-03-20 01:38:03 -04:00
luigi1111
8d7c1135b8
Merge pull request #6810
19b2283 New add_aux_pow RPC to support merge mining (moneromooo-monero)
2021-03-20 01:33:10 -04:00
moneromooo-monero
71741a1ed6
blockchain_import: fix wrong reported block/tx hashes on error 2021-03-19 11:04:24 +00:00
moneromooo-monero
254a1338ad
core: speed up print_coinbase_tx_sum
It only needs to parse the tx headers, not the full tx data
2021-03-18 11:16:08 +00:00
Crypto City
77a1b2462b game: replace chat icons with better ones from Noto 2021-03-17 13:45:53 +00:00
Crypto City
bad02b1a6d some changes to accomodate a merge mining pool 2021-03-16 16:52:00 +00:00
Crypto City
b3b25f7bc0 merge_mining_proxy: fixups when used with a pool
Pools change the coinbase tx, so use the final one.
Also, set status to OK on success, in addition to returning true.
2021-03-14 18:23:05 +00:00
Crypto City
cd51352373 game: fix stray building restoration warning when loading a wallet 2021-03-14 10:30:38 +00:00
Crypto City
030004f3fb game: fix lighting issue on mountains 2021-03-14 10:25:39 +00:00
Crypto City
08332671e1 cc: bump feral cats bonus slightly 2021-03-13 21:57:07 +00:00
Crypto City
59da6694be rpc: add a cc_get_predefined_item_info RPC 2021-03-13 19:50:44 +00:00
Crypto City
aa02c8b223 fix grain spoilage from rats calculation 2021-03-13 18:03:59 +00:00
Crypto City
d7e988b09e cc: add cat discoveries and city specialization 2021-03-13 18:03:59 +00:00
Crypto City
983d1055c9 cc: fix rat extra spoil rate being applied to other food than grain 2021-03-13 18:03:59 +00:00
Crypto City
c386ee25b0 cc: add version fields in scripts 2021-03-13 18:03:59 +00:00
Crypto City
cb6b8ab262 game: add item info in inventory screen 2021-03-13 18:03:59 +00:00
Crypto City
240c1302e3 cc: add a few more characters allowed for player/item names 2021-03-13 18:03:59 +00:00
Crypto City
dae1358787 cc: fix get_num_players off by one with the new foreclosure account 2021-03-13 18:03:58 +00:00
Crypto City
78bd013b0c fix issues with city level determination 2021-03-13 18:03:58 +00:00
Crypto City
966b25c5c6 game: do not consider economic power for empty flags for connections 2021-03-13 18:03:58 +00:00
Crypto City
bc936a65b7 game: allow loading a file to generate IPFS hash 2021-03-13 18:03:58 +00:00
Crypto City
c42fb25cae display some more information about mortgages and collectible coins 2021-03-13 10:45:46 +00:00
Crypto City
17628917f2 bump game account subsidy from 0.1% to 0.25% 2021-03-13 10:45:46 +00:00
Crypto City
afc4f6f913 new cc_get_item_ownership RPC and daemon command 2021-03-13 10:45:46 +00:00
Crypto City
b8d4836f2a add optional hash and MIME type to custom items, and add cc_item_info command 2021-03-13 10:45:46 +00:00
Crypto City
3bb2ae84e6 tx_pool: bump chat timeout a lot, but limit to 250 lines 2021-03-13 10:45:46 +00:00
Crypto City
bbaa5bb6df cc: repairing now requires the same material mix as building 2021-03-13 10:45:46 +00:00
Crypto City
503b77db15 game: remove the couple references to GLIBC 2.29
for binary compatibility
2021-03-13 10:45:46 +00:00
Crypto City
f89e9891c7 cc: fix mountaineer badge thresholds unit, and ignore empty flags 2021-03-13 10:45:46 +00:00
Crypto City
3ffe13df7d extra land tax for lots left empty for more than 10 days 2021-03-13 10:45:46 +00:00
tobtoht
7c4e4c7603
wallet_api: add isDeterministic() 2021-03-12 23:43:58 +01:00
tobtoht
1851f2645a
wallet_api: add seed_offset param to seed() 2021-03-12 19:45:29 +01:00
moneromooo-monero
064eeb2861
wallet_rpc_server: set seed language in generate_from_keys
Also sanity check language name
2021-03-06 10:26:15 +00:00
moneromooo-monero
f9b5b521e8
fix serialization being different on mac
On Mac, size_t is a distinct type from uint64_t, and some
types (in wallet cache as well as cold/hot wallet transfer
data) use pairs/containers with size_t as fields. Mac would
save those as full size, while other platforms would save
them as varints. Might apply to other platforms where the
types are distinct.

There's a nasty hack for backward compatibility, which can
go after a couple forks.
2021-03-05 23:42:33 +00:00
luigi1111
e01894672b
Merge pull request #7335
8d03bb6 device_trezor: add redundant check (anon)
34f9428 device_trezor: wipe string fields properly (anon)
2021-03-05 13:52:01 -05:00
benevanoff
d46d90c436 return output key for incoming transfers 2021-03-04 11:09:15 -06:00
Dusan Klinec
68f1ca65e6
trezor: simplify recognition of integrated addresses
now it is possible to simplify integrated addresses recognition using transaction destination info directly
fixes https://github.com/monero-project/monero-gui/issues/3346
2021-03-03 14:51:04 +01:00
tobtoht
6477b47ac7 wallet_rpc: add scan_tx 2021-03-01 23:02:43 +01:00
Crypto City
62c647d4f4 bump version to 0.27.0.6 2021-02-22 17:37:46 +00:00
Crypto City
497abe25e1 cc: fix sync bug carving a runestone without a script 2021-02-22 17:33:47 +00:00
gdmojo
f346e3ec0e wallet_rpc_payments: implement multithreading 2021-02-20 18:23:06 +00:00
Crypto City
5cd0b24dd6 game: possible fix for elusive palette error on import 2021-02-19 11:09:12 +00:00
Crypto City
42bdc65786 sanity_check: fix trigger on large txes 2021-02-19 11:08:42 +00:00
luigi1111
6556c33f13
Merge pull request #7355
bd12984 Remove copies from foreach loops (thanks to Clang) (Lee Clagett)
1572df9 Removing unused namespace alias (Lee Clagett)
2021-02-18 14:06:47 -05:00
luigi1111
ce5800a225
Merge pull request #7346
85db173 Remove unused variables in monero codebase (Kevin Barbour)
2021-02-18 14:03:31 -05:00
luigi1111
0e35d46f5e
Merge pull request #7341
b587ffa Stop adding more outputs than bulletproof allows (Alex Opie)
2021-02-18 14:02:13 -05:00
luigi1111
98cb68e5a7
Merge pull request #7340
ccd0f2b Simplewallet.cpp: Add export_outputs help (SomaticFanatic)
2021-02-18 14:01:29 -05:00
luigi1111
3f55f7df31
Merge pull request #7312
186271e monero-wallet-cli: Added command scan_tx (Horia Mihai David)
2021-02-18 14:00:35 -05:00
Horia Mihai David
186271e5d1 monero-wallet-cli: Added command scan_tx
To implement this feature, the wallet2::scan_tx API was implemented.
2021-02-17 20:25:55 +01:00
luigi1111
3328938d4e
Merge pull request #7319
993e9be simplewallet: allow setting --restore-height 0 (selsta)
2021-02-16 11:42:14 -05:00
luigi1111
2222d90491
Merge pull request #7294
f10c9a1 remove obsolete pruning debug code (moneromooo-monero)
2021-02-15 21:51:12 -05:00
luigi1111
bf53f55366
Merge pull request #7288
015da03 wallet_rpc_server: don't abort on initial refresh failure (xiphon)
2021-02-15 21:50:34 -05:00
luigi1111
0bbaa9df81
Merge pull request #7275
f815740 p2p: make REQUEST_SUPPORT_FLAGS optional, pass flags in node data (moneromooo-monero)
2021-02-15 21:48:48 -05:00
luigi1111
080358ebef
Merge pull request #7273
e7f5845 Only INFO log for short seed words with ALLOW_SHORT_WORDS active (rbrunner7)
2021-02-15 21:47:55 -05:00
luigi1111
f11e434ae6
Merge pull request #7265
bdabcd0 wallet_api: store fee for incoming txs in history (Ben Evanoff)
2021-02-15 21:46:22 -05:00
luigi1111
7c6db2fed1
Merge pull request #7252
f208d98 p2p: ignore empty IP from DNS block list (moneromooo-monero)
2021-02-15 21:45:46 -05:00
luigi1111
7439d891bf
Merge pull request #7242
021a281 simplewallet: Add input file parameter to sign_transfer (Steff Richards)
2021-02-15 21:44:53 -05:00
luigi1111
ba76a4d26e
Merge pull request #7185
50ff106 wallet api: allow wallet to fetch all key images via api (benevanoff)
2021-02-15 21:42:30 -05:00
luigi1111
4c410a1e3a
Merge pull request #7000
dc48de7 Reduce compilation time of epee/portable_storage.h (mj-xmr)
2021-02-15 21:39:05 -05:00
luigi1111
4ee301c687
Merge pull request #6986
ee58f4f Balance includes unconfirmed payments (woodser)
2021-02-15 21:36:48 -05:00
moneromooo-monero
d643a865f3
p2p: add --max-connections-per-ip daemon option
Helps daemons behind a proxy get more than one connection.
Defaults to 1 (no change)
2021-02-15 19:08:07 +00:00
moneromooo-monero
494f2e1c21
rpc: fix some error return codes/status
Some RPC return an error string in status, and the code must return
true on error (with a status string).
2021-02-15 12:27:19 +00:00
luigi1111
c41e087d46
Merge pull request #6900
aaa3289 add more updates domains and make the voting generic, not just 2/3 (moneromooo-monero)
2021-02-14 18:58:37 -05:00
Lee Clagett
9867a913dc Store RPC SSL key/cert for consistent authentication between runs 2021-02-13 20:26:26 +00:00
Crypto City
077534ea3f bump version to 0.27.0.5 2021-02-12 16:54:28 +00:00
Crypto City
663ddaa32d game: show unlock level when imoprting a model with locked materials 2021-02-12 16:40:38 +00:00
Crypto City
c54022d442 crypto: speed up merged mined block verification on sync mode 2021-02-11 18:24:13 +00:00
Howard Chu
86263b386c
Honor LARGE_PAGES flag in randomx umask 2021-02-11 14:42:49 +00:00
moneromooo-monero
19b228393f
New add_aux_pow RPC to support merge mining 2021-02-09 11:58:21 +00:00
Kevin Barbour
85db1734e7
Remove unused variables in monero codebase
There are quite a few variables in the code that are no longer
(or perhaps never were) in use. These were discovered by enabling
compiler warnings for unused variables and cleaning them up.

In most cases where the unused variables were the result
of a function call the call was left but the variable
assignment removed, unless it was obvious that it was
a simple getter with no side effects.
2021-02-09 08:05:05 +01:00
Crypto City
bfb69dcd61 p2p: add seed nodes to the grey list on startup 2021-02-07 14:39:27 +00:00
Crypto City
40191f0a2e bump version to 0.27.0.4 2021-02-06 14:43:59 +00:00
Crypto City
38322ab6b3 game: make extra music work for both build tree and pak files 2021-02-06 14:40:57 +00:00
mj-xmr
dc48de74e8 Reduce compilation time of epee/portable_storage.h 2021-02-06 08:18:42 +01:00
Crypto City
3b4c95efe0 bump version to 0.27.0.3 2021-02-05 23:54:40 +00:00
Crypto City
8344751503 game: fix extra music from pak files 2021-02-05 23:54:06 +00:00
Crypto City
4cc6eda2ba bump version to 0.27.0.2 2021-02-05 19:50:24 +00:00
Crypto City
487bf3764a game: fix music loading from pak files 2021-02-05 19:47:04 +00:00
Crypto City
539a44e888 bump version to 0.27.0.1 2021-02-05 13:13:05 +00:00
Crypto City
90f69636cc game: fix random (no chiptunes) music option 2021-02-05 13:12:22 +00:00
Crypto City
be2a86ff7a bump version to 0.27.0.0 2021-02-05 11:01:13 +00:00
Crypto City
802811ca78 make repairs cost at least as much as 1% to avoid spam 2021-02-04 13:59:51 +00:00
Crypto City
e05b4836ad cc: make new cities more affordable 2021-02-03 16:26:08 +00:00
Crypto City
112e3840a5 p2p: add a new seed node
from selsta
2021-02-03 16:26:08 +00:00
Crypto City
49faf95c40 fix flag destruction not keeping full state 2021-02-03 16:26:08 +00:00
Crypto City
1c501ccfac game: fix material selection UI when previous material is not available 2021-02-03 16:26:08 +00:00
Crypto City
070d3e65f2 cc: halve price of scaffolding discoveries 2021-02-03 16:26:08 +00:00
Crypto City
d9e81d0c5b cc: remove obsolete transportation discoveries 2021-02-03 16:26:08 +00:00
Lee Clagett
bd129849f0 Remove copies from foreach loops (thanks to Clang) 2021-01-28 23:42:40 -05:00
Lee Clagett
1572df9e26 Removing unused namespace alias 2021-01-28 23:40:57 -05:00
Lee Clagett
2a20434705 Fix monerod --rpc-ssl disabled 2021-01-28 17:53:47 +00:00
Crypto City
50ed459261 game: optional extra music
Plus a "skip track" key
2021-01-28 12:10:01 +00:00
Alex Opie
b587ffa1fd Stop adding more outputs than bulletproof allows
If more outputs are requested, they are split across
multiple transactions.

#7322
2021-01-25 10:01:38 +13:00
Lee Clagett
08e4497c6e Improve cryptonote (block and tx) binary read performance 2021-01-23 06:23:39 +00:00
SomaticFanatic
ccd0f2bdc2 Simplewallet.cpp: Add export_outputs help
See #6547
2021-01-21 18:39:43 -05:00
Crypto City
1501672a2b daemon: new cc_custom_items command 2021-01-21 14:51:16 +00:00
xiphon
cf266d66dd bootstrap_daemon: proxy configuration support 2021-01-21 13:45:44 +00:00
anon
8d03bb688e device_trezor: add redundant check 2021-01-20 22:06:51 +01:00
anon
34f942867f device_trezor: wipe string fields properly 2021-01-20 22:06:51 +01:00
Crypto City
d07aedd01f bump version to 0.26.0.0 2021-01-19 14:43:09 +00:00
Lee Clagett
679d05567d Remove payload copy in all outgoing p2p messages 2021-01-19 02:22:32 +00:00
Crypto City
5ce5933f2d cc: fix level determination wrt event badges 2021-01-18 01:33:58 +00:00
Crypto City
4956a6aa5e Merge remote-tracking branch 'origin/master' into cc 2021-01-18 01:33:53 +00:00
Crypto City
51d401a0c3 game: mark foreclosed mortgages in trade ui 2021-01-17 16:09:04 +00:00
Crypto City
5088d2a532 cc: destroy mortgage item after foreclosure auction ends 2021-01-17 16:09:04 +00:00
Lee Clagett
23aae5571b Remove payload copy in all outgoing p2p messages 2021-01-16 22:53:28 +00:00
Crypto City
7c25eac178 cc: allow up to 5 event badges to count towards prestige
It gives an incentive to participate while protecting against abuse
2021-01-16 20:44:45 +00:00
Crypto City
b4749564a9 split architecture badges to have one per role 2021-01-16 20:44:45 +00:00
Crypto City
51edd5cef1 game: fix chat auto focus 2021-01-16 20:44:45 +00:00
Crypto City
22e8ac1db6 cc: core (not event) badges now give a small prestige bonus too 2021-01-16 20:44:45 +00:00
Crypto City
d3b322e547 game: make different menu entries for story/building scripts
This should help prevent mixups between both
2021-01-16 20:44:45 +00:00
Crypto City
a4f6efb6db add unlock levels for chat colours 2021-01-16 20:44:45 +00:00
Crypto City
ed18fb8133 add more chat colours 2021-01-16 20:44:45 +00:00
Crypto City
e1dd1f457d game: fix empty building settings screen for already built advanced buildings 2021-01-16 20:44:45 +00:00
Crypto City
e760d4b2ed cc: remove pig farming discoveries 2021-01-16 20:44:45 +00:00
Crypto City
203a7ae50e rpc: fix off by one getting crop temperature in cc_get_flag 2021-01-16 20:44:45 +00:00
Crypto City
6f98b93707 game: add "sell shares when mined" message when creating new mortgage 2021-01-16 20:44:45 +00:00
Crypto City
f29bf36ff3 db_lmdb: don't subtract used from amount in orders
the caller can do it
2021-01-16 20:44:45 +00:00
Crypto City
eab7a51df6 game: print material shortfall when not enough budget to import 2021-01-16 20:44:45 +00:00
Crypto City
58fcf72fd4 game: fix importing a model leaving the budget untouched 2021-01-16 20:44:45 +00:00
Crypto City
f0d55c60e6 cc: fix overflow in terrain generation 2021-01-16 20:44:45 +00:00
luigi1111
cb70ae9450
Merge pull request #7260
c5c278c p2p: only log to global when a blocked IP is not already blocked (moneromooo-monero)
2021-01-15 23:52:05 -05:00
luigi1111
8cb9f3cd80
Merge pull request #7240
46cc4a2 Header row for peer list in sync_info (Denis Goddard)
2021-01-15 23:50:28 -05:00
luigi1111
1f3f07d0e7
Merge pull request #7236
ab5e185 protocol: fix wrong command in logs (moneromooo-monero)
2021-01-15 23:49:34 -05:00
luigi1111
d259ed0740
Merge pull request #7119
dd5e689 protocol: add calls to reserve where appropriate (moneromooo-monero)
2021-01-15 23:45:25 -05:00
luigi1111
d01f31460e
Merge pull request #7113
7f30c49 simplewallet: don't complain about connecting to the daemon when offline (moneromooo-monero)
2021-01-15 23:44:32 -05:00
luigi1111
5c497ed22f
Merge pull request #7112
47590fc rpc: report target height as 0 when synced (moneromooo-monero)
2021-01-15 23:43:46 -05:00
selsta
993e9be669
simplewallet: allow setting --restore-height 0 2021-01-13 12:36:58 +01:00
selsta
76fe73b8bd
Revert "fix accessing an network address in a deleted context"
This reverts commit 4e74385a1a.
2021-01-12 12:18:23 +01:00
moneromooo-monero
f10c9a16c4
remove obsolete pruning debug code 2021-01-08 15:41:59 +00:00
Alexander Blair
747699541e
Merge pull request #7285
927141bcc Command max_bytes moved from dynamic map to static switch (Lee Clagett)
2021-01-07 17:54:02 -08:00
xiphon
015da03a6f wallet_rpc_server: don't abort on initial refresh failure 2021-01-07 13:38:15 +00:00
luigi1111
69e4a2c62d
Merge pull request #7266
38a6e6e protocol: handle receiving a block hash we've not added yet (moneromooo-monero)
2021-01-06 21:09:03 -05:00
moneromooo-monero
f815740403
p2p: make REQUEST_SUPPORT_FLAGS optional, pass flags in node data
removes a back and forth on connect, and the RPC can be removed
once all peers have updated
2021-01-04 13:33:34 +00:00
Alexander Blair
dbaf95ac77
Merge pull request #7271
4e74385a1 fix accessing an network address in a deleted context (moneromooo-monero)
2021-01-03 18:24:50 -08:00
Alexander Blair
71f7d4e71e
Merge pull request #7268
1e27f7101 blockchain: lock access to m_blocks_hash_of_hashes (moneromooo-monero)
2021-01-03 18:24:22 -08:00
Crypto City
6957cf9630 game: add note the "running out..." note only checks the current city 2021-01-03 16:07:13 +00:00
Crypto City
d53d2e8ef8 game: fix research place with several players have the same number 2021-01-03 16:07:13 +00:00
Crypto City
2546087553 game: fix wrong EP reported for existing buildings 2021-01-03 16:07:13 +00:00
Crypto City
2e6943f9b5 game: fix missing runestone script message 2021-01-03 16:07:13 +00:00
Crypto City
373b08168f cc: give city squares the usual amount of vegetation 2021-01-03 16:07:13 +00:00
Crypto City
8ab3ba8b75 game: fix altitude scaling in building settings 2021-01-03 16:07:13 +00:00
Crypto City
515e2fab8c game: fix crash in trade screen 2021-01-03 16:07:13 +00:00
Crypto City
a0dd64d11c cc: decrease basic residential min size again
lkcl had a good argument for this to be kept down
2021-01-03 16:07:13 +00:00
Crypto City
c6b79390b0 game: fix invalid city in allow styling command 2021-01-03 16:07:13 +00:00
Crypto City
41f5ac35bc game: fix demolishing flags after adding service height to command 2021-01-03 16:07:13 +00:00
Crypto City
14b17bd167 game: fix missing chat text colour 2021-01-03 16:07:13 +00:00
Crypto City
a908c1b9d6 game: display error when import a model with locked material 2021-01-03 16:07:13 +00:00
Crypto City
36c8986e79 game: add a "blocks till update" on leaderboards screen 2021-01-03 16:07:13 +00:00
Crypto City
bda1d0ba70 fix harvest temperature not taking elevation modifier into account
also add that harvest temperature to the cc_get_flag RPC
2021-01-03 16:07:13 +00:00
Crypto City
c9a95b420e cc: give amount of owned coins a bit more weight in scoring 2021-01-03 16:07:13 +00:00
Crypto City
27129d19e1 cc: fix wording in discovery description 2021-01-03 16:07:13 +00:00
Crypto City
841fc6f50b cc: revert recent streak badge threshold changes 2021-01-03 16:07:13 +00:00
moneromooo-monero
b652d598d1
add a max levin packet size by command type 2021-01-03 14:07:45 +00:00
moneromooo-monero
4e74385a1a
fix accessing an network address in a deleted context
Both drop_connection and add_host_fail can drop the connection,
which invalidates the context, and thus the address it contains.

Thanks to wfaressuissia[m] for lots of help and prodding when
debugging this
2021-01-03 13:04:55 +00:00
rbrunner7
e7f5845ce8 Only INFO log for short seed words with ALLOW_SHORT_WORDS active 2021-01-03 11:04:53 +01:00
moneromooo-monero
1e27f7101e
blockchain: lock access to m_blocks_hash_of_hashes
it is accessed both when adding and when prevalidating a set
of new hashes from a peer
2021-01-02 22:19:54 +00:00
moneromooo-monero
38a6e6eb26
protocol: handle receiving a block hash we've not added yet 2021-01-02 22:10:31 +00:00
Ben Evanoff
bdabcd01b7
wallet_api: store fee for incoming txs in history 2021-01-02 13:56:57 -06:00
Alexander Blair
16c780d568
Merge pull request #7250
61b6e4cc6 Add aggressive restrictions to pre-handshake p2p buffer limit (Lee Clagett)
2021-01-01 22:35:59 -08:00
Alexander Blair
3bf0721ae6
Merge pull request #7246
0aa541b36 protocol: more sanity checks in new chain block hashes (moneromooo-monero)
2021-01-01 22:33:27 -08:00
Alexander Blair
2d60232355
Merge pull request #7237
656b2f7ce p2p: fix deadlock banning while updating peer lists (moneromooo)
2021-01-01 22:32:34 -08:00
moneromooo-monero
c5c278c339
p2p: only log to global when a blocked IP is not already blocked 2021-01-01 19:54:51 +00:00
moneromooo
1d1c430b1f
p2p: fix cubic selection in filtered peer list
Integer quantization biased the picks a lot (leading some indices
to never be selected)
2021-01-01 15:44:36 +00:00
moneromooo-monero
f208d98492
p2p: ignore empty IP from DNS block list
ie, if the list ends in ;
2021-01-01 12:30:45 +00:00
Denis Goddard
46cc4a253b Header row for peer list in sync_info 2020-12-31 20:09:35 -05:00
moneromooo-monero
0aa541b361
protocol: more sanity checks in new chain block hashes 2020-12-31 23:33:18 +00:00
Steff Richards
021a28137d simplewallet: Add input file parameter to sign_transfer 2020-12-31 16:54:01 +01:00
moneromooo
aa3e89a2ba
p2p: fix set_peer_just_seen ignoring last_seen 2020-12-31 03:10:10 +00:00
moneromooo
656b2f7ce1
p2p: fix deadlock banning while updating peer lists 2020-12-31 03:09:37 +00:00
moneromooo-monero
ab5e185140
protocol: fix wrong command in logs
this is not a levin packet, this is just its payload
2020-12-30 21:08:28 +00:00
moneromooo-monero
31c69923ba
protocol: don't reset last request time on an idle timer
this prevents losing time of "idle time" for a peer, which could
otherwise be reset by another timed sync command from the peer
2020-12-30 14:22:10 +00:00
moneromooo-monero
1eb14af1a3
rpc: limit the number of txes for get_blocks.bin 2020-12-29 04:31:58 +00:00
Alexander Blair
2bccbeecb3
Merge pull request #7205
bcdc6c62b protocol: fix false positives dropping peers (moneromooo-monero)
2020-12-28 11:39:01 -08:00
Alexander Blair
faaec08fa4
Merge pull request #7196
4310780c0 cryptonote_basic: guess what got lost porting patches to branches again (moneromooo-monero)
2020-12-28 11:38:07 -08:00
moneromooo-monero
bcdc6c62b7
protocol: fix false positives dropping peers
it'd trigger on reorgs
2020-12-27 14:41:19 +00:00
luigi1111
025db3d2b4
Revert "Reject existing claimed blocks in sync mode" 2020-12-27 00:18:05 -05:00
moneromooo-monero
4310780c08
cryptonote_basic: guess what got lost porting patches to branches again 2020-12-26 23:43:59 +00:00
Alexander Blair
d61fdebaac
Merge pull request #7188
efe83982d protocol: drop nodes if they claim new data but only give stale data (moneromooo-monero)
2020-12-26 13:43:13 -08:00
Alexander Blair
5402121323
Merge pull request #7180
56748e1d7 ban lists may now include subnets (moneromooo-monero)
2020-12-26 13:42:37 -08:00
Alexander Blair
d06bae56b3
Merge pull request #7173
d2fda6c25 restrict public node checks a little (moneromooo-monero)
2020-12-26 13:41:42 -08:00
Alexander Blair
609dbe6b92
Merge pull request #7154
cf7e1571d protocol: reject claimed block hashes that already are in the chain (moneromooo-monero)
af0a25544 protocol: drop peers we can't download anything from in sync mode (moneromooo-monero)
2020-12-26 13:40:36 -08:00
Alexander Blair
cb712bf4f8
Merge pull request #7145
68637bca3 p2p: remove peers from grey and anchors lists when blocked (moneromooo-monero)
2020-12-26 13:40:19 -08:00
Alexander Blair
69ed0e0001
Merge pull request #7138
e9abfea16 Optional DNS based blocklist (moneromooo-monero)
2020-12-26 13:38:50 -08:00
Alexander Blair
b9e444da5e
Merge pull request #7098
c0c75ac19 Fixed issues found by static analysis (SChernykh)
2020-12-26 13:36:01 -08:00
Alexander Blair
133056f625
Merge pull request #7086
14bc5c095 db_lmdb: move spammy "not found in db" message to TRACE (moneromooo-monero)
2020-12-26 13:35:42 -08:00
Alexander Blair
d365f2409a
Merge pull request #6931
fbb03ef2a simplewallet: add "address mnew" command (codesoap)
2020-12-26 13:35:24 -08:00
codesoap
fbb03ef2a0 simplewallet: add "address mnew" command 2020-12-26 19:33:11 +01:00
moneromooo-monero
efe83982d3
protocol: drop nodes if they claim new data but only give stale data
Some joker is spending time actually doing this
2020-12-25 20:30:39 +00:00
benevanoff
50ff1066f5 wallet api: allow wallet to fetch all key images via api 2020-12-25 00:40:50 -06:00
moneromooo-monero
d2fda6c25f
restrict public node checks a little
do not include blocked hosts in peer lists or public node lists by default,
warn about no https on clearnet and about untrusted peers likely being spies
2020-12-22 23:39:07 +00:00
Lee Clagett
927141bcc4 Command max_bytes moved from dynamic map to static switch 2020-12-22 20:54:16 +00:00
moneromooo-monero
56748e1d74
ban lists may now include subnets 2020-12-22 02:12:41 +00:00
moneromooo-monero
e9abfea165
Optional DNS based blocklist
If enabled, pulls IPs to block on blocklist.moneropulse.*, and
blocks then for 8 days (so IPs dropping from the list will
eventually get unblocked, and DNS failures don't result in
instant clearing of the blocklist).

Enable with --enable-dns-blocklist
2020-12-20 02:09:58 +00:00
luigi1111
0dac64afb3
Merge pull request #7143
58651d1 p2p: ignore incoming peer list entries when we have them blocked (moneromooo-monero)
2020-12-19 17:24:21 -06:00
luigi1111
e0d8af253e
Merge pull request #7141
9de3787 daemon: the ban command can now load IPs from a file (ban @filename) (moneromooo-monero)
2020-12-19 17:22:01 -06:00
luigi1111
7ee37e4b38
Merge pull request #7075
f3c0d4f protocol: remove unused (and cunningly uninitialized) field (moneromooo-monero)
8e62362 p2p: ifx getting seed nodes for uncommon cases (moneromooo-monero)
2020-12-19 17:20:29 -06:00
moneromooo-monero
5a1ac9c0ef
rpc: add a busy_syncing field to get_info
true if and pretty much only if new blocks are being added
2020-12-17 18:03:11 +00:00
moneromooo-monero
cf7e1571d3
protocol: reject claimed block hashes that already are in the chain 2020-12-17 02:54:02 +00:00
Lee Clagett
61b6e4cc67 Add aggressive restrictions to pre-handshake p2p buffer limit 2020-12-17 00:36:10 +00:00
moneromooo-monero
af0a25544e
protocol: drop peers we can't download anything from in sync mode
instead of the (incorrect) check for whether we think we might have
a user for it at some point in the near future. We can reconnect.
2020-12-16 20:19:52 +00:00
moneromooo-monero
f3c0d4f9df
protocol: remove unused (and cunningly uninitialized) field 2020-12-15 01:32:18 +00:00
moneromooo-monero
8e62362cd3
p2p: ifx getting seed nodes for uncommon cases
The code is technically correct, but liable to easily become incorrect with changes
2020-12-15 01:32:15 +00:00
Crypto City
e1e260407f game: fix stale "running out of..." message in building screen 2020-12-14 16:39:44 +00:00
Crypto City
6f5c2d1b0c cc: fix coin score not taking amount owned into account anymore 2020-12-14 16:39:44 +00:00
Crypto City
2f3323982a cc: fix get_cc_cliff_potential prototypes 2020-12-14 16:39:44 +00:00
moneromooo-monero
9de3787c47
daemon: the ban command can now load IPs from a file (ban @filename) 2020-12-14 12:26:23 +00:00
moneromooo-monero
68637bca3f
p2p: remove peers from grey and anchors lists when blocked 2020-12-13 23:27:44 +00:00
moneromooo-monero
58651d16c0
p2p: ignore incoming peer list entries when we have them blocked 2020-12-13 23:14:05 +00:00
luigi1111
e5decd0cde
Merge pull request #7130
543733d protocol: include first new block in chain entry response (moneromooo-monero)
2020-12-12 22:05:02 -06:00
luigi1111
a57c95b2f1
Merge pull request #7127
5d1849a protocol: stricter checks on received chain hash list (moneromooo)
2020-12-12 22:03:12 -06:00
Crypto City
e511c562af game: fix leaderboard and player screen tooltips when scrolled 2020-12-13 00:49:23 +00:00
moneromooo-monero
543733d42c
protocol: include first new block in chain entry response 2020-12-12 01:36:35 +00:00
moneromooo
5d1849a9eb
protocol: stricter checks on received chain hash list 2020-12-11 18:47:40 +00:00
moneromooo-monero
62e8ca5eaf
protocol: revert incoming chain height check against local chain
We can actually request a chain that's further away from what we
have as we buffer more and more
2020-12-11 02:37:15 +00:00
Alexander Blair
0f67569279
Merge pull request #7121
cd7e9769d protocol: one more sanity check on usable data from a peer (moneromooo-monero)
2020-12-10 17:44:54 -08:00
Alexander Blair
bdaadf85dc
Merge pull request #7117
5dee031b2 protocol: add a sanity check to the number of block hashes sent (moneromooo-monero)
2020-12-10 17:43:41 -08:00
Alexander Blair
bb6d2d4b05
Merge pull request #7114
eb77790df protocol: fix asking for pruned blocks for v10 (moneromooo-monero)
2020-12-10 17:42:48 -08:00
Alexander Blair
28e5e42986
Merge pull request #7110
d660f22ed protocol: drop origin IP if a block fails to verify in sync mode (moneromooo-monero)
2020-12-10 17:41:59 -08:00
Alexander Blair
5b62a6f316
Merge pull request #7106
0f34cabb9 protocol: more restrictive checks on chain entry response (moneromooo-monero)
2020-12-10 17:40:46 -08:00
Alexander Blair
1e9483a2d5
Merge pull request #7009
7414e2bac Change epee binary output from std::stringstream to byte_stream (Lee Clagett)
2020-12-10 17:34:50 -08:00
moneromooo-monero
cd7e9769d8
protocol: one more sanity check on usable data from a peer 2020-12-10 23:02:06 +00:00
moneromooo-monero
d660f22ed1
protocol: drop origin IP if a block fails to verify in sync mode
It would otherwise be possible for a peer to send bad blocks,
then disconnect and reconnect again, escaping bans
2020-12-10 21:59:18 +00:00
moneromooo-monero
dd5e689533
protocol: add calls to reserve where appropriate 2020-12-10 20:47:35 +00:00
moneromooo-monero
5dee031b25
protocol: add a sanity check to the number of block hashes sent 2020-12-10 19:26:12 +00:00
moneromooo-monero
eb77790dfb
protocol: fix asking for pruned blocks for v10
Old format is still alloewd there, this is a two fork update
2020-12-10 18:10:45 +00:00
moneromooo-monero
7f30c49731
simplewallet: don't complain about connecting to the daemon when offline 2020-12-10 17:57:13 +00:00
moneromooo-monero
0f34cabb98
protocol: more restrictive checks on chain entry response 2020-12-10 17:23:50 +00:00
moneromooo-monero
47590fc80b
rpc: report target height as 0 when synced
since it only makes sense when syncing, and it confuses people
2020-12-10 17:05:34 +00:00
moneromooo-monero
19f77578e0
protocol: fix switchting to adding blocks if noone's adding the next span 2020-12-10 15:46:48 +00:00
SChernykh
c0c75ac19d Fixed issues found by static analysis
- rolling_median: tried to free uninitialized pointer in a constructor
- net_node.inl: erase-remove idiom was used incorrectly. remove_if doesn't actually remove elements, see http://cpp.sh/6fcjv
- bulletproofs.cc: call to sizeof() instead of vector.size(), luckily it only impacts performance and not code logic there
2020-12-08 18:43:44 +01:00
luigi1111
b7425c14c8
Merge pull request #7072
bc7cd78 p2p: drop peers that spam peer lists (moneromooo-monero)
2020-12-07 10:24:30 -06:00
luigi1111
fb73f2b2be
Merge pull request #7070
281b42a p2p: fix race condition accessing a deleted context (moneromooo-monero)
2020-12-07 10:23:24 -06:00
luigi1111
3d2a50a5c0
Merge pull request #7055
ff7fdf6 protocol: drop peers that don't reply to queries (moneromooo-monero)
89e984d keep only the last seen node on a given host in the white list (moneromooo-monero)
c74d8ff protocol: drop peers that decrease claimed height (moneromooo-monero)
61f5001 protocol: add scoring system to drop peers that don't behave (moneromooo-monero)
2020-12-07 10:07:33 -06:00
Crypto City
1a522dc3fa bump version to 0.25.0.0 2020-12-07 12:26:53 +00:00
Crypto City
cb7e794036 game: add "show only items I have some of" toggle in trade screen 2020-12-07 11:53:00 +00:00
Crypto City
18e4b1eb28 make fire special event less likely 2020-12-07 11:53:00 +00:00
Crypto City
f62f0b0c6c cc: remove military bonus for production buildings 2020-12-07 11:53:00 +00:00
moneromooo
ff7fdf6db2
protocol: drop peers that don't reply to queries 2020-12-06 15:57:40 +00:00
moneromooo-monero
281b42a281
p2p: fix race condition accessing a deleted context 2020-12-06 12:40:07 +00:00
moneromooo-monero
14bc5c095c
db_lmdb: move spammy "not found in db" message to TRACE
These are functions that check whether a tx is in the db, so whether
it is there or not is really not interesting, and it seems to scare
people from time to time
2020-12-06 01:46:21 +00:00
moneromooo-monero
bc7cd78870
p2p: drop peers that spam peer lists
There's always some people who just want to abuse things
2020-12-05 13:12:58 +00:00
Alexander Blair
7ca4ef0d74
Merge pull request #7068
2395e0e67 p2p: add a tor seed node (moneromooo-monero)
2020-12-04 13:28:02 -08:00
Alexander Blair
42aa1a6aca
Merge pull request #7062
5ed604fe5 crypto: fix non zero scalar being 0 after reducing (moneromooo-monero)
2020-12-04 13:27:05 -08:00
Alexander Blair
6b8db83149
Merge pull request #7043
17c537039 wallet2: check imported multisig curve points are in main subgroup (Crypto City)
2020-12-04 13:25:01 -08:00
Alexander Blair
ce564e7ebf
Merge pull request #7030
0363476ee rpc: get_info - add 'synchronized' field (xiphon)
2020-12-04 13:21:36 -08:00
Alexander Blair
1eae7574b5
Merge pull request #7017
13350f79d Do not use peer_id tracking method over i2p/tor (Lee Clagett)
2020-12-04 13:21:13 -08:00
moneromooo
89e984d93b
keep only the last seen node on a given host in the white list 2020-12-04 01:55:22 +00:00
moneromooo
c74d8ffd63
protocol: drop peers that decrease claimed height 2020-12-04 01:55:22 +00:00
moneromooo
61f5001c3f
protocol: add scoring system to drop peers that don't behave 2020-12-04 01:55:21 +00:00
moneromooo-monero
5ed604fe5b
crypto: fix non zero scalar being 0 after reducing 2020-12-04 01:00:03 +00:00
moneromooo-monero
2395e0e678
p2p: add a tor seed node 2020-12-03 23:45:38 +00:00
Alexander Blair
f83203ecef
Merge pull request #7058
89bbb802c wallet2: set propagation timeout to current max timeout (selsta)
2020-12-03 12:19:39 -08:00
Alexander Blair
e78669257e
Merge pull request #7056
c64b94bd1 p2p: fix endianness when checking IPv6 addresses mapping to IPv4 (moneromooo-monero)
67f2bec2d p2p: make this work with boost <= 1.65 (pffff) (moneromooo-monero)
ffdf1fb1d p2p: rewrite boost's make_address_v4 to cater for < 1.66 (moneromooo)
2020-12-03 12:19:15 -08:00
Alexander Blair
84bae315f8
Merge pull request #6984
7a5e11645 net_node: add tor / i2p seed nodes (selsta)
2020-12-03 12:17:44 -08:00
Crypto City
8fa8ad7ae2 bump military building costs and remove payouts 2020-12-03 18:56:39 +00:00
Crypto City
b3a9de4ac4 game: make burning buildings more obvious, using colour 2020-12-03 18:56:39 +00:00
Crypto City
dddcf7dd1b cc: tweak road bonus production bonus down 2020-12-03 18:56:38 +00:00
Crypto City
4b87907d36 cc: decrease streak and firefighter badge requirements 2020-12-03 18:56:38 +00:00
Crypto City
c8eb4e23db cc: don't print bonus logs if no bonus 2020-12-03 18:56:38 +00:00
Crypto City
87cbd073b3 game: add building id column in building screen 2020-12-03 18:56:38 +00:00
Crypto City
8e3d70c8fa game: allow using raw UI definition strings in runestone messages
if styling is enabled
2020-12-03 18:56:38 +00:00
Crypto City
f13cbdfd16 cc: decrease military influence and penalty 2020-12-03 18:56:38 +00:00
selsta
89bbb802c0
wallet2: set propagation timeout to current max timeout 2020-12-03 02:18:58 +01:00
moneromooo-monero
c64b94bd14
p2p: fix endianness when checking IPv6 addresses mapping to IPv4 2020-12-03 00:31:32 +00:00
moneromooo-monero
67f2bec2df
p2p: make this work with boost <= 1.65 (pffff) 2020-12-03 00:31:32 +00:00
moneromooo
ffdf1fb1de
p2p: rewrite boost's make_address_v4 to cater for < 1.66 2020-12-03 00:31:29 +00:00
Alexander Blair
4f401f6fca
Merge pull request #7025
b10878f10 Change Dandelion++ fluff probability to 20%, and embargo timeout to 39s (Lee Clagett)
2020-12-01 14:23:49 -08:00
Alexander Blair
976fcb5985
Merge pull request #7024
aaf837cf5 rpc: skip non-synced bootstrap daemons in --no-sync mode too (xiphon)
2020-12-01 14:23:21 -08:00
Alexander Blair
f41dce49ac
Merge pull request #6954
dff1d8067 Fix tx flush callback queueing (Lee Clagett)
2020-12-01 14:22:16 -08:00
Alexander Blair
7cd0c64210
Merge pull request #6948
65903d2cf Add rpc-restricted-bind-ip option (Howard Chu)
2020-12-01 14:21:19 -08:00
Alexander Blair
431ec528bc
Merge pull request #6939
6c9980a55 p2p: give all hosts the same chance of being picked for connecting (moneromooo)
2020-12-01 14:20:02 -08:00
Alexander Blair
003a06f030
Merge pull request #6923
cc034fe0c util: fix escaping more than one ?* in glob_to_regex (moneromooo-monero)
2020-12-01 14:19:21 -08:00
Alexander Blair
d8f9472356
Merge pull request #6910
b7dd8349f Allow setting start block on export (Howard Chu)
2020-12-01 14:18:44 -08:00
Alexander Blair
438442ace0
Merge pull request #6890
ec14e4b8c wallet2: skip reorgs exceeding max-reorg-depth wallet setting (xiphon)
2020-12-01 14:18:22 -08:00
Crypto City
8599ef7f67 sort items before patents and gemstones 2020-12-01 12:54:08 +00:00
Crypto City
0bdbee7f2c fix building share discrepancy between consensus and game estimation 2020-12-01 12:54:08 +00:00
Crypto City
42533162e4 game: add a "running out of X in Y ticks" in the buildings screen 2020-11-30 21:31:13 +00:00
Crypto City
84df7a33f3 game: add a note about the 70% repair threshold in the repair all dialog 2020-11-30 21:31:13 +00:00
Crypto City
88663a4594 game: remove debug traces 2020-11-30 21:31:13 +00:00
Crypto City
5d3a8d2566 cc: make the prestige payout slope gentler
so people at the low end get more
2020-11-30 19:49:31 +00:00
Crypto City
4810da6cd1 add a few more city specializations 2020-11-30 16:45:16 +00:00
Crypto City
6dce14cce1 db_lmdb: fix a couple places using uncompressed city data 2020-11-30 16:45:16 +00:00
Crypto City
92bf35bc2d game: fix script shared size calculation underflow 2020-11-30 16:45:16 +00:00
Crypto City
97a3f0f73d game: fix restoring compass style from config 2020-11-30 16:45:16 +00:00
Crypto City
622e42254b game: fix custom model bounding box including the origin
Drawable overrides the default bounding box to do so
2020-11-30 16:45:16 +00:00
Crypto City
0f9010220e game: hint to delete the cache file when getting a load exception 2020-11-30 16:45:16 +00:00
Crypto City
0446bde62c allow mayors to select who gets styling on runestone messages 2020-11-30 16:45:16 +00:00
Crypto City
2237cd5152 game: disable all widgets when displaying existing mortgage details 2020-11-29 23:38:03 +00:00
Crypto City
71d8408168 crypto: speed up alternating canonical and merge mined blocks 2020-11-29 23:38:03 +00:00
Crypto City
915753e73d db_lmdb: recover from not finding a tx by nonce from cc_orders 2020-11-29 23:38:03 +00:00
Crypto City
36c847f758 game: allow runestone message styling 2020-11-29 23:38:03 +00:00
Crypto City
346abcc7d0 tx_pool: do not count pre-matched amounts towards an order's amount 2020-11-29 23:38:03 +00:00
Crypto City
eb666eabb0 tx_pool: avoid duplicate work checking for stuck orders 2020-11-29 23:38:03 +00:00
Crypto City
8f9fc78c52 rpc: fix orders matchable field not considering already matched amount 2020-11-29 23:38:03 +00:00
Crypto City
9957d59552 daemon: print nonce in print_pool_commands 2020-11-29 23:38:03 +00:00
Crypto City
a1cfdd596f cc: remove obsolete check_changed_accounts 2020-11-29 23:38:03 +00:00
Crypto City
c50b571fa9 allow the game account to enable/disable scripts 2020-11-29 23:38:03 +00:00
Crypto City
29d6a519f1 game: don't allow assigning items to a flag without a building 2020-11-29 23:38:03 +00:00
Crypto City
7e916e262b game: fix clicking on uncarved runestones 2020-11-29 23:38:03 +00:00
Crypto City
24fab72227 cc: add extra "lengthening" constraint to road size 2020-11-29 23:38:03 +00:00
Crypto City
a24c6929e1 game: add prestige to the player screen 2020-11-29 23:38:03 +00:00
Crypto City
64e864e90a cc: give prestige bonuses for complete runic cycle sets and all gemstones 2020-11-29 23:38:03 +00:00
Crypto City
c23453f994 cc: percent and pick script actions now have operands for weights 2020-11-29 23:38:03 +00:00
Crypto City
4a8b53368d cc: attributes are not referenced by name, not index 2020-11-29 23:38:03 +00:00
Crypto City
8f3f86e599 game: add ${[type:]var} string replacements for scripts 2020-11-29 23:38:03 +00:00
Crypto City
eb9215e486 game: warn on runestone message screen if a script is active 2020-11-29 23:38:03 +00:00
Crypto City
e83b8ea1dc game: improve runesone message screen layout 2020-11-29 23:38:02 +00:00
Crypto City
55fe24377a game: add %C (city name) to script control codes 2020-11-29 23:38:02 +00:00
Crypto City
1db6b89794 cc: add unary predicates for item types to scripts 2020-11-29 23:38:02 +00:00
Crypto City
6eb067af06 cc: add not script operator 2020-11-29 23:38:02 +00:00
Crypto City
adb94dbedb game: do not busy RPC for the current runestone when there is none 2020-11-29 23:38:02 +00:00
Crypto City
b71e877698 game: fix removing a runestone with overrides 2020-11-29 23:38:02 +00:00
Crypto City
a32818b297 cc: make a few operand parameters operands themselves 2020-11-29 23:38:02 +00:00
Crypto City
565995e127 cc: add owner item inventory operands 2020-11-29 23:38:02 +00:00
Crypto City
a4e8d12f68 cc: reserves can be configured, and items types/count are operands 2020-11-29 23:38:02 +00:00
Crypto City
9eea9901f8 cc: count coins/gems in reserves for prestige 2020-11-29 23:38:02 +00:00
Crypto City
00f71f75c7 game: replace VariantMapVector with Vector of VariantMap 2020-11-29 23:38:02 +00:00
Crypto City
4cc456225e game: initialize script configuration screen with existing configuration 2020-11-29 23:38:02 +00:00
Crypto City
e709969c39 cc: check script actions refer to valid items 2020-11-29 23:38:02 +00:00
Crypto City
ca89bc433f game: fix redundant height info in building settings screen 2020-11-29 23:38:02 +00:00
Crypto City
5db151d830 tx_pool: remove stuck orders on a schedule 2020-11-29 23:38:02 +00:00
Crypto City
171858da4c cc: balance changes 2020-11-29 23:38:02 +00:00
moneromooo
6c9980a55b
p2p: give all hosts the same chance of being picked for connecting
even if some run more than one node
2020-11-29 15:55:58 +00:00
selsta
7a5e11645f
net_node: add tor / i2p seed nodes
Co-authored-by: Lee Clagett <code@leeclagett.com>
2020-11-29 13:49:03 +01:00
luigi1111
850edfe419
Merge pull request #7021
d73cb95 Fix timeout checks for forwarded and Dandelion++ stem txes (Lee Clagett)
2020-11-29 01:59:35 -06:00
luigi1111
cf816e51ad
Merge pull request #7020
2c66894 wallet_api: TransactionHistory - fill unconfirmed out payments dests (xiphon)
2020-11-29 01:58:56 -06:00
luigi1111
36d31ba0be
Merge pull request #7018
a9cd5d9 cryptonote_core: dandelion - use local height or median height if syncing (xiphon)
2020-11-29 01:58:13 -06:00
luigi1111
ad843541d5
Merge pull request #7008
3247f11 Silence stupid warnings (Howard Chu)
2020-11-29 01:57:24 -06:00
luigi1111
c041550ffa
Merge pull request #6973
be84f67 Switch to Dandelion++ fluff mode if no out connections for stem mode (Lee Clagett)
2020-11-29 01:54:43 -06:00
luigi1111
a92b968e35
Merge pull request #6971
f9527e6 protocol: reject empty incoming block messages (moneromooo-monero)
2020-11-29 01:54:08 -06:00
luigi1111
9945ca7a62
Merge pull request #6960
5569a8e rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P (xiphon)
2020-11-29 01:53:12 -06:00
luigi1111
bb56248acd
Merge pull request #6949
aad780b Fix CLI and unrestricted RPC relay_tx with stempool (Lee Clagett)
2020-11-29 01:52:23 -06:00
luigi1111
9a4d813136
Merge pull request #6943
cb069d0 p2p: remove banned peers from the white list (moneromooo-monero)
2020-11-29 01:51:41 -06:00
luigi1111
7a0334742a
Merge pull request #6937
8a282f6 Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests (mj-xmr)
2020-11-29 01:49:39 -06:00
luigi1111
2be7a4c04f
Merge pull request #6933
1f04a31 p2p: use /16 filtering on IPv4-within-IPv6 addresses (moneromooo-monero)
2020-11-29 01:46:46 -06:00
luigi1111
4d298d4f11
Merge pull request #6924
874487f blockchain: remove some dead code (moneromooo-monero)
2020-11-29 01:44:26 -06:00
luigi1111
999e797cea
Merge pull request #6922
a25bc71 Make Blockchain::get_fee_quantization_mask() compile time (SChernykh)
2020-11-29 01:40:59 -06:00
luigi1111
bab4495cfb
Merge pull request #6921
f1836ac cryptonote_core: Fix missing override warnings (Nathan Dorfman)
2020-11-29 01:39:17 -06:00
luigi1111
c5b3fd1fec
Merge pull request #6920
aad2f87 net_node: add --ban-list option (selsta)
2020-11-29 01:38:27 -06:00
luigi1111
84cdb5d914
Merge pull request #6915
c67fa32 bump default number of connections from 8 to 12 (moneromooo-monero)
2020-11-29 01:34:02 -06:00
luigi1111
4c2e77854d
Merge pull request #6913
fc2f971 wallet2: wait for propagation timeout before marking tx as failed (xiphon)
2020-11-29 01:32:01 -06:00
luigi1111
eebd86dc3e
Merge pull request #6898
593ae2e device: Ledger - update status codes (xiphon)
2020-11-29 00:44:27 -06:00
luigi1111
52006df9bb
Merge pull request #6897
2abdbf6 Add support for i2p and tor seed nodes (vtnerd)
2020-11-29 00:42:27 -06:00
luigi1111
7539d4ac74
Merge pull request #6895
b49f489 fix next_seed_height regression in getblocktemplate rpc (xnbya)
2020-11-29 00:41:42 -06:00
luigi1111
678237835f
Merge pull request #6892
ad7ea2c core_rpc_server: on_send_raw_tx - fix bootstrap daemon mode check (xiphon)
2020-11-29 00:40:03 -06:00
luigi1111
d45a4ba106
Merge pull request #6849
f4b2382 rpc_private_headers declaration fix (malbit)
2020-11-28 22:31:25 -06:00
luigi1111
7778384071
Merge pull request #6830
64e9526 Extend TransactionInfo with coinbase and description attributes in wallet/api (dsc)
2020-11-28 21:55:16 -06:00
dsc
d157196416 Allow tx note edits via TransactionHistory object in wallet/api 2020-11-28 21:48:57 -06:00
luigi1111
b37d6fe368
Merge pull request #6826
83da867 Update error messages in daemon (tmoravec)
2020-11-28 21:35:34 -06:00
Crypto City
1d4273c31e add prestige ranking and bonus from subsidy
also fix a couple bugs in coin collection scoring
2020-11-26 19:48:41 +00:00
xiphon
a9cd5d914e cryptonote_core: dandelion - use local height or median height if syncing 2020-11-25 01:27:42 +00:00
Crypto City
17c5370398
wallet2: check imported multisig curve points are in main subgroup 2020-11-24 16:25:35 +00:00
Crypto City
9d24044370 rpc: add a cc_get_stats RPC 2020-11-22 23:25:50 +00:00
Crypto City
cf6a626937 auction creation and bidding, auction flags on mortgage default 2020-11-22 23:25:50 +00:00
Crypto City
95fc22b372 cc: add missing event when giving a flag 2020-11-22 23:25:50 +00:00
Crypto City
d726c70317 cc: remove duplicate check in give command 2020-11-22 23:25:50 +00:00
Crypto City
fd025cc295 cc: check all referenced states exist 2020-11-22 23:25:50 +00:00
Crypto City
70420f0c3d cc: fix missing != condition 2020-11-22 23:25:50 +00:00
Crypto City
e6e0be698d game: print running script name on window title 2020-11-22 23:25:50 +00:00
Crypto City
d8362d78eb fix script command revert 2020-11-22 23:25:50 +00:00
Crypto City
d5ebfbc092 blockchain: fix random seed when popping commands 2020-11-22 23:25:50 +00:00
Crypto City
91d09e545e More script work, especially with blob deduplication 2020-11-22 23:25:50 +00:00
Crypto City
b2b89c6d00 cc: fix init actions indent in generated code 2020-11-22 23:25:50 +00:00
Crypto City
12f8afbff5 cc: add random script operand 2020-11-22 23:25:50 +00:00
Crypto City
562396990f cc: fix string overrides being lost on script choice revert 2020-11-22 23:25:50 +00:00
Crypto City
6ecd8bf054 fix multiple changes to the same variable in scripts 2020-11-22 23:25:50 +00:00
Crypto City
551b339226 game: fix crash cycling through buildings 2020-11-22 23:25:50 +00:00
Crypto City
1def4cd6da cc: fix roadworks discoveries not giving expected bonuses 2020-11-22 23:25:50 +00:00
Crypto City
d7996c99cf game: fix integer overflow in payout estimation 2020-11-22 23:25:50 +00:00
Crypto City
49b4385eae cc: more accurate payout determination 2020-11-22 23:25:50 +00:00
Crypto City
ba682aa23f game: link local script variables to widget ids 2020-11-22 23:25:50 +00:00
Crypto City
fb02b0b0de cc: add a temperature calculation cache
since it queries a largeish number of database entries
2020-11-22 23:25:50 +00:00
Crypto City
ca1d37ba7d cc: add temperature to script operands 2020-11-22 23:25:50 +00:00
Crypto City
0197fc9abd game: do not show custom items with 0 supply in the trade screen 2020-11-22 23:25:50 +00:00
Crypto City
7c82e82247 make a function to check for restricted command types 2020-11-22 23:25:49 +00:00
Crypto City
fe7d6566d6 blockchain_import: fix typo 2020-11-22 23:25:49 +00:00
Crypto City
182863edc9 blob deduplication for scripts 2020-11-22 23:25:49 +00:00
Crypto City
3f71a7f3a3 WIP - wallet2: check imported multisig curve points are in main subgroup 2020-11-22 23:25:49 +00:00
Crypto City
a1e5a056cd cc: decrease military influence 2020-11-22 23:25:49 +00:00
Crypto City
16157bea87 remove JSON scripts, keep only custom format 2020-11-22 23:25:49 +00:00
Crypto City
60a6a6bf5c cc: add player operand, change "discovered by player" to "disdcoverer" 2020-11-22 23:25:49 +00:00
Crypto City
d1b06977dd cc: add ternary expression operand to scripts 2020-11-22 23:25:49 +00:00
Crypto City
7bad65991c cc: every script state can now have actions 2020-11-22 23:25:49 +00:00
Crypto City
628c459c87 game: fix cancelling set global variable screen preventing further use 2020-11-22 23:25:49 +00:00
Crypto City
f6498b3f05 db_lmdb: set last service height to current height on construction 2020-11-22 23:25:49 +00:00
Crypto City
7ccfa9a3ed script overrides
Strings and locals can be set to be parameterized
2020-11-22 23:25:49 +00:00
Crypto City
6fefb08447 cc: tweak mountaineer badge thresholds and express them in meters 2020-11-22 23:25:49 +00:00
Crypto City
e263542943 game: view script source button, and confirmation for new scripts 2020-11-22 23:25:49 +00:00
Crypto City
7ef0b0a422 fix off by one between command dry run and block verification 2020-11-22 23:25:49 +00:00
Crypto City
4449bbc0a4 db_lmdb: remove leftover debug trace 2020-11-22 15:27:07 +00:00
Crypto City
4dd1ed8458 wallet: add carve runestone command RPC 2020-11-22 15:27:07 +00:00
Crypto City
f1076b279f cc: a few script fixes, and remove not (simplifies grammar) 2020-11-22 15:27:07 +00:00
Crypto City
9ff58f684f scripts can now be attached to runestones 2020-11-22 15:27:07 +00:00
Crypto City
36d7937143 cc: fix scripts comments 2020-11-22 15:27:07 +00:00
Crypto City
a9c3979936 add a load_script function, which detects and loads the right format 2020-11-22 15:27:07 +00:00
Crypto City
d9b8b6dc84 weed out zero entries in a few maps (budget, inventory, attributes) 2020-11-22 15:27:07 +00:00
Crypto City
15a65eeb3f cc: add account data lookup, previously lost somehow 2020-11-22 15:27:07 +00:00
Crypto City
8368ca212e daemon: add special event in cc_get_city output 2020-11-22 15:27:07 +00:00
Crypto City
70420b9b4b daemon: display merged mined flag in print_bc 2020-11-22 15:27:07 +00:00
Crypto City
dc8f5c7d16 game: only show materials we have the backing items for 2020-11-22 15:27:07 +00:00
Crypto City
8c40728115 change firefighting to service when appropriate 2020-11-22 15:27:07 +00:00
Crypto City
04f467def6 runestones
Currently only a player written message
2020-11-22 15:27:07 +00:00
Crypto City
abc6e85063 cc: add public keyword to scripts 2020-11-22 15:27:07 +00:00
Crypto City
6be6793027 rpc: fix mortgaged flag typo 2020-11-22 15:27:07 +00:00
Crypto City
36cb7e47f5 wallet2: fix loading a bad game account taking a block to recover 2020-11-22 15:27:07 +00:00
Crypto City
d994c57ddd db_lmdb: remove obsolete code 2020-11-22 15:27:07 +00:00
Crypto City
96a88bc868 script_analyzer: allow loading from a binary hex dump 2020-11-22 15:27:07 +00:00
Crypto City
722fabc6d3 Higher economic powers now depend on civil engineering discoveries 2020-11-22 15:27:07 +00:00
Crypto City
be32085cdd game: allow lowering a loaded model below base height 2020-11-22 15:27:07 +00:00
Crypto City
45fca36815 cc: fix really bad cache thrashing in terrain generation
It'd trigger when selecting a new random seed several times
when founding a city
2020-11-22 15:27:07 +00:00
Crypto City
6b25fb4622 game: avoid 0 amount entries in budget 2020-11-22 15:27:07 +00:00
Crypto City
c6824a9053 cc: fix flag budget miscounting in build command 2020-11-22 15:27:07 +00:00
Crypto City
084940b9ff game: allow searching for a flag by name, and clean up flag ui a bit 2020-11-22 15:27:07 +00:00
Crypto City
f087460302 game: fix flag outline colours when owner changes 2020-11-22 15:27:06 +00:00
Crypto City
402d9ce769 land can now be given 2020-11-22 15:27:06 +00:00
Crypto City
cb40955cc6 new custom language for scripts 2020-11-22 15:27:06 +00:00
Crypto City
7cd333413d cc: add city to script attributes, rename num flags/discoveries 2020-11-22 15:27:06 +00:00
Crypto City
1b333e6a91 give salted meat for hunts if the meat salting discovery is enabled 2020-11-22 15:27:06 +00:00
Crypto City
1d762cfafa db_lmdb: canonicalize flags order 2020-11-22 15:27:06 +00:00
Crypto City
933046c95d simpler large game update test 2020-11-22 15:27:06 +00:00
Crypto City
021a6ee24c cc: moose regenerate a little faster in a fauna hotspot 2020-11-22 15:27:06 +00:00
Crypto City
9e252338aa discoveries can now be locked until a global variable is set 2020-11-22 15:27:06 +00:00
Crypto City
b867683a06 game: fall twice faster in walker mode, less annoying 2020-11-22 15:27:06 +00:00
Crypto City
2e66940f19 game: warn about close link misses in building settings screen 2020-11-22 15:27:06 +00:00
xiphon
0363476ee3 rpc: get_info - add 'synchronized' field 2020-11-19 12:51:31 +00:00
Lee Clagett
b10878f108 Change Dandelion++ fluff probability to 20%, and embargo timeout to 39s
A 20% fluff probability increases the precision of a spy connected to
every node by 10% on average, compared to a network using 0% fluff
probability. The current value (10% fluff) should increase precision by
~5% compared to baseline.

This decreases the expected stem length from 10 to 5. The embargo
timeout was therefore lowered to 39s; the fifth node in a stem is
expected to have a 90% chance of being the first to timeout, which is
the same probability we currently have with an expected stem length of
10 nodes.
2020-11-17 21:45:37 -05:00
xiphon
aaf837cf5f rpc: skip non-synced bootstrap daemons in --no-sync mode too 2020-11-17 23:15:36 +00:00
Howard Chu
91fd634768
Better log message for unusable anon networks 2020-11-16 12:36:37 +00:00
Lee Clagett
d73cb95dfa Fix timeout checks for forwarded and Dandelion++ stem txes 2020-11-15 00:08:10 -05:00
xiphon
5569a8e426 rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P 2020-11-15 03:13:07 +00:00
xiphon
2c668940cd wallet_api: TransactionHistory - fill unconfirmed out payments dests 2020-11-14 14:09:07 +00:00
Howard Chu
3247f11638
Silence stupid warnings 2020-11-11 02:34:14 +00:00
Crypto City
e6552b0261 halve basic residential same type bonus, they're cheap 2020-11-10 18:17:43 +00:00
Crypto City
34352a78ea game: show deactivation/bonus/penalty messages in building settings 2020-11-10 18:17:43 +00:00
Crypto City
36d0723ef7 game: fix display of influence penalties 2020-11-10 18:17:43 +00:00
Crypto City
aec7c8c70f cc: add min size for commercial buildings 2020-11-10 18:17:43 +00:00
Crypto City
e296c71734 cc: add discovery related conditions to scripts 2020-11-10 18:17:43 +00:00
Crypto City
6e3538620c game: make the console text selectable 2020-11-10 18:17:43 +00:00
Crypto City
0cbf664a53 cc: safety check for influence modifier 2020-11-10 18:17:43 +00:00
Crypto City
a7f53e32b4 game: allow rotating a loaded model 2020-11-10 18:17:43 +00:00
Crypto City
8687b9773f remove remnants of obsolete resource availability 2020-11-10 18:17:43 +00:00
Crypto City
fb04ef804c temperature now drops with altitude 2020-11-10 18:17:43 +00:00
woodser
ee58f4f766 Balance includes unconfirmed payments 2020-11-06 15:08:43 -05:00
Lee Clagett
be84f678b9 Switch to Dandelion++ fluff mode if no out connections for stem mode 2020-11-03 13:58:14 -05:00
moneromooo-monero
f9527e608e
protocol: reject empty incoming block messages 2020-11-03 12:59:36 +00:00
moneromooo-monero
1f04a3186b
p2p: use /16 filtering on IPv4-within-IPv6 addresses
IPv6 addresses include a range that can map IPv4 addresses,
which allowed those mapped addresses to bypass filtering.

This filter should be replaced by AS filtering at some point.
2020-11-03 00:46:07 +00:00
Crypto City
0ecb5a7a0b cc: improve terrain 2020-11-02 19:10:00 +00:00
Crypto City
9f890cda25 game: fix assert in TB font renderer in debug mode 2020-11-02 01:10:39 +00:00
Crypto City
25094d296b game: don't show give gold/items buttons for the current player 2020-11-02 00:03:57 +00:00
Crypto City
4b7ec81ff2 daemon: print time to next update in cc_date 2020-11-01 23:13:15 +00:00
Crypto City
6e10369f9f game: add a command to extent the selection to the max possible 2020-11-01 22:12:31 +00:00
Crypto City
98d4ae7c2b land cost now costs more near the city center and far away
also fix overflows in land/tax cost
2020-11-01 17:34:31 +00:00
Crypto City
b0bbb69cdf more work on scripts
exit states with no choices, init commands when starting a script,
per player script local variables, and a few fixes
2020-11-01 17:34:30 +00:00
Crypto City
0d28f8f2de add new marble texture and material variants 2020-11-01 17:34:30 +00:00
Crypto City
92538d4994 game: add some bark material variants 2020-11-01 17:34:30 +00:00
Crypto City
2596aa1164 Add new pine texture and variants 2020-11-01 17:34:30 +00:00
Crypto City
0cceb2ad11 game: lazy evaluation of map data in previews 2020-11-01 17:34:30 +00:00
Crypto City
252b631e73 cc: simplify get_operand_string 2020-11-01 17:34:30 +00:00
Crypto City
bb1c41fdb0 cc: limit add/sub/mul/min/max to 2 operands for simplicity 2020-11-01 17:34:30 +00:00
Crypto City
b35b2ec098 cc: actions now have an operand rather than just a value 2020-11-01 17:33:55 +00:00
Crypto City
f44f6de8d6 make CC_NO_EXTERNAL_DEPS a cmake define 2020-11-01 17:33:55 +00:00
Crypto City
4bcee1aa18 add flavour text for scripts when a choice is made 2020-11-01 17:33:55 +00:00
Crypto City
ce6d459a72 Revert "disable incomplete scripts and mortgages"
This reverts commit 53febe86a5.
2020-11-01 17:33:55 +00:00
Crypto City
fa9a377279 add player script variables 2020-11-01 17:33:55 +00:00
Crypto City
7efea10d17 add compound expressions to scripts, and some more functions 2020-11-01 17:33:55 +00:00
Crypto City
a87452d088 bump version to 0.24.0.2 2020-11-01 17:05:55 +00:00
Crypto City
957fdaf3a1 game: fix crash when a building is demolished 2020-11-01 17:05:55 +00:00
Crypto City
6a847cc588 disable dandelion 2020-11-01 16:47:20 +00:00
Crypto City
36f93c0c9d game: reset queued commands list when changing wallets 2020-11-01 16:47:20 +00:00
Crypto City
af1558329d game: fix crash reading reserves 2020-11-01 16:47:20 +00:00
Crypto City
9e4ae4f8cd cc: fix missing logs for tick consumption 2020-11-01 16:47:20 +00:00
Crypto City
dec210c823 crypto: fix low hash rate with multiple threads on windows 2020-11-01 16:47:20 +00:00
Crypto City
6d27eeca02 db_lmdb: remove leftover merge mining debug log 2020-11-01 16:47:20 +00:00
Crypto City
13ca0bd52c fix mac build 2020-11-01 16:47:20 +00:00
Crypto City
88538d8a74 db_lmdb: remove empty reserves 2020-11-01 16:47:20 +00:00
Crypto City
bc18b1d314 game: fix balance calculation from reserves 2020-11-01 16:47:19 +00:00
Crypto City
1290bfb6e5 db_lmdb: fix reserve loading 2020-11-01 16:47:19 +00:00
Crypto City
371bb437cd bump version to 0.24.0.1 2020-10-31 12:40:51 +00:00
Crypto City
a97da78821 chat: use a standard strftime format string 2020-10-30 11:37:01 +00:00
Lee Clagett
aad780bcfa Fix CLI and unrestricted RPC relay_tx with stempool 2020-10-29 00:17:55 -04:00
Howard Chu
65903d2cfc
Add rpc-restricted-bind-ip option
Fixes #6369
2020-10-29 00:22:18 +00:00
mj-xmr
8a282f64c9 Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr)
Add monero_add_minimal_executable and use in tests

This is done in order not to have to relink targets, when just an .so changed, but not its interface.
2020-10-28 20:08:26 +01:00
moneromooo
cb069d0a42
p2p: remove banned peers from the white list 2020-10-27 22:35:14 +00:00
Crypto City
2cc0d846ba fix link issues on windows 2020-10-27 19:47:43 +00:00
Crypto City
6f9df12621 bump version to 0.24.0.0 2020-10-27 11:43:17 +00:00
Crypto City
d410df436d chat: add console in-game chat 2020-10-26 22:25:11 +00:00
Crypto City
3f54fed776 wallet: add a convenience get_cc_account_name 2020-10-26 22:05:27 +00:00
Crypto City
4e884b3213 game: cut down a little on unnecessary reallocs 2020-10-26 17:31:10 +00:00
Crypto City
d4af84717e game: make view distance configurable 2020-10-26 17:31:10 +00:00
Crypto City
9f39f612cb game: add turn rate config 2020-10-26 14:04:51 +00:00
Crypto City
e349e5694e give higher level woods more heating power 2020-10-26 13:09:35 +00:00
Crypto City
8a307f1ffe cc: fix commercial buildings wood requirements 2020-10-26 13:09:35 +00:00
Crypto City
c86cb09b03 game: fix min size check when resizing 2020-10-26 13:09:35 +00:00
Crypto City
7f55398eb6 game: fix building screen sorting 2020-10-26 13:09:35 +00:00
Crypto City
4dbf989058 txpool: outright reject txes with cancelled nonces 2020-10-26 13:09:35 +00:00
Crypto City
02dae201d9 Add "%" to bonus/penalty messages 2020-10-26 13:09:35 +00:00
Crypto City
f2820ddc40 game: add a key binding to open the player screen 2020-10-26 13:09:35 +00:00
Crypto City
3c6bdf59d2 cc: change stone quantity potential formula 2020-10-26 13:09:35 +00:00
Crypto City
46b30ec784 cc: make gemstones a bit harder to find 2020-10-26 13:09:35 +00:00
Crypto City
1698244761 game: add crop/yield to building screen 2020-10-26 13:09:35 +00:00
Crypto City
99400c0b07 make road bonus affect production 2020-10-26 13:09:35 +00:00
Crypto City
95cbfe68fa cc: take influence bonuses/penalties into account for production 2020-10-26 13:09:35 +00:00
Crypto City
08433773e1 cc: make bonuses/penalties size dependent on role 2020-10-26 13:09:35 +00:00
Crypto City
fa4659c213 add a new oak texture and associated materials 2020-10-26 13:09:35 +00:00
Crypto City
3e8eb30930 game: allow displaying several potential maps at once 2020-10-26 13:09:35 +00:00
Crypto City
d06fda645b game: speed up gathering all flags 2020-10-26 13:09:35 +00:00
Crypto City
ec3afc3bbc game: move thermometer to the left when the calendar is off 2020-10-26 13:09:35 +00:00
Crypto City
4883d85894 game: fix demolishing building right after creating it 2020-10-26 13:09:35 +00:00
Crypto City
3fbc87ce06 game: sanity checks on reading/writing config file
and don't use MessageBox before the graphics are all initialized
2020-10-26 13:09:35 +00:00
Crypto City
ae5c4f81a4 cc: fix amythyst typo 2020-10-26 13:09:35 +00:00
Crypto City
70126a3d6e merge_mining_proxy: this is a Townforge program, using Monero 2020-10-26 13:09:35 +00:00
Crypto City
155003f35a cc: new stone type potential formula, easier to get marble areas 2020-10-26 13:09:35 +00:00
Crypto City
f7c4bdd0cd game: keep model being modified unpacked for speed 2020-10-26 13:09:35 +00:00
Crypto City
aa6ca84779 game: add user toggled light source at player position 2020-10-26 13:09:35 +00:00
Crypto City
52b6269ce5 game: tesselate more to avoid bad lighting artefacts 2020-10-26 13:09:35 +00:00
Crypto City
e2a5c8f37a cc: avoid some memory reallocations 2020-10-26 13:09:35 +00:00
Crypto City
d21ed9944f game: add "blocks till next update" line in the calendar section 2020-10-26 13:09:35 +00:00
Crypto City
350abd03f5 game: s/money/gold/ where appropriate 2020-10-26 13:09:35 +00:00
Crypto City
d521da6d4c game: allow editing models on someone else's flag
They can't be saved to the chain, but allows for outsourcing model work
2020-10-26 13:09:35 +00:00
Crypto City
53febe86a5 disable incomplete scripts and mortgages 2020-10-26 13:09:35 +00:00
Crypto City
7bc1a730f8 game: double clicks in the inventory open the trade window 2020-10-26 13:09:35 +00:00
Crypto City
49e57a5c4a cc: make discoveries 4 times as expensive 2020-10-26 13:09:35 +00:00
Crypto City
e40212a683 cc: make marble easier to get 2020-10-26 13:09:35 +00:00
Crypto City
ee2e842d1b game: add keys for prev/next flag, optionally within same role 2020-10-25 18:47:27 +00:00
Crypto City
5145004ee9 game: clear selection when jumping to a building
It looks cleaner and avoids the rebuilding and associated pause
2020-10-25 18:47:27 +00:00
Crypto City
801aea80b3 core: remove used nonce hack 2020-10-25 18:47:27 +00:00
Crypto City
691cc6b2b9 game: keep Flag packed data, add dirty flag to save needless repacking 2020-10-25 18:47:27 +00:00
Crypto City
751489aadc misc balance changes 2020-10-25 18:47:27 +00:00
Crypto City
2977d5b2ae cc: increase staff cost and road decay rate 2020-10-25 18:47:27 +00:00
Crypto City
18e632cf46 game: add food/heating in buildings screen
instead of vegetables/grain/meat
2020-10-25 18:47:27 +00:00
Crypto City
d104fd56a1 game: speed up building approval 2020-10-25 18:47:27 +00:00
Crypto City
e0c4666487 game: fix removing hidden blocks removing a bit too much 2020-10-25 18:47:27 +00:00
Crypto City
4ed8800289 game: import model to the whole flag when a single tile is selected 2020-10-25 18:47:27 +00:00
Crypto City
a0aa72df14 serialize a few vectors of PODs as blobs 2020-10-25 18:47:27 +00:00
Crypto City
0fa52472d6 game: improve the Tile small size optimization
Tile can store almost twice as much without allocation
2020-10-25 18:47:27 +00:00
Crypto City
768031cb96 game: speed up loading history and latest update dialogs 2020-10-25 18:47:27 +00:00
Crypto City
f2808a6a39 more tile size optimization
Tiles are now stored as a single packed byte stream,
including in the game, and unpacked/repacked as necessary
2020-10-25 18:47:26 +00:00
Crypto City
32a0e74383 game: reorder Flag structure to save a few bytes 2020-10-22 18:59:00 +00:00
Crypto City
44e3632dbd game: remove obsolete building side effects code 2020-10-22 18:59:00 +00:00
Crypto City
7ad99aa610 prevent randomx seed hash reuse after enough time 2020-10-22 18:59:00 +00:00
luigi1111
8b3b106ad1
Merge pull request #6902
70eb0d1 wallet2_api: implement stop() to interrupt refresh() loop once (xiphon)
2020-10-21 22:57:42 -05:00
Crypto City
9fde4dcc89 merge_mining_proxy: remove a couple unused dependencies 2020-10-21 02:20:27 +00:00
Crypto City
f821cb4dd3 cryptonote_basic: clear aux_header on load when appropriate 2020-10-20 23:32:01 +00:00
selsta
aad2f87a53
net_node: add --ban-list option 2020-10-20 19:39:44 +02:00
moneromooo-monero
874487fed8
blockchain: remove some dead code
This is already done
2020-10-20 16:50:36 +00:00
moneromooo-monero
cc034fe0c3
util: fix escaping more than one ?* in glob_to_regex 2020-10-20 16:46:53 +00:00
Crypto City
84a97ba2b0 game: reigster to events on the sound source's node, not itself 2020-10-20 13:40:36 +00:00
SChernykh
a25bc71f3f Make Blockchain::get_fee_quantization_mask() compile time
This also removes potential thread safety bug in that function.
2020-10-20 14:16:09 +02:00
Crypto City
e3ff8dc659 db_lmdb: rewrite tile storage to save a lot of space 2020-10-20 10:09:04 +00:00
Crypto City
2a48ed0f23 make finding a flag from coordinates not rely on cc_tiles anymore 2020-10-20 09:22:43 +00:00
Crypto City
8fc12d80ec cc: RLE compress tile data for derelict/defaulted buildings 2020-10-20 00:27:50 +00:00
Nathan Dorfman
f1836ac28a cryptonote_core: Fix missing override warnings 2020-10-19 18:23:07 -06:00
Crypto City
8f675bc542 urho3d: update to latest urho3d 2020-10-19 19:54:17 +00:00
Crypto City
7dc742b813 blockchain: simplify variable size data records 2020-10-19 16:35:53 +00:00
Lee Clagett
2abdbf63cf Add support for i2p and tor seed nodes 2020-10-19 13:13:07 +00:00
Crypto City
8e4156592b s/monero/gold/ for amount units 2020-10-19 12:17:51 +00:00
Crypto City
be1307c3a4 s/TownForge/Townforge/ 2020-10-19 12:17:51 +00:00
Crypto City
34a4d2b618 fixes after monero merge 2020-10-19 12:17:51 +00:00
Alexander Blair
faedcded39
Merge pull request #6891
4cf3545a3 core_rpc_server: on_get_blocks - forward bootstrap daemon error (xiphon)
2020-10-18 23:26:17 -07:00
Alexander Blair
8e3f46dd0a
Merge pull request #6881
11b20229c tx_pool: silence spammy harmless warning till we fix the bug (moneromooo-monero)
2020-10-18 23:25:54 -07:00
Alexander Blair
142489bd60
Merge pull request #6882
fcbfb0a00 wallet2: fix missing m_state field in wallet serialization (moneromooo-monero)
2020-10-18 23:25:32 -07:00
Alexander Blair
543d600042
Merge pull request #6875
a12a8174e Dandelion++: skip desynced peers in stem phase (xiphon)
2020-10-18 23:25:08 -07:00
xiphon
fc2f97177b wallet2: wait for propagation timeout before marking tx as failed 2020-10-18 14:00:56 +00:00
moneromooo-monero
c67fa32496
bump default number of connections from 8 to 12 2020-10-18 13:25:05 +00:00
Howard Chu
b7dd8349f4
Allow setting start block on export
And make import honor the starting block# recorded in a bootstrap file
2020-10-18 14:01:44 +01:00
Alexander Blair
519740a1d3
Merge pull request #6905
88fde0309 blockchain: fix sync at v14 boundary (moneromooo-monero)
2020-10-18 05:51:43 -07:00
moneromooo-monero
88fde0309a
blockchain: fix sync at v14 boundary
Miners with MLSAG txes which they'd already verified included
a couple in that block, but the consensus rules had changed
in the meantime, so that block is technically invalid and any
node which did not already have those two txes in their txpool
could not sync. Grandfather them in, since it has no effect in
practice.
2020-10-18 11:52:33 +00:00
Crypto City
43b8112c1e Merge branch 'master' into cc 2020-10-18 00:33:51 +00:00
Crypto City
9ab3f422a6 rpc: add merged_mined flag to block header response data 2020-10-17 23:30:31 +00:00
Crypto City
cb353a875d daemon: include nonce to txid map in print_pool 2020-10-17 23:30:31 +00:00
Crypto City
6d974e2adc cc: fix labour supply accounting when hunting 2020-10-17 23:30:31 +00:00
Crypto City
2880e5fc69 cc: remove obsolete redundant check 2020-10-17 23:30:31 +00:00
Crypto City
da5d2a429a fix a few niggles with broken assert_exception in functional tests 2020-10-17 23:30:31 +00:00
Crypto City
4a84a63f34 game: add optional message in select items dialog 2020-10-17 23:30:31 +00:00
Crypto City
29fa6c7222 wood can now be chopped into firewood 2020-10-17 23:30:30 +00:00
Crypto City
c04f132b53 cc: decrease most special event durations 2020-10-17 23:30:30 +00:00
Crypto City
b8a84f7680 cc: validate name before looking up in the db 2020-10-17 23:30:30 +00:00
Crypto City
46e4dc0878 cc: fix underflow in game update 2020-10-17 23:30:30 +00:00
Crypto City
029ecc635f game: add a "jump to building" key 2020-10-17 23:30:30 +00:00
Crypto City
0ee762a550 cc: substantially decrease flood/earthquake damage 2020-10-17 23:29:26 +00:00
Crypto City
3e3b062c19 WIP - mortgages 2020-10-17 23:29:26 +00:00
Crypto City
7b51ad56bc WIP - mortgages 2020-10-17 23:29:26 +00:00
Crypto City
9b291c45b3 WIP - mortgages 2020-10-17 23:29:26 +00:00
Crypto City
f7bd04fc12 remove custom item amount field, it is now redundant
since we track supply for all items
2020-10-17 23:29:26 +00:00
Crypto City
9586a32958 WIP - mortgages 2020-10-17 23:29:26 +00:00
Crypto City
12e21aa279 game: enable resize button only when selected area meets min size 2020-10-17 23:29:26 +00:00
Crypto City
8561d703cf game: save font size in config 2020-10-17 23:29:26 +00:00
Crypto City
09069fafc9 game: add frame rate limiter options 2020-10-17 23:28:43 +00:00
Crypto City
b033e75db0 add more user data space to custom items 2020-10-17 23:28:43 +00:00
Crypto City
5710bb74dd WIP - scripts 2020-10-17 23:28:43 +00:00
Crypto City
96f34d22cb game: print range/bonus in dice roll notification 2020-10-17 23:28:43 +00:00
Crypto City
c8ed208089 game: add number of players invited in the player screen 2020-10-17 23:28:43 +00:00
Crypto City
3e637ecf29 bump version to 0.23.1.6 2020-10-17 21:29:36 +00:00
Crypto City
689790d350 merge_mining_proxy: notify miner when a new block template is needed 2020-10-17 21:28:48 +00:00
Crypto City
6c8b3841ae merge_mining_proxy: fix rejects when mining fast 2020-10-17 21:28:48 +00:00
Crypto City
d0acc313b7 blockchain: fix checking for more than one merge mining tag 2020-10-17 21:28:48 +00:00
Crypto City
698066afcc daemon: add cc_orders command to show trade orders for an item 2020-10-17 21:28:48 +00:00
Crypto City
e6d4e9e009 cc: fix dividend item summation 2020-10-17 21:28:48 +00:00
Crypto City
bfba522682 game: don't offer assigning items other than materials/labour to flags 2020-10-17 21:28:48 +00:00
Crypto City
4988ccc193 crypto: fix build on windows 2020-10-17 21:27:31 +00:00
Crypto City
51c1e14daa game: fix deadlock refreshing 2020-10-17 21:27:31 +00:00
xiphon
70eb0d1844 wallet2_api: implement stop() to interrupt refresh() loop once 2020-10-17 02:56:15 +00:00
Crypto City
25dad9785e bump version to 0.23.1.5 2020-10-16 20:15:31 +00:00
Crypto City
f379cc35c6 core: fix syncing alt chains with merge mined blocks 2020-10-16 20:14:25 +00:00
Crypto City
21a68d7023 game: fix dividend dialog selection between gold and item 2020-10-16 20:14:25 +00:00
Crypto City
9485a9afc0 blockchain: fix mining invalid blocks due to trade txes 2020-10-16 20:14:25 +00:00
Lee Clagett
13350f79df Do not use peer_id tracking method over i2p/tor 2020-10-15 16:47:59 +00:00
moneromooo-monero
aaa3289e22
add more updates domains and make the voting generic, not just 2/3 2020-10-15 14:06:44 +00:00
xiphon
593ae2e9f9 device: Ledger - update status codes 2020-10-13 22:53:19 +00:00
luigi1111
e503688a6b
Merge pull request #6828
1b3f220 Allow AddressBook description edits via wallet/api interface (xmrdsc)
2020-10-13 10:39:05 -05:00
xiphon
ec14e4b8cd wallet2: skip reorgs exceeding max-reorg-depth wallet setting 2020-10-13 15:23:35 +00:00
Crypto City
aad0d3bfba better fix for sync failure on aux pow blocks 2020-10-13 14:07:24 +00:00
Alexis Enston
b49f48962b fix next_seed_height regression in getblocktemplate rpc 2020-10-13 11:07:59 +01:00
xiphon
4cf3545a31 core_rpc_server: on_get_blocks - forward bootstrap daemon error 2020-10-13 00:44:59 +00:00
Crypto City
6a80df2269 bump version to 0.23.1.4 2020-10-13 00:33:49 +00:00
Crypto City
b300b7ba81 fix syncing on historical merged mined blocks
It is not clear yet why the locking changes are necessary
2020-10-13 00:32:50 +00:00
xiphon
ad7ea2c60c core_rpc_server: on_send_raw_tx - fix bootstrap daemon mode check 2020-10-12 23:49:37 +00:00
moneromooo-monero
fcbfb0a00a
wallet2: fix missing m_state field in wallet serialization 2020-10-12 15:35:52 +00:00
moneromooo-monero
11b20229c9
tx_pool: silence spammy harmless warning till we fix the bug 2020-10-12 14:07:40 +00:00
xiphon
a12a8174e0 Dandelion++: skip desynced peers in stem phase 2020-10-12 13:44:06 +00:00
Crypto City
8ae9559324 cc: fix invalid memory access in build execution 2020-10-11 22:31:01 +00:00
Crypto City
b1426aec41 bump version to 0.23.1.3 2020-10-11 10:40:38 +00:00
moneromooo-monero
e3df4df020 p2p: add --max-connections-per-ip daemon option
Helps daemons behind a proxy get more than one connection.
Defaults to 1 (no change)
2020-10-11 10:37:30 +00:00
Crypto City
93821eb201 game: select wanted item in trade screen called from building settings 2020-10-11 10:37:30 +00:00
Crypto City
e3e2180335 game: fix possible crash in trade screen 2020-10-11 10:36:58 +00:00
Crypto City
c1793c3a23 fix ghost trade orders when cancelling 2020-10-11 10:36:58 +00:00
Crypto City
8cfdde7bf9 tx_pool: don't reset chat receive time, we have a timestamp 2020-10-11 10:36:58 +00:00
Crypto City
17750a7b42 daemon: print_pool_commands now takes optional account and/or type 2020-10-11 10:36:17 +00:00
Crypto City
3aed44b2bf daemon: add cc_chat command (read only chat viewer) 2020-10-11 10:34:56 +00:00
Lee Clagett
7414e2bac1 Change epee binary output from std::stringstream to byte_stream 2020-10-10 15:28:40 +00:00
Crypto City
8e2b1dbfb3 merge_mining_proxy: fix mining with unpatched xmrig 2020-10-10 12:32:57 +00:00
Crypto City
3187406dba game: fix submitting imported model with palette changes 2020-10-10 01:02:28 +00:00
Crypto City
112c477953 rpc: fix merge mining 2020-10-10 00:43:02 +00:00
Crypto City
71944aaaae merge_mining_proxy: fix merge mining 2020-10-10 00:43:02 +00:00
Crypto City
61e306fe08 bump version to 0.23.1.2 2020-10-09 16:10:35 +00:00
Crypto City
3c8012010a rpc: fix sell trades not showing up in the game 2020-10-09 00:27:44 +00:00
Crypto City
b7b7c007fd tx_pool: fix flush_nonce throwing when a nonce is not found 2020-10-08 23:21:04 +00:00
Crypto City
3f71c58ab6 fix more boost deps for -j builds 2020-10-08 23:21:04 +00:00
Crypto City
17a88d019d blockchain: fix game update check
It's already checked in validate_miner_transaction, when the block
height is not incremented yet
2020-10-08 15:13:46 +00:00
Crypto City
450e73ca71 core: fix duplicate create account commands causing invalid blocks 2020-10-08 13:10:24 +00:00
Lee Clagett
386ef03be3 Add TLSA support to DNSSEC fetching 2020-10-07 15:43:31 +00:00
Crypto City
ea8c886f39 bump version to 0.23.1.1 2020-10-07 01:00:25 +00:00
Crypto City
0b7cda7376 game: decrease keyboard turn speed 2020-10-07 01:00:25 +00:00
Crypto City
11a51d7b05 blockchain: temporary hack to sync the current borked chain 2020-10-07 00:54:18 +00:00
Crypto City
a8120eb555 blockchain: fix cancelled nonce check 2020-10-07 00:54:18 +00:00
Crypto City
bf409eba42 game: fix static build on mac 2020-10-07 00:54:18 +00:00
Crypto City
6606feae8a rpc: fix flags/cities trades being unmatchable in game 2020-10-07 00:54:18 +00:00
Crypto City
5aceb60aa0 game: fix thermometer showing up on startup even when disabled 2020-10-07 00:54:17 +00:00
Crypto City
c7fd697fd5 game: merge palettes when importing a model 2020-10-07 00:54:17 +00:00
Crypto City
aaefd007f3 game: fix model placement ui not disppearing when cancelled 2020-10-07 00:54:17 +00:00
Crypto City
b19fd2f13b game: fix exporting only selection to magica voxel format 2020-10-07 00:54:17 +00:00
Crypto City
b619892c18 cc: print which material variant is locked in build command 2020-10-07 00:54:17 +00:00
Lee Clagett
dff1d8067c Fix tx flush callback queueing 2020-10-06 16:07:49 +00:00
Crypto City
15c3836fdf bump version to 0.23.1.0 2020-10-02 12:39:12 +00:00
Crypto City
04faa7fe0b daemon: print tx hash in print_pool_commands 2020-10-02 12:38:00 +00:00
Crypto City
34065f2b9e daemon: fix printing block as JSON 2020-10-02 12:38:00 +00:00
Crypto City
1ac1b512b9 game: don't print estimated sale price when we don't know it 2020-09-30 21:19:04 +00:00
Crypto City
37b1aadced game: move tile data into a separate structure and pass by shared_ptr
avoids more copies
2020-09-30 21:05:17 +00:00
Crypto City
9786c6115e game: move tiles rather than copy where pushing to the undo stack 2020-09-30 15:35:01 +00:00
Crypto City
fea4a4da7b game: speedup filling up undo stack when building 2020-09-30 13:53:58 +00:00
Crypto City
7c7eec626b cc: speed up rectanglizer a bit 2020-09-30 13:31:16 +00:00
Crypto City
05c4d49159 game: bring panel on top on startup 2020-09-30 00:23:12 +00:00
Crypto City
8b5eeedbad game: speed up auto save a bit 2020-09-30 00:23:12 +00:00
Crypto City
25e6eaeb53 game: fix go to vista adding terrain height 2020-09-30 00:23:12 +00:00
Crypto City
4fcca0a9ed game: make QueuedCommand dtor virtual 2020-09-30 00:23:12 +00:00
Crypto City
666ac7ffcc cmake: fix boost dependency 2020-09-29 20:48:45 +00:00
Crypto City
202e7a35fd bump version to 0.23.0.0 2020-09-29 12:14:10 +00:00
Crypto City
9ead926682 cc: add functions to calculate a coin collection score 2020-09-29 12:14:10 +00:00
Crypto City
13b4b3b7bf cc: tweak role weights for city size purposes 2020-09-29 12:14:10 +00:00
Crypto City
80866b62c4 game: fix teleporting below terrain when in free camera mode 2020-09-29 12:14:10 +00:00
Crypto City
59d1563eac cc: change the labour/high cost function
easier at low heights, harsher at high heights
2020-09-29 12:14:10 +00:00
Crypto City
bd20a169ec functional_tests: more city and game update tests 2020-09-29 12:14:10 +00:00
Crypto City
85fe746683 cc: add missing data for defaulted/derelict buildings in game update 2020-09-28 21:09:07 +00:00
Crypto City
22037bd542 cc: factor distribution to treasuries, and new items now do it too 2020-09-28 21:09:07 +00:00
Crypto City
7190cbcbab game: offset start position slightly
Might help with falling through the floor on traveling to a city
2020-09-28 21:09:07 +00:00
Crypto City
81ac18db00 rewrite city cost function 2020-09-28 21:09:07 +00:00
Crypto City
0f961b5766 cc: bump terrain tile cache from 20 to 32 2020-09-28 21:09:07 +00:00
Crypto City
b327a18dd9 cc: increase min agricultural building size 2020-09-28 21:09:07 +00:00
Crypto City
2a3126740b game: improve building settings screen 2020-09-28 21:09:07 +00:00
Crypto City
d6f17d45f7 game: only display gemstone potential for stonecutters 2020-09-28 21:09:07 +00:00
Crypto City
06fe46a963 cc: some labour/food/heating balance tweaks 2020-09-28 21:09:07 +00:00
Crypto City
a7fc64ed0b add an arbitrary limit for mint batch to avoid overflows 2020-09-28 21:09:07 +00:00
Crypto City
b5ad010f52 cn_deserialize: support block hashing blobs 2020-09-28 21:09:07 +00:00
Crypto City
ef159ea3b4 cc: fix food/labour balance 2020-09-28 21:09:07 +00:00
Crypto City
7e4c421825 cc: double the game account's share from 0.05% to 0.1% 2020-09-28 21:09:07 +00:00
Crypto City
17986a9167 game: initialize level to nothing when awarding event badges 2020-09-28 21:09:07 +00:00
Crypto City
7c99e33a90 blockchain: set balance flag when a tx fails due to balance check 2020-09-28 21:09:07 +00:00
Crypto City
f0feacd249 cc: decrease heating requirements a bit 2020-09-28 21:09:07 +00:00
Crypto City
4d434201a3 game: enable/disable sow/harvest buttons based on current flag crop 2020-09-28 21:09:07 +00:00
Crypto City
8e300911c5 add cautious bears city specialization 2020-09-28 21:09:07 +00:00
Crypto City
4cf39077cd cc: flood does not affect grain production now 2020-09-28 21:09:07 +00:00
Crypto City
694c623384 add high ground city specialization (prevents flooding) 2020-09-28 21:09:07 +00:00
Crypto City
688be95acf cc: make the crop yield less front loaded 2020-09-28 21:09:07 +00:00
Alexander Blair
3cbb44a2fd
Merge pull request #6841
b6c4f8cd5 fix a couple bugs found by OSS-fuzz (moneromooo-monero)
2020-09-27 16:17:17 -07:00
Michal m@lbit Malicki
f4b2382713
rpc_private_headers declaration fix 2020-09-27 13:41:44 +01:00
Crypto City
ec08a634ab game: allow cancelling any command 2020-09-24 19:29:55 +00:00
Crypto City
dcd905c2d6 tx_pool: disable command compatibility checks 2020-09-24 19:29:55 +00:00
Crypto City
274391ea75 tx_pool: tune stuck tx timeouts 2020-09-24 19:29:55 +00:00
Crypto City
101d2dfd38 game: fix parse errors when starting without a config.json 2020-09-24 19:29:55 +00:00
Crypto City
b9f123af2b cc: add 0.2% payout for military buildings
Fire fighting is not going to be enough
2020-09-24 19:29:55 +00:00
Crypto City
b7c431c15e remove cost from buy_land command 2020-09-24 19:29:55 +00:00
Crypto City
9de9ce1e0c game: set seed language when creating a new wallet 2020-09-24 19:29:55 +00:00
Crypto City
542f476d1c game: fix 0 being rejected as an amount in increase attribute screen 2020-09-24 19:29:55 +00:00
moneromooo-monero
b6c4f8cd54
fix a couple bugs found by OSS-fuzz
- index out of bounds when importing outputs
- accessing invalid CLSAG data
2020-09-24 15:30:38 +00:00
Crypto City
ed2fd309f0 bump version to 0.22.1.0 2020-09-20 15:51:32 +00:00
Crypto City
604b33c9a9 cc: halve fire and lightning damage 2020-09-20 15:25:57 +00:00
Crypto City
243a1695bd game: bind arrows keys to look around 2020-09-20 15:22:53 +00:00
Crypto City
8a5fad0de4 cc: fix underflow in crop yield calculation 2020-09-20 15:15:01 +00:00
Crypto City
ce57a5dcc4 game: snappier and synced blockchain and txpool updates 2020-09-20 15:15:01 +00:00
Crypto City
0f6830bca3 wallet: fix get_top_block not refreshing when it should 2020-09-20 14:44:47 +00:00
Crypto City
19b08551e8 game: prevent building on flags which have pending build commands 2020-09-20 14:44:47 +00:00
Crypto City
5ebcd37ece remove a few user visible mentions of monero, replace with Townforge/gold 2020-09-20 14:44:47 +00:00
Crypto City
4fec859c89 simplewallet: remove donate command 2020-09-20 14:44:47 +00:00
xiphon
4846743fdc daemon: Windows - fix FAT32 warning, trailing backslash is required 2020-09-20 13:57:44 +00:00
dsc
64e9526509 Extend TransactionInfo with coinbase and description attributes in wallet/api 2020-09-19 22:54:23 +02:00
dsc
1b3f220251 Allow AddressBook description edits via wallet/api interface 2020-09-19 18:29:46 +02:00
Tadeas Moravec
83da867474
Update error messages in daemon
When given a wrong argument, some daemon commands failed with "unknown
command" error, instead of a meaningful error message. This patch
brings consistency into the error messages.

In several places, this patch removes relatively useful messages,
and replaces them with more generic ones. E.g.,

-    std::cout << "use: print_pl [white] [gray] [<limit>] [pruned]
[publicrpc]" << std::endl;
+    std::cout << "Invalid syntax: Too many parameters. For more
details, use the help command." << std::endl;

There are two reasons for this:

1. Consistency.
2. Removing duplicates.

The detailed information about the parameters is present in
the help messages already. Having it in two places increases
the risk that the messages would get out of date.
2020-09-18 14:04:19 +02:00
Crypto City
aef77f1eb0 bump version to 0.22.0.3 2020-09-17 23:28:00 +00:00
Crypto City
f46121e07b Debug mode override slipped in *again* ffs 2020-09-17 23:28:00 +00:00
Crypto City
22a6a12e96 merge_mining_proxy: add missing include on windows 2020-09-17 22:48:17 +00:00
Crypto City
0c8f2e9be3 bump version to 0.22.0.2 2020-09-17 22:23:30 +00:00
Crypto City
7ef129a23f add missing file 2020-09-17 22:22:53 +00:00
Crypto City
29f735e16a bump version to 0.22.0.1 2020-09-17 22:08:47 +00:00
Crypto City
065c2eb7f2 bump version to 0.22.0.0 2020-09-17 21:37:38 +00:00
Crypto City
8eed0bfb22 game: add a note about the demon running when failing to load a snapshot 2020-09-17 21:37:38 +00:00
Crypto City
324f02ffbf game: fix go to vista from another city 2020-09-17 21:37:38 +00:00
Crypto City
4462d46041 cc: fix influence penalty from military 2020-09-17 21:37:38 +00:00
Crypto City
20e50db01d game: new splash screen 2020-09-17 21:37:38 +00:00
Crypto City
fba627a61b game: keep splash screen aspect ratio 2020-09-17 02:30:44 +00:00
Crypto City
b16689d8c2 cc: add an assert for econonmic power range where underflow matters 2020-09-17 02:30:44 +00:00
Crypto City
f552966bff cc: fix heating needs estimation 2020-09-17 02:30:44 +00:00
Crypto City
7376eec974 game: don't include 0 max materials in building stats message 2020-09-17 02:30:44 +00:00
Crypto City
f243181376 cc: decrease strike labour decrease from 50% to 30% 2020-09-17 02:30:44 +00:00
Crypto City
c8b049353a cc: disable fires until military buildings are enabled 2020-09-17 02:30:44 +00:00
Crypto City
8c5ec7477f cc: fix signedness warnings 2020-09-17 02:30:44 +00:00
Crypto City
d8a3c29b67 cc: increase heating requirements a fair bit 2020-09-17 02:30:44 +00:00
Crypto City
732d6f0c33 daemon: add cc_get_temperature RPC 2020-09-17 02:30:44 +00:00
Crypto City
6eab5d2dc4 daemon: fix harvet typo 2020-09-17 02:30:44 +00:00
Crypto City
6b877b048f game: fix backup restore on sloped terrains and with partial builds 2020-09-17 02:30:44 +00:00
Crypto City
0ac445498e game: auto backup is now per city 2020-09-17 02:30:44 +00:00
Crypto City
11618d665b wallet2: bump timeout for snapshots 2020-09-17 02:30:44 +00:00
Crypto City
41b8c210f5 game: add more selection tweak commands (extend/shrink/move) 2020-09-17 02:30:44 +00:00
Crypto City
a27f5005ab cc: rename settlement coin to Townforge genesis coin 2020-09-17 02:30:44 +00:00
Crypto City
fa64935809 reword a bit to avoid a/an issues with building roles 2020-09-17 02:30:44 +00:00
Crypto City
a389011f3c add new plant breeding discoveries 2020-09-17 02:30:44 +00:00
Crypto City
1b9e7f374b add veined marble materials in various colours 2020-09-17 02:30:44 +00:00
Crypto City
cb927dd47f add some more wood texture variants 2020-09-17 02:30:44 +00:00
Crypto City
63f73ffb14 game: add shadow quality/map size options 2020-09-17 02:30:44 +00:00
Crypto City
67273b1080 wallet_rpc_server: add missing accrual_start_height in trade RPC 2020-09-17 02:30:44 +00:00
Crypto City
4286566df8 cc: fix demolish command budget handling 2020-09-17 02:30:44 +00:00
Crypto City
26596fe686 game: unset selection when switching towns 2020-09-17 02:30:44 +00:00
Crypto City
a064123d00 Revert "cc: halve the number of feature points in terrain generation"
This reverts commit f69a7b5b6b379479263b3afca86430bfa1475d6e.

So people can reimport their buildings in the new version
2020-09-17 02:30:44 +00:00
Crypto City
51994fbff1 cc: bump some materials unlock levels up 2020-09-17 02:30:44 +00:00
Crypto City
c6140ee038 game: don't error out processing commands for flags in another city 2020-09-17 02:30:44 +00:00
Crypto City
4c9fe8fc0e game: do not reset the camera to walker when traveling to a new city 2020-09-17 02:30:44 +00:00
Crypto City
5a67fd0512 blockchain: check any parent nonce is mined before executing 2020-09-17 02:30:44 +00:00
Crypto City
9e8eb036bb game: fix crash importing a model 2020-09-17 02:30:44 +00:00
Crypto City
bf358f3671 blockchain_db: store number of discoveries per account 2020-09-17 02:30:43 +00:00
Crypto City
fca18cd09b game: fix city info always refering to the current city in trade screen 2020-09-17 02:30:43 +00:00
Crypto City
bd3aae69ae game: fix warnings in thermometer size/position calculations 2020-09-17 02:30:43 +00:00
Crypto City
e233e4eb73 cc: disable performers and fad special events for tiny cities 2020-09-17 02:30:43 +00:00
Crypto City
32db30511d game: min panel height on restore, to avoid unusable case 2020-09-17 02:30:43 +00:00
Crypto City
433e308362 game: hopefully fix the randomly disappearing panel shade button 2020-09-17 02:30:43 +00:00
Crypto City
c3cb0cc883 cc: decrease short term random temperature variation 2020-09-17 02:30:43 +00:00
Crypto City
35070e5971 game: fix race condition when refreshing wallet balance 2020-09-17 02:30:43 +00:00
Crypto City
4d90fd28cc game: hide coins which are not mintable anymore in mint screen 2020-09-17 02:30:43 +00:00
Crypto City
b6d25b3ef8 game: fix buggy panel geometry saving/restoring 2020-09-17 02:30:43 +00:00
Crypto City
45a3feabcd cc: make frost damage actually give a penalty when yield is already 0 2020-09-17 02:30:43 +00:00
Crypto City
fdd27879f1 add merge mining with monero 2020-09-17 02:30:43 +00:00
moneromooo-monero
f11531d046 add_aux_pow now adds aux hashes at fixed slots in the aux merkle tree
To protect against mining multiple blocks of a chain with only one PoW
2020-09-16 22:55:06 +00:00
luigi1111
d27d4526fe
Merge pull request #6819
c3f354e simplewallet fix wrong persistent-rpc-client-id name in help (moneromooo-monero)
2020-09-15 19:59:36 -05:00
luigi1111
5b3614e6a9
Merge pull request #6816
929ea98 Remove unused macros from cryptonote_config.h (TheCharlatan)
2020-09-15 19:58:39 -05:00
luigi1111
2b1488ef6f
Merge pull request #6793
de9a9fb update error message 'No unlocked balance in the specified account' (woodser)
2020-09-15 19:56:49 -05:00
TheCharlatan
80e535c95a
wallet2: adapt to deterministic unlock time 2020-09-15 11:40:31 +00:00
moneromooo-monero
4971219c2c
blockchain: deterministic UNIX time unlock checks
Based on a patch by TheCharlatan <seb.kung@gmail.com>
2020-09-15 11:40:28 +00:00
moneromooo-monero
c3f354e6c1
simplewallet fix wrong persistent-rpc-client-id name in help 2020-09-14 20:50:35 +00:00
luigi1111
9bba1a24ea Merge pull request #6815
ef4325f wallet2: fix tx sanity check triggering on pre-rct outputs (monermooo-monero)
2020-09-14 11:47:06 -05:00
luigi1111
2993d2004a
Merge pull request #6813
a3844e2 Fix typo in command line argument description (reinaldoacosta)
2020-09-14 11:45:55 -05:00
selsta
f240b1dd88
build: prepare v0.17 2020-09-14 16:52:42 +02:00
TheCharlatan
929ea98662 Remove unused macros from cryptonote_config.h 2020-09-14 00:20:58 +02:00
moneromooo-monero
8cf2bb107e New add_aux_pow RPC to support merge mining 2020-09-13 22:16:07 +00:00
Crypto City
c494d8300b cc: make city levels harder to reach, and new cities harder to get 2020-09-13 22:16:07 +00:00
Crypto City
eb081ee1a9 game: fix widget leaks 2020-09-13 22:16:07 +00:00
Crypto City
2a9d1eeb48 game: fix crash on exit 2020-09-13 22:16:07 +00:00
Crypto City
9ccbef4810 game: update node section at once when starting/stopping mining 2020-09-13 22:16:07 +00:00
Crypto City
aa288727bd game: allow moving a model around when importing 2020-09-13 22:16:07 +00:00
Crypto City
4c5eeacd63 game: fix build overview widget positioning on resize 2020-09-13 22:16:07 +00:00
Crypto City
f531499e5c game: do not place imported models below ground or existing blocks 2020-09-13 22:16:07 +00:00
Crypto City
cfe6bb32ff cc: halve the number of feature points in terrain generation 2020-09-13 22:16:07 +00:00
Crypto City
484f1dd6c5 game: print in-game years and real days in research screen 2020-09-13 22:16:07 +00:00
Crypto City
a3ce8f4290 cc: double last resort prices 2020-09-13 22:16:07 +00:00
moneromooo-monero
ef4325fd41
wallet2: fix tx sanity check triggering on pre-rct outputs 2020-09-12 17:51:41 +00:00
Reinaldulin
a3844e257e
Fix typo in command line argument description 2020-09-09 10:18:32 -04:00
luigi1111
836067b68b
Merge pull request #6805
fc2cb22 blockchain: fix pow skipping for old blocks without precalc hash (moneromooo-monero)
2020-09-07 15:31:20 -05:00
luigi1111
9c9c689db4
Merge pull request #6804
5498142 rpc: assume randomx from v13 onwards (moneromooo-monero)
2020-09-07 14:34:46 -05:00
luigi1111
3a761e10d2
Merge pull request #6800
036da6d Let stagenet hardfork happen before mainnet. (normoes)
2020-09-07 14:32:28 -05:00
luigi1111
fd657c7706
Merge pull request #6798
4e44306 enable CLSAG support for Trezor client (ph4r05)
2020-09-07 14:30:41 -05:00
moneromooo-monero
fc2cb224a9
blockchain: fix pow skipping for old blocks without precalc hash 2020-09-07 01:57:19 +00:00
moneromooo-monero
5498142e8f
rpc: assume randomx from v13 onwards 2020-09-07 01:13:06 +00:00
Riccardo Spagni
aefa7740c3
Merge pull request #6111
d20ff4f64 functional_tests: add a large (many randomx epochs) p2p reorg test (moneromooo-monero)
6a0b3b1f8 functional_tests: add randomx tests (moneromooo-monero)
9d42649d5 core: fix mining from a block that's not the current top (moneromooo-monero)
2020-09-06 15:49:37 +02:00
Norman Moeschter
036da6d45b
Let stagenet hardfork happen before mainnet. 2020-09-04 22:47:05 +01:00
Dusan Klinec
4e4430603f
enable CLSAG support for Trezor client 2020-09-04 01:24:58 +02:00
luigi1111
9fb2243db0
Merge pull request #6794
b09cc3d hardforks: add v13/v14 for testnet (moneromooo-monero)
2020-09-03 12:27:18 -05:00
luigi1111
ee0b02d0db
Merge pull request #6757
6a37da8 threadpool: guard against exceptions in jobs, and armour plating (moneromooo-monero)
2020-09-03 12:25:59 -05:00
Crypto City
a011c2809c game: shade windows on double click 2020-09-02 23:07:04 +00:00
Crypto City
603b9c6bdf game: add geothermal bonus in sow/harvest dialogs 2020-09-02 23:07:04 +00:00
Crypto City
29bbf6d3e4 add two grain harvest discoveries 2020-09-02 23:07:03 +00:00
Crypto City
353f80e5c4 cc: fix out of bounds access in terrain generation 2020-09-02 23:07:03 +00:00
Crypto City
d91185c1c1 cc: food spoilage now happens before food production 2020-09-02 23:07:03 +00:00
Crypto City
58476c4724 cc: road bonus now applies to building production 2020-09-02 23:07:03 +00:00
Crypto City
b648ed500a new resilient soil city specialization, fix nutrients recovery, add tests 2020-09-02 23:07:03 +00:00
Crypto City
d8e2c65eb5 game: erase role and active lines when no flag is selected 2020-09-02 23:07:03 +00:00
Crypto City
c29d308510 cc: protect against integer overflow in intermediate calculations 2020-09-02 23:07:03 +00:00
Crypto City
6b3eb74eb8 game: fix pesticides added twice to the harvest bonus list 2020-09-02 23:07:03 +00:00
Crypto City
140461c872 cc: make "city level" coin available as soon as the city reaches the level 2020-09-02 23:07:03 +00:00
Crypto City
b633cc6080 cc: add "collectible coin" to coin names 2020-09-02 23:07:03 +00:00
Crypto City
9ed909217d cc: forbid building locked building types after a city downgrades 2020-09-02 23:07:03 +00:00
Crypto City
4f30ac3a8d daemon: add print_pool_commands function
succint display of game commands in the txpool
2020-09-02 23:07:03 +00:00
Crypto City
c8a85cd419 game: add thermometer widget 2020-09-02 23:07:03 +00:00
Crypto City
6935eac331 add env var to disable the dependencies on external libs
for speed
2020-09-02 23:07:03 +00:00
Crypto City
2c3fe2182a game: remove horizon, it doesn't look good with the new 3D terrain 2020-09-02 23:07:03 +00:00
Crypto City
262c8d6e67 game: replace the badge screen with the update one in one step 2020-09-02 23:07:03 +00:00
Crypto City
2ff5646d67 game: avoid badge screen flicker on new blocks 2020-09-02 23:07:03 +00:00
Crypto City
9e42f8be66 cc: tweak temperature averages a bit 2020-09-02 23:07:03 +00:00
Crypto City
3fadd0bf04 cc: fix keeping track of item supply 2020-09-02 23:07:03 +00:00
Crypto City
26edcc8510 cc: fix inverted redeem command expiration check 2020-09-02 23:07:03 +00:00
Crypto City
b3fca7e7f3 game: fix compass option not reflecting current config 2020-09-02 23:07:03 +00:00
Crypto City
e8231d2e7e cryptonote_basic: fix taking pruned weight of a pruned bare tx 2020-09-02 23:07:03 +00:00
Crypto City
a7be9d01b0 game: fix missing bonus list in harvest dialog 2020-09-02 23:07:03 +00:00
Crypto City
bc706ef801 cc: fix patent item supply on discovery 2020-09-02 23:07:03 +00:00
Crypto City
1a039993df game: comma separate discoveries in research requirement list 2020-09-02 23:07:03 +00:00
Crypto City
0a1e890fbb use dynamic priority for tx fees in game and simplewallet 2020-09-02 23:07:03 +00:00
Crypto City
063071c7d5 game: don't fall further than -100 2020-09-02 23:07:03 +00:00
Crypto City
65ca330c70 daemon: fix cc_date always requesting the chain start date 2020-09-02 23:07:03 +00:00
Crypto City
c8d85eb648 game: do not print success message even when a tx failed 2020-09-02 23:07:03 +00:00
Crypto City
703e3f45c1 game: move queued commands widget to the bottom center
to avoid overlapping with the daemon widget
2020-09-02 23:07:03 +00:00
Crypto City
45ccfe5c99 cc: add nonce to "nonce already used" error message 2020-09-02 23:07:03 +00:00
Crypto City
9af5eb2f0a game: turn trade cancel button into cancelling text when cancelling 2020-09-02 23:07:03 +00:00
Crypto City
530c0aa0db game: fix constant refresh in trade ui 2020-09-02 23:07:03 +00:00
Crypto City
4edf2eea26 game: preliminary empty main hook setup 2020-09-02 23:07:03 +00:00
Crypto City
5e1ec88c87 game: make trade command matching robust against unmatchable orders 2020-09-02 23:07:03 +00:00
Crypto City
703ebab3e6 game: add seasonal calendar widget 2020-09-02 23:07:03 +00:00
moneromooo-monero
b09cc3d03d
hardforks: add v13/v14 for testnet 2020-09-02 17:56:48 +00:00
woodser
de9a9fb340 update error message "No unlocked balance in the specified account" 2020-09-01 17:30:00 -04:00
moneromooo-monero
6a37da837e
threadpool: guard against exceptions in jobs, and armour plating
Those would, if uncaught, exit run and leave the waiter to wait
indefinitely for the number of active jobs to reach 0
2020-09-01 14:33:33 +00:00
luigi1111
2d8a197b91
Merge pull request #6789
bdcf587 net: fix get_tcp_endpoint, boost address_v4 ip in host byte order (xiphon)
2020-08-31 16:58:13 -05:00
luigi1111
94b056c06e
Merge pull request #6786
975ae22 Fix send scalar z in plaintext (grydz)
333ae55 Update minimal Ledger Monero app version (grydz)
0a3c5a6 Update protocol version with Ledger's HW (grydz)
2020-08-31 16:54:51 -05:00
luigi1111
a51ccc036f
Merge pull request #6770
bdc6b10 Fix ZMQ pruned bulletproof transactions (vtnerd)
2020-08-31 16:50:18 -05:00
Crypto City
d36c71da7b game: give details for controls configuration conflicts 2020-08-30 18:13:56 +00:00
Crypto City
a8d494074b coins can now be different gold content based on type 2020-08-30 18:13:56 +00:00
Crypto City
5324b5c838 wallet: add missing user_data parameter for custom items 2020-08-30 18:13:56 +00:00
Crypto City
ed0f32118c cc: create coins for new cities too 2020-08-30 18:13:56 +00:00
Crypto City
3ab0474475 bump version to 0.21.1.1 2020-08-30 18:13:56 +00:00
Crypto City
3326cbb327 game: fix crash when the config file does not exist 2020-08-30 18:13:56 +00:00
Crypto City
74a1baee9d bump version to 0.21.1.0 2020-08-30 17:31:54 +00:00
Crypto City
ddcd87d30c game: fix config file overwrite on startup 2020-08-30 16:21:48 +00:00
Crypto City
5538c8bfc8 game: fix issues with missing and/or duplicated markers 2020-08-30 16:21:48 +00:00
Crypto City
e80e869925 game: do not draw markers beyond visible terrain
This avoids looking weird and querying terrain heights on further
away tiles, leading to terrain tile cache thrashing
2020-08-30 16:21:48 +00:00
Crypto City
ce99289b4c game: fix crash on resizing the windows 2020-08-30 16:21:48 +00:00
Crypto City
19e8569570 game: switch mouse to wrap mode in "B" build mode 2020-08-30 16:21:48 +00:00
Crypto City
9191cfe566 tx_pool: fix dupes in the "sorted by fee" container 2020-08-30 16:21:48 +00:00
Crypto City
3573c2dd98 tx_pool: fix "double draw" causing txes being rejected 2020-08-30 16:21:48 +00:00
Crypto City
30e3940435 cc: catch allocation errors in terrain generation 2020-08-30 16:21:48 +00:00
xiphon
bdcf587c79 net: fix get_tcp_endpoint, boost address_v4 ip in host byte order 2020-08-29 18:07:46 +00:00
Crypto City
bf25565942 Revert "game: do not print success message even when a tx failed"
This reverts commit f435f7d481.
2020-08-29 14:02:13 +00:00
Crypto City
f435f7d481 game: do not print success message even when a tx failed 2020-08-29 12:17:11 +00:00
Crypto City
d3cbb7d6cc game: fix terrain rendering mode switch 2020-08-29 12:17:11 +00:00
Crypto City
40d58c0c9d add dependencies where appropriate to make -jN work 2020-08-29 12:17:11 +00:00
Sarang Noether
fa06c39d97 Bind signature to full address and signing mode 2020-08-28 19:38:00 -04:00
moneromooo-monero
743608ec16 wallet: allow signing a message with spend or view key 2020-08-28 19:25:17 -04:00
moneromooo-monero
e6c81c5ea7
ringct: fix CLSAG serialization after boost/epee changes
also fix a an assert message refering t MLSAG
2020-08-28 11:52:54 +00:00
François Colas
975ae22211
Fix send scalar z in plaintext
The scalar z has not been generated on the HW thus it can't be sent
encrypted. The value is derived from the exported private view key.
2020-08-28 12:01:57 +02:00
François Colas
333ae55fef
Update minimal Ledger Monero app version 2020-08-28 12:00:25 +02:00
François Colas
0a3c5a605b
Update protocol version with Ledger's HW 2020-08-28 11:59:02 +02:00
moneromooo-monero
d20ff4f648
functional_tests: add a large (many randomx epochs) p2p reorg test 2020-08-27 15:13:04 +00:00
moneromooo-monero
6a0b3b1f8a
functional_tests: add randomx tests 2020-08-27 15:13:03 +00:00
moneromooo-monero
9d42649d58
core: fix mining from a block that's not the current top 2020-08-27 15:13:00 +00:00
cslashm
1660fe8a25
draft support of clsag 2020-08-27 12:44:18 +00:00
Sarang Noether
703944c4d4 CLSAG device support 2020-08-27 12:44:04 +00:00
Sarang Noether
641b08c920 CLSAG optimizations 2020-08-27 12:44:04 +00:00
moneromooo-monero
82ee01699c
Integrate CLSAGs into monero
They are allowed from v12, and MLSAGs are rejected from v13.
2020-08-27 12:44:04 +00:00
Sarang Noether
4b328c6616 CLSAG signatures 2020-08-27 12:43:29 +00:00
Alexander Blair
0c101f1236
Merge pull request #6767
07442a605 Fix build with Boost 1.74 (moneromooo-monero)
2020-08-27 03:07:32 -07:00
Alexander Blair
27b49033fd
Merge pull request #6763
728ba38b1 rpc: always send raw txes through P2P (don't use bootstrap daemon) (xiphon)
2020-08-27 03:02:30 -07:00
Alexander Blair
b04da25e4d
Merge pull request #6760
844fb4e94 enforce claiming maximum coinbase amount (moneromooo-monero)
2020-08-27 03:01:28 -07:00
Alexander Blair
4fe2858b4d
Merge pull request #6746
20f603c6b Fix broken multisig pubkey sorting (Jason Rhinelander)
2020-08-27 02:58:53 -07:00
Alexander Blair
dd7fd2ef80
Merge pull request #6753
4ff2074c7 cryptonote_protocol: don't synced pruned blocks before v11 (cohcho)
2020-08-27 02:58:45 -07:00
Alexander Blair
a06c83db73
Merge pull request #6752
85899230d simplewallet: allow setting tx keys when sending to a subaddress (moneromooo-monero)
e916201f1 wallet2: fix setting tx keys when another is already set (moneromooo-monero)
2020-08-27 02:58:23 -07:00
Alexander Blair
42519b48a7
Merge pull request #6731
db5d6e460 wallet2: fix wrong name when checking RPC cost (moneromooo-monero)
2020-08-27 02:55:48 -07:00
Alexander Blair
bad5d8d6f0
Merge pull request #6690
7175dcb10 replace most boost serialization with existing monero serialization (moneromooo-monero)
2020-08-27 02:54:30 -07:00
Alexander Blair
38914fe6fa
Merge pull request #6613
55363c594 Avoid some temporary strings when reading off the database (moneromooo-monero)
2020-08-27 02:52:59 -07:00
Alexander Blair
a6f1fa0194
Merge pull request #6607
eb1b321fe miner: increase min/max intervals to full extents (moneromooo-monero)
2020-08-26 12:53:09 -07:00
Crypto City
3b4f4d45af bump version to 0.21.0.0 2020-08-25 23:02:41 +00:00
Crypto City
c3c208ed28 game: do not link to libz, it's now set in EXTRA_LIBRARIES 2020-08-25 23:02:41 +00:00
Crypto City
964612aed7 game: mac build fixes 2020-08-25 23:02:41 +00:00
Crypto City
77b5ab2448 game: do not print success messages on tx failure 2020-08-25 22:30:14 +00:00
Crypto City
2d57030afb game: enforce 0 amount for new coin designs 2020-08-25 16:09:20 +00:00
Crypto City
b73efe47ee cc: add prospecting discovery (better chance of finding gemstones) 2020-08-25 16:09:20 +00:00
Crypto City
5e475bb74a cc: fix town squares being all named after the first city 2020-08-25 15:27:16 +00:00
Crypto City
89f9fcd982 tx_pool: allow hunting in different cities and/or different targets 2020-08-25 15:27:16 +00:00
Crypto City
5e41cf7ffd cc: fix moose/bear regeneration going over the limit 2020-08-25 15:27:16 +00:00
Crypto City
237cc85bdd cc: add harvested amount in harvest command log 2020-08-25 15:27:16 +00:00
Crypto City
a4588d8ab3 cc: fix city specializations not being mined 2020-08-25 15:27:16 +00:00
Crypto City
bc29e2e832 game: mine on just one thread
We're running a heavy OpenGL program after all
2020-08-25 15:27:16 +00:00
Crypto City
f1b4f3ec18 cc: bump military influence 2020-08-25 15:27:16 +00:00
Crypto City
c2fc879340 cc: fix inactive buildings finding gemstones 2020-08-25 15:27:16 +00:00
Crypto City
856e61b4c1 cc: add runic cycle in yearly coin description 2020-08-25 15:27:16 +00:00
Crypto City
1c6bae0dba cc: bump the number of patents badge thresholds a bit 2020-08-25 15:27:16 +00:00
Crypto City
16c084838f add yearly coins auto creation 2020-08-25 15:27:16 +00:00
Crypto City
9582b834ff game: add current crop to harvest dialog 2020-08-25 15:27:16 +00:00
Crypto City
3335f8d14f create collectible coins for player count and city levels 2020-08-25 15:27:16 +00:00
Crypto City
1dbd6f77ae game: add a confirmation prompt before exiting the game 2020-08-25 15:27:15 +00:00
Crypto City
b7a803c782 game: rename deposit to "Create account" if there is no account yet 2020-08-25 15:27:15 +00:00
Crypto City
ed6a65196e game: handle account creation on new block 2020-08-25 15:27:15 +00:00
Crypto City
3384e02a08 ease up on the vegetables spoil rate 2020-08-25 15:27:15 +00:00
Crypto City
ce4e15d47d game: add a close button to the console 2020-08-25 13:20:15 +00:00
Crypto City
55e2286222 cc: bump amount of vegetation blocks for cultural and roads 2020-08-25 13:20:15 +00:00
Crypto City
68c0694fa9 game: print today's temperatue in sow/harvest, not tomorrow's 2020-08-25 13:20:15 +00:00
Crypto City
ec2b0d6264 cc: take geothermal heating into account for crop yield
as is already done by the game
2020-08-25 13:20:15 +00:00
Crypto City
7aea6cbf93 add a daemon RPC to get new unused nonces 2020-08-25 13:20:15 +00:00
Crypto City
24201167c9 cc: remove some obsolete unused tables 2020-08-25 13:20:15 +00:00
Crypto City
5b693a15b1 some material variants are now locked till a player level 2020-08-25 13:20:15 +00:00
Crypto City
734511b2df bump patent time to 15 game years 2020-08-25 13:20:15 +00:00
Crypto City
61844a1f62 start the year a bit earlier so that we can farm right away 2020-08-25 13:20:15 +00:00
Crypto City
c54e610171 cc: make new cities a bit harder to get 2020-08-25 13:20:15 +00:00
Crypto City
1a82d359cc cc: give 10 patents per discovery to promote trade 2020-08-25 13:20:15 +00:00
Crypto City
3a2f6d47b4 daemon: add cc_date command 2020-08-25 13:20:15 +00:00
Crypto City
d40d5bf778 cc: add game events for a few missing commands 2020-08-25 13:20:15 +00:00
Crypto City
bb9bd2ce50 store command nonce in game events log
and store a nonce in all commands (except none) now
2020-08-25 13:20:14 +00:00
Crypto City
2e386ea153 count non-payout buildings in city size 2020-08-25 13:20:14 +00:00
Crypto City
47ddfdc56e game: add a cancel button for trades 2020-08-25 13:20:14 +00:00
Crypto City
c688079acb commands can now be cancelled
if they're not mined yet, or only partially matched trades
2020-08-25 13:20:14 +00:00
Crypto City
dc2cc4b6d5 item groups can now optionally be public 2020-08-25 13:20:14 +00:00
Crypto City
36c36119a4 game: add mayor to the city level screen 2020-08-25 13:20:14 +00:00
Crypto City
33cbc7d9f9 game: throw rather than display a message box on resource load failure
Chances are it'd crash right after the failure, so no error displayed
2020-08-25 13:20:14 +00:00
Crypto City
e7fa46d7ec game: fix stale owner when trading a flag 2020-08-25 13:20:14 +00:00
Crypto City
836a003c9a switch dates to season based pseudo gregorian
This is much more user friendly
2020-08-25 13:20:14 +00:00
Crypto City
d6950848b6 game: more error/sanity checking for the badge award screen 2020-08-25 13:20:14 +00:00
Crypto City
df98b0b120 game: fix UI rebuild in player history with unchanged history 2020-08-25 13:20:14 +00:00
Crypto City
214d2d1bae game: allow saving only the selection to magica voxel format 2020-08-25 13:20:14 +00:00
Crypto City
85c7f21a46 game: switch to 64 bit TurboBadger TBID
Collisions were found in the wild
2020-08-25 13:20:14 +00:00
Crypto City
d9d234a9fe fix most build problems on mac 2020-08-21 18:33:03 +00:00
Crypto City
fc21a69965 game: fix saving 256 sized voxel models 2020-08-21 18:33:03 +00:00
Crypto City
4e3ecf68cc game: hack to save visible terrain/models 2020-08-21 18:33:03 +00:00
Crypto City
46e24432e5 game: fix other players' transfers appearing before player id is set 2020-08-21 18:33:03 +00:00
Crypto City
3760ec1f6f game: add macro to load materials, and set name 2020-08-21 18:33:03 +00:00
Crypto City
e7da1f1180 game: don't consider buttons in "transparent" windows transparent 2020-08-21 18:33:03 +00:00
Crypto City
72f0b22922 cc: swap unlock levels for military and affluent residential 2020-08-21 18:33:03 +00:00
Crypto City
d55dd1b4bb game: fix scrolling in badges screen 2020-08-21 18:33:03 +00:00
Crypto City
66ca774e5e tx_pool: fix self conflicting commands due to dandelion 2020-08-21 18:33:03 +00:00
Crypto City
9bd140f280 tx_pool: add logs to track conflict table, and simplify a bit 2020-08-21 18:33:03 +00:00
Crypto City
33516cb7c4 cc: add a few badges for collectible coins 2020-08-21 18:33:03 +00:00
Crypto City
61aa85ad3b add collectible coins 2020-08-21 18:33:02 +00:00
moneromooo-monero
844fb4e940
enforce claiming maximum coinbase amount
Claiming a slightly lesser amount does not yield the size gains
that were seen pre rct, so this closes a fingerprinting vector
2020-08-21 12:36:53 +00:00
Lee Clagett
bdc6b10d62 Fix ZMQ pruned bulletproof transactions 2020-08-19 00:36:06 -04:00
luigi1111
765db1ae7a
Revert "Use domain-separated ChaCha20 for in-memory key encryption"
This reverts commit 921dd8dde5.
2020-08-17 14:08:59 -05:00
moneromooo-monero
7175dcb107
replace most boost serialization with existing monero serialization
This reduces the attack surface for data that can come from
malicious sources (exported output and key images, multisig
transactions...) since the monero serialization is already
exposed to the outside, and the boost lib we were using had
a few known crashers.

For interoperability, a new load-deprecated-formats wallet
setting is added (off by default). This allows loading boost
format data if there is no alternative. It will likely go
at some point, along with the ability to load those.

Notably, the peer lists file still uses the boost serialization
code, as the data it stores is define in epee, while the new
serialization code is in monero, and migrating it was fairly
hairy. Since this file is local and not obtained from anyone
else, the marginal risk is minimal, but it could be migrated
later if needed.

Some tests and tools also do, this will stay as is for now.
2020-08-17 16:23:58 +00:00
moneromooo-monero
55363c5941
Avoid some temporary strings when reading off the database 2020-08-17 14:02:27 +00:00
Alexander Blair
43f5369bec
Merge pull request #6733
4f01cf4b4 Tweak format, add option for difficulty (Howard Chu)
429d49512 Add options to print daily coin emission and fees (Howard Chu)
d745d2433 Don't forget size of prunable txn part (Howard Chu)
2020-08-16 12:56:03 -07:00
Alexander Blair
d73b1b6560
Merge pull request #6727
13eee1d6a rpc: reject wrong sized txid (moneromooo-monero)
92e6b7df2 easylogging++: fix crash with reentrant logging (moneromooo-monero)
6dd95d530 epee: guard against exceptions in RPC handlers (moneromooo-monero)
90016ad74 blockchain: guard against exceptions in add_new_block/children (moneromooo-monero)
2020-08-16 12:55:25 -07:00
Alexander Blair
569d07d60b
Merge pull request #6722
c1b03fb1a rpc: return empty txid get_outs rather than 00..00 when not requested (moneromooo-monero)
2020-08-16 12:54:42 -07:00
Alexander Blair
01b512f3a9
Merge pull request #6716
76c16822d wallet2_api: implement runtime proxy configuration (xiphon)
2020-08-16 12:52:21 -07:00
Alexander Blair
f40b9e34e0
Merge pull request #6715
3d6bc0a68 wallet2: throw a error on wallet initialization failure (xiphon)
2020-08-16 12:51:57 -07:00
Alexander Blair
43f91ee12e
Merge pull request #6703
8baa7bb23 daemon: don't print "(pruned)" for coinbase txes (moneromooo-monero)
2020-08-16 12:50:43 -07:00
Alexander Blair
0b0da2aa81
Merge pull request #6689
afd002c31 daemon: print sampling time in print_net_stats (moneromooo-monero)
ec7bba079 util: fix kilo prefix typo (K instead of k) (moneromooo-monero)
2020-08-16 12:47:36 -07:00
Alexander Blair
236256f114
Merge pull request #6679
2f1ad3b3d updates: mac gui .tar.bz2 -> .dmg (selsta)
2020-08-16 12:46:51 -07:00
Alexander Blair
eba2189925
Merge pull request #6677
f9e3fcdf3 add trezor support to sweep_single (Dusan Klinec)
2020-08-16 12:46:27 -07:00
Alexander Blair
bc48494731
Merge pull request #6661
267ce5b71 avoid a couple needless copies (moneromooo-monero)
2020-08-16 12:45:37 -07:00
Alexander Blair
8f02e7a7fc
Merge pull request #6632
ef694d028 fix warning by removing std::move() on temporary http_client object (woodser)
2020-08-16 12:44:59 -07:00
Alexander Blair
c6c4ead44e
Merge pull request #6614
fb31167b1 Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command (rbrunner7)
2020-08-16 12:44:03 -07:00
Alexander Blair
a08df6eb1b
Merge pull request #6603
4e2377995 Change ZMQ-JSON txextra to hex and remove unnecessary base fields (Lee Clagett)
2020-08-16 12:43:38 -07:00
Alexander Blair
009ca6fcd3
Merge pull request #6601
98c151ecb Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ faster (Lee Clagett)
60627c9f2 Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster (Lee Clagett)
fe96e66eb Fix pruned tx for ZMQ's GetBlocksFast (Lee Clagett)
2020-08-16 12:43:11 -07:00
Alexander Blair
0f5eb0e70c
Merge pull request #6546
eda167585 wallet_rpc_server: use unlock_time in suggested confirmations calc (moneromooo-monero)
2020-08-16 12:40:51 -07:00
Alexander Blair
461651fce5
Merge pull request #6542
35665df20 protocol: don't drop a connection if we can't get a compatible chain (moneromooo-monero)
2020-08-16 12:40:37 -07:00
Alexander Blair
6d29ee6c52
Merge pull request #6493
921dd8dde Use domain-separated ChaCha20 for in-memory key encryption (Sarang Noether)
2020-08-16 12:39:59 -07:00
Alexander Blair
e2e09d00c2
Merge pull request #6337
a11ec4ac1 Support for supercop ASM in wallet, and benchmark for supercop (Lee Clagett)
2020-08-16 12:38:44 -07:00
Alexander Blair
13549d590e
Merge pull request #6329
6bfcd3101 Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests. (Sarang Noether)
2020-08-16 12:37:43 -07:00
xiphon
728ba38b11 rpc: always send raw txes through P2P (don't use bootstrap daemon)
It turns out that some remote (bootstrap) nodes silently drop /
don't broadcast client's transactions.
2020-08-16 17:34:28 +00:00
moneromooo-monero
07442a6059
Fix build with Boost 1.74
Thanks iDunk for testing
2020-08-16 16:23:26 +00:00
Crypto City
5f3a148333 game: save/load variant palette to/from vox files
in a new VPAL extension chunk
2020-08-15 15:12:35 +00:00
Crypto City
0a2f905813 game: fix selection boolean not tracking synthetic selection 2020-08-15 15:12:35 +00:00
Crypto City
e09c5e7693 game: add a function to display building block use stats 2020-08-15 15:12:35 +00:00
Crypto City
b7d5938a8c game: ensure custom items are sorted 2020-08-15 15:12:35 +00:00
Crypto City
be0b26ef25 add item groups 2020-08-15 15:12:35 +00:00
Crypto City
b53edeb1c4 game: save main panel geometry in config file 2020-08-15 15:12:35 +00:00
Crypto City
0cb211a401 game: auto backup/restore of flag under construction 2020-08-15 15:12:35 +00:00
Crypto City
03803c73bc game: show current player events from the daemon on new block 2020-08-15 15:12:35 +00:00
Crypto City
ba3d2778d6 blockchain_prune: add new item_count table 2020-08-15 15:12:35 +00:00
Crypto City
d03841f3b1 game: replace "Error" with "Info" on messages which aren't errors 2020-08-15 15:12:35 +00:00
Crypto City
57e8013944 game: fix flags under construction going out of sync on snapshots 2020-08-15 15:12:35 +00:00
Crypto City
8a0e7c5d76 cc: make basic residential flags give proximity bonus to each other 2020-08-15 15:12:35 +00:00
Crypto City
d3c360fb7c game: add a command to remove hidden blocks 2020-08-15 15:12:35 +00:00
Crypto City
3e348124cd cc: fix earthquake/flood damage 2020-08-15 15:12:35 +00:00
Crypto City
3285129958 cc: lower food consumption 2020-08-15 15:12:35 +00:00
Crypto City
32e48574d8 wallet: add missing cost field to cc_found_city 2020-08-15 15:12:35 +00:00
Crypto City
2d93216014 cc: fix reverting cities from someone with existing buildings 2020-08-15 15:12:35 +00:00
Crypto City
085db0b118 rpc: fill out total_shares in cc_get_cities 2020-08-15 15:12:35 +00:00
Crypto City
cbdd9b3b5f cc: fix sow height recording off by one 2020-08-15 15:12:35 +00:00
Crypto City
c2f3ef8325 game: switch to walker camera when changing cities 2020-08-15 15:12:35 +00:00
Crypto City
c43c6ea144 cc: add fertile soil city specialization 2020-08-15 15:12:35 +00:00
Crypto City
370f18e612 game: add boids for aesthetic purposes 2020-08-15 15:12:34 +00:00
Crypto City
6d6a83687b tx_pool: ensure commands aren't processed twice (ie, dandelion) 2020-08-15 15:12:34 +00:00
Lee Clagett
4e2377995d Change ZMQ-JSON txextra to hex and remove unnecessary base fields 2020-08-14 23:01:00 +00:00
Lee Clagett
98c151ecb8 Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ faster 2020-08-14 19:47:19 +00:00
Lee Clagett
60627c9f24 Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster 2020-08-14 19:46:59 +00:00
Lee Clagett
fe96e66ebe Fix pruned tx for ZMQ's GetBlocksFast 2020-08-14 19:46:33 +00:00
moneromooo-monero
85899230d1
simplewallet: allow setting tx keys when sending to a subaddress
The tx key derivation is different then
2020-08-10 21:25:51 +00:00
Crypto City
f9313926eb game: fix selection not being removed as terrain is 2020-08-10 17:03:26 +00:00
Crypto City
7ca4cafc9a game: fix looping track playback 2020-08-10 17:03:26 +00:00
cohcho
4ff2074c74
cryptonote_protocol: don't synced pruned blocks before v11
There are a few Borromean proofs txes in the v8 era, and these
aren't supported by get_pruned_transaction_weight. Moreover, only
only the most recent variant of bulletproofs is currently supported.
2020-08-10 16:17:39 +00:00
Sarang Noether
921dd8dde5 Use domain-separated ChaCha20 for in-memory key encryption 2020-08-09 19:11:54 -04:00