Dusan Klinec
6f330865e5
fix tests bug added in #6110
...
- e.g., fixes gen_block_big_major_version test, error: generation failed: what=events not set, cannot compute valid RandomX PoW
- ask for events only if difficulty > 1 (when it really matters)
- throwing an exception changed to logging, so it is easy to spot a problem if tests start to fail.
2020-01-19 17:21:04 +01:00
Aaron Hook
d0641b42fe
net: fix incorrect less operator for top/i2p addresses
2020-01-18 19:18:56 -08:00
cohcho
fe92fa1391
[randomx] Add missing randomx_vm_set_cache()
2020-01-17 19:25:26 +00:00
Alexander Blair
51873fec04
Merge pull request #6145
...
1b2953f0
Add __pycache__ directory to .gitignore (Matt Smith)
2020-01-16 17:52:14 -08:00
Alexander Blair
beb815a81d
Merge pull request #6144
...
0e0351c4
wallet_rpc_server: add count parameter to create_address (Matt Smith)
2020-01-16 17:51:25 -08:00
Alexander Blair
8039fd4cab
Merge pull request #6143
...
6efeefbc
epee: set application/json MIME type on json errors (moneromooo-monero)
2020-01-16 17:46:13 -08:00
Alexander Blair
c39ea485a0
Merge pull request #6141
...
b9b5c473
threadpool: use std::move when taking an element off the queue (moneromooo-monero)
2020-01-16 17:45:44 -08:00
Alexander Blair
252092441b
Merge pull request #6139
...
56dced2d
translations: fix "monero_" prefix when taking languages from file (moneromooo-monero)
be3a4326
translations: find lrelease disguised as lrelease-qt5 (moneromooo-monero)
2020-01-16 17:43:53 -08:00
Alexander Blair
2ce5529680
Merge pull request #6134
...
a7a40e28
Actually concatenate error strings. (Bert Peters)
2020-01-16 17:42:27 -08:00
Alexander Blair
f1ca98a7ef
Merge pull request #6133
...
b2ad757f
Replace memset with memwipe. (Bert Peters)
2020-01-16 17:41:35 -08:00
Alexander Blair
e4e70b57ca
Merge pull request #6130
...
6dec0013
simplewallet: fix restore height warning (selsta)
2020-01-16 17:39:03 -08:00
Alexander Blair
fbc15de2cd
Merge pull request #6125
...
584d057f
epee: fix console_handlers_binder race, wait for thread to finish (xiphon)
2020-01-16 17:32:15 -08:00
Alexander Blair
c4abfbfbe7
Merge pull request #6124
...
21d4c216
blockchain: error out if the builtin hashes data size is wrong (moneromooo-monero)
2020-01-16 17:31:35 -08:00
Alexander Blair
fe736070d2
Merge pull request #6120
...
feef1c6a
epee: fix peer ids being truncated on display (moneromooo-monero)
2020-01-16 17:30:17 -08:00
Alexander Blair
c6f4113265
Merge pull request #6119
...
6f45cfa5
p2p: zero last seen timestamp when inserting a new peer (moneromooo-monero)
2020-01-16 17:29:27 -08:00
Alexander Blair
3acb22b889
Merge pull request #6115
...
27522aaa
core_tests: reset thread pool between tests (moneromooo-monero)
2020-01-16 17:27:15 -08:00
selsta
957ae88795
workflows: add build and test workflow
2020-01-17 02:24:21 +01:00
moneromooo-monero
50e59cfada
wallet2: reject zero keys in json input
...
Because the user might do this for reasons unknown.
Values beyond l-1 will be reduced, so are accepted.
Reported by who-biz.
2020-01-16 19:58:21 +00:00
xiphon
ffe7165ebf
wallet: reroll fake outs selection on local tx_sanity_check failure
2020-01-14 22:56:23 +00:00
xiphon
2aa80b1d28
build: autodetect MSYS2 install path, support non-standard location
2020-01-13 10:02:18 +00:00
Alexander Blair
e49a055e89
Merge pull request #6112
...
7c1d31b0
build: fix IOS, build blockchain_db and rpc, skip wallet_rpc_server (xiphon)
2020-01-11 18:10:44 -08:00
Alexander Blair
50c2fda496
Merge pull request #6110
...
da6c807f
tests: fix HF12 chaingen - construct bc object from events (Dusan Klinec)
2020-01-11 18:08:20 -08:00
Alexander Blair
d024695772
Merge pull request #6105
...
0de8a0d3
wallet_rpc_server: new estimate_tx_size_and_weight RPC (moneromooo-monero)
2020-01-11 18:04:49 -08:00
Tadeas Moravec
096a9dbdf9
Wallet: Distingush amounts for a single subaddress
...
Adding a new `amounts` field ot the output of `get_transfers` RPC
method. This field specifies individual payments made to a single
subaddress in a single transaction, e.g., made by this command:
transfer <addr1> <amount1> <addr1> <amount2>
2020-01-11 11:48:27 +01:00
Jonathan Cross
019c1dc0bb
gitian-build.py: Fixing check for docker command.
2020-01-10 19:16:24 +01:00
rbrunner7
664720747f
Daemon: Guard against reporting "synchronized" too early
...
The added condition "hshd.current_height >= target" guards against
reporting "synchronized" too early in the special situation that the
very first peer sending us data is synced to a lower height than
ourselves.
2020-01-10 15:49:49 +01:00
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
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
Riccardo Spagni
3c01bffd0c
Merge pull request #6253
...
f9b48b91c
GPGKey: Add Snipa (Alexander Blair)
2020-01-06 21:36:42 +02: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
moneromooo-monero
36bdf40288
p2p: fix adding wrong indices to the filtered peer list
2020-01-03 17:56:54 +00:00
luigi1111
907292dfb4
Merge pull request #6232
...
aa9ba30
add binaryFate's PGP key (binaryFate)
2020-01-03 08:21:36 -05:00
moneromooo-monero
d64e5aa719
wallet: allow message sign/verify for subaddresses
2019-12-31 08:44:36 +00:00
moneromooo-monero
a6c24412e5
wallet: fix exceptions getting the hash of a pruned tx
2019-12-30 15:14:57 +00:00
moneromooo-monero
6933693179
rpc: fill miner_tx_hash again
...
It was removed to save duplicated generation time, but it can
be copied from another instance instead
2019-12-20 14:16:31 +00:00
kozyilmaz
81494e3ffa
depends: empty spaces in PATH variable cause build failure
2019-12-19 14:18:51 +01:00
Alexander Blair
f9b48b91c6
GPGKey: Add Snipa
...
Adds GPG key for Alexander Blair (Snipa)
2019-12-18 22:06:49 -08:00
moneromooo-monero
0eac0c430a
depends: set several missing build tags
2019-12-18 12:23:23 +00:00
moneromooo-monero
21c3d42eb9
p2p: drop the peerlist dump to TRACE
...
It's spammy
2019-12-17 20:27:04 +00:00
moneromooo-monero
cce4ea02ff
README: fix translation link
2019-12-17 19:21:23 +00:00
moneromooo-monero
f717d5936c
wallet2: guard against race with multiple decrypt_keys users
...
If more than one thread wants to make sure of the spend secret key,
then we decrypt on the first caller and reencrypt on the last caller,
otherwise we could use an invalid secret key.
2019-12-17 01:38:29 +00:00
moneromooo-monero
352bd13254
abstract_tcp_server2: guard against negative timeouts
2019-12-16 18:24:52 +00:00
moneromooo-monero
716012ca3a
rpc: drop the obsolete and wrong "unpruned size" log
...
Since we now get pruned data in the first place, the "unpruned" data
size will in fact be the pruned data size, leading to confusion
2019-12-16 14:50:07 +00:00
stoffu
ae84ec90c8
wallet-cli/rpc: allow sweep_all to use outputs in all subaddresses within an account
2019-12-16 21:10:11 +09:00