Commit Graph

11175 Commits

Author SHA1 Message Date
moneromooo-monero
0349347e6d
ringdb: use a different iv for key and data in rings table
This is technically a record encrypted in two pieces,
so the iv needs to be different.
Some backward compatibility is added to read data written
by existing code, but new data is written with the new code.
2020-01-09 17:32:21 +00:00
moneromooo-monero
7b88208722
simplewallet: reword mixin in user message in terms of ring size 2020-01-09 17:32:21 +00:00
moneromooo-monero
f507a43a23
wallet2: do not remove known rings when a tx fails
Even if it fails, the ring composition is known to a potential
adversary, and so we should reuse the same ring next time
2020-01-09 17:32:21 +00:00
selsta
dbcfae6ffe
README: remove unmaintained build status 2020-01-09 18:23:01 +01:00
UkoeHB
02224e714d Fix check_fee() discrepancy.
M100 = max{300kb, min{100block_median, m_long_term_effective_median_block_weight}}
not
M100 = max{300kb, m_long_term_effective_median_block_weight}

Fix base reward in get_dynamic_base_fee_estimate().

get_dynamic_base_fee_estimate() should match check_fee()

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

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

A nighttime camera light is now added, and interpolates with the
sun light at dawn and dusk
2020-01-06 12:44:11 +00:00
TheCharlatan
c11e64fc4c
Gitian: Change lxc ip link
The ip link currently listed in the README no longer works on the newest
version of lxc shipped with ubuntu 18.04, this commit corrects this.
2020-01-06 13:18:06 +01:00
rating89us
6772ce7062
10 block time is for incoming outputs, not transactions
10 block lock time is for incoming outputs and not only incoming transactions (outgoing transaction has an incoming change output that is also locked for 10 blocks)
2020-01-05 00:21:57 -03:00
Crypto City
0e8efe7976 game: add some shadow bias to fix some nasty artifacts 2020-01-04 23:24:45 +00:00
Crypto City
1734a6219c game: keep settings in a config file 2020-01-04 20:21:23 +00:00
Crypto City
5822dfd221 game: update labour when processing build commands 2020-01-04 14:49:36 +00:00
Crypto City
39a3fbec66 game: fix missing polygons on large meshes in optimized mesh render mode 2020-01-04 14:27:40 +00:00
Crypto City
9fa1ee81ef functional_tests: add a name to some building settings commands 2020-01-04 13:51:23 +00:00
Crypto City
e9afc00504 core: add txes to the txpool in parentage order 2020-01-04 13:51:23 +00:00
Crypto City
0c732485be game: prevent loading a model on flag without a building we own 2020-01-04 13:51:23 +00:00
Crypto City
4b5e70d283 tx_pool: add some debug logs on ready checks 2020-01-04 13:51:23 +00:00
Crypto City
055457ec67 cc: fix one CHECK_AND_ASSERT_MES to CHECK_COMMAND_SET 2020-01-04 13:51:23 +00:00
Crypto City
f77ff2201f game: new render mode using StaticModelGroup and instancing 2020-01-04 13:51:23 +00:00
Crypto City
5f40893ef7 game: fix node leak when changing render mode 2020-01-03 22:17:12 +00:00
Crypto City
9e77f9e526 functional_tests: more complex revert tests 2020-01-03 20:33:02 +00:00
Crypto City
f8f8035a1d db_lmdb: store accounts flags in canonical sorted order 2020-01-03 20:30:51 +00:00
moneromooo-monero
36bdf40288
p2p: fix adding wrong indices to the filtered peer list 2020-01-03 17:56:54 +00:00
Crypto City
559c5f7b2e fix issues with game update event cache and tests 2020-01-03 16:27:51 +00:00
Crypto City
1d8d178f36 blockchain: constrain the large coinbase tx allowance conditions 2020-01-03 15:23:14 +00:00
luigi1111
907292dfb4
Merge pull request #6232
aa9ba30 add binaryFate's PGP key (binaryFate)
2020-01-03 08:21:36 -05:00
Crypto City
0df1c4eb7e game: only display the side of the frame quad if large enough 2020-01-02 22:51:35 +00:00
Crypto City
f2b28c8b73 urho3d: fix side effect of disabling LineEdit cursor when not editable 2020-01-02 22:04:15 +00:00
Crypto City
17a9eac108 game: add options for shadows and procsky 2020-01-02 21:55:32 +00:00
Crypto City
765e4bd709 game: disable smiley/clear buttons in spectator mode 2020-01-02 19:32:33 +00:00
Crypto City
b6dbec2347 game: don't crash when failing to load a wallet 2020-01-02 19:01:14 +00:00
Crypto City
45a2130be1 game: disable console input in spectator mode 2020-01-02 18:56:53 +00:00
Crypto City
a92347f08b urho3d: lineEdit: hide cursor when not editable 2020-01-02 18:41:47 +00:00
Crypto City
a2d2598dc6 game: make the "load a wallet" button in spectator mode look better 2020-01-02 16:44:07 +00:00
Crypto City
c156b4459a game: highlight the selected item in the trade ui 2020-01-02 16:29:52 +00:00
Crypto City
3ac2fbffc8 game: always select an item by default in the trade ui 2020-01-02 16:10:40 +00:00
Crypto City
bac1eb6f47 game: display flag boundary rather than full area 2020-01-02 15:21:56 +00:00
Crypto City
8404b02301 miner: mine in verification mode when on low difficulty 2020-01-02 10:24:31 +00:00
Crypto City
c8c048f300 game: add activation notification when setting a building settings 2020-01-02 10:18:23 +00:00
Crypto City
a4986e988f game: clear screen even earlier at startup 2020-01-02 09:54:24 +00:00