Commit Graph

10645 Commits

Author SHA1 Message Date
Crypto City
c510cbd056 cc: clearer script reserve requirements
Replace "counterparty" by "game" or "building owner"
2021-09-21 12:18:18 +00:00
Crypto City
bce1c23bdf game: request a wallet refresh as soon as a new wallet is loaded 2021-09-21 12:18:18 +00:00
Crypto City
bbff557dc1 tx_pool: forbid two script actions for the same account (when enabled) 2021-09-21 12:18:18 +00:00
Crypto City
705935848a game: improve script UI 2021-09-21 12:18:18 +00:00
Crypto City
599a40f647 game: keep script icon aspect ratio 2021-09-21 12:18:18 +00:00
Crypto City
1d90a2bdfd game: fix PNG script icons 2021-09-21 12:18:18 +00:00
Crypto City
05730f5a3d game: improve new script dialog, allow loading from file 2021-09-21 12:18:18 +00:00
Crypto City
8436fba9b1 game: decrease memory usage in sparsely built areas 2021-09-21 12:18:18 +00:00
Crypto City
495bf0acdb game: decrease memory usage in built up areas 2021-09-21 12:18:18 +00:00
Crypto City
1cc0e70aa3 cc: a bit less easy to get cliffs 2021-09-21 12:18:18 +00:00
Crypto City
432c259802 game: drop all city sections when traveling to another town
Helps dampen a memory usage peak
2021-09-21 12:18:18 +00:00
Crypto City
1a36e53e6c game: fix destroyed buildings appearing in events, not buildings, in news 2021-09-21 12:18:18 +00:00
Crypto City
d6f07b7ce7 new optional message in set_script_variable command 2021-09-21 12:18:18 +00:00
Crypto City
346542ae8c game: fix styling check in runetone message 2021-09-21 12:18:18 +00:00
Crypto City
0901c7e7ef game: notify the player when they don't have runestone styling enabled 2021-09-21 12:18:18 +00:00
Crypto City
315f9c3b6f game: do not enable "play" script button when no wallet is loaded 2021-09-21 12:18:18 +00:00
Crypto City
566e7f8baa cryptonote_core: do not relay match commands 2021-09-21 12:18:18 +00:00
Nathan Dorfman
2e8936f614 rpc: Fix get_transactions failing when not found 2021-09-20 17:32:01 -06:00
anon
9154883f3e
node_server: fix race condition 2021-09-20 20:58:23 +00:00
selsta
3a90be4bd6
rpc: don't set error code as status string 2021-09-15 08:57:41 +02:00
Crypto City
6b54bc1a5f game: better wallet info screen layout 2021-09-14 22:54:51 +00:00
Crypto City
18ab361e8b give spread to match command matcher 2021-09-14 19:59:41 +00:00
Crypto City
cf503259b2 db_lmdb: remove redundant cursor op 2021-09-13 10:40:40 +00:00
Crypto City
ec7047485e game: default to screen resolution rather than 1024x768 2021-09-13 00:48:44 +00:00
Crypto City
59670f81f6 game: clear screen before drawing the splash screen 2021-09-12 22:29:01 +00:00
Crypto City
0493970b30 game: fix splash screen pixel aspect ratio 2021-09-12 21:44:14 +00:00
Crypto City
62c80b608c cc: fix overflow in terrrain in extreme cases 2021-09-12 21:25:38 +00:00
Crypto City
9bf39fd190 cc: fix division by zero in new_item command 2021-09-12 21:25:38 +00:00
Crypto City
9172b9396e rpc: return a block template even when "busy" 2021-09-12 21:25:38 +00:00
Crypto City
3e93a91c28 db_lmdb: do not use DUPSORT for cc_events table
It increase the size somewhat but can store events of arbitrary
length.
2021-09-12 21:25:38 +00:00
Crypto City
36bf25a85a blockchain: guard against exception adding events
Also add some more info when executing/reverting commands
2021-09-12 12:24:21 +00:00
Crypto City
cb3499f3aa blockchain: save a few allocations when moving a block 2021-09-12 12:24:15 +00:00
Crypto City
0475389d3c blockchain: break off early when exiting 2021-09-12 12:24:10 +00:00
Crypto City
7a60da3fee cc: includes hash and height in log when creating game update command 2021-09-12 12:24:03 +00:00
Crypto City
e61dabacd5 cc: guard against invalid food items 2021-09-12 12:23:58 +00:00
Crypto City
c16496b37b cc: extra sanity check in repair command 2021-09-12 12:23:52 +00:00
j-berman
76542ea709 Fix precision of average_output_time
The fix as suggested by <jberman> on IRC. Before the fix, it would truncate 1.9 to 1 skewing the output selection.
2021-09-12 10:07:31 +02:00
SChernykh
dfee15eee1 RPC and ZeroMQ APIs to support p2pool
Adds the following:

- "get_miner_data" to RPC API
- "json-miner-data" to ZeroMQ subscriber contexts

Both provide the necessary data to create a custom block template. They are used by p2pool.

Data provided:

- major fork version
- current height
- previous block id
- RandomX seed hash
- network difficulty
- median block weight
- coins mined by the network so far
- mineable mempool transactions
2021-09-11 15:15:07 +02:00
luigi1111
a39b1d56c8
Merge pull request #7899
cd76eb7 wallet: fix unused lambda capture warning (selsta)
2021-09-09 15:21:10 -04:00
luigi1111
9273530bff
Merge pull request #7898
f353c29 wallet_rpc_server: fix help text remaining bold (selsta)
2021-09-09 15:20:43 -04:00
luigi1111
e72eedd1ce
Merge pull request #7883
d749e0d ringct: silence unused variable warning (selsta)
2021-09-09 15:18:42 -04:00
luigi1111
be94a2fb06
Merge pull request #7875
15936bf Device: remove unused and incorrect non-default constructor (mj-xmr)
2021-09-09 15:17:41 -04:00
luigi1111
dfa6b58d4d
Merge pull request #7823
24d3d65 monero-wallet-rpc: Prevent --password-file from being used with --wallet-dir (Kermit Alexander II)
2021-09-09 15:14:17 -04:00
luigi1111
2a02cd0a5f
Merge pull request #7773 from selsta/unbound
external: remove unbound submodule
2021-09-09 15:13:06 -04:00
luigi1111
7848a467c5
Merge pull request #7616
4ced092 daemon: allow proxy configuration (anon, selsta, tobtoht)
2021-09-09 15:09:51 -04:00
luigi1111
b7315efc1c
Merge pull request #7342
520ce1c Attempt to carve the fee from a partial payment early (lxop)
2021-09-09 15:06:46 -04:00
Crypto City
d9dae925ee game: allow "tip of the day" style tutorials on startup 2021-09-09 11:30:04 +00:00
Crypto City
29ac4fb42a game: fix terrain-cache build on windows 2021-09-09 10:21:24 +00:00
Crypto City
e6e3da6940 game: remove leftover debug printf 2021-09-08 14:26:01 +00:00
Crypto City
1532b015bc game: do not display building tooltip when buiding on it 2021-09-08 14:25:19 +00:00
Crypto City
ae92ca97a0 cc: set cliff terrain type a bit more easily 2021-09-08 13:44:14 +00:00
mj-xmr
ad9fde46a3
UB: virtual methods in destructor at Trezor 2021-09-08 14:44:35 +02:00
mj-xmr
514f8fab14
LMDB: protection against UB, by not calling virtual methods from destructor 2021-09-08 14:08:40 +02:00
Crypto City
91d0d2bc66 game: fix use after free in tooltip history window 2021-09-07 21:56:17 +00:00
Crypto City
58ddc71e49 game: fix use after free on game exit 2021-09-07 20:37:11 +00:00
Crypto City
67442d0d73 game: disable ok button in building settings screen if read only 2021-09-07 20:37:11 +00:00
Crypto City
0a69e54512 game: fix wrong temperature before loading a wallet 2021-09-07 20:37:11 +00:00
Crypto City
f1bd4c85c0 cc: do not consider roads for the mountaineer badge 2021-09-07 20:37:11 +00:00
Crypto City
902e0852d0 game: do not show "cancel" for commands that cannot be cancelled 2021-09-07 20:37:11 +00:00
Crypto City
27f01535a5 game: mention the options screen in the terrain cache directory README 2021-09-07 20:37:11 +00:00
Crypto City
8761724ac8 game: compress delta heights for fast extra compression 2021-09-07 20:37:11 +00:00
Crypto City
7223212520 game: speed up elevation map at higher zooms in found city screen 2021-09-07 20:37:11 +00:00
Crypto City
6ec7229ccf game: click the amount of items owned to input that amount to sell 2021-09-07 20:37:11 +00:00
Crypto City
cb5d62dbe9 game: subsample non-influence potential textures for speed 2021-09-07 20:37:11 +00:00
Crypto City
4e842e93b1 game: allow jumping to an x/y location 2021-09-07 20:37:11 +00:00
Crypto City
a079220af6 game: make the terrain cache size a user option (including disabled) 2021-09-07 20:37:11 +00:00
Crypto City
fd90c0ca84 bump lower mountainer badge thresholds 2021-09-07 20:37:11 +00:00
Crypto City
0542412ec2 cc: improve terrain 2021-09-07 20:37:11 +00:00
Crypto City
697ef85904 game: fix leaks 2021-09-07 20:37:11 +00:00
mj-xmr
eed7e79c04
UB: Not calling virtual method in destructor of WalletImpl 2021-09-07 14:24:53 +02:00
Crypto City
622ab9d894 add on disk terrain caching system 2021-09-06 17:40:30 +00:00
Crypto City
de1162cb03 game: add an item view screen 2021-09-06 17:40:30 +00:00
Crypto City
e859c7c0ea prevent hunting in a snowstorm 2021-09-04 18:32:06 +00:00
Crypto City
4f4cea20a2 game: more resilient splash screen 2021-09-04 15:46:43 +00:00
Crypto City
1d58d2fd09 game: do not start audio before the scene displays
and stop audio when stopping
2021-09-04 14:44:09 +00:00
Crypto City
86380eb911 game: optional load/update timings dump 2021-09-04 14:14:08 +00:00
Crypto City
36c11b914a wallet2: do not recalculate the genesis block for mainnet/testnet
we can save a second or so on startup
2021-09-04 14:14:08 +00:00
Crypto City
7f3ed8564a game: do not update stuff we do not need to 2021-09-04 14:14:08 +00:00
Crypto City
494c1bc48c game: fix hang if initial wallet fails to load 2021-09-04 14:14:08 +00:00
Crypto City
ea1e85c2ba game: only force highlight refresh if a rebuilt flag intersects it 2021-09-04 14:14:08 +00:00
Crypto City
36ddd1f6be game: initialize audio later on in the start sequence 2021-09-04 14:14:08 +00:00
Crypto City
d9ef50dc28 game: pre-cache some terrain at load time 2021-09-04 14:14:07 +00:00
Crypto City
cf821870cb game: fix snowfall effect at night 2021-09-04 14:14:07 +00:00
Crypto City
28f10bb125 game: remove some obsolete code 2021-09-04 14:14:07 +00:00
Crypto City
814219c39c game: start daemon async 2021-09-04 14:14:07 +00:00
Crypto City
184168536e game: remove dynamic sky on/of option and fallback skybox
This was originally an option because the dynamic sky was slow,
but this is no longer an issue since it's only recreated when
new blocks come in
2021-09-04 14:14:07 +00:00
Crypto City
50e77624e0 game: smoother sky changes when lerping snowfall in or out 2021-09-04 14:14:07 +00:00
Crypto City
3a66c39d27 game: avoid creating an SSL key when using the auto local daemon 2021-09-04 14:14:07 +00:00
Crypto City
b8a66a44db game: fix vertical snowfall motion 2021-09-04 14:14:07 +00:00
Crypto City
7528d4bac4 game: wind audio ambience 2021-09-04 14:14:07 +00:00
selsta
ae85ec0285
external: remove unbound submodule 2021-09-03 07:47:35 +02:00
Crypto City
5ca332ce7b game: allow F10 to open the player screen with no wallet or player
it then pops up the player selection screen
2021-09-02 14:07:08 +00:00
Crypto City
e814560883 game: remove "click to mint/smelt" when not on our own player screen
always use click to trade instead
2021-09-02 13:51:57 +00:00
Crypto City
b63225b4be cc: speedup gemstone potential bit 2021-09-02 10:16:23 +00:00
Crypto City
356a101d06 cc: speed up hill generation a little 2021-09-02 10:07:27 +00:00
Crypto City
8db3639fba cc: slight SingleSimplex speedup 2021-09-02 09:04:40 +00:00
Crypto City
e4b60d8545 fixes after merge 2021-09-01 23:21:48 +00:00
Crypto City
489a261db0 Merge remote-tracking branch 'origin/master' into cc
8fde011dbe
2021-09-01 15:50:02 +00:00
Crypto City
ef6bee2de1 game: disable SSL for locally run daemon for performance 2021-09-01 15:12:14 +00:00
Crypto City
6ea0eeb1d2 faster version of cc_get_game_events 2021-09-01 15:12:14 +00:00
Crypto City
e95536f6dd speed up news gathering 2021-09-01 15:12:14 +00:00
Crypto City
5842f7d12d db_lmdb: speed up reading serialized data a bit
The stringstream ctor likes to spend time in dynamic_cast
2021-09-01 15:12:14 +00:00
Crypto City
72dc5e7cc7 filter news candidates in the daemon for performance 2021-09-01 15:12:14 +00:00
Crypto City
7cf92828bf game: add estimate wording for building production numbers 2021-09-01 15:12:14 +00:00
Crypto City
eaedd0d811 decrease road bonuses 2021-09-01 15:12:14 +00:00
Crypto City
ef233ea492 game: fix building screen production numbers ignoring influence 2021-09-01 15:12:14 +00:00
Crypto City
7138ea53af game: take age info account checking settings of an exiting building 2021-09-01 15:12:14 +00:00
Crypto City
9394f73444 game: fix road bonus calculation 2021-09-01 15:12:14 +00:00
Crypto City
3410a97469 game: fix double clicking on a building in last update screen 2021-09-01 15:12:14 +00:00
Crypto City
996253e3b0 revert test v15 fork 2021-09-01 15:12:14 +00:00
Crypto City
2b5e114e89 game: use zmq pub/sub to know when to refresh at once 2021-09-01 15:12:14 +00:00
Crypto City
137f911c60 game: disable auction price widget if no account 2021-09-01 15:12:14 +00:00
Crypto City
32ead59828 game: remove notification on stop
This will error out creating a texture as display is dead already
2021-09-01 15:12:14 +00:00
Crypto City
7e319d4849 game: increase cloud wind speed now that they are further away 2021-09-01 15:12:14 +00:00
Crypto City
20e055b117 game: tweak clouds, and remove cover light modulation 2021-09-01 15:12:14 +00:00
Crypto City
ffd4fbc608 cc: tweak firefighting recovery curve 2021-09-01 15:12:14 +00:00
Crypto City
7934e19f45 game: pre-fill buy amounts in trade screen when appropriate 2021-09-01 15:12:14 +00:00
Crypto City
30a0db432b add snowstorm event and associated in game weather effeect 2021-09-01 15:12:14 +00:00
Crypto City
e9be3ae3c3 game: fix random grey clouds, move clouds higher to match higher terrain 2021-09-01 15:12:14 +00:00
Crypto City
1c6cd3ddc6 cc: fix leftover global message trace 2021-09-01 15:12:14 +00:00
Crypto City
3f1039fb79 wallet2: point out set max-reorg-depth is a wallet command 2021-09-01 15:12:14 +00:00
Crypto City
7902862dbb game: default to higher view distance and less terrain sunsampling 2021-09-01 15:12:14 +00:00
Crypto City
731555b99c game: print simple performance stats on F3 in debug mode 2021-09-01 15:12:13 +00:00
Crypto City
b5e734efd1 switch to existing backward compat code, and go back to glibc 2.25 2021-09-01 15:12:13 +00:00
Crypto City
0b33ba6f85 cc: fix repair message wording 2021-09-01 15:12:13 +00:00
Crypto City
cfa883088b rpc: fix wrong top hash in cc_get_snapshot response 2021-09-01 15:12:13 +00:00
Crypto City
a2b168f33e game: highlight items we have not enough of when repairing 2021-09-01 15:12:13 +00:00
Crypto City
1951538ca9 game: display runestone messages in a larger font 2021-09-01 15:12:13 +00:00
Crypto City
2adef1dd14 game: switch "built a new building" toast icon to match news 2021-09-01 15:12:13 +00:00
Crypto City
018e977c7a rpc: fix overflow in gold content reporting 2021-09-01 15:12:13 +00:00
Crypto City
26b3b55714 game: move cloud cover up/down with the camera too 2021-09-01 15:12:13 +00:00
Crypto City
2694eb6af4 game: improve snow effect, snowier with altitude, tweak temperature drop 2021-09-01 15:12:13 +00:00
Crypto City
9eb0170864 players can slowly manage more buildings as they age 2021-09-01 15:12:13 +00:00
Crypto City
d9d4c83c08 game: prevent multiple script actions at once 2021-09-01 15:12:13 +00:00
Crypto City
7f1d5eac6c cc: swap ressearch and luxury residential city level thresholds 2021-09-01 15:12:13 +00:00
Crypto City
920b025944 add payouts for research buildings 2021-09-01 15:12:13 +00:00
selsta
cd76eb7b8c
wallet: fix unused lambda capture warning 2021-08-28 15:18:32 +02:00
selsta
f353c295f9
wallet_rpc_server: fix help text remaining bold 2021-08-27 02:59:36 +02:00
SChernykh
e52802baef Wallet2: fix optimize-coinbase for p2pool payouts
RefreshOptimizeCoinbase was an optimization to speed up scanning of coinbase transactions before RingCT (tx version 2) where they split miner reward into multiple denominations, all to the same wallet.

When RingCT was introduced, all coinbase transactions became 1 output only, so this optimization does nothing now.

With p2pool, this optimization will skip scanning p2pool payouts because they use more than 1 output in coinbase transaction.

Fix it by applying this optimization only to pre-RingCT transactions (version < 2).
2021-08-26 11:50:15 +02:00
Crypto City
aba5f07a3d cc: increase influence less quickly with economic power 2021-08-22 14:03:00 +00:00
Crypto City
6a71c2c3b4 cc: fix bad harvest influence modifier 2021-08-22 12:56:45 +00:00
Crypto City
4e388d2f1e game: remove obsolete PlayerState argument to tile modification functions 2021-08-22 11:21:42 +00:00
Crypto City
9eb27df977 game: fix non-flat area block addition over unbuilt ground 2021-08-22 10:57:16 +00:00
Crypto City
1add331839 game: fix deadlock on exit when loading a wallet 2021-08-22 10:03:04 +00:00
Crypto City
8a34f00872 game: remove some minor information from the main panel 2021-08-22 08:34:44 +00:00
Crypto City
c6b2248611 game: guard against overflows in potential calculation 2021-08-21 22:22:17 +00:00
Crypto City
ebf813aae2 game: add influence and gemstone score to selection info 2021-08-21 21:24:39 +00:00
Crypto City
e5703bf002 game: force new snapshot when out of sync 2021-08-21 21:24:15 +00:00
Crypto City
dc1fc3e9ca game: set flag as dirty when changing building settings 2021-08-21 21:23:48 +00:00
Crypto City
f309f1422c fix sync failure when popping a game update block, but only it 2021-08-21 16:11:28 +00:00
Crypto City
964dd1bfd0 game: speed up selection info tooltip update 2021-08-21 14:44:33 +00:00
Crypto City
c8e28c14e4 cc: halve temperature decrease with altitude
it was multiplied by four with the previous height map redesign
2021-08-21 14:44:33 +00:00
Crypto City
0b9728c08d game: more optional command info in history 2021-08-21 14:44:33 +00:00
Crypto City
d7f541ad2e blockchain: fix missing nonces in cc_nonces_used 2021-08-21 14:44:33 +00:00
Crypto City
3790bc210e db_lmdb: clear returned accounts array before filling in is_cc_nonce_used 2021-08-21 14:44:33 +00:00
Crypto City
11fbeaa8ff cc: do not include dividend sender in counterparties if excluded 2021-08-21 14:44:33 +00:00
Crypto City
3cda06767b cc: add a simpler function to get a date as only a string 2021-08-21 14:44:33 +00:00
Crypto City
11872cbab8 cc: remove nonsensical test for palette changes 2021-08-21 14:44:33 +00:00
Crypto City
22bc59cb06 remove unused BlockchainDB method 2021-08-21 14:44:33 +00:00
luigi1111
0061da9e63
Merge pull request #7878
a9aaa47 wallet_api: add make_uri (tobtoht)
2021-08-20 16:50:24 -04:00
luigi1111
8b9eea92f1
Merge pull request #7849
6f15a0c Make sure node returns to wallet that real output is unlocked (j-berman)
2021-08-20 16:49:59 -04:00
luigi1111
1b079e5195
Merge pull request #7845
e1af8dc Protect client from divide by 0 caused by integer truncation (j-berman)
2021-08-20 16:45:15 -04:00
luigi1111
5812b757e0
Merge pull request #7821
da2955f Apply gamma distr from chain tip when selecting decoys (j-berman)
2021-08-20 16:33:53 -04:00
anon
4ced092aae daemon: allow proxy configuration
Co-authored-by: selsta <selsta@sent.at>
Co-authored-by: tobtoht <thotbot@protonmail.com>
2021-08-20 21:24:29 +02:00
Kermit Alexander II
24d3d65d42 monero-wallet-rpc: Prevent --password-file from being used with --wallet-dir 2021-08-20 08:54:41 -05:00
Crypto City
9a694824e9 game: fix rejected trade commands due to bad expiration time 2021-08-20 13:06:14 +00:00
Crypto City
11bca9bdc0 game: allow loading a readonly building settings screen without a wallet 2021-08-20 13:06:14 +00:00
Crypto City
ac2eba7e06 game: add user selected information to the selection tooltip 2021-08-20 13:06:14 +00:00
j-berman
e1af8dc02c Protect client from divide by 0 caused by integer truncation 2021-08-19 14:56:36 -07:00
j-berman
da2955feae Apply gamma distr from chain tip when selecting decoys
- matches the paper by Miller et al to apply the gamma from chain tip, rather than after unlock time
- if the gamma produces an output more recent than the unlock time, the algo packs that output into one of the first 50 spendable blocks, respecting the block density factor
2021-08-19 14:51:20 -07:00
selsta
d749e0d97c
ringct: silence unused variable warning 2021-08-19 22:00:44 +02:00
mj-xmr
15936bfa0f
Device: remove unused and incorrect non-default constructor 2021-08-19 21:56:12 +02:00
tobtoht
a9aaa47abb
wallet_api: add make_uri 2021-08-19 15:35:37 +02:00
Crypto City
b8cb77eebe cc: add missing min size for workforce building 2021-08-18 22:38:51 +00:00
Crypto City
1b73444375 remove extra and cc signature from transaction where it can be 2021-08-18 22:38:51 +00:00
Crypto City
83ebf8aad4 improve third party matching 2021-08-18 22:38:51 +00:00
Crypto City
7ccf0e5963 cc: fix third party match cc_used_trades usage 2021-08-17 13:03:14 +00:00
Crypto City
7cb1d0f69d cc: prevent more bad matched nonces in trade and match commands 2021-08-17 13:02:14 +00:00
Crypto City
9bae95ca45 faster snapshot retrieval 2021-08-16 17:18:05 +00:00
Crypto City
9d091d880b rpc: fix bootstrap mode snapshot RPC mismatch 2021-08-16 13:51:15 +00:00
Crypto City
3e67738fa7 sinmgle out "destroyed by fire" in news 2021-08-15 14:04:18 +00:00
Crypto City
0b74ce603b game: fix travel to city screen when refreshing after a new block 2021-08-15 13:45:19 +00:00
Crypto City
5c433b3efc game: better history text canonicalization (should work with UTF-8) 2021-08-15 13:45:19 +00:00
Crypto City
9b6915640b cc: factor get_gemstone_power out 2021-08-15 13:45:19 +00:00
Crypto City
b53e354a7a blockchain: support for loading hoh data from townforge.net
It's trusted, but speeds up initial sync a lot, which is a fair
tradeoff for a game

Turned off with --no-trusted-block-hashes
2021-08-15 10:37:54 +00:00
Crypto City
6b095b6c03 game: fix history text canonicalization 2021-08-14 12:51:41 +00:00
Crypto City
21e93566ee game: process events when a building is removed due to land tax default 2021-08-14 11:45:45 +00:00
Crypto City
b9b4efb971 game: remove notifications from chat
we now have a news screen for this
2021-08-14 11:40:52 +00:00
Crypto City
8f7a81fe35 game: fix loading ignore recommendations bugs
it ignored flags not in the current city, and items not currently
loaded in the game state (which lazy loads), and possibly players
2021-08-14 11:01:26 +00:00
Crypto City
fd71529c3b game: fix nameless buildings not being refered to as "flag N" 2021-08-13 23:37:18 +00:00
Crypto City
ac6c36043b game: do not show view ipfs button for ignored items 2021-08-13 19:22:14 +00:00
Crypto City
f53332f99c scripts can now add a storyline event string, shown in news 2021-08-13 17:42:23 +00:00
Crypto City
c1a1157d40 game: include new storyline scripts in news 2021-08-13 16:47:07 +00:00
Crypto City
cd02e54998 game: fix "is this chat line for me" detection 2021-08-13 15:53:03 +00:00
Crypto City
67ec4b41a7 game: fix "out of X in Y" using current (not selected) player inventory 2021-08-13 15:38:56 +00:00
Crypto City
188ae3f271 game: enlarge min cloud size 2021-08-13 14:06:08 +00:00
Crypto City
d0b7882c6d cc: make gemstones a bit easier to find with flag area 2021-08-13 13:49:50 +00:00
Crypto City
945d347610 game: fix missing clouds 2021-08-13 10:56:34 +00:00
Crypto City
072b718bf5 game: fix crash travelling to another city 2021-08-12 23:55:12 +00:00
Crypto City
364e20464d game: add influence terrain modes 2021-08-12 13:15:35 +00:00
Crypto City
6fb0af6482 game: early out adding flag areas when possible 2021-08-12 11:01:36 +00:00
Crypto City
1ad13c63b9 add more vegetation materials 2021-08-12 11:01:36 +00:00
Crypto City
71fd61cd37 game: fix crash placing blocks 2021-08-12 11:01:36 +00:00
Crypto City
ae51ddaac7 game: speed up terrain generation a bit 2021-08-12 11:01:36 +00:00
Crypto City
52318c2cf1 game: fix terrain blur indexing 2021-08-12 11:01:36 +00:00
Crypto City
c42a9770be game: use 16 bit single compoment image for heightmap
saves memory, and possibly a bit of time
2021-08-12 11:01:36 +00:00
Crypto City
5db3e646af make potential/height functions safer 2021-08-12 11:01:36 +00:00
Crypto City
7827f70905 game: add terrain subsampling to options 2021-08-12 11:01:36 +00:00
Crypto City
5b50f4ee74 game: subsample terrain for memory and speed gains 2021-08-12 11:01:35 +00:00
Crypto City
2c75c589c2 game: move selection highlight to the fragment program
Should be faster, avoids extra geometry and fixes Z fighting
on uneven terrain
2021-08-12 11:01:35 +00:00
Crypto City
c5ab837276 game: log texture and their sizes (disabled) 2021-08-12 11:01:35 +00:00
Crypto City
5206ea2ec3 fix hunts conflicting with each other 2021-08-12 11:01:35 +00:00
Crypto City
d26f8fe73b game: decrease memory usage 2021-08-12 11:01:35 +00:00
Crypto City
42383b5c45 game: cancel wallet ops on exit 2021-08-12 11:01:35 +00:00
Crypto City
fd9a94543a game: fix loading icon leak 2021-08-12 11:01:35 +00:00
Crypto City
4212585cf4 game: add city info in the travel to city screen 2021-08-12 11:01:35 +00:00
Crypto City
f593cdeb41 tx_pool: move various errors to L1, to match existing ones 2021-08-12 11:01:35 +00:00
Crypto City
6f7bf6069c game: add city foundation to news screen, tweak other news icons 2021-08-12 11:01:35 +00:00
Crypto City
ee5110249e bump sprawling city specialization to 10% 2021-08-12 11:01:35 +00:00
Crypto City
400c1a099e cc: fix sprawling cty specialization from 20% to 5% 2021-08-12 11:01:35 +00:00
Crypto City
f85253beb2 cc: do not count collectible coins for item collector badge 2021-08-12 11:01:35 +00:00
Crypto City
dd065998d3 game: speedup history filtering 2021-08-12 11:01:35 +00:00
Crypto City
bee7630bdb game: fix crashes in the toast notifications 2021-08-12 11:01:35 +00:00
Crypto City
fb9d84b807 game: remove player name in player history screen
it's always the same and unnecessarily takes up space
2021-08-12 11:01:35 +00:00
Crypto City
33ec88a3aa game: add all event info to the export file 2021-08-12 11:01:35 +00:00
Crypto City
ffb1c272d0 game: make trade txes short lived if they're fully matched 2021-08-12 11:01:35 +00:00
Crypto City
1fd1697750 game: fix harvesting inactive flags 2021-08-12 11:01:35 +00:00
Crypto City
922e732250 game: fix selling land/cities 2021-08-12 11:01:35 +00:00
Crypto City
1dec7c7954 tx_pool: remove txes with commands with invalid signatures
even if kept_by_block, since that'll be moot due to locking
2021-08-12 11:01:35 +00:00
Crypto City
88c2c3d68a do not consider commands with bad signatures in chat/pending
These are probably from another chain, or malicious, though
they could be due to a reorg
2021-08-12 11:01:35 +00:00
luigi1111
89664fcee5
Merge pull request #7811
3d3a671 Daemon: Update average block size table (rbrunner7)
2021-08-11 22:37:56 -04:00
luigi1111
521b4d9ded
Merge pull request #7809
7354ffb p2p: remove blocked addresses/hosts from peerlist (moneromooo-monero)
2021-08-11 22:35:15 -04:00
luigi1111
cb08466394
Merge pull request #7802
a3d2b71 wallet_api: expose offline mode status (rating89us)
2021-08-11 22:33:38 -04:00
luigi1111
5cebb8edc0
Merge pull request #7800
b48074f Fixed json serialization of rct::RCTTypeNull (SChernykh)
2021-08-11 22:32:39 -04:00
luigi1111
1bb8ec1b97
Merge pull request #7795
87a0928 rpc: source file extensions must be explicit (cmake warning) (selsta)
2021-08-11 22:31:34 -04:00
luigi1111
62844a776d
Merge pull request #7786
9c6e094 fix #7784 - deinit wallet in wallet dtor (Dusan Klinec)
2021-08-11 22:30:11 -04:00
j-berman
6f15a0c8d3 Make sure node returns to wallet that real output is unlocked 2021-08-11 07:28:10 -07:00
moneromooo-monero
7354ffb8a7
p2p: remove blocked addresses/hosts from peerlist 2021-08-05 17:29:25 +00:00
Dusan Klinec
13a8a576ed
trezor: try empty passphrase first
- Try empty passphrase first when opening a wallet, as all Trezors will have passphrase enabled by default by Trezor Suite by default.
  This feature enables easier access to all users using disabled passphrase (or empty passhprase)
- If wallet address differs from device address with empty passphrase, another opening attempt is made, without passphrase suppression,
  so user can enter his passhprase if using some. In this scenario, nothing changes to user, wallet opening just consumes one more call
  to Trezor (get wallet address with empty passphrase)
- also change how m_passphrase is used. Previous version did not work well with recent passphrase entry mechanism change (made in Trezor),
  thus this commit fixes the behaviour).
2021-08-03 13:54:04 +02:00
luigi1111
ed506006d2
Merge pull request #7796
0c6e1d3 wallet2: chunk get_outs.bin calls to avoid sanity limits (moneromooo-monero)
2021-08-02 18:54:46 -04:00
luigi1111
eeda76570c
Merge pull request #7790
bc8d764 wallet: rephrase error message on invalid device address (Dusan Klinec)
2021-08-02 18:53:05 -04:00
luigi1111
8c41d14ad5
Merge pull request #7788
f5eb2ce wallet2: Don't auto lock device on process parsed blocks (tobtoht)
2021-08-02 18:50:25 -04:00
luigi1111
894e5b2794
Merge pull request #7767
5fa1c90 Fix describe_transfer for multiple txes in a txset (Alex Opie)
2021-08-02 18:47:05 -04:00
luigi1111
0cdb8d02e8
Merge pull request #7757
d689b94 protocol: fix delayed 'you are now synchronized...' message (moneromooo-monero)
2021-08-02 18:43:44 -04:00
luigi1111
9aa2d4c16e
Merge pull request #7747
8cf95c8 wallet2: refresh: check error and throw before potentially breaking out of loop (tobtoht)
2021-08-02 18:42:32 -04:00
Alex Opie
5fa1c90102
Fix describe_transfer for multiple txes in a txset
This ensures each list of recipients is only the recipients
for one transaction. It also adds a new field "summary"
that describes the txset as a whole.

Fixes #7344
2021-08-02 20:39:49 +02:00
Lee *!* Clagett
2a8a51129f Quicker resource cleanup on p2p socks timeout 2021-07-29 08:54:13 +00:00
selsta
979d121ed7
blocks: fix cmake syntax 2021-07-28 00:39:48 +02:00
luigi1111
960376b960
Merge pull request #7782
a48db50 device_trezor_base: fix typo (anon)
2021-07-27 17:04:14 -04:00
luigi1111
d9c9a11c54
Merge pull request #7772
eda5c30 Doc: Update blockchain stats with review comments (mj-xmr)
2021-07-27 17:01:42 -04:00
luigi1111
69e714c749
Merge pull request #7745
d52d21b ledger: don't lock for software device (tobtoht)
2021-07-27 16:56:37 -04:00
luigi1111
62bcdc1d3c
Merge pull request #7744
ce40c33 ledger: use software device if we have view key (tobtoht)
2021-07-27 16:56:09 -04:00
luigi1111
2d5b8a6ff7
Merge pull request #7740
8cea9d8 wallet: Reset RPC Pay ID on node switch (tobtoht)
2021-07-27 16:55:14 -04:00
luigi1111
ca4de5f96d
Merge pull request #7698
7359d51 cmake: fix non portable code (selsta)
2021-07-27 16:53:55 -04:00
rbrunner7
3d3a67142c Daemon: Update average block size table 2021-07-27 13:45:55 +02:00
Crypto City
b9664f7cb9 game: fix wrong land cost for non default city in selection tooltip 2021-07-24 15:22:14 +00:00
Crypto City
0cdee84fd2 game: remove leftover debug info in selection tooltip 2021-07-24 15:21:54 +00:00
Crypto City
9159efb446 cc: fix integer overflow in new flag cost calculation 2021-07-24 12:41:25 +00:00
Crypto City
5504ea5bc8 nicer looking terrain attenuation around origin 2021-07-24 12:08:47 +00:00
Crypto City
01af6fa4c5 wallet2: fix loss of precision as number of outputs grow 2021-07-23 09:12:40 +00:00
Crypto City
ca01aa2221 functional_tests: add basic tests for firefighting 2021-07-23 09:10:52 +00:00
Crypto City
8734751d37 wallet2_api: add Status_BadPassword error mapping 2021-07-21 23:37:59 +00:00
Crypto City
6875a1bdd4 cc: fix missing flag name in game events 2021-07-21 23:37:25 +00:00
Crypto City
42f430cf08 functional_tests: test derelict buildings 2021-07-20 19:41:53 +00:00
Crypto City
2877109b92 game: go to flag on double click in flag search screen 2021-07-20 12:03:42 +00:00
Crypto City
fe994ffd28 game: add prestige weight to gemstone/coins description 2021-07-20 11:50:09 +00:00
Crypto City
a6eb2ab64e daemon: add cc_accounts command 2021-07-20 10:56:49 +00:00
Crypto City
548b3450e7 rpc: add some sanity checks to cc_get_production 2021-07-20 09:33:45 +00:00
Crypto City
7a9cc14c68 bump version to 0.32.1.0 2021-07-19 13:44:54 +00:00
Crypto City
7f16723ac9 core: add testnet hoh 2021-07-19 13:44:54 +00:00
Crypto City
8a9b3a2384 game: add gemstone icons for "found a gemstone" news 2021-07-19 13:30:51 +00:00
Crypto City
f37b3d4c92 add some space for extra gemstones 2021-07-19 13:30:51 +00:00
Crypto City
feff83d4ac forbid a give command giving nothing from v15 2021-07-19 13:30:51 +00:00
Crypto City
8f6610e24d core: skip topological sort when syncing block
the block already has a tx order
2021-07-19 11:51:19 +00:00
Crypto City
5e1f9e4b8b wallet2: default to not encrypt keys in memory - faster
For a game, it's the better tradeoff
2021-07-19 11:51:19 +00:00
Crypto City
fbd6a9cc51 game: add news screen 2021-07-19 11:51:19 +00:00
rating89us
a3d2b71ee9 wallet_api: expose offline mode status 2021-07-19 00:30:36 +02:00
Crypto City
a64ef67405 game: click to trade unmintable coins we have none of 2021-07-18 17:47:00 +00:00
Crypto City
c96b9dd18f rpc: take building influence into consideration in cc_get_production 2021-07-18 17:47:00 +00:00
moneromooo-monero
5a66775599 wallet2: chunk get_outs.bin calls to avoid sanity limits 2021-07-18 17:47:00 +00:00
SChernykh
b48074fb8d Fixed json serialization of rct::RCTTypeNull
rct::RCTTypeNull doesn't have these fields (ecdhInfo, outPk, txnFee).
2021-07-18 10:52:14 +02:00
moneromooo-monero
0c6e1d343e
wallet2: chunk get_outs.bin calls to avoid sanity limits 2021-07-15 17:25:07 +00:00
selsta
87a092811d
rpc: source file extensions must be explicit (cmake warning) 2021-07-15 09:42:57 +02:00
tobtoht
f5eb2ce968 wallet2: Don't auto lock device on process parsed blocks 2021-07-14 13:02:54 +02:00
Dusan Klinec
bc8d7644d2
wallet: rephrase error message on invalid device address 2021-07-14 11:02:29 +02:00
Dusan Klinec
9c6e0941cb
fix #7784 - deinit wallet in wallet dtor 2021-07-14 10:46:16 +02:00
anon
fe76d7dee7
cmake: fix undefined symbols and multiple definitions 2021-07-13 08:00:20 +02:00
anon
a48db50b1c
device_trezor_base: fix typo 2021-07-10 23:52:15 +00:00
luigi1111
de3456e127
Merge pull request #7764
e24875e simplewallet: don't truncate integ. address in export_transfers (selsta)
2021-07-10 18:01:35 -04:00
luigi1111
1e8cbc995f
Merge pull request #7762
8ae6c85 trezor: add #if for ByteSizeLong (selsta)
2021-07-10 18:00:45 -04:00
luigi1111
3c8c8e5a5b
Merge pull request #7761
8ef51dc wallet_api: fix typo in exportKeyImages (selsta)
2021-07-10 17:59:56 -04:00
luigi1111
9903b35345
Merge pull request #7754
8ff21e1 doc: update IRC references to Libera (fdov)
2021-07-10 17:59:23 -04:00
luigi1111
6043c85afe
Merge pull request #7753
f0df726 add singapore.node.xmr.pm to seed nodes (lza_menace)
2021-07-10 17:58:22 -04:00
luigi1111
c53e22c40a
Merge pull request #7748
bbeb555 wallet_api: getPassword (tobtoht)
2021-07-10 17:57:39 -04:00
Crypto City
2e6bb351c8 some belt and braces checks 2021-07-10 17:30:32 +00:00
Crypto City
4aeb8b2870 remove leftover noisy debug traces 2021-07-10 17:09:17 +00:00
Crypto City
a2cfd32a31 wallet2_api: fix build after stop API change 2021-07-09 16:02:19 +00:00
Crypto City
3881ced32f bump version to 0.32.0.1 2021-07-09 12:33:38 +00:00
Crypto City
1ea6bd8980 bodge version string on UTF-8 challenged windows 2021-07-09 09:29:38 +00:00
Crypto City
274d6c71d8 game: fix editing secondary item description 2021-07-09 09:28:42 +00:00
Crypto City
374159faf5 game: fix crash at new year start 2021-07-09 01:31:02 +00:00
Crypto City
5dec72a218 bump version to 0.32.0.0 2021-07-08 01:23:36 +00:00
Crypto City
63c1c92eb6 do not add 0 item to event item list 2021-07-08 01:23:36 +00:00
Crypto City
6f067ea045 remove internal info from payout events 2021-07-08 01:23:36 +00:00
Crypto City
fcf3261ef5 daemon: add a few parameters to cc_get_last_events 2021-07-07 19:58:23 +00:00
Crypto City
a9188a1b6b game: some minor research UI fixes 2021-07-07 19:58:23 +00:00
Crypto City
7a6beb4b3c rpc: return expiration block in cc_is_invitation_used 2021-07-07 19:58:22 +00:00
Crypto City
e1bb818a90 game: collapse production/consumption in game update notification 2021-07-06 20:50:44 +00:00
Crypto City
4a23415de3 game: add appropriate message in hunt screen if no non-road building 2021-07-06 20:50:44 +00:00
Crypto City
5b070cd0bd game: add a wallet function to get current hard fork version 2021-07-06 20:50:44 +00:00
Crypto City
5c29d4356c fix hunting allowing an empty building as condition 2021-07-06 20:50:44 +00:00
Crypto City
da83f01ff4 make dividend command more flexible
it can optionally distribute to unowned items only, as well as
pay per item rather than split
2021-07-06 12:52:33 +00:00
Crypto City
01a62fa9b8 display new item name in event/notification 2021-07-06 09:50:44 +00:00
mj-xmr
eda5c303cd
Doc: Update blockchain stats with review comments 2021-07-06 07:12:33 +02:00
Crypto City
7d55777ba9 pass hard fork version to cc command check/execute/revert 2021-07-05 13:55:19 +00:00
Crypto City
3536b1d36a some things are now affected by how much a flag is south oriented 2021-07-05 00:49:36 +00:00
tobtoht
bbeb555f00 wallet_api: getPassword 2021-07-05 02:49:27 +02:00
Crypto City
fed2fb90ac rpc: add a cc_get_production RPC 2021-07-04 08:20:46 +00:00
Crypto City
9553ad44d9 game: print average slope in meters, not internal units 2021-07-03 19:29:51 +00:00
Crypto City
dc40776480 game: omit penalty/bonus messages from game update notification 2021-07-03 19:29:04 +00:00
Crypto City
9ea41cd6e9 add cliffhanger badge - max altitude span on a flag 2021-07-03 18:42:42 +00:00
Crypto City
0e49625986 bonus/penalties based on average flag slope 2021-07-03 15:40:49 +00:00
Crypto City
4b6e430553 higher and more intereresting landscape, and tweak some potential maps 2021-07-03 15:39:42 +00:00
Crypto City
68ec39eb09 game: fix missing decrement using height data 2021-07-03 15:38:28 +00:00
Crypto City
2d5ceada54 cc: fix using floating point in consensus code 2021-07-03 13:34:12 +00:00
Crypto City
41cf05df0e lessen the land tax increase rate 2021-07-03 11:34:54 +00:00
Crypto City
b6fe314645 cc: fix mountainer badge thresholds scale (48 -> 64) 2021-06-29 09:40:52 +00:00
Crypto City
42886701b3 game: add a notifications history screen in options 2021-06-29 08:56:56 +00:00
Crypto City
20c28e3138 game: fix stray "lv N" strings in chat colour widget 2021-06-28 17:49:25 +00:00
Crypto City
5f3c9ee7ac cc: minor speedup to terrain generation bottleneck 2021-06-28 17:37:25 +00:00
Crypto City
f97eb0eefd hunting in a city now require at least a non road building there 2021-06-28 16:43:17 +00:00
Crypto City
943c6735b9 daemon: print number of merged mined blocks in bc_dyn_stats 2021-06-28 16:25:51 +00:00
Crypto City
23c02806b9 decrease min trade timeout 2021-06-28 15:58:04 +00:00
Crypto City
55ef3b7edf increase auction description max length 2021-06-28 15:57:47 +00:00
Crypto City
ece002068c game: save wallet cache when loading another wallet 2021-06-28 15:57:32 +00:00
Crypto City
2e9d80187f don't keep bid amount in reserve when those bids get outbid 2021-06-28 15:51:19 +00:00
Crypto City
d2f715b225 game: add "owned" terrain map 2021-06-28 14:02:22 +00:00
Crypto City
9428ba293e game: fix number of invited players always using the current account 2021-06-28 13:34:10 +00:00
Crypto City
ddb56cca7a game: only add notification when sending a command succeeds 2021-06-28 08:57:37 +00:00
Crypto City
8074f7c4cc game: add note about smelting coins rather than destroying them 2021-06-28 08:23:09 +00:00
Crypto City
407e823951 game: fix adding blocks underneath others 2021-06-28 07:29:58 +00:00
selsta
8ae6c85efd
trezor: add #if for ByteSizeLong
Turns out Ubuntu 18.04 ships with an old protobuf version.
2021-06-27 23:43:36 +02:00
Crypto City
194c2f4118 game: fix double notifications 2021-06-27 21:08:20 +00:00
Crypto City
17d42adef6 game: fix importing model without enough budget 2021-06-27 20:52:31 +00:00
Crypto City
966d99768a bump version to 0.31.4.0 2021-06-27 12:28:17 +00:00
Crypto City
f45f13dcc6 game: fix bad account id after restarting daemon 2021-06-27 12:28:17 +00:00
Crypto City
3b8bea8cc1 game: guard against out of range discoveries 2021-06-27 10:48:32 +00:00
Crypto City
a045cccf67 game: fix trades with multiple matches only notifying about one match 2021-06-27 10:38:56 +00:00
Crypto City
bae1c0ca3d cc: fix bad prerequisites for maintenance discoveries 2021-06-27 09:46:52 +00:00
Crypto City
204baeb016 game: add icon to deposit/withdraw messages 2021-06-27 09:46:52 +00:00
Crypto City
e742f48189 game: add toast notifications when creating/redeeming an account 2021-06-26 21:42:12 +00:00
Crypto City
639c6b9145 game: fix read buffer overflow creating loading icon 2021-06-26 13:17:55 +00:00
Crypto City
861852d8ea bump version to 0.31.3.1 2021-06-25 18:02:33 +00:00
Crypto City
ec2f74827d game: fix invitation creation after miner hijack change 2021-06-25 18:01:51 +00:00
Crypto City
91f6af37a1 bump version to 0.31.3.0 2021-06-25 14:57:09 +00:00
Crypto City
5e7d8563ee game: add cliff potential to the terrain view 2021-06-25 14:55:04 +00:00
Crypto City
eec4ccac0f cc: fix some missing badges, and tweak others 2021-06-25 14:54:43 +00:00
Crypto City
1ae97ef0f1 cc: fix streak badge computation 2021-06-24 20:36:41 +00:00
tobtoht
8a67724218
wallet_api: get bytes sent/received 2021-06-24 21:32:03 +02:00
selsta
e24875e572
simplewallet: don't truncate integ. address in export_transfers 2021-06-24 21:21:26 +02:00
luigi1111
14a1b89122
Merge pull request #7752
4251cc0 unit_tests: check for ge_frombytes_vartime failure (moneromooo-monero)
67b97a5 easylogging++: do not delete uninitialized objects (moneromooo-monero)
7b6d959 trezor: fix potential use of uninitialized memory (moneromooo-monero)
2021-06-24 14:13:19 -05:00
luigi1111
4f08d52dfa
Merge pull request #7750
8e0b8dd wallet/api: remove Bitmonero namespace alias (selsta)
2021-06-24 14:12:37 -05:00
luigi1111
0a9d218044
Merge pull request #7749
e63c110 wallet_api: address_book: don't lose pid on setDescription (tobtoht)
2021-06-24 14:11:45 -05:00
luigi1111
99aa45fd34
Merge pull request #7746
1aa1850 wallet_api: signMessage: add sign with subaddress (tobtoht)
2021-06-24 14:06:13 -05:00
luigi1111
7c3629a5ee
Merge pull request #7742
f174a8f wallet_api: reconnectDevice (tobtoht)
2021-06-24 14:05:35 -05:00
luigi1111
ce129599d0
Merge pull request #7739
6914d5b wallet_api: move adjust_mixin call within try block (tobtoht)
2021-06-24 14:04:42 -05:00
luigi1111
48e59b8064
Merge pull request #7672
5bf91fc add documentation for monero-blockchain-stats (donkeydonkey)
2021-06-24 14:03:03 -05:00
luigi1111
ad9956d987
Merge pull request #7634
5a2edea db_lmdb: catch exceptions testing for mmap support (moneromooo-monero)
2021-06-24 14:01:42 -05:00
luigi1111
f8abb225fc
Merge pull request #7633
f6e2636 blockchain_db: harden code against invalid input types (moneromooo-monero)
2021-06-24 14:00:59 -05:00
luigi1111
3366bd81eb
Merge pull request #7612
254a133 core: speed up print_coinbase_tx_sum (moneromooo-monero)
2021-06-24 13:59:44 -05:00
luigi1111
1796b44c67
Merge pull request #7611
71741a1 blockchain_import: fix wrong reported block/tx hashes on error (moneromooo-monero)
2021-06-24 13:59:12 -05:00
Crypto City
b21653211b bump version to 0.31.2.1 2021-06-24 16:50:45 +00:00
Crypto City
dc3e8b883a game: adding blocks on an area can now be done flat or bottom hugging 2021-06-24 16:50:11 +00:00
Crypto City
1d27ab1458 game: fix crash in 3d building 2021-06-24 16:44:53 +00:00
Crypto City
6a8626b780 bump version to 0.31.2.0 2021-06-24 12:19:36 +00:00
Crypto City
579a67f341 db_lmdb: set empty packed block data upon clearing flag blocks 2021-06-24 10:54:15 +00:00
Crypto City
a898d3aa97 game: fix crash when failing to unpack tile data 2021-06-24 10:33:36 +00:00
Crypto City
bf5e9909d2 fix inventory bug with mortgages that mature while being auctioned 2021-06-24 08:50:19 +00:00
Crypto City
be8c7e47d7 fix stray spaces in maturity message 2021-06-24 08:49:04 +00:00
Crypto City
5c6fc81f7e game: move a couple more notifications to toasts 2021-06-24 08:48:43 +00:00
Crypto City
5c8743a25b fix refresh in simplewallet and chat 2021-06-24 08:48:17 +00:00
selsta
8ef51dc546
wallet_api: fix typo in exportKeyImages 2021-06-23 20:44:13 +02:00
Crypto City
983ac24170 game: improve auctions UI 2021-06-22 08:10:03 +00:00
Crypto City
0a8083112e game: display item details in auctions screen 2021-06-21 18:05:59 +00:00
Crypto City
7ee5908819 game: fix crash when racing against hover flag refresh 2021-06-21 17:40:10 +00:00
moneromooo-monero
d689b946f9
protocol: fix delayed "you are now synchronized..." message 2021-06-21 15:37:40 +00:00
Crypto City
8ed1700cd1 protocol: fix delayed "you are now synchronized..." message 2021-06-21 15:34:13 +00:00
Crypto City
4fdb61d411 bump version to 0.31.1.0 2021-06-20 22:31:44 +00:00
Crypto City
897b8622b2 game: add a tutorial trigger for the first selection 2021-06-20 22:31:44 +00:00
Crypto City
41ad94ab99 game: some asthetic tweaks 2021-06-20 22:31:44 +00:00
fdov
8ff21e1e84
doc: update IRC references to Libera 2021-06-20 21:44:45 +02:00
Crypto City
a423949ff2 db_lmdb: better short text compression 2021-06-18 21:40:33 +00:00
Crypto City
62bfd0b039 cc: remove "to tick" from event messages 2021-06-18 21:40:33 +00:00
lza_menace
f0df72688f add singapore.node.xmr.pm to seed nodes 2021-06-18 11:14:03 -07:00
Crypto City
e16af9ade8 game: do not auto start the daemon when --daemon-host is used 2021-06-18 12:51:47 +00:00
Crypto City
30c4c65b6b cc: tweak badge thresholds 2021-06-18 10:41:06 +00:00
Crypto City
f23b736272 game: fix wood/stone totals in buildings overview 2021-06-16 20:11:24 +00:00
luigi1111
b63442da21
Merge pull request #7730
e761577 provide key images of spent outputs in wallet rpc (woodser)
2021-06-16 14:38:06 -05:00
woodser
e7615772fa provide key images of spent outputs in wallet rpc 2021-06-15 15:54:39 -04:00
Crypto City
9bde8cb2d2 game: do not display syncing notification when out by just a couple blocks 2021-06-15 19:12:37 +00:00
Crypto City
277620e4be game: turn an overlooked trade notification into a toast one 2021-06-15 19:12:06 +00:00
Crypto City
e3c6f0dd6b wallet_rpc_server: fix missing num_missed_ticks in harvest RPC 2021-06-15 17:19:32 +00:00
mj-xmr
41297c10f0
CMake: strip targets (optional) with -D STRIP_TARGETS=ON 2021-06-11 21:19:37 +02:00
moneromooo-monero
7b6d959596
trezor: fix potential use of uninitialized memory
CID 1446575
2021-06-11 07:11:23 +00:00
luigi1111
7499837a6f
Merge pull request #7661
08e4497 Improve cryptonote (block and tx) binary read performance (Lee Clagett)
2021-06-10 12:00:54 -05:00
luigi1111
ca73284951
Merge pull request #7729
b2e1558 support freeze, thaw, and frozen in wallet rpc (woodser)
2021-06-10 11:47:05 -05:00
luigi1111
667d3dd4c2
Merge pull request #7684
ed6f053 blockchain: speed up repeated pops (mostly in tests) (moneromooo-monero)
2021-06-10 11:46:27 -05:00
luigi1111
a1a3e970f7
Merge pull request #7662
4da1112 rpc: send confirmations in get_transactions result (moneromooo-monero)
2021-06-10 11:34:20 -05:00
luigi1111
25bbb26f63
Merge pull request #7416
b4fe7c2 epee linkage dynamic; move monero_add_library to main CMakeLists.txt (mj-xmr)
2021-06-10 11:18:26 -05:00
Crypto City
761ccdc8b2 game: add syncing notification 2021-06-10 15:57:48 +00:00
selsta
8e0b8ddb96
wallet/api: remove Bitmonero namespace alias 2021-06-08 23:29:41 +02:00
Crypto City
7d441c2a20 daemon: fix crash in cc_get_item 0 2021-06-08 15:10:15 +00:00
tobtoht
e63c1107c0 wallet_api: address_book: don't lose pid on setDescription 2021-06-08 15:20:48 +02:00
Crypto City
3879a9e5e3 db_lmdb: work around unishox idiosyncracies with buffer sizes 2021-06-08 12:59:17 +00:00
Crypto City
fd157b318b slash auction bid fee 2021-06-08 12:59:17 +00:00
Crypto City
4ac5b2ddc0 db_lmdb: fix a few leaks 2021-06-08 12:59:17 +00:00
Crypto City
4105a47ed5 cc: tweak material unlock levels a bit for better homogeneity 2021-06-06 08:17:37 +00:00
Crypto City
ba796a1987 game: add functions to extend maximally in a single direction 2021-06-05 22:10:20 +00:00
Crypto City
37966ec57d game: remove "rebuilding" stdout trace 2021-06-05 14:24:48 +00:00
tobtoht
8cf95c8f29 wallet2: refresh: check error and throw before potentially breaking out of loop 2021-06-04 18:37:06 +02:00
tobtoht
1aa1850ba5 wallet_api: signMessage: add sign with subaddress 2021-06-04 18:16:10 +02:00
tobtoht
d52d21bd46 ledger: don't lock for software device 2021-06-04 17:41:42 +02:00
tobtoht
f174a8f05f wallet_api: reconnectDevice 2021-06-04 15:24:53 +02:00
tobtoht
ce40c33a33 ledger: use software device if we have view key 2021-06-04 15:02:06 +02:00
tobtoht
8cea9d8605
wallet: Reset RPC Pay ID on node switch
RPC pay client ID is sent with each RPC request, set a new secret every time we switch nodes to mitigate trivial correlation
2021-06-04 13:58:09 +02:00
tobtoht
6914d5b914 wallet_api: move adjust_mixin call within try block 2021-06-04 13:41:10 +02:00
Crypto City
cb6072beef game: jump to building when double clicking in the history list 2021-06-04 09:22:23 +00:00
Crypto City
a98548b6d8 game: catch another building deactivation message 2021-06-04 08:43:18 +00:00
Crypto City
94102b96e1 game: update color names to remove "lv X" before printing unlocked colours 2021-06-03 23:01:15 +00:00
Crypto City
aa82132ade game: fix layout issues for some notifications 2021-06-03 22:36:06 +00:00
Crypto City
bda122ce47 bump version to 0.31.0.0 2021-06-03 10:39:38 +00:00
Crypto City
2dd8d8b264 wallet2: fix build error in some compilers 2021-06-03 10:39:38 +00:00
Crypto City
53b3b1f16c game: fix prestige ranking when leaderboard is empty 2021-06-03 08:36:30 +00:00
Crypto City
7ffaf6d3ae double spendable age to 20 2021-06-03 07:40:21 +00:00
Crypto City
c83f440eaa cc: bump entry level thresholds for gilded badge 2021-06-03 07:40:21 +00:00
Crypto City
c8ff78631d cc: fix yearly coins only appearing in spring 2021-06-03 07:40:21 +00:00
Crypto City
80095bb5cc game: only print overall balance change for game update 2021-06-03 07:40:20 +00:00
Crypto City
df3ad07995 cc: fix vintage badge level 5 threshold counting second year badges 2021-06-03 07:40:20 +00:00
Crypto City
c74fea14ff game: prevent buying/selling more gold/items than available 2021-06-03 07:40:20 +00:00
Crypto City
9ee1bf4f45 game: don't display the "no daemon" message twice at a time 2021-06-03 07:40:20 +00:00
Crypto City
d1a8c12ba4 game: save wallet after refresh 2021-06-03 07:40:20 +00:00
Crypto City
ce990e0615 game: fix stray discovery notifications on startup 2021-06-03 07:40:20 +00:00
Crypto City
99e5342b6f game: prune and collpase some game update events notification lines 2021-06-03 07:40:20 +00:00
Crypto City
b520d5e2c3 cc: spread out feature unlock levels more 2021-06-03 07:40:20 +00:00
Crypto City
2c0e6e35be game: notifications for level changes and unlocked features
also a couple minor notifications fixes
2021-06-03 07:40:20 +00:00
luigi1111
e31182918c
Merge pull request #7724
44e8395 CMake: glob missing headers for wallet2 (mj-xmr)
2021-06-01 22:10:19 -05:00
luigi1111
97436399eb
Merge pull request #7719
da45d3f trezor: deprecated ByteSize -> ByteSizeLong (selsta)
2021-06-01 22:09:26 -05:00
luigi1111
381f8f5e24
Merge pull request #7709
a1c4307 Warnings: unused variable in core/blockchain.cpp (mj-xmr)
2021-06-01 22:06:54 -05:00
luigi1111
d845a5a0c3
Merge pull request #7705
581c3af Warnings: unused var at cryptonote_tx_utils.cpp (mj-xmr)
2021-06-01 22:06:27 -05:00
Crypto City
bd6c016424 game: more icons for game events 2021-05-30 23:45:24 +00:00
Crypto City
592418dbb0 game: make notifications with icons less tall 2021-05-30 22:14:07 +00:00
Crypto City
4008ebdd4c game: ensure the panel is still within a resized window 2021-05-30 22:14:07 +00:00
Crypto City
d8ac1ee6ad game: bodge missing text in tutorial text
Text wrapping interferes with layout
2021-05-30 22:14:07 +00:00
Crypto City
570b636321 game: add notification (with icon) when we're outbid in an auction 2021-05-30 10:59:31 +00:00
Crypto City
2b6924169f change the genesis coin design 2021-05-30 07:49:52 +00:00
Crypto City
83a3b7c58a game: fix game-update tutorial trigger
process_game_update is never called as a snapshot is fetched
upon a game update
2021-05-30 07:49:52 +00:00
Crypto City
e5894eaa58 game: red packet icon when receiving gold 2021-05-30 07:49:52 +00:00
Crypto City
cc4828e2e6 game: make notification lifetime an option 2021-05-29 12:32:20 +00:00
Crypto City
e9d0286f63 game: fix flag tooltips being visible between buttons in main panel 2021-05-29 12:32:20 +00:00
Crypto City
d6b2c3b7f5 cc: only allow good/bad harvest events at harvest time
and increase their probability a bit to make up for it
2021-05-29 12:32:20 +00:00
Crypto City
e2ca2dbbfe add icons for special events 2021-05-29 12:32:20 +00:00
Crypto City
449ec733d3 event badges can now have a custom design 2021-05-29 12:32:20 +00:00
Crypto City
6eeea7ed94 coins can now have a custom graphic design 2021-05-29 12:32:20 +00:00
Crypto City
119e87a3bb db_lmdb: fix unused variable 2021-05-29 12:32:20 +00:00
Crypto City
a2c0441178 game: add an icon to the chop wood dialog 2021-05-29 12:32:20 +00:00
Crypto City
a7648d69fa game: activate any remaining modal window when a child window dies 2021-05-29 12:32:20 +00:00
Crypto City
1c49efbb08 game: contain tooltips in the screen area 2021-05-29 12:32:20 +00:00
Crypto City
01008e5422 game: don't display coin tooltips when a child window is open 2021-05-29 12:32:20 +00:00
Crypto City
752f8a41e5 game: add composite coin icons to mint and smelt screens too 2021-05-29 12:32:20 +00:00
Crypto City
de19506808 game: allow minting/smelting from the prestige/coins screen 2021-05-29 12:32:20 +00:00
Crypto City
bccaf520f1 game: add extra prestige if buying one in coin tooltip 2021-05-29 12:32:20 +00:00
Crypto City
ed67273475 game: add designs for non calendar coins 2021-05-29 12:32:20 +00:00
Crypto City
15852c15be game: a bit more info about gilded items prestige contribution 2021-05-29 12:32:20 +00:00
Crypto City
67f5119ae1 game: fix missing items in inventory and prestige gold report when all are reserved 2021-05-29 12:32:20 +00:00
Crypto City
8dae64647c game: fix prestige badge bonus using full badge set 2021-05-26 18:17:01 +00:00
Crypto City
457fdfbf16 move prestige screen into the player screen 2021-05-26 18:05:05 +00:00
Crypto City
629ad7b919 prestige screen and tweak prestige calculations 2021-05-26 15:31:23 +00:00
Crypto City
506ef67106 cc: rename town square proximity bonus due to prestige name clash 2021-05-26 10:03:05 +00:00
Crypto City
c4254c4804 cc: fix runic cycle calculation 2021-05-25 11:53:27 +00:00
Crypto City
d2e9c73722 game: interpret empty gold as 0 in new item screen 2021-05-24 14:02:37 +00:00
Crypto City
90e145f8c1 wallet2: fix build error with older GCC 2021-05-23 18:25:51 +00:00
Crypto City
9b6e92c4a0 wallet: store new account name in pending_tx 2021-05-23 18:25:51 +00:00
Crypto City
61aa2ec67f wallet2_api: add api to get game account/balance information 2021-05-23 18:25:51 +00:00
Crypto City
96d9ace308 port feather monero changes to townforge 2021-05-23 18:25:51 +00:00
Crypto City
e594c5c017 game: disable glibc wrappers
that'll only work in some particular setups, as more recent glibc
version have removed those particular symbols, and is only needed
when making binaries for widespread usage
2021-05-23 18:25:51 +00:00
Crypto City
d97f35612b wallet2: include cc_dest_amount in recorded out amount 2021-05-23 18:25:51 +00:00
Crypto City
86b6f72827 include pubkey and balance in cc_get_accounts response 2021-05-23 18:25:51 +00:00
Crypto City
c6e98db469 fix build issues on arch
reported by tobtoht
2021-05-19 12:30:45 +00:00
woodser
b2e1558bde support freeze, thaw, and frozen in wallet rpc 2021-05-18 20:35:48 -04:00
Crypto City
ca56cfd25a cc: fix prestige getter mixup 2021-05-18 10:44:18 +00:00
Crypto City
0c1904c213 game: guard against unparsable script in carve runestone screen 2021-05-16 22:30:40 +00:00
Crypto City
5b3099c996 game: top level button when a script can be continued 2021-05-16 22:30:40 +00:00
Crypto City
1542fb1bcc game: remove unuse variable 2021-05-16 10:47:50 +00:00
Crypto City
a6be1d2703 game: allow fetching item ownership list from the player screen 2021-05-16 10:45:40 +00:00
Crypto City
e3bd53ace3 game: take txpool commands into account in runestone message screen 2021-05-15 21:44:21 +00:00
Crypto City
539707489c game: add a help button for prestige in the player screen 2021-05-15 21:44:21 +00:00
Crypto City
d188c92b7c game: fix stale script being used due to auto parse not working 2021-05-15 19:26:16 +00:00
Crypto City
4cbabacfaa game: fix wrong choice picked for message when some are disabled 2021-05-15 18:37:53 +00:00
Crypto City
d5254c43d8 game: new button to the scripts screen from the runestone message screen 2021-05-15 18:01:22 +00:00
Crypto City
be3cb8dba4 game: add notification when starting a script 2021-05-15 17:09:06 +00:00
Crypto City
594c89923f game: switch script to "starting" message in runestone screen 2021-05-15 16:44:19 +00:00
Crypto City
fb20d4e810 game: only show disabled scripts for the game account 2021-05-15 14:26:16 +00:00
Crypto City
5752dd53b0 fix creating new scripts with new blobs 2021-05-15 14:14:31 +00:00
Crypto City
e350d4ef49 cc: actions in scripts can now have conditions 2021-05-15 11:21:43 +00:00
Crypto City
64fd08c610 cc: fix regenerated scripts with a ternary operator being unparsable 2021-05-15 10:00:48 +00:00
Crypto City
46477c8d15 game: make some more notifications toasts 2021-05-15 09:53:22 +00:00
Crypto City
6751a86309 game: fix P material picking 2021-05-15 09:45:18 +00:00
Crypto City
781e5b1e0e game: add large red notice when the game account is loaded 2021-05-14 23:23:41 +00:00
Crypto City
d602ed93a5 bump version to 0.30.1.0 2021-05-14 22:37:24 +00:00
Crypto City
d6afcc2d4c game: display flag name, if any, for game event notifications 2021-05-14 21:29:39 +00:00
Crypto City
7ba84cc41b game: only use italics for audio track notifications 2021-05-14 21:29:39 +00:00
Crypto City
15be0eaaeb game: include land cost in selection tooltip 2021-05-14 20:50:22 +00:00
Crypto City
dd7710c5a9 db_lmdb: custom serialization for more record types to save space 2021-05-14 18:03:46 +00:00
Crypto City
6fd80d8406 game: show selection size in red if it is too large or straddles flags 2021-05-14 17:22:13 +00:00
Crypto City
135742961f add logging/quarrying/maintenance discoveries 2021-05-14 17:22:13 +00:00
Crypto City
71418e7498 game: don't change turn rate based on ctrl/shift 2021-05-14 17:22:13 +00:00
Crypto City
be8e1224ee game: add a mouse bound tooltip with current selection size 2021-05-14 17:22:13 +00:00
Crypto City
5342a8e62c fix tests and game after placeholder pm keys addition 2021-05-14 17:22:13 +00:00
Crypto City
5b5c29cadf game: add new audio track notifications 2021-05-14 17:22:13 +00:00
Crypto City
b9f8e43dd1 game: remove leftover debug comments 2021-05-14 17:22:13 +00:00
Crypto City
4817fa8071 game: allow toast notifications to up to half the screen width 2021-05-14 17:22:13 +00:00
Crypto City
28fa1d37d3 cc: fix trade event message, and remove leftover debug trace 2021-05-14 17:22:13 +00:00
Crypto City
72e1dbfa71 db_lmdb: compress text with unishox2
It should be especially good for game events, which have a lot of text
2021-05-14 17:22:13 +00:00
Crypto City
61f55a4ace add unishox2 to the build 2021-05-14 16:40:36 +00:00
Crypto City
93c8da0b5c cc: make all event logs use past tense 2021-05-14 16:40:36 +00:00
mj-xmr
44e8395d2a
CMake: glob missing headers for wallet2 2021-05-14 14:22:29 +02:00
selsta
da45d3f5b3
trezor: deprecated ByteSize -> ByteSizeLong 2021-05-13 03:51:31 +02:00
luigi1111
fadc112aee
Merge pull request #7696
0794811 cmake: set xcode file type (selsta)
2021-05-12 17:02:34 -05:00
luigi1111
4fcbc584f0
Merge pull request #7694
004b167 cmake: wallet_api doesn't need wallet_merged (selsta)
2021-05-12 17:00:04 -05:00
luigi1111
b7ee587ddb
Merge pull request #7691
cbd54ea cmake: set 3.5 as minimum version (selsta)
2021-05-12 16:59:17 -05:00
luigi1111
c1a1f2a6ea
Merge pull request #7688
451b5a5 clang: fix -Wrange-loop-analysis warnings (selsta)
2021-05-12 16:57:32 -05:00
luigi1111
e505ffef5f
Merge pull request #7677
445a9d8 wallet_api: import / export output function (tobtoht)
2021-05-12 16:53:27 -05:00
luigi1111
628c04499b
Merge pull request #7682
bbdb612 Wallet2: Update 'approximate_testnet_rolled_back_blocks' (rbrunner7)
2021-05-12 15:30:34 -05:00
luigi1111
7d0927f8ad
Merge pull request #7681
c57ef7f wallet2: Fix rescan_bc keep_ki option (Nathan Dorfman)
2021-05-12 15:30:05 -05:00
luigi1111
a88e115c09
Merge pull request #7668
2b91806 protocol: remove unreachable code (moneromooo-monero)
2021-05-12 15:21:27 -05:00
Crypto City
7a80b8e212 game: fix item name spam in dividend screen 2021-05-12 14:18:41 +00:00
Crypto City
028654bf1f game: avoid getting a full snapshot on reorg when possible
That is, when the popped blocks have either no command or only
commands that do not affect snapshot state
2021-05-12 13:50:28 +00:00
Crypto City
60faa8cf3d game: do not timeout notifications while the mouse is over them 2021-05-12 09:55:32 +00:00
luigi1111
066309cddb
Merge pull request #7664
5871e7a net_node: add seed node (selsta)
2021-05-11 18:04:49 -05:00
Crypto City
2e9d651b18 game: make toast notifications ignore mouse movement 2021-05-11 19:36:23 +00:00
Crypto City
c7c59a4b2b game: convert some notification into toast style ones 2021-05-11 18:56:15 +00:00
Crypto City
2f86559ee9 game: new toast style notifications 2021-05-11 13:49:11 +00:00
Crypto City
9e1349f4e7 game: make tutorial data more generic 2021-05-10 23:12:42 +00:00
Crypto City
27b91347f9 game: only dump resources in debug mode 2021-05-10 23:12:20 +00:00
Crypto City
1947830370 game: fix crash running townforge --version 2021-05-10 13:15:37 +00:00
mj-xmr
a1c4307128
Warnings: unused variable in core/blockchain.cpp 2021-05-08 12:04:19 +02:00
Crypto City
be2c2a52b2 bump version to 0.30.0.1 2021-05-08 09:48:34 +00:00
Crypto City
1a213ca7d1 bump version to 0.30.0.0 2021-05-07 22:22:27 +00:00
Crypto City
9b408791d8 p2p: add testnet nodes 2021-05-07 22:22:27 +00:00
Crypto City
94080c206f game: take new account fee when relevant in deposit dialog 2021-05-07 10:14:59 +00:00
Crypto City
82966dc1eb game: trim new player names 2021-05-07 10:14:59 +00:00
Crypto City
7a937048a9 cc: fix buying from a meat trade when meat spoilt prior to matching 2021-05-07 10:14:59 +00:00
Crypto City
555ddc7ea3 script_analyzer: fix build on windows 2021-05-07 10:14:59 +00:00
Crypto City
cb4ee1182f embed extra couple of pubkeys in account creation commands
to be used for messaging later
2021-05-07 10:14:59 +00:00
mj-xmr
581c3af03a
Warnings: unused var at cryptonote_tx_utils.cpp 2021-05-02 18:00:29 +02:00
selsta
7359d51d56
cmake: fix non portable code 2021-04-28 17:05:59 +02:00
Crypto City
7f25ffefdf game: add tutorial triggers
- all panel sections
- most screens
- blockchain commands from the player
2021-04-28 14:47:03 +00:00
selsta
0794811b40
cmake: set xcode file type 2021-04-28 14:49:13 +02:00
Crypto City
a10582af3a game: add tutorial list in options, double click to replay 2021-04-28 11:41:44 +00:00
Crypto City
9ecd16e331 game: print time from/to harvest/sowing in actual time, not blocks 2021-04-27 23:31:05 +00:00
Crypto City
cc89571b21 game: fix last service height when building 2021-04-27 23:20:20 +00:00
Crypto City
0ed78e4cd2 game: add balance change to last update events screen 2021-04-27 20:01:15 +00:00
Crypto City
5057d39cda decrease decay and repair costs, bump land tax a little 2021-04-27 18:39:05 +00:00
Crypto City
8249a86017 add badge for number of cities built in 2021-04-27 18:15:30 +00:00
Crypto City
dae4f7d65b game: auto daemon startup now works with testnet and custom port 2021-04-27 18:15:30 +00:00
Crypto City
17c9b6bea3 game: print estimated time to next tick in time units, not blocks 2021-04-27 18:15:30 +00:00
Crypto City
3106ebeee7 game: add history export option 2021-04-27 18:15:30 +00:00
Crypto City
ff77c41fce wallet: cache mining status for a couple seconds 2021-04-27 18:15:30 +00:00
Crypto City
bf81943d4d blockchain: speed up repeated pops (mostly in tests)
The heavy rolling median reset only has to be performed after
all blocks are popped
2021-04-27 18:15:30 +00:00
Crypto City
6ffc3f82ac cc: the genesis coin gives an extra prestige bonus 2021-04-27 18:15:30 +00:00
Crypto City
99b6a9b6c8 cc: fix trailblazer badge issuance when the town square is gone 2021-04-27 18:15:30 +00:00
Crypto City
b6805cb11c fix tutorial images not appearing if not in TB 2021-04-27 18:15:30 +00:00
Crypto City
da31dce374 remove obsolete last update events from the snapshot 2021-04-27 18:15:30 +00:00
Crypto City
514bec111b store better info (counterparties, all flags/items, fee) in game events
also make balance signed so we can distinguish income and expenditures,
add missing/incorrect event data
2021-04-27 18:15:30 +00:00
Crypto City
d909ba4dc3 game: add startup tutorial trigger 2021-04-27 18:15:30 +00:00
Crypto City
651488432f game: move default music volume down from 70% to 40% 2021-04-27 18:15:30 +00:00
Crypto City
a395ab3c37 remove various unused variables 2021-04-27 18:15:29 +00:00
selsta
004b167095
cmake: wallet_api doesn't need wallet_merged 2021-04-27 14:36:56 +02:00
selsta
cbd54ea524
cmake: set 3.5 as minimum version 2021-04-27 11:02:05 +02:00
selsta
451b5a510e
clang: fix -Wrange-loop-analysis warnings 2021-04-27 05:30:27 +02:00
moneromooo-monero
ed6f05357c
blockchain: speed up repeated pops (mostly in tests)
The heavy rolling median reset only has to be performed after
all blocks are popped
2021-04-26 14:07:35 +00:00
rbrunner7
bbdb612b51 Wallet2: Update 'approximate_testnet_rolled_back_blocks' 2021-04-25 10:20:39 +02:00
Crypto City
931773c40e Merge remote-tracking branch 'origin/master' into cc 2021-04-24 13:46:11 +00:00
mj-xmr
b4fe7c2401 epee linkage dynamic; move monero_add_library to main CMakeLists.txt 2021-04-24 09:45:51 +02:00
Crypto City
8c26c89c84 game: tutorials are now loaded from json 2021-04-23 23:42:27 +00:00
Crypto City
a2b226d602 cc: fix fire state accounting when the fire ends
also improve fire and crop clearout event logs
2021-04-23 20:06:19 +00:00
Crypto City
12512079cd cc: remove leftover spammy debug trace 2021-04-23 20:05:53 +00:00
Nathan Dorfman
c57ef7f807 wallet2: Fix rescan_bc keep_ki option 2021-04-23 09:11:45 -06:00
Crypto City
5b5503eef0 save a couple command fields as varints where possible 2021-04-23 08:57:12 +00:00
Crypto City
a7eea8b15f cc: reset num missed ticks on demolish 2021-04-23 08:55:44 +00:00
Crypto City
775783b3a0 cc:: record missed ticks after removing derelict buildings 2021-04-23 08:52:25 +00:00
Crypto City
e8f35a87c8 halve block time for user friendliness in gameplay 2021-04-22 23:18:32 +00:00
luigi1111
0a1ddc2eff
Merge pull request #7669
679d055 Remove payload copy in all outgoing p2p messages (Lee Clagett)
2021-04-22 01:51:01 -04:00
luigi1111
9bba3f4767
Merge pull request #7651
c8ff1d4 monero-wallet-cli: improve error message when tx amount is zero (Elliot Wirrick)
2021-04-22 01:35:20 -04:00
tobtoht
445a9d8ba3
wallet_api: import / export output function 2021-04-22 04:26:17 +02:00
Crypto City
956e578f9a game: fix model placement adding rather than replacing 2021-04-21 13:56:25 +00:00
Crypto City
96f7fc8677 game: better build/place ui 2021-04-21 13:56:25 +00:00
Crypto City
9854de369f game: add T keybinding to open the trade screen 2021-04-21 13:56:25 +00:00
Crypto City
1306ed72c1 cc: increase workforce influence 2021-04-21 13:56:25 +00:00
Crypto City
f0e804ec13 game: images in tutorials 2021-04-21 13:56:25 +00:00
Crypto City
867cd66ccc swap affluent residential and military unlock levels
fire also got brought forward to match new military unlock level
2021-04-21 13:56:25 +00:00
Crypto City
0ad5f3d9e4 game: multi page tutorial windows 2021-04-21 13:56:25 +00:00
Crypto City
a6b5210c2f increase tax increase min radius with city level 2021-04-21 13:56:25 +00:00
Crypto City
1c01ce668e cc: buff architectural flair specialization 2021-04-20 12:04:39 +00:00
Crypto City
d5709e8967 cc: buff sprawling specialization 2021-04-20 12:04:39 +00:00
donkeydonkey
5bf91fc894
add documentation for monero-blockchain-stats 2021-04-19 20:54:44 +02:00
Crypto City
604fddee32 game: new simple in game tutorial system 2021-04-19 17:13:29 +00:00
Crypto City
241b1edf69 add cartography discoveries, and tweak some discovery costs 2021-04-19 10:45:02 +00:00
Crypto City
d05d41dc9c game: fit help windows to their content's size 2021-04-18 20:46:29 +00:00
Crypto City
3d779348c5 game: add neutral terrain material - helps see flag markers 2021-04-18 19:31:09 +00:00
Crypto City
79600d23e9 ipfs: do not regenerate a SSL key every connection 2021-04-18 19:23:47 +00:00
Crypto City
f1704cf629 moose drawn water tank now adds 50% firefighting range 2021-04-18 19:23:47 +00:00
Crypto City
6ea3707cc3 bump firefighting range 2021-04-18 19:23:47 +00:00
Crypto City
0c633eef03 game: flash flag area markers when on fire 2021-04-18 19:23:47 +00:00
Crypto City
b0e4ee8621 rpc: fix rejected tx reason flag mixup 2021-04-18 19:23:47 +00:00
Crypto City
676a1ed717 wallet2: add missing failed tx reason strings 2021-04-18 19:23:47 +00:00
Crypto City
ba9e0ea31e cc: randomize fire damage to make it a bit more interesting 2021-04-18 19:23:47 +00:00
Crypto City
2232acaffe game: add firefighting range in building settings screen for military buildings 2021-04-18 19:23:47 +00:00
Crypto City
182c585e06 rpc: fix fire_state not being returned in cc_get_flag 2021-04-18 19:23:47 +00:00
Crypto City
aefb95a88b new "playing with fire" badge 2021-04-18 19:23:47 +00:00
Crypto City
1b9c448a54 cc: print actual flag names in fight fire events 2021-04-17 19:06:31 +00:00
Crypto City
5dfd50caf8 cc: fix fight_fire command balance updates 2021-04-17 19:06:31 +00:00
Crypto City
4c9d9861c7 ipfs_proxy: set pin time based on size 2021-04-17 19:06:31 +00:00
Crypto City
90e6f015a4 game: fix gold error creating new item group 2021-04-17 19:06:31 +00:00
Crypto City
150869b9eb game: print owned labour in hunt dialog, disable buttons if too low 2021-04-17 19:06:31 +00:00
Crypto City
4eb3259592 game: add "fight fire" button next to the "burning" note in the flag section 2021-04-17 19:06:31 +00:00
Crypto City
e3b3247e19 cc: deactivate flag that catch fire at once
Also better fire propagation
2021-04-17 19:06:31 +00:00
moneromooo-monero
2b918068cc
protocol: remove unreachable code 2021-04-17 15:22:26 +00:00
mj-xmr
dc81e23e60 Split epee/string_tools.h and encapsulate boost::lexical_cast 2021-04-16 20:54:20 +02:00
luigi1111
e45619e61e Revert "Merge pull request #7136"
This reverts commit 63c7ca07fb, reversing
changes made to 2218e23e84.
2021-04-16 13:52:44 -05:00
luigi1111
13418dbb98
Merge pull request #7648
25e8254 expose set_offline to wallet api (benevanoff)
2021-04-16 12:51:22 -05:00
luigi1111
288e5ec350
Merge pull request #7384
494f2e1 rpc: fix some error return codes/status (moneromooo-monero)
2021-04-16 12:48:05 -05:00
luigi1111
7cf47d754c
Merge pull request #7258
1d1c430 p2p: fix cubic selection in filtered peer list (moneromooo)
2021-04-16 12:46:34 -05:00
luigi1111
63c7ca07fb
Merge pull request #7136
23aae55 Remove payload copy in all outgoing p2p messages (Lee Clagett)
2021-04-16 12:45:30 -05:00
luigi1111
2218e23e84
Merge pull request #7002
673c6d2 Reduce compilation time of epee/portable_storage_template_helper.h (mj-xmr)
2021-04-16 12:43:42 -05:00
Crypto City
ad9076315e game: fix special event not being red colored when the flag is inactive 2021-04-16 16:25:19 +00:00
Crypto City
1af6a92b50 cc: fix subsidy log 2021-04-16 16:24:51 +00:00
Crypto City
c844683731 rpc: fix snapshot missing the most recent building 2021-04-16 12:16:32 +00:00
Crypto City
73a335f581 cc: decrease military building requirements 2021-04-16 12:16:16 +00:00
Crypto City
21ab02df4f cryptonote: fix runtime warning when creating block 0 2021-04-16 11:31:13 +00:00
Crypto City
36c3c07e25 game: start daemon without DNS queries 2021-04-16 11:15:51 +00:00
Crypto City
dcaba88f44 p2p: do not check the monero DNS block list 2021-04-16 11:15:51 +00:00
selsta
5871e7ab19
net_node: add seed node 2021-04-16 03:22:16 +02:00
moneromooo-monero
4da1112967
rpc: send confirmations in get_transactions result
if the wallet does it, it would get a wrong result (possibly even
negative) if its local chain is not synced up to the daemon's yet
2021-04-15 15:31:52 +00:00
Crypto City
d32f03348d cc: prevent distributing item groups as dividends 2021-04-15 11:24:44 +00:00
Crypto City
aaddcee0e5 game: fix misaligned widgets in item selection list 2021-04-15 11:12:21 +00:00
Crypto City
35f1255b6b cc: take reserves into account when calculating spoiling 2021-04-15 11:12:21 +00:00
Crypto City
618388ccab items can now be auctioned 2021-04-15 11:12:21 +00:00
Crypto City
a544470acb game: fix using the wrong building to round influence calculation 2021-04-14 23:19:38 +00:00
Crypto City
cf914a0f3a game: give more detail when a daemon is thought incompatible 2021-04-12 21:16:35 +00:00
Crypto City
20256888e3 embed the block 1 tag in invitations and cc signatures
to ensure they're only valid in the chain they're created on
2021-04-12 18:06:59 +00:00
Crypto City
7eafb335b1 do not reuse flags, it only leads to mistakes in history 2021-04-12 13:48:34 +00:00
Crypto City
565fba0ac2 game: enable/disable destroy and demolish commands based on flag role 2021-04-12 10:30:15 +00:00
Crypto City
0f2e15f638 game: fix error destroying a flag right after demolishing it 2021-04-12 10:29:55 +00:00
Crypto City
f2cf26638d invitations can now be tied to a particular recipient address 2021-04-11 10:22:59 +00:00
Crypto City
cd553af101 bump version to 0.29.1.1 2021-04-11 10:22:59 +00:00
Crypto City
640b942349 game: fix link error on windows 2021-04-10 23:53:11 +00:00
Crypto City
efcc9355a7 game: fix missing low balance message when accepting an invitation 2021-04-10 22:10:22 +00:00
Crypto City
694ea19dbc bump version to 0.29.1.0 2021-04-10 18:29:52 +00:00
Crypto City
6e859519c1 fix merge mining 2021-04-10 18:29:39 +00:00
Crypto City
8c4039aaf2 make it so redeemed invitations can't be hijacked by a miner 2021-04-10 18:29:39 +00:00
Crypto City
8016e95975 cc: add a bit more info in item count errors 2021-04-10 00:06:37 +00:00
Crypto City
a9f9d7bf17 cc: some extra checks on found_city revert 2021-04-10 00:06:37 +00:00
Crypto City
42416063bf fix historical temperature lookups ignoring special events 2021-04-10 00:06:37 +00:00
Crypto City
18c2607455 cc: fix temperature caching with more than one city 2021-04-10 00:06:37 +00:00
Crypto City
ffa8a52de4 game: add auto daemon options for data directory and log level 2021-04-10 00:06:37 +00:00
Elliot Wirrick
c8ff1d4d23 monero-wallet-cli: improve error message when tx amount is zero 2021-04-07 10:10:16 -04:00
luigi1111
2098941ca0
Merge pull request #7635
447bfae wallet2: fix unlocked mixup in light wallet mode (moneromooo-monero)
2021-04-06 12:23:45 -05:00
luigi1111
3c69596bc9
Merge pull request #7321
f9b5b52 fix serialization being different on mac (moneromooo-monero)
2021-04-06 12:20:15 -05:00
Crypto City
b62c73120b bump version to 0.29.0.0 2021-04-06 13:48:22 +00:00
Crypto City
e4ab54ef10 game: fix off by one in sow/harvest "not now" dialog 2021-04-06 10:46:37 +00:00
Crypto City
71c42575fe handle runestones properly on defaulted/derelict buildings 2021-04-06 10:46:37 +00:00
Crypto City
85344d7f42 rpc: add cc_get_terrain RPC for heightmap and potential maps 2021-04-06 10:46:37 +00:00
Crypto City
d98b985901 game: add cmake options to build or skip game and/or tools 2021-04-06 10:46:37 +00:00
Crypto City
34dc0c49c5 wallet2_api: update for wallet api changes 2021-04-06 10:46:37 +00:00
Crypto City
254661c45c fix build when used in a submodule 2021-04-06 10:46:37 +00:00
Crypto City
2eec2f6371 fix farming not being bothered by not having enough heating material
also fix demolishing a farm while a crop is being grown
2021-04-06 10:46:37 +00:00
benevanoff
25e82545f3 expose set_offline to wallet api 2021-04-05 13:41:04 -05:00
Crypto City
93133e2d41 cc: forbid matching to auctioned/mortgaged flags 2021-04-04 19:42:38 +00:00
Crypto City
aee26ae097 game: remove manual palette command, it's all automatic now 2021-04-04 19:42:38 +00:00
Crypto City
e8b2ddfbf0 cc: prevent building on top of future cities' town squares 2021-04-03 10:25:20 +00:00
Crypto City
1a8055684e rpc: remove obsolete width/height in cc_demolish 2021-04-02 22:54:56 +00:00
Crypto City
6d5b0222cf add runestone carving tests 2021-04-02 22:54:56 +00:00
Crypto City
d091ce93af rpc: add level to cc_get_account response 2021-04-02 17:47:05 +00:00
Crypto City
c663b3b6b6 armour plate various commands' verification code 2021-04-02 15:17:28 +00:00
Crypto City
7413fa9490 daemon: fix cc_chat in RPC mode 2021-04-01 22:13:20 +00:00
Crypto City
f6f2ba252b game: add a screen showing wallet address after wallet creation 2021-03-30 22:47:20 +00:00
moneromooo-monero
57edfd78fd
p2p: allow CIDR notation in DNS blocklist 2021-03-30 08:57:04 +00:00
luigi1111
e1d987aa66
Merge pull request #7430
064eeb2 wallet_rpc_server: set seed language in generate_from_keys (moneromooo-monero)
2021-03-29 22:37:19 -04:00
luigi1111
b12e195fba
Merge pull request #7620
fe63256 cryptonote_protocol_handler: fix race condition (anon)
ded2f3a cryptonote_protocol_handler: add race condition demo (anon)
2021-03-29 21:55:11 -04:00
luigi1111
1a8b6ba8c0
Merge pull request #7542
7c4e4c7 wallet_api: add isDeterministic() (tobtoht)
2021-03-29 21:50:53 -04:00
luigi1111
0607a10696
Merge pull request #7538
1851f26 wallet_api: add seed_offset param to seed() (tobtoht)
2021-03-29 21:47:40 -04:00
luigi1111
247db4e304
Merge pull request #7373
86263b3 Honor LARGE_PAGES flag in randomx umask (Howard Chu)
2021-03-29 21:41:56 -04:00
luigi1111
ac091fb539
Merge pull request #7358
f346e3e wallet_rpc_payments: implement multithreading (gdmojo)
2021-03-29 21:10:48 -04:00
luigi1111
c2bc829cca
Merge pull request #7326
cf266d6 bootstrap_daemon: proxy configuration support (xiphon)
2021-03-29 21:08:36 -04:00
luigi1111
8c8197463f
Merge pull request #7310
76fe73b Revert 'fix accessing an network address in a deleted context' (selsta)
2021-03-29 21:08:03 -04:00
luigi1111
1cd1206332
Merge pull request #7238
aa3e89a p2p: fix set_peer_just_seen ignoring last_seen (moneromooo)
2021-03-29 21:06:03 -04:00
luigi1111
cf1a95b67d
Merge pull request #7088
386ef03 Add TLSA support to DNSSEC fetching (Lee Clagett)
2021-03-29 21:05:00 -04:00
Crypto City
ecbf008334 cryptonote: fix block hash ignoring optional aux header 2021-03-29 21:36:17 +00:00
Crypto City
7b68cf850c rpc: fix coin gold content being expressed in 1e8 units 2021-03-29 15:14:07 +00:00
Crypto City
120b659722 game: display item gold and total item recovered in destroy items screen 2021-03-29 15:14:07 +00:00
Crypto City
d4074a5225 game: mention gold is recovered in destroy items screen 2021-03-29 11:49:13 +00:00
Crypto City
f0659eee79 game: update the IPFS upload help text 2021-03-29 10:18:49 +00:00
Crypto City
bc3279dd7c game: default to a fixed time of day, it confuses people too easily otherwise 2021-03-28 23:28:36 +00:00
Crypto City
9d5edba8fe game: fix approve/abandon widgets not appearing anymore 2021-03-28 23:16:40 +00:00
mj-xmr
673c6d2d11 Reduce compilation time of epee/portable_storage_template_helper.h 2021-03-28 15:41:48 +02:00
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
520ce1ca81 Attempt to carve the fee from a partial payment early
Do this for both the estimate and actual fee.

#7337
2021-01-25 12:01:27 +13: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