Commit Graph

13450 Commits

Author SHA1 Message Date
SChernykh
e52802baef Wallet2: fix optimize-coinbase for p2pool payouts
RefreshOptimizeCoinbase was an optimization to speed up scanning of coinbase transactions before RingCT (tx version 2) where they split miner reward into multiple denominations, all to the same wallet.

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

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

Fix it by applying this optimization only to pre-RingCT transactions (version < 2).
2021-08-26 11:50:15 +02:00
Crypto City
aba5f07a3d cc: increase influence less quickly with economic power 2021-08-22 14:03:00 +00:00
Crypto City
6a71c2c3b4 cc: fix bad harvest influence modifier 2021-08-22 12:56:45 +00:00
Crypto City
4e388d2f1e game: remove obsolete PlayerState argument to tile modification functions 2021-08-22 11:21:42 +00:00
Crypto City
9eb27df977 game: fix non-flat area block addition over unbuilt ground 2021-08-22 10:57:16 +00:00
Crypto City
1add331839 game: fix deadlock on exit when loading a wallet 2021-08-22 10:03:04 +00:00
Crypto City
8a34f00872 game: remove some minor information from the main panel 2021-08-22 08:34:44 +00:00
Crypto City
c6b2248611 game: guard against overflows in potential calculation 2021-08-21 22:22:17 +00:00
Crypto City
2a1109c628 game: fix selection display in non-natural ground mode 2021-08-21 21:43:45 +00:00
Crypto City
ebf813aae2 game: add influence and gemstone score to selection info 2021-08-21 21:24:39 +00:00
Crypto City
e5703bf002 game: force new snapshot when out of sync 2021-08-21 21:24:15 +00:00
Crypto City
dc1fc3e9ca game: set flag as dirty when changing building settings 2021-08-21 21:23:48 +00:00
Crypto City
f309f1422c fix sync failure when popping a game update block, but only it 2021-08-21 16:11:28 +00:00
Crypto City
85319d34a8 functional_tests: improve reorg test 2021-08-21 16:11:28 +00:00
Crypto City
a166850445 python-rpc: save a bit of memory in state 2021-08-21 14:44:33 +00:00
Crypto City
964dd1bfd0 game: speed up selection info tooltip update 2021-08-21 14:44:33 +00:00
Crypto City
c8e28c14e4 cc: halve temperature decrease with altitude
it was multiplied by four with the previous height map redesign
2021-08-21 14:44:33 +00:00
Crypto City
0b9728c08d game: more optional command info in history 2021-08-21 14:44:33 +00:00
Crypto City
d7f541ad2e blockchain: fix missing nonces in cc_nonces_used 2021-08-21 14:44:33 +00:00
Crypto City
fdaaf64a7e db_tests: add tests for cc_nonces_used 2021-08-21 14:44:33 +00:00
Crypto City
3790bc210e db_lmdb: clear returned accounts array before filling in is_cc_nonce_used 2021-08-21 14:44:33 +00:00
Crypto City
11fbeaa8ff cc: do not include dividend sender in counterparties if excluded 2021-08-21 14:44:33 +00:00
Crypto City
3cda06767b cc: add a simpler function to get a date as only a string 2021-08-21 14:44:33 +00:00
Crypto City
11872cbab8 cc: remove nonsensical test for palette changes 2021-08-21 14:44:33 +00:00
Crypto City
22bc59cb06 remove unused BlockchainDB method 2021-08-21 14:44:33 +00:00
Crypto City
19b9af508f functional_tests: some more trader order book tests 2021-08-21 14:44:33 +00:00
luigi1111
2d3ce2d64a
Merge pull request #7881
301355f epee: link with Boost_SYSTEM_LIBRARY (selsta)
2021-08-20 16:51:18 -04:00
luigi1111
0061da9e63
Merge pull request #7878
a9aaa47 wallet_api: add make_uri (tobtoht)
2021-08-20 16:50:24 -04:00
luigi1111
8b9eea92f1
Merge pull request #7849
6f15a0c Make sure node returns to wallet that real output is unlocked (j-berman)
2021-08-20 16:49:59 -04:00
luigi1111
1b079e5195
Merge pull request #7845
e1af8dc Protect client from divide by 0 caused by integer truncation (j-berman)
2021-08-20 16:45:15 -04:00
luigi1111
294d58c58d
Merge pull request #7832
d8e71c8 CMake: ccache fix for FreeBSD at 'depends' (mj-xmr)
2021-08-20 16:40:04 -04:00
luigi1111
5812b757e0
Merge pull request #7821
da2955f Apply gamma distr from chain tip when selecting decoys (j-berman)
2021-08-20 16:33:53 -04:00
luigi1111
a8dc9490b5
Merge pull request #7780
bb633d3 Workflows: depends cache (static) separated from ccache (volatile) (mj-xmr)
2021-08-20 16:31:22 -04:00
Crypto City
9a694824e9 game: fix rejected trade commands due to bad expiration time 2021-08-20 13:06:14 +00:00
Crypto City
11bca9bdc0 game: allow loading a readonly building settings screen without a wallet 2021-08-20 13:06:14 +00:00
Crypto City
ac2eba7e06 game: add user selected information to the selection tooltip 2021-08-20 13:06:14 +00:00
j-berman
e1af8dc02c Protect client from divide by 0 caused by integer truncation 2021-08-19 14:56:36 -07:00
j-berman
da2955feae Apply gamma distr from chain tip when selecting decoys
- matches the paper by Miller et al to apply the gamma from chain tip, rather than after unlock time
- if the gamma produces an output more recent than the unlock time, the algo packs that output into one of the first 50 spendable blocks, respecting the block density factor
2021-08-19 14:51:20 -07:00
selsta
301355f88d
epee: link with Boost_SYSTEM_LIBRARY 2021-08-19 19:05:40 +02:00
tobtoht
a9aaa47abb
wallet_api: add make_uri 2021-08-19 15:35:37 +02:00
Crypto City
b8cb77eebe cc: add missing min size for workforce building 2021-08-18 22:38:51 +00:00
Crypto City
1b73444375 remove extra and cc signature from transaction where it can be 2021-08-18 22:38:51 +00:00
Crypto City
83ebf8aad4 improve third party matching 2021-08-18 22:38:51 +00:00
Crypto City
7ccf0e5963 cc: fix third party match cc_used_trades usage 2021-08-17 13:03:14 +00:00
Crypto City
7cb1d0f69d cc: prevent more bad matched nonces in trade and match commands 2021-08-17 13:02:14 +00:00
Crypto City
f73670b90a db_tests: add cc_trade_used tests 2021-08-17 13:02:14 +00:00
Crypto City
9bae95ca45 faster snapshot retrieval 2021-08-16 17:18:05 +00:00
Crypto City
9d091d880b rpc: fix bootstrap mode snapshot RPC mismatch 2021-08-16 13:51:15 +00:00
Crypto City
9079a293d0 functional_tests: fix fire test sometimes breaking 2021-08-16 10:36:46 +00:00
Crypto City
c0e0f7302d core_tests: fix after txpool changes 2021-08-15 18:22:19 +00:00