| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
|
| |\ \ \
| |_|/
|/| |
| | | |
f81cb4f unit_tests: add more leeway to the 'same distribution' check (moneromooo-monero)
|
| | |/
| |
| |
| |
| | |
This is an inherently probabilistic check, which occasionally fails
for a matching distribution
|
| |\ \
| | |
| | |
| | | |
de27651 use crypto::rand instead of libc rand in a few tests (moneromooo-monero)
|
| | | |
| | |
| | |
| | | |
We don't need secure randomness here, but it should shut coverity up
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
25a7cfd add a few checks where it seems appropriate (moneromooo-monero)
1a66a86 remove unused code (moneromooo-monero)
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |_|/
|/| |
| | |
| | |
| | | |
The code generated is exactly the same as the direct access
one on x86_64
|
| | |/
|/|
| |
| | |
It's an inherently random test
|
| |\ \
| | |
| | |
| | | |
e9809382 fix wide difficulty conversion with some versions of boost (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
1c44e658 wallet2: reject standalone short payment IDs in monero: URI API (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
a4c4a2d8 blockchain: keep a rolling long term block weight median (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
0eb0d6b8 rpc: improve get_output_distribution (moneromooo-monero)
|
| | |/
| |
| |
| |
| |
| |
| | |
It can now handle small reorgs without having to rescan the
whole blockchain.
Also add a test for it.
|
| |/
|
|
|
| |
updating the block size limit needs recent block sizes,
so we feed it dummy ones
|
| | |
|
| | |
|
| |
|
|
|
| |
Based on python code by sarang:
https://github.com/SarangNoether/skunkworks/blob/outputs/outputs/simulate.py
|
| |\
| |
| |
| | |
5fafb90e testdb: add override keyword where missing (stoffu)
|
| | |
| |
| |
| | |
and delete obsolete BlockchainBDB::get_tx_output_indices along the way
|
| |/
|
|
| |
The is_host_blocked method is not on master yet
|
| |\
| |
| |
| | |
58585986 p2p: fix integer overflow in host bans (moneromooo-monero)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
93bb2f48 ringct: prevent use of full ringct signatures for more than one input (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
e9fac29a unit_tests/long_term_block_weight: some tweaks that seem to make more sense (stoffu)
467f4c7e tests/block_weight: use integer division when computing median (stoffu)
815d08dc tests/block_weight: remove unused MULTIPLIER_SMALL (stoffu)
661f1fb8 blockchain: remove unused calc of short_term_constraint (stoffu)
|
| | |/ |
|
| |/
|
|
|
|
|
|
|
|
| |
The db txn in add_block ending caused the entire overarching
batch txn to stop.
Also add a new guard class so a db txn can be stopped in the
face of exceptions.
Also use a read only db txn in init when the db itself is
read only, and do not save the max tx size in that case.
|
| |\
| |
| |
| | |
71907980 unit_tests: fix long term block weight test after cache change (moneromooo-monero)
|
| | | |
|
| |\ \
| |/
|/|
| | |
0218bc49 test: hmac_keccak - fix number of chunks counting (Dusan Klinec)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
91f4c7f4 Make difficulty 128 bit instead of 64 bit (moneromooo-monero)
|
| | |/
| |
| |
| |
| |
| | |
Based on Boolberry work by:
jahrsg <jahr@jahr.me>
cr.zoidberg <crypto.zoidberg@gmail.com>
|
| |/ |
|
| |\
| |
| |
| | |
dc0c0c91 tests: disable wallet SSL init for tests involving wallet2 (moneromooo-monero)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
4b21d38d blockchain: speed up getting N blocks weights/long term weights (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
c9b13fbb tests/trezor: HF9 and HF10 tests (Dusan Klinec)
a1fd1d49 device/trezor: HF10 support added, wallet::API (Dusan Klinec)
d74d26f2 crypto: hmac_keccak added (Dusan Klinec)
|
| | |/ |
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
057c279c epee: add SSL support (Martijn Otto)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
RPC connections now have optional tranparent SSL.
An optional private key and certificate file can be passed,
using the --{rpc,daemon}-ssl-private-key and
--{rpc,daemon}-ssl-certificate options. Those have as
argument a path to a PEM format private private key and
certificate, respectively.
If not given, a temporary self signed certificate will be used.
SSL can be enabled or disabled using --{rpc}-ssl, which
accepts autodetect (default), disabled or enabled.
Access can be restricted to particular certificates using the
--rpc-ssl-allowed-certificates, which takes a list of
paths to PEM encoded certificates. This can allow a wallet to
connect to only the daemon they think they're connected to,
by forcing SSL and listing the paths to the known good
certificates.
To generate long term certificates:
openssl genrsa -out /tmp/KEY 4096
openssl req -new -key /tmp/KEY -out /tmp/REQ
openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT
/tmp/KEY is the private key, and /tmp/CERT is the certificate,
both in PEM format. /tmp/REQ can be removed. Adjust the last
command to set expiration date, etc, as needed. It doesn't
make a whole lot of sense for monero anyway, since most servers
will run with one time temporary self signed certificates anyway.
SSL support is transparent, so all communication is done on the
existing ports, with SSL autodetection. This means you can start
using an SSL daemon now, but you should not enforce SSL yet or
nothing will talk to you.
|