Commit Graph

9319 Commits

Author SHA1 Message Date
Howard Chu
65903d2cfc
Add rpc-restricted-bind-ip option
Fixes #6369
2020-10-29 00:22:18 +00:00
mj-xmr
8a282f64c9 Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr)
Add monero_add_minimal_executable and use in tests

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

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

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

There are two reasons for this:

1. Consistency.
2. Removing duplicates.

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

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

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

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

Some tests and tools also do, this will stay as is for now.
2020-08-17 16:23:58 +00:00
moneromooo-monero
55363c5941
Avoid some temporary strings when reading off the database 2020-08-17 14:02:27 +00:00
Alexander Blair
43f5369bec
Merge pull request #6733
4f01cf4b4 Tweak format, add option for difficulty (Howard Chu)
429d49512 Add options to print daily coin emission and fees (Howard Chu)
d745d2433 Don't forget size of prunable txn part (Howard Chu)
2020-08-16 12:56:03 -07:00
Alexander Blair
d73b1b6560
Merge pull request #6727
13eee1d6a rpc: reject wrong sized txid (moneromooo-monero)
92e6b7df2 easylogging++: fix crash with reentrant logging (moneromooo-monero)
6dd95d530 epee: guard against exceptions in RPC handlers (moneromooo-monero)
90016ad74 blockchain: guard against exceptions in add_new_block/children (moneromooo-monero)
2020-08-16 12:55:25 -07:00
Alexander Blair
569d07d60b
Merge pull request #6722
c1b03fb1a rpc: return empty txid get_outs rather than 00..00 when not requested (moneromooo-monero)
2020-08-16 12:54:42 -07:00
Alexander Blair
01b512f3a9
Merge pull request #6716
76c16822d wallet2_api: implement runtime proxy configuration (xiphon)
2020-08-16 12:52:21 -07:00
Alexander Blair
f40b9e34e0
Merge pull request #6715
3d6bc0a68 wallet2: throw a error on wallet initialization failure (xiphon)
2020-08-16 12:51:57 -07:00
Alexander Blair
43f91ee12e
Merge pull request #6703
8baa7bb23 daemon: don't print "(pruned)" for coinbase txes (moneromooo-monero)
2020-08-16 12:50:43 -07:00
Alexander Blair
0b0da2aa81
Merge pull request #6689
afd002c31 daemon: print sampling time in print_net_stats (moneromooo-monero)
ec7bba079 util: fix kilo prefix typo (K instead of k) (moneromooo-monero)
2020-08-16 12:47:36 -07:00
Alexander Blair
236256f114
Merge pull request #6679
2f1ad3b3d updates: mac gui .tar.bz2 -> .dmg (selsta)
2020-08-16 12:46:51 -07:00
Alexander Blair
eba2189925
Merge pull request #6677
f9e3fcdf3 add trezor support to sweep_single (Dusan Klinec)
2020-08-16 12:46:27 -07:00
Alexander Blair
bc48494731
Merge pull request #6661
267ce5b71 avoid a couple needless copies (moneromooo-monero)
2020-08-16 12:45:37 -07:00
Alexander Blair
8f02e7a7fc
Merge pull request #6632
ef694d028 fix warning by removing std::move() on temporary http_client object (woodser)
2020-08-16 12:44:59 -07:00
Alexander Blair
c6c4ead44e
Merge pull request #6614
fb31167b1 Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command (rbrunner7)
2020-08-16 12:44:03 -07:00
Alexander Blair
a08df6eb1b
Merge pull request #6603
4e2377995 Change ZMQ-JSON txextra to hex and remove unnecessary base fields (Lee Clagett)
2020-08-16 12:43:38 -07:00
Alexander Blair
009ca6fcd3
Merge pull request #6601
98c151ecb Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ faster (Lee Clagett)
60627c9f2 Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster (Lee Clagett)
fe96e66eb Fix pruned tx for ZMQ's GetBlocksFast (Lee Clagett)
2020-08-16 12:43:11 -07:00
Alexander Blair
0f5eb0e70c
Merge pull request #6546
eda167585 wallet_rpc_server: use unlock_time in suggested confirmations calc (moneromooo-monero)
2020-08-16 12:40:51 -07:00
Alexander Blair
461651fce5
Merge pull request #6542
35665df20 protocol: don't drop a connection if we can't get a compatible chain (moneromooo-monero)
2020-08-16 12:40:37 -07:00
Alexander Blair
6d29ee6c52
Merge pull request #6493
921dd8dde Use domain-separated ChaCha20 for in-memory key encryption (Sarang Noether)
2020-08-16 12:39:59 -07:00
Alexander Blair
e2e09d00c2
Merge pull request #6337
a11ec4ac1 Support for supercop ASM in wallet, and benchmark for supercop (Lee Clagett)
2020-08-16 12:38:44 -07:00
Alexander Blair
13549d590e
Merge pull request #6329
6bfcd3101 Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests. (Sarang Noether)
2020-08-16 12:37:43 -07:00
xiphon
728ba38b11 rpc: always send raw txes through P2P (don't use bootstrap daemon)
It turns out that some remote (bootstrap) nodes silently drop /
don't broadcast client's transactions.
2020-08-16 17:34:28 +00:00
moneromooo-monero
07442a6059
Fix build with Boost 1.74
Thanks iDunk for testing
2020-08-16 16:23:26 +00:00
Crypto City
5f3a148333 game: save/load variant palette to/from vox files
in a new VPAL extension chunk
2020-08-15 15:12:35 +00:00
Crypto City
0a2f905813 game: fix selection boolean not tracking synthetic selection 2020-08-15 15:12:35 +00:00
Crypto City
e09c5e7693 game: add a function to display building block use stats 2020-08-15 15:12:35 +00:00
Crypto City
b7d5938a8c game: ensure custom items are sorted 2020-08-15 15:12:35 +00:00
Crypto City
be0b26ef25 add item groups 2020-08-15 15:12:35 +00:00
Crypto City
b53edeb1c4 game: save main panel geometry in config file 2020-08-15 15:12:35 +00:00
Crypto City
0cb211a401 game: auto backup/restore of flag under construction 2020-08-15 15:12:35 +00:00
Crypto City
03803c73bc game: show current player events from the daemon on new block 2020-08-15 15:12:35 +00:00
Crypto City
ba3d2778d6 blockchain_prune: add new item_count table 2020-08-15 15:12:35 +00:00
Crypto City
d03841f3b1 game: replace "Error" with "Info" on messages which aren't errors 2020-08-15 15:12:35 +00:00
Crypto City
57e8013944 game: fix flags under construction going out of sync on snapshots 2020-08-15 15:12:35 +00:00
Crypto City
8a0e7c5d76 cc: make basic residential flags give proximity bonus to each other 2020-08-15 15:12:35 +00:00
Crypto City
d3c360fb7c game: add a command to remove hidden blocks 2020-08-15 15:12:35 +00:00
Crypto City
3e348124cd cc: fix earthquake/flood damage 2020-08-15 15:12:35 +00:00
Crypto City
3285129958 cc: lower food consumption 2020-08-15 15:12:35 +00:00
Crypto City
32e48574d8 wallet: add missing cost field to cc_found_city 2020-08-15 15:12:35 +00:00
Crypto City
2d93216014 cc: fix reverting cities from someone with existing buildings 2020-08-15 15:12:35 +00:00
Crypto City
085db0b118 rpc: fill out total_shares in cc_get_cities 2020-08-15 15:12:35 +00:00
Crypto City
cbdd9b3b5f cc: fix sow height recording off by one 2020-08-15 15:12:35 +00:00
Crypto City
c2f3ef8325 game: switch to walker camera when changing cities 2020-08-15 15:12:35 +00:00
Crypto City
c43c6ea144 cc: add fertile soil city specialization 2020-08-15 15:12:35 +00:00
Crypto City
370f18e612 game: add boids for aesthetic purposes 2020-08-15 15:12:34 +00:00
Crypto City
6d6a83687b tx_pool: ensure commands aren't processed twice (ie, dandelion) 2020-08-15 15:12:34 +00:00
Lee Clagett
4e2377995d Change ZMQ-JSON txextra to hex and remove unnecessary base fields 2020-08-14 23:01:00 +00:00
Lee Clagett
98c151ecb8 Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ faster 2020-08-14 19:47:19 +00:00
Lee Clagett
60627c9f24 Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster 2020-08-14 19:46:59 +00:00
Lee Clagett
fe96e66ebe Fix pruned tx for ZMQ's GetBlocksFast 2020-08-14 19:46:33 +00:00
moneromooo-monero
85899230d1
simplewallet: allow setting tx keys when sending to a subaddress
The tx key derivation is different then
2020-08-10 21:25:51 +00:00
Crypto City
f9313926eb game: fix selection not being removed as terrain is 2020-08-10 17:03:26 +00:00
Crypto City
7ca4cafc9a game: fix looping track playback 2020-08-10 17:03:26 +00:00
cohcho
4ff2074c74
cryptonote_protocol: don't synced pruned blocks before v11
There are a few Borromean proofs txes in the v8 era, and these
aren't supported by get_pruned_transaction_weight. Moreover, only
only the most recent variant of bulletproofs is currently supported.
2020-08-10 16:17:39 +00:00
Sarang Noether
921dd8dde5 Use domain-separated ChaCha20 for in-memory key encryption 2020-08-09 19:11:54 -04:00
Sarang Noether
6bfcd31015 Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests. 2020-08-09 18:42:15 -04:00
Crypto City
8ccb635b76 bump version to 0.20.0.0 2020-08-09 14:22:44 +00:00
Crypto City
6093bc0c4f game: fix off by one in terrain generation zoom limit 2020-08-09 14:15:07 +00:00
Crypto City
8130ef8fee add three new badges (elevation and crop area) 2020-08-09 13:51:46 +00:00
Alexander Blair
c108c5e2f0
Merge pull request #6354
67ade8005 Add randomized delay when forwarding txes from i2p/tor -> ipv4/6 (Lee Clagett)
2020-08-09 06:42:49 -07:00
Crypto City
96dedcd1c7 game: add a limit to the size of rectangle spans 2020-08-09 12:41:31 +00:00
Crypto City
11238aebcb game: guard against exceptions adding tiles past the height limit 2020-08-09 12:22:50 +00:00
Crypto City
5669ffd377 game: extend the octree higher than the max allowed 2020-08-09 12:22:25 +00:00
Crypto City
43880bd7d6 Straighten out 65535/65536 height limit 2020-08-09 11:07:39 +00:00
Crypto City
e000fb1146 game: log commands that fail processing 2020-08-09 10:54:46 +00:00
Crypto City
e9f43c65b0 game: remove obsolete TODO node 2020-08-09 10:54:18 +00:00
Crypto City
999b88e3b0 cc: fix terrain tile cache bug 2020-08-08 22:35:10 +00:00
moneromooo-monero
e916201f12
wallet2: fix setting tx keys when another is already set
insert doesn't actually insert if another element with the
same key is already in the map
2020-08-08 14:40:03 +00:00
Crypto City
cea8e4512f cc: add hole feature point type 2020-08-08 10:14:27 +00:00
Crypto City
281c4c913f game: use faster approximate normalization where appropriate 2020-08-08 10:14:27 +00:00
Crypto City
a80a10a96c game: speed up terrain and height map update 2020-08-07 13:36:18 +00:00
Crypto City
b44be10654 cc: add a function to return a whole row of height data 2020-08-07 13:35:48 +00:00
Crypto City
f361e184e8 cc: tiny terrain speedups 2020-08-07 11:13:13 +00:00
Crypto City
4890d2a9e2 cc: fix potential overflow in terrain generation 2020-08-07 10:53:36 +00:00
Crypto City
d1acf97442 game: disable terrain tangents for speed 2020-08-07 10:48:33 +00:00
Crypto City
8d96c5fe82 cc: fix seam in terrain generation 2020-08-07 10:35:04 +00:00
Crypto City
68f9accc79 cc: speedup terrain generation 2020-08-07 02:35:50 +00:00
Crypto City
98106d6acd cc: add event logs for crop clearout/recovery, expand spoil event 2020-08-07 00:17:19 +00:00
Crypto City
c03561fd98 cc: fix crop clearout/recovery timing 2020-08-07 00:16:58 +00:00
Crypto City
c589cd6692 game: fix crash on exit 2020-08-06 01:10:41 +00:00
Crypto City
597b730e5b game: mouse selection in material selection ui 2020-08-06 00:45:44 +00:00
Crypto City
1d0c231691 cc: build fix for windows 2020-08-05 18:50:53 +00:00
Crypto City
380b65d071 cc: decrease the central flat region a bit 2020-08-05 17:32:10 +00:00
Crypto City
9ef6939de7 add stonecutter bonus on cliffs 2020-08-05 17:32:00 +00:00
Crypto City
53a15e11b5 game: fix potential map terrain crash 2020-08-05 16:21:54 +00:00
Jason Rhinelander
20f603c6be Fix broken multisig pubkey sorting
The sort predicate is a boolean ordered-before value, but these are
returning the memcmp value directly, and thus returns true whenever the
pubkeys aren't equal.  This means:

- it isn't actually sorting.

- it can (and does) segfault for some inputs.
2020-08-05 12:42:27 -03:00
Alexander Blair
9414194b1e
Merge pull request #6571
1d31e6c00 net_node: remove dead seed nodes (selsta)
2020-08-05 07:57:54 -07:00
Crypto City
02fbfb7771 game: disable normal input when the material selector is open 2020-08-05 14:16:49 +00:00
Crypto City
0f364a96d7 cc: prevent building too close to the edges of the world 2020-08-05 14:09:06 +00:00
Crypto City
aa85887c7f cc: smooth out the potential curve 2020-08-05 14:09:06 +00:00
Crypto City
2503a39f93 game: do not add vegetation blocks to the trade screen 2020-08-05 14:09:06 +00:00
Crypto City
63409bbdd3 game: vary procsky settings based on season 2020-08-05 14:09:06 +00:00
Crypto City
a7484bd4a3 game: tweak procsky to give a feeling of cold 2020-08-05 14:09:06 +00:00
Crypto City
0682afd9c0 game: make the terrain snowy based on temperature 2020-08-05 14:09:06 +00:00
Crypto City
d628fe9185 game: include discovery bonuses on sow/harvest dialogs 2020-08-05 14:09:06 +00:00
Crypto City
3080ebc6ba cc: decrease microclimate temperature bonus 2020-08-05 14:09:06 +00:00
Crypto City
7667bc9e9f tx_pool: ensure takers are mined when their maker is mined last 2020-08-05 14:09:06 +00:00
Crypto City
2cdabc7884 cc: init town square without querying the db again (fixes tests) 2020-08-05 14:09:06 +00:00
Crypto City
0b031adc0b game: display player commands executed in new blocks 2020-08-05 14:09:06 +00:00
Crypto City
dded6e9b34 game: fix camera when connecting to the daemon after start 2020-08-05 14:09:06 +00:00
Crypto City
578819ad38 game: fix splat map indexing and fragment program bugs 2020-08-05 14:09:06 +00:00
Crypto City
ac13d7c1df game: reuse sfx audio component if possible 2020-08-05 14:09:06 +00:00
Crypto City
fb5dd77afa Farming 2020-08-05 14:09:06 +00:00
Howard Chu
4f01cf4b46
Tweak format, add option for difficulty
Set input, output, ringsize averages to 2 decimal places precision
Add option to show min/max/av per-block difficulty
2020-08-03 13:13:14 +01:00
Crypto City
94057c0037 wallet2: make is_synced detect reorgs that do not change height 2020-08-02 13:08:22 +00:00
Crypto City
dbeed97010 game: add a MessageBox ctor for std::string and const char* 2020-08-02 13:08:22 +00:00
Crypto City
5e9cb9d286 cc: fix in/out elevation average miscount 2020-08-02 13:08:22 +00:00
Crypto City
d8e4f40785 crypto: use keccak for PoW if CC_FASTER_POW is set 2020-08-02 13:08:22 +00:00
Howard Chu
429d495121
Add options to print daily coin emission and fees
Closes #6735
2020-08-01 20:48:42 +01:00
Crypto City
27ef54c38e game: remove old defined out test code 2020-08-01 17:05:19 +00:00
Crypto City
9808471d8b game: fill in flag potentials in panel flag section 2020-08-01 17:05:19 +00:00
Crypto City
c94b26c4ff game: use a fs watcher instead of loading the config file constantly 2020-08-01 17:05:19 +00:00
Crypto City
2a1c79920d speedup terrain generation 2020-08-01 17:05:19 +00:00
Howard Chu
d745d24333
Don't forget size of prunable txn part
Fixes #6732
2020-08-01 13:41:38 +01:00
moneromooo-monero
db5d6e4602
wallet2: fix wrong name when checking RPC cost 2020-07-31 14:17:23 +00:00
moneromooo-monero
13eee1d6ab
rpc: reject wrong sized txid
Reporter requested credit to be given to Decred
2020-07-30 22:52:14 +00:00
moneromooo-monero
90016ad744
blockchain: guard against exceptions in add_new_block/children
Reporter requested credit to be given to Decred
2020-07-30 22:52:11 +00:00
Crypto City
21e59a58bb cc: speed up CubicLerp/SingleCubic 2020-07-29 13:47:52 +00:00
Crypto City
052b5acca9 cc: do not add an all layer feature point when unnecessary 2020-07-27 15:01:43 +00:00
Crypto City
904bc0e732 game: filter only natural ground, not potential
also decrease filter size for speed, it still looks good
2020-07-27 14:51:08 +00:00
Crypto City
8cf6018812 cc: basic terrain type filtering 2020-07-27 14:50:32 +00:00
Crypto City
c2e44fb37b game: avoid constant cn_slow_hash when refreshing 2020-07-27 12:42:19 +00:00
Crypto City
8ce2f3ba3c cc: speed up terrain a bit 2020-07-27 12:42:19 +00:00
Crypto City
a951172b05 game: list building types that the flag can hold in settings screen 2020-07-27 10:53:16 +00:00
Crypto City
12af6d219c cc: #include <float.h> for windows 2020-07-26 23:40:18 +00:00
Crypto City
607c468522 game: fix focus issues with notification widgets and tooltips 2020-07-26 20:54:21 +00:00
Crypto City
3d45aeec8a game: better terrain rendering 2020-07-26 17:59:43 +00:00
Crypto City
031d32d08e cc: make cities grow in cost more slowly 2020-07-26 10:31:37 +00:00
Crypto City
8865cd79e7 game: reset focus as much as we can 2020-07-26 01:48:14 +00:00
Crypto City
81b40844ee cc: make some terrain voronoi cells empty 2020-07-26 00:45:25 +00:00
Crypto City
4f91c59b12 cc: fix terrain caching when changing seed 2020-07-26 00:35:29 +00:00
Crypto City
c55f7fb9b3 game: make extent markers not selectable/blocking 2020-07-25 22:43:59 +00:00
Crypto City
473d94b037 game: don't reset music when going into the options screen 2020-07-25 22:43:59 +00:00
Crypto City
e280bb5cf4 game: add a notification when a new block is found 2020-07-25 22:43:58 +00:00
Crypto City
34856d0808 keep track of the item supply 2020-07-25 22:43:58 +00:00
Crypto City
ac65554890 cc: make the town square use cobblestones, not wall sandstone 2020-07-25 22:43:58 +00:00
Crypto City
36b9d5f3ba game: fix cloud cover height changes with camera position 2020-07-25 22:43:58 +00:00
Crypto City
a4f815ec00 game: add "for sale" note in the building tooltip 2020-07-25 22:43:58 +00:00
Crypto City
c82b13e08f game: camera tweaks 2020-07-25 22:43:58 +00:00
Crypto City
5208310a41 game: use actual firefighting bonus to resolve fight fire commands 2020-07-25 22:43:58 +00:00
Crypto City
b268c5b8c7 add elevation bonus 2020-07-25 22:43:58 +00:00
Crypto City
c598cfec0a remove building within range of resource generators constraint 2020-07-25 22:43:58 +00:00
Crypto City
cc29bd8f2e cc: quadruple road stone requirements 2020-07-25 22:43:58 +00:00
Crypto City
bdfc76b151 game: change flag extents to 3D markers
Works better for 3D terrain
2020-07-25 22:43:58 +00:00
Crypto City
6e04ee20dc game: fix undo/redo not updating budget 2020-07-25 22:43:58 +00:00
Crypto City
664d56f520 Height map 2020-07-25 22:43:53 +00:00
moneromooo-monero
c1b03fb1a6
rpc: return empty txid get_outs rather than 00..00 when not requested
It's more obvious there's no txid, and it saves space
2020-07-25 17:01:21 +00:00
Crypto City
7bb9e27a16 fixed: add sin/cos tables 2020-07-25 13:09:34 +00:00
Crypto City
805f57bb8e game: use a custom geometry class for dynamic models 2020-07-24 15:36:50 +00:00
Crypto City
ba6331de8b game: fix falling to the floor on first frame 2020-07-24 15:36:50 +00:00
Crypto City
d5ed85032a game: fix jump when editing a building we're on top of 2020-07-24 15:36:50 +00:00
Crypto City
bb800cbeea game: fix undo/redo triggering the "was changed on chain" check 2020-07-24 15:36:50 +00:00
Crypto City
29bc0d85f9 game: fix falling through the floor 2020-07-24 15:36:50 +00:00
Crypto City
36c8495887 blockchain_db: fix mining maker/taker in a block 2020-07-24 15:36:50 +00:00
Crypto City
07af33b237 core: fix --block-sync-size 2020-07-24 15:36:50 +00:00
Crypto City
6918004419 cc: fix temperature to heating function 2020-07-24 15:36:50 +00:00
Crypto City
ac171bf477 cc: rewrite potential system and add more potentials 2020-07-24 15:36:50 +00:00
Crypto City
1b70f0dee1 UITBAnimatedImageWidget: avoid accessing unallocated memory 2020-07-24 15:36:50 +00:00
Crypto City
f2ab126a1d cc: remove unused city origin parameters in potential functions 2020-07-24 15:36:50 +00:00
Crypto City
cf6955fedb UITBAnimatedImageWidget: invalidate layout on animation change 2020-07-24 15:36:50 +00:00
Crypto City
3937c8a4cb game: do not include the unlocked amount in the deposit message
It just makes things more confusing
2020-07-24 15:36:49 +00:00
Crypto City
eef30b89dd game: add compass size option 2020-07-24 15:36:49 +00:00
Crypto City
0bb633c75a game: don't reload a snapshot to go to a vista in the current city 2020-07-24 15:36:49 +00:00
Crypto City
e6533ed4d1 game: add font size option and default based on screen size
Not saved for now
2020-07-24 15:36:49 +00:00
Crypto City
84128fad81 game: fix link error in dynamic builds 2020-07-24 15:36:49 +00:00
Crypto City
b6a3d9cc82 game: fix player history pagination on first load 2020-07-24 15:36:49 +00:00
Crypto City
af6e9afc60 game: add bookmark/go to vista (camera position/orientation) 2020-07-24 15:36:49 +00:00
moneromooo-monero
8baa7bb238
daemon: don't print "(pruned)" for coinbase txes
Pruned coinbase txes are the same as unpruned ones, so the
prunable data is empty
2020-07-24 13:42:20 +00:00
rbrunner7
fb31167b12 Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command 2020-07-24 07:12:11 +02:00
xiphon
76c16822d0 wallet2_api: implement runtime proxy configuration 2020-07-20 13:45:12 +00:00
xiphon
3d6bc0a680 wallet2: throw a error on wallet initialization failure 2020-07-20 04:40:34 +00:00
Alexander Blair
2a82258dff
Merge pull request #6580
ed901798d version: update name (selsta)
2020-07-19 03:42:43 -07:00
Alexander Blair
3434cc24a2
Merge pull request #6578
a6803231e daemon: complain if data dir resides on FAT32 volume (Windows) (xiphon)
2020-07-19 03:41:55 -07:00
Alexander Blair
9871fefbf9
Merge pull request #6565
72cdfa4a2 fix a few typos in error messages (moneromooo-monero)
2020-07-19 03:40:19 -07:00
Alexander Blair
c0a6e1aab9
Merge pull request #6557
bd69e3b37 testdb: add override in a couple places where it's missing (moneromooo-monero)
2020-07-19 03:39:53 -07:00
Alexander Blair
bb0241da6e
Merge pull request #6538
7178bb5c8 keccak: remove aligned check (moneromooo-monero)
2020-07-19 03:38:53 -07:00
Alexander Blair
61e5208181
Merge pull request #6537
5e0ea6e95 simplewallet: add missing calls to on_command (moneromooo-monero)
2020-07-19 03:38:07 -07:00
Alexander Blair
6d6c691a0f
Merge pull request #6536
bd9653663 db_lmdb: test for mmap support at init time (moneromooo-monero)
2020-07-19 03:37:15 -07:00
Alexander Blair
36d50d93f2
Merge pull request #6534
7bd66b01b daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation (stoffu)
2020-07-19 03:36:39 -07:00
Alexander Blair
814e617117
Merge pull request #6526
5d882f4f1 blockchain: fix theoretical race getting bulk timestamps (moneromooo-monero)
2020-07-19 03:34:52 -07:00
Alexander Blair
3ba6c7fd30
Merge pull request #6516
8656a8c9f remove double includes (sumogr)
2020-07-19 03:34:28 -07:00
Alexander Blair
a0d179e528
Merge pull request #6512
5ef0607da Update copyright year to 2020 (SomaticFanatic)
2020-07-19 03:32:59 -07:00
Alexander Blair
5041de8a3b
Merge pull request #6488
99684e3e simplewallet: add show_qr_code command (selsta)
2020-07-16 06:14:30 -07:00
moneromooo-monero
332d60719a
tx_pool: mine stem txes in fake chain mode
This fixes the functional tests, since txes would not be mined
after being sent to the daemon (they'd be waiting for the
dandelion timeout first)
2020-07-09 14:52:13 +00:00
moneromooo-monero
0fd6ccef21
blockchain: fix timestamp/difficulty cache getting out of sync
The cache is discarded when a block is popped, but then gets
rebuilt when the difficulty for next block is requested.
While this is all properly locked, it does not take into account
the delay caused by a database transaction being only committed
(and thus its effects made visible to other threads) later on,
which means another thread could request difficulty between
the pop and the commit, which would end up using stale database
view to build the cache, but that cache would not be invalidated
again when the transaction gets committed, which would cause the
cache to not match the new database data.

To fix this, we now keep track of when the cache is invalidated
so we can invalidate it again upon database transaction commit
to ensure it gets calculated again with fresh data next time it
is nedeed.
2020-07-08 22:31:51 +00:00
luigi1111
99b14ccd6a
Merge pull request #6647
4d8d121 Fix D++ block template check (vtnerd)
2020-07-08 17:25:01 -05:00
luigi1111
18bb011afe
Merge pull request #6629
795e186 blockchain: fix total_height in getblocks.bin response (moneromooo-monero)
2020-07-08 17:23:28 -05:00
luigi1111
e8d87fccc2
Merge pull request #6627
4df8f9c rpc: fix loading rpc payment data from file (moneromooo-monero)
2020-07-08 17:22:33 -05:00
luigi1111
0376195015
Merge pull request #6611
dc1a053 rpc: fix comparison of seconds vs microseconds (moneromooo-monero)
2020-07-08 17:21:31 -05:00
luigi1111
3057f52f89
Merge pull request #6599
6e4a55b rpc: fix relay_tx error return mixup (moneromooo-monero)
9b86e14 functional_tests: add simple relay_tx test (moneromooo-monero)
2020-07-08 17:20:29 -05:00
luigi1111
228101a72e
Merge pull request #6597
ec46069 Fix incorrect lenght of command INS_PREFIX_HASH (grydz)
2020-07-08 17:18:10 -05:00
luigi1111
81c2586358
Merge pull request #6588
bcef52d daemon: remove time based 'update needed' status string (moneromooo-monero)
2020-07-08 17:15:19 -05:00
luigi1111
340e1943ac
Merge pull request #6587
94befec fix typo in pick_preferred_rct_inputs (Parean)
2020-07-08 17:14:09 -05:00
luigi1111
be170c485c
Merge pull request #6584
78d435a rpc: don't display invalid json errors on default log level (moneromooo-monero)
2020-07-08 17:12:43 -05:00
luigi1111
8b3fa2d373
Merge pull request #6574
7ebb351 rpc: lock access to the rpc payment object (moneromooo-monero)
2020-07-08 17:11:32 -05:00
luigi1111
634262f3f5
Merge pull request #6568
f037121 cryptonote_core: remove 'We are most likely forked' message (moneromooo-monero)
2020-07-08 17:10:39 -05:00
luigi1111
f1334ebf64
Merge pull request #6566
567402c protocol: move the 'peer claims higher version' warning to debug (moneromooo-monero)
2020-07-08 17:08:58 -05:00
luigi1111
ed903578d7
Merge pull request #6544
5741b4d blockchain: detect and log bad difficulty calculations (moneromooo-monero)
2020-07-08 17:04:41 -05:00
Crypto City
e28cd0c4ce game: allow ellipsoid selection on land without flags 2020-07-08 15:08:46 +00:00
Crypto City
ba37b600e1 game: new better selection render code 2020-07-08 10:50:00 +00:00
Crypto City
a0151f3322 game: better wording for "changes automatically abandoned" message 2020-07-08 01:26:41 +00:00
Crypto City
cfd4f8773e game: fix set_intersection with disjoint sets, and add missing variant 2020-07-08 01:26:41 +00:00
Crypto City
6a7b98f6e2 game: change fatal error dialog name to Townforge 2020-07-07 10:16:30 +00:00
Crypto City
e74bd4023e game: edit mode switch on/off speedups 2020-07-07 01:40:14 +00:00
selsta
ed901798d9
version: update name 2020-07-06 23:22:25 +02:00
Crypto City
fbc158483b game: fix tile leaks 2020-07-06 18:26:19 +00:00
Crypto City
e762925a34 tx_pool: ensure we don't add two dependent build commands in a block 2020-07-06 16:14:08 +00:00
Crypto City
b650db10a3 game: fix queued commands showing others' commands 2020-07-06 16:07:15 +00:00
Crypto City
0b20f2598c game: fix playing a particular track 2020-07-06 15:27:24 +00:00
Crypto City
5fa715215b game: fix OOM in selection 2020-07-06 15:04:12 +00:00
Crypto City
dbca7896f6 p2p: move a spammy log to debug 2020-07-05 23:41:17 +00:00
Crypto City
a10a3db128 bump version to 0.19.1.3 2020-07-05 22:43:42 +00:00
Crypto City
e77cd6023c game: fix food/heating in building settings screen 2020-07-05 18:22:44 +00:00
Crypto City
4b6f3b5326 p2p: make a log less noisy 2020-07-05 16:55:38 +00:00
Crypto City
bc3510ead4 game: ensure a snapshot is requested on reorg or sync error 2020-07-05 16:55:38 +00:00
Crypto City
336ac147e3 cryptonote_basic: allow getting pruned weight for txes with no range proofs
Bare txes are just that
2020-07-05 16:55:38 +00:00
Crypto City
041b57752a remove old cc debug commands
They're useless now, since everything can be done in the game
2020-07-05 14:34:45 +00:00
Crypto City
968811a33e add ICU_LIBRARIES for boost_locale on windows 2020-07-05 13:34:02 +00:00
Crypto City
0e30f0d385 game: revert debug build options 2020-07-05 13:29:27 +00:00
Crypto City
0ddf600c3b game: add an option to display pending unmatched trades 2020-07-05 12:55:43 +00:00
Crypto City
3bfea164b5 game: catch exceptions on withdraw 2020-07-05 12:55:43 +00:00
Crypto City
cd5fd5ccf0 cc: fix mining trade commands referencing txpool trade commands 2020-07-05 12:55:43 +00:00
Crypto City
efe0af4e51 bump version to 0.19.1.2 2020-07-04 11:26:58 +00:00
Crypto City
b675367f5d game: fix account creation command not showing up in queued commands 2020-07-04 11:26:58 +00:00
Crypto City
db7fc22681 game: fix accessing freed memory in player history navigation 2020-07-04 11:26:58 +00:00
Crypto City
d2e2fedb62 game: fix accessing freed memory when cancelling password dialog 2020-07-04 11:26:58 +00:00
Crypto City
3bbfa8823a game: fix accessing freed memory in options dialog 2020-07-04 11:26:58 +00:00
Crypto City
3d47f9878b s/Creating/Building/ for building settings in queued commands 2020-07-04 11:26:58 +00:00
Crypto City
966505cf59 game: improve music shuffle mode 2020-07-04 11:26:58 +00:00
Crypto City
494a5677d2 game: remove leftover debug traces 2020-07-04 11:26:58 +00:00
Crypto City
acc6694561 game: fix loading from config in single directory mode 2020-07-04 11:26:58 +00:00
Crypto City
d26aa755c5 static build fixes 2020-07-04 11:26:58 +00:00
Crypto City
43e6932dce game: add sanity check on width/height when popping tiles 2020-07-04 10:22:31 +00:00
Crypto City
cf78cddf21 bump version to 0.19.1.1 2020-07-02 22:43:43 +00:00
Crypto City
5ddc99f872 more static build fixes 2020-07-02 22:43:01 +00:00
Crypto City
a0162bf909 bump version to 0.19.1.0 2020-07-02 20:28:25 +00:00
Crypto City
fb8bce37b2 static build fixes 2020-07-02 20:26:28 +00:00
Crypto City
75ae2ba6d1 game: make this work with pak files and without a bin directory 2020-07-02 20:26:28 +00:00
Crypto City
e0f406ff8a bump version to 0.19.0.0 2020-06-30 16:23:20 +00:00
Crypto City
2e49b2e7f7 game: fix crash in city level window 2020-06-30 16:23:20 +00:00
Crypto City
8d3a440a2e cc: make city levels a bit harder to get 2020-06-30 15:58:07 +00:00
Crypto City
dc7767bc7a game: use a better RNG for random city coordinates 2020-06-30 15:06:09 +00:00
Crypto City
77e4b7e359 blockchain: update block 1 tag 2020-06-30 11:44:51 +00:00
Crypto City
789748a196 wallet2: update genesis block timestamp for chain restart 2020-06-30 11:44:51 +00:00
Crypto City
5e70484c18 cc: restrict lists of ids to forbid duplicates 2020-06-30 11:06:22 +00:00
Crypto City
63a3230fdb add ignore tests 2020-06-30 11:06:08 +00:00
Crypto City
2d72a700b4 cc: remove game check for ignore command
it's already done by the core and it breaks tests using a custom one
2020-06-30 00:32:02 +00:00
Crypto City
5bc640db53 cc: halve hunt cost/yield again 2020-06-29 23:46:31 +00:00
Crypto City
0124fd4ee1 calendar: fix early summer game start
Spring in fact
2020-06-29 23:33:47 +00:00
Crypto City
c7a56048e0 game: enable resize flag if anything is selected 2020-06-29 23:33:31 +00:00
Crypto City
3ede1a8e52 daemon: fix print_bc synopsis line 2020-06-29 22:23:00 +00:00
Crypto City
5b705e9ad0 cc: make hunts get less meat (and cost less labour) 2020-06-29 22:16:08 +00:00
Crypto City
149a1f8ff3 cc: increase food spoil rate a bit 2020-06-29 22:16:08 +00:00
Crypto City
dfc8d77b67 game: add a "no wallet" link in spectator mode and a quick intro text 2020-06-29 22:16:08 +00:00
Crypto City
16aa25cc1b game: add wallet creation capability 2020-06-29 22:16:08 +00:00
Crypto City
f6af276e28 Revert "tx_pool: temporary crash if we can't get a batch txn"
This reverts commit 422f80ff86.
2020-06-29 22:16:08 +00:00
Crypto City
05785d3789 cc: add town square bonus 2020-06-29 22:16:08 +00:00
Crypto City
d48350f09d game: make building settings read only if we're not the owner 2020-06-29 22:16:08 +00:00
Crypto City
c86f0826ce tx_pool: print spammy error only once 2020-06-29 22:16:08 +00:00
Crypto City
eefd589d20 mine all txes in offline mode 2020-06-29 22:16:08 +00:00
Crypto City
8716536b01 store/restore palette in derelict/removed buildings in game update 2020-06-29 22:16:08 +00:00
Crypto City
def2faacfe Revert "cryptonote_basic: make cc signature unprunable"
This reverts commit c7ce18cfdb.
2020-06-29 22:16:08 +00:00
Crypto City
ef2b4e7e8b Revert "cryptonote_basic: fix calculating hashes from pruned"
This reverts commit 232164bb45.
2020-06-29 22:16:08 +00:00
Crypto City
48015c885a game: plug undo/redo keys in 2020-06-29 22:16:08 +00:00
Crypto City
cbab2212ee game: fix ellipse selection on windows 2020-06-29 22:16:08 +00:00
Crypto City
817a25d011 cc: decrease labour cost for military buildings 2020-06-29 22:16:08 +00:00
Crypto City
6ed94ef015 tx_pool: don't complain about timed out txes, just ignore them 2020-06-29 22:16:08 +00:00
Crypto City
5311bb9ae9 game: better history pagination when filtering 2020-06-29 22:16:08 +00:00
Crypto City
2d598ed64e cc: make research cost decrease much slower with time 2020-06-29 22:16:08 +00:00
Crypto City
155acfe9d6 cc: decrease amount of food produced a bit 2020-06-29 22:16:08 +00:00
Crypto City
904f8cb920 game: add current top height in node section 2020-06-29 22:16:08 +00:00
Crypto City
513a9a9d20 cc: tweak moose/bear regeneration down a bit 2020-06-29 22:16:08 +00:00
Crypto City
1434ac8f5e cc: tweak heating needs a bit 2020-06-29 22:16:08 +00:00
Crypto City
4801700ddb rpc: fix test typo in relay_tx 2020-06-29 22:16:08 +00:00
Crypto City
fffeb1bdae cc: allow hunting with a population less than actual 2020-06-29 22:16:08 +00:00
Crypto City
39ae33f4d5 cc: log amount of money sent/received in event log 2020-06-29 22:16:08 +00:00
Crypto City
8e57dbef25 game: fix stale last update events list 2020-06-29 22:16:08 +00:00
Crypto City
f9cae3c326 cryptonote_protocol: don't drop connections for a conflicing tx 2020-06-29 22:16:08 +00:00
Crypto City
408480373e game: fix non 7 bit ASCII input 2020-06-29 22:16:07 +00:00
Crypto City
2efe96eb9b game: fix research ranking 2020-06-29 22:16:07 +00:00
Crypto City
161ba197b1 game: add a command to remove only top level blocks in the selection 2020-06-29 22:16:07 +00:00
Crypto City
5a4e37be99 game: make music default not include chiptunes 2020-06-29 22:16:07 +00:00
Crypto City
b6674fc24b game: fix selection based block removal removing from the bottom 2020-06-29 22:16:07 +00:00
Crypto City
b5fcb9e1b7 game: add random music selection and a skip track button 2020-06-29 22:16:07 +00:00
Crypto City
d3e5c83e4a game: fix focus on message boxes 2020-06-29 22:16:07 +00:00
Crypto City
8004178593 game: fix incorrect chat line count when resetting chat 2020-06-29 22:16:07 +00:00
moneromooo-monero
afd002c31f
daemon: print sampling time in print_net_stats 2020-06-25 13:03:59 +00:00
moneromooo-monero
ec7bba0793
util: fix kilo prefix typo (K instead of k) 2020-06-25 13:03:24 +00:00
Crypto City
3d7245a7f5 game: plug selection based key bindings into the game 2020-06-25 10:44:45 +00:00
Crypto City
232164bb45 cryptonote_basic: fix calculating hashes from pruned 2020-06-24 19:05:39 +00:00
Crypto City
422f80ff86 tx_pool: temporary crash if we can't get a batch txn
It'll trigger if db corruption would ensue
2020-06-24 09:27:35 +00:00
Crypto City
9eeea486e5 cryptonote_core: fix db state corruption
When updating the block template after receiving a block,
the txpool speculative txn ends up reusing the syncing txn,
which means the abort doesn't actually abort, and the db
ends up with the speculative actions committed.
2020-06-24 09:25:47 +00:00
Crypto City
3292a4e88a rpc: fix getting tiles from flag 2020-06-24 00:44:10 +00:00
Crypto City
5530ee7f30 db_lmdb: remove some more uninitialized padding in the db 2020-06-23 18:05:53 +00:00
Crypto City
6ad2217a7c daemon: add debug parsing of data as account/city/flag 2020-06-23 14:15:45 +00:00
Crypto City
f2586853ee tx_pool: print txid we failed to find meta for 2020-06-22 22:24:58 +00:00
Crypto City
562334fbf7 cc: start city levels a bit earlier, and make ciies cheaper 2020-06-22 22:16:08 +00:00
Crypto City
6e059b5c6c cc: add a couple more integer overflow checks to the build command 2020-06-22 22:15:13 +00:00
Crypto City
09c272a064 tests: add test for building with palette change 2020-06-22 22:15:13 +00:00
Crypto City
ac4b549063 game: add key bindings for block add/remove on selection and undo/redo 2020-06-22 22:15:13 +00:00
Crypto City
aad838775b cc: make command handlers default to verify log category 2020-06-22 22:15:13 +00:00
Crypto City
11cfd6b2b5 game: fix missing buildings totals row 2020-06-22 22:15:13 +00:00
Crypto City
1a43d39a69 game: fix stale list widgets 2020-06-22 22:15:13 +00:00
Crypto City
0d211b5c48 game: fix material/block confusion when abandoning builds 2020-06-22 22:15:13 +00:00
Crypto City
08c86aad5f game: add notification with approve/abandon when building 2020-06-22 22:15:13 +00:00
Crypto City
18c45236be game: add missing file 2020-06-22 22:15:13 +00:00
Crypto City
fd4873be57 cc: decrease the high end min size for RES2/RES3 2020-06-22 22:15:13 +00:00
Crypto City
cd9bd63d16 cc: tweak lunar date 2020-06-22 22:15:13 +00:00
Crypto City
0eaf2c7c44 game: fix falling through floors when ending up slightly below 2020-06-22 22:15:13 +00:00
Crypto City
57a473435e game: F and O keys can now go back to walker camera mode too 2020-06-22 22:15:13 +00:00
Crypto City
375bc342b4 game: update camera type widget when switching with keys 2020-06-22 22:15:13 +00:00
Crypto City
c177ac4a31 game: fix collisions after switching camera types 2020-06-22 22:15:13 +00:00
Crypto City
6ef6c7b381 tx_pool: also mine local txes in test mode 2020-06-22 22:15:13 +00:00
Crypto City
e424cb9538 game: avoid resetting lists when their contents don't change 2020-06-22 22:15:13 +00:00
Crypto City
c7ce18cfdb cryptonote_basic: make cc signature unprunable
While it's technically prunable, we would not save much (64 bytes,
but we'd need to add 32 bytes for the hash of those 64 bytes), so
we might as well not bother
2020-06-22 22:15:13 +00:00
selsta
2f1ad3b3d2
updates: mac gui .tar.bz2 -> .dmg 2020-06-22 02:55:22 +02:00
Dusan Klinec
f9e3fcdf3e
add trezor support to sweep_single 2020-06-21 23:17:58 +02:00
selsta
99684e3ec3
simplewallet: add show_qr_code command
Thanks to iDunk for helping with Windows.
2020-06-21 20:15:10 +02:00
moneromooo-monero
80174b8248 tx_pool: mine stem txes in fake chain mode
This fixes the functional tests, since txes would not be mined
after being sent to the daemon (they'd be waiting for the
dandelion timeout first)
2020-06-21 01:18:30 +00:00
Crypto City
3e05ee54fe tx_pool: do not allow more than one (non kept by block) hunt command at once 2020-06-21 01:18:30 +00:00
Crypto City
3af15d65e0 blockchain: return txes to the txpool when actions fail to execute 2020-06-21 01:18:29 +00:00
Crypto City
9a5e85e35a cryptonote_core: do not sync more than a randomx epoch at once 2020-06-21 01:18:29 +00:00
Crypto City
2b1dce37e6 tx_pool: only allow one research command per discovery per block
The results of a research command are not known yet at the time
a block is filled with transactions
2020-06-21 01:18:29 +00:00
Crypto City
93e1def31d blockchain: log commands that fail to execute 2020-06-21 01:18:29 +00:00
Crypto City
f112b180e3 cc: fix unlocking discoveries bug 2020-06-21 01:18:29 +00:00
Crypto City
25be313e16 cc: add cc default log category 2020-06-21 01:18:29 +00:00
Crypto City
1d007bd2e2 cc: store max city level in the update command
so it can be properly reverted
2020-06-21 01:18:29 +00:00
Crypto City
b945e80261 functional_tests: add randomx tests 2020-06-21 01:18:29 +00:00
Crypto City
75516e6e34 core: fix mining from a block that's not the current top 2020-06-21 01:18:29 +00:00
Crypto City
d15fb7d9f2 game: fix build commands with new material variants 2020-06-14 23:43:31 +00:00
Crypto City
62361e19f3 game: guard against -1 list selection 2020-06-14 23:43:31 +00:00
Crypto City
986967c064 game: fix readonly chat 2020-06-14 23:43:31 +00:00
Crypto City
a767fb4d4e tx_pool: fix potential exception filling a block template 2020-06-14 23:43:31 +00:00
Crypto City
df3678b3e0 game: fix removing blocks not looking up through palette 2020-06-14 23:43:31 +00:00
Crypto City
63667034df game: allow starting mining when a wallet without account is loaded 2020-06-14 23:43:31 +00:00
Crypto City
e6bd9ab95f cc: allow \r in player profile 2020-06-14 23:43:31 +00:00
Crypto City
87277db6da db_lmdb: zero out padding in db structures
So db data doesn't have random unused data in it
2020-06-14 23:43:31 +00:00
Crypto City
f32ee18b21 cc: print full mismatched game update txes only the first time
They're huge and fill the log really fast
2020-06-14 23:43:31 +00:00
Crypto City
e394496fca blockchain: add popped txes in original order
since it matters for townforge due to dependencies within a block
2020-06-14 23:43:31 +00:00
Crypto City
188328010e cc: decrease amount of wood needed for heating by 90% 2020-06-14 23:43:30 +00:00
Crypto City
704250e901 add a couple more city specializations 2020-06-14 23:43:30 +00:00
Crypto City
a8c61ebb81 tx_pool: copy insert_key_images dandelion changes to insert_cc_nonces 2020-06-14 23:43:30 +00:00
Crypto City
b39bc5406f cryptonote_core: fix incoming tx sorting 2020-06-14 23:43:30 +00:00
Crypto City
d72beedc33 game: add "ignore influence" better 2020-06-14 23:43:30 +00:00
Crypto City
399a9aeba3 game: lock wallet while refreshing 2020-06-14 23:43:30 +00:00
Crypto City
75cc5e8b36 game: add a couple include guards 2020-06-14 23:43:30 +00:00
Crypto City
ba8d50a973 game: cast to unsigned long when using %lu in printf 2020-06-14 23:43:30 +00:00
Crypto City
056b2e45fc game: use keccak instead of rand for cloud/horizon random numbers
Turns out rand yields ridiculous looking forest/clouds on windows
2020-06-14 23:43:30 +00:00
Crypto City
b586c8d290 game: fix locking bug on wallet load 2020-06-14 23:43:30 +00:00
Crypto City
a198126b75 game: link against zlib 2020-06-14 23:43:30 +00:00
Crypto City
5565a26aa4 game: fix locking bug 2020-06-14 23:43:30 +00:00
Crypto City
8e7a14f33d game: fix destruction ordering bug on exit 2020-06-14 23:43:30 +00:00
Crypto City
091c17928e game: enable start mining button only when a wallet is loaded 2020-06-14 23:43:30 +00:00
Crypto City
b21d24f388 start city levels a bit higher 2020-06-14 23:43:30 +00:00
Crypto City
23c813cf45 add city specializations 2020-06-14 23:43:30 +00:00
Crypto City
2bfba55751 game: do not load data from the installed urho3d 2020-06-14 23:43:30 +00:00
Crypto City
103e227edb add chiptune music too 2020-06-14 23:43:30 +00:00
Crypto City
d5f47b578e cc: make new cities ten times cheaper 2020-06-14 23:43:30 +00:00
Crypto City
bcd0d9dea1 make this build on windows
Thanks to syksy and iDunk for testing/debugging on windows
2020-06-14 23:43:30 +00:00
moneromooo-monero
267ce5b718
avoid a couple needless copies 2020-06-14 18:05:35 +00:00
Lee Clagett
4d8d121462 Fix D++ block template check 2020-06-12 22:05:52 -04:00
selsta
58e1c8b031
repo: update donation fund address 2020-06-09 12:19:39 +02:00
stoffu
7bd66b01bf
daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation
On startup, it checks against the difficulty checkpoints, and if any mismatch is found, recalculates all the blocks with wrong difficulties. Additionally, once a week it recalculates difficulties of blocks after the last difficulty checkpoint.
2020-06-09 10:40:51 +09:00
luigi1111
ff4d470629
Merge pull request #6576
4d3c2d0 rpc: add a sanity limit to a few RPC in restricted mode (moneromooo-monero)
2020-06-08 14:27:05 -05:00
luigi1111
c4f4091dd4
Merge pull request #6561
c17fe81 wallet2: fix multisig data clearing stomping on a vector (moneromooo-monero)
2020-06-08 14:21:33 -05:00
luigi1111
445f74c71a
Merge pull request #6556
5ed37ba serialization: fix bad rapidjson api usage (moneromooo-monero)
2020-06-08 14:18:09 -05:00
luigi1111
28745b1b63
Merge pull request #6553
bb5c5df cryptonote_protocol: reject requests/notifications before handshake (moneromooo-monero)
f1d0457 cryptonote_protocol: stricter limit to number of objects requested (moneromooo-monero)
2020-06-08 14:16:42 -05:00
luigi1111
e17c864ba2
Merge pull request #6549
82d21f5 easylogging++: sanitize log payload (moneromooo-monero)
7d0b7e8 [master] MMS: New 'config_checksum' subcommand (rbrunner7)
2020-06-08 14:12:08 -05:00
luigi1111
3a577f1ce7
Merge pull request #6525
86cf811 simplewallet: don't complain about incoming payment ids on change (moneromooo-monero)
2020-06-08 14:07:45 -05:00
luigi1111
09667700e8
Merge pull request #6519
ab44293 trezor: add new firmware version support (ph4r05)
2020-06-08 14:03:57 -05:00
luigi1111
37c359e765
Merge pull request #6514
4baee20 build: prepare v0.16.0.0 release (selsta)
2020-06-08 14:02:00 -05:00
Crypto City
acb9e0f201 add architect badge 2020-06-07 17:22:35 +00:00
Crypto City
03f31114b5 add atlas badge 2020-06-07 17:22:35 +00:00
Crypto City
f8ad8d1724 game: add music 2020-06-07 17:22:35 +00:00
woodser
ef694d028f fix warning by removing std::move() on temporary http_client object 2020-06-06 11:38:32 -04:00
moneromooo-monero
795e18632c
blockchain: fix total_height in getblocks.bin response 2020-06-05 15:27:07 +00:00
moneromooo-monero
4df8f9c414
rpc: fix loading rpc payment data from file
Got broken after making one of those micro optimizations requested on review..
2020-06-05 11:21:24 +00:00
Crypto City
98d41a94d6 version: bump version to 0.18.1.0 2020-06-01 13:52:00 +00:00
Lee Clagett
7aeb503547 Fix boost <1.60 compilation and fix boost 1.73+ warnings 2020-05-31 21:18:11 -04:00
moneromooo-monero
dc1a053081
rpc: fix comparison of seconds vs microseconds 2020-05-31 22:28:23 +00:00
moneromooo-monero
eb1b321fe2
miner: increase min/max intervals to full extents
This prevents setting target to, eg, 65 being ignored

and remove an unused constant
2020-05-31 12:36:47 +00:00
Crypto City
0ae6f713fb blockchain: empty builtin hashes 2020-05-31 11:51:22 +00:00
Crypto City
2a90a3df6b fixes after merge 2020-05-31 00:41:03 +00:00
Crypto City
396157b032 Merge remote-tracking branch 'origin/master' into cc 2020-05-30 18:55:11 +00:00
Crypto City
1f3603d209 game: add missing files 2020-05-30 13:44:14 +00:00
Crypto City
453f4cf9af encode accrual as a signed integer for space savings 2020-05-30 11:46:19 +00:00
Crypto City
377486bb47 bump version to 0.18.0.1 2020-05-30 10:59:23 +00:00
Crypto City
da1894dbbf bump version to 0.18.0.0 2020-05-29 23:48:32 +00:00
Crypto City
5eb8dac1fa add new sandstone wall material 2020-05-29 23:48:32 +00:00
Crypto City
66e3a902b4 game: fix asserts in options dialog 2020-05-29 23:48:32 +00:00
Crypto City
bcda16b1ad game: fix spammy method hiding warning 2020-05-29 23:20:51 +00:00
Crypto City
9c352eb8f1 game: remove unused field 2020-05-29 23:20:51 +00:00
Crypto City
dd42a67f99 remove a couple pessimizing std::move 2020-05-29 23:20:51 +00:00
Crypto City
5c5f2f0aa0 add a few missing override 2020-05-29 23:20:51 +00:00
Crypto City
45c006b63b fix a couple class/struct mismatch 2020-05-29 23:20:51 +00:00
Crypto City
81e8a19880 remove unused/unneeded captures 2020-05-29 23:20:51 +00:00
Crypto City
bc21350d81 cc: fix operator precedence 2020-05-29 23:20:51 +00:00
Crypto City
d0eb30afe5 cc: fix bitise op 2020-05-29 23:20:51 +00:00
Crypto City
7ee418270e game: fix assert when closing the palette dialog 2020-05-29 23:20:51 +00:00
Crypto City
2098b31d0a db_lmdb: fix leaks 2020-05-29 23:20:51 +00:00
Crypto City
8d74dd747a game: build with optimizations again 2020-05-29 23:20:50 +00:00
Crypto City
7ad4e2dc78 tx_pool: remove txes when the parentage chain is too long 2020-05-29 23:20:50 +00:00
Crypto City
b9c69cf918 update blockchain_prune to handle cc tables 2020-05-29 23:20:50 +00:00
Crypto City
adb611acd5 cc: decrease military buildings stone requirements 2020-05-29 23:20:50 +00:00
Crypto City
c22e54b850 unlock_time is now valid only for coinbase txes 2020-05-29 23:20:50 +00:00
Crypto City
72796a1cc0 game: keep horizon trees on the ground when moving up/down 2020-05-29 23:20:50 +00:00
Crypto City
267b2ad975 game: thinner columns for scores with low range 2020-05-29 23:20:50 +00:00
Crypto City
b3e066d27f game: improve node section with sync ratio and hash rate 2020-05-29 23:20:50 +00:00
Crypto City
3caac66292 cc: some discovery patent time tweaks 2020-05-29 23:20:50 +00:00
Crypto City
dd15eb8d6c cc: quantize tax a bit 2020-05-29 23:20:50 +00:00
Crypto City
2e2b08830b blockchain: change block 1 tag 2020-05-29 23:20:50 +00:00
Crypto City
da975c6c35 game: add daemon start/stop mining from the game 2020-05-29 23:20:50 +00:00
Crypto City
637f5e7c3a game: hide "ignore influence" debug helper widget 2020-05-29 23:20:50 +00:00
Crypto City
3b752a31fb cc: add insulation discoveries 2020-05-29 23:20:50 +00:00
Crypto City
e7c7ee6f7f cc: add moose hide clothing discoveries 2020-05-29 23:20:50 +00:00
Crypto City
e5b55f7251 cc: decrease the higher thresholds for number of discoveries badge 2020-05-29 23:20:50 +00:00
Crypto City
b69cd8099c cc: add masonry discoveries 2020-05-29 23:20:50 +00:00
Crypto City
9e36486b8f add hunting tactics discoveries 2020-05-29 23:20:50 +00:00
Crypto City
81fce3a543 time chat txes out at 24 hours, not 12 2020-05-29 23:20:50 +00:00
Crypto City
5c13ec049a game: move the compass to the left, where it's not under the panel 2020-05-29 23:20:50 +00:00
Crypto City
215f524015 game: lighting tweaks
Starker difference between fully lit and ambient, and draw the horizon
trees unlit, but change their material colour based on overall light
(it'll be faster, and gets rid of the occasional white tint)
2020-05-29 23:20:50 +00:00
Crypto City
8508f1f6ef cc: tweak building role unlocking levels 2020-05-29 23:20:50 +00:00
Crypto City
6e5a79ccb8 game: make a separate dialog for special event help 2020-05-29 23:20:50 +00:00
Crypto City
66f13fe3ec firefighting service is free for the firefighting building owner 2020-05-29 23:20:50 +00:00