Sarang Noether
3a0451a8be
MLSAG speedup and additional checks
5 years ago
Matyas Liptak
f56e160217
unit_tests: Fix uninitialized values
...
- Initialize the `hash` in the `get_block_hash()` function of the
`output_distribution` unit test explicitly, to silence `valgrind`
warnings.
5 years ago
luigi1111
a8e99198bf
Merge pull request #5748
...
b350726
boost: update obsolete usage of endian API (moneromooo-monero)
5 years ago
luigi1111
e72aca57f9
Merge pull request #5511
...
914b106
wallet_rpc_server: use original addresses in destinations in get_transfers (moneromooo-monero)
da694d4
functional_tests: add tests for pending/out transfer addresses (moneromooo-monero)
5 years ago
luigi1111
f205d28e96
Merge pull request #5727
...
7b9a420
Replace std::random_shuffle with std::shuffle (tomsmeding)
5 years ago
luigi1111
2da11baecc
Merge pull request #5718
...
c8709fe
wallet: do not print log settings when unset (moneromooo-monero)
7b18e83
unit_tests: check return values on test data parsing (moneromooo-monero)
5 years ago
moneromooo-monero
26072f1393
blockchain: forbid v1 coinbase from v12
5 years ago
luigi1111
14602ba5ff
Merge pull request #5504
...
eeca5ca
epee: support unicode in parsed strings (moneromooo-monero)
3e11bb5
functional_tests: test creating wallets with local language names (moneromooo-monero)
5 years ago
luigi1111
50c8147568
Merge pull request #5490
...
1a93aa4
functional_tests: add get_fee_estimate to blockchain test (moneromooo-monero)
5 years ago
moneromooo-monero
3e11bb540e
functional_tests: test creating wallets with local language names
5 years ago
moneromooo-monero
eeca5ca0c8
epee: support unicode in parsed strings
5 years ago
luigi1111
f06c77ab72
Merge pull request #5677
...
a5127cc
tests: functional: fix python syntax (radfish)
5 years ago
luigi1111
86ee631212
Merge pull request #5652
...
f81cb4f
unit_tests: add more leeway to the 'same distribution' check (moneromooo-monero)
5 years ago
Tom Smeding
7b9a420787
Replace std::random_shuffle with std::shuffle
...
According to [1], std::random_shuffle is deprecated in C++14 and removed
in C++17. Since std::shuffle is available since C++11 as a replacement
and monero already requires C++11, this is a good replacement.
A cryptographically secure random number generator is used in all cases
to prevent people from perhaps copying an insecure std::shuffle call
over to a place where a secure one would be warranted. A form of
defense-in-depth.
[1]: https://en.cppreference.com/w/cpp/algorithm/random_shuffle
5 years ago
luigi1111
1ed2c40436
Merge pull request #5498
...
6eb2638
functional_tests: add a 3/3 multisig test (moneromooo-monero)
5 years ago
luigi1111
2258551ef9
Merge pull request #5487
...
df83ed7
consensus: from v12, enforce >= 2 outputs (moneromooo-monero)
5 years ago
moneromooo-monero
7d9b7fee43
functional_tests: add validate_address tests
5 years ago
Lee Clagett
2a7d91523b
Fixed i2p/tor tx flooding bug (white noise disabled)
5 years ago
luigi1111
f2acbd6b19
Merge pull request #5621
...
c88d6a9
tests: fixed file exec permissions (ston1th)
5 years ago
luigi1111
7fc76451a5
Merge pull request #5529
...
de27651
use crypto::rand instead of libc rand in a few tests (moneromooo-monero)
5 years ago
luigi1111
a29a89bdf4
Merge pull request #5507
...
2b198a6
difficulty-tests: remove spurious dependency on cryptonote_core (moneromooo-monero)
5 years ago
luigi1111
e3de4aa68b
Merge pull request #5502
...
25a7cfd
add a few checks where it seems appropriate (moneromooo-monero)
1a66a86
remove unused code (moneromooo-monero)
5 years ago
luigi1111
4c4586ca7b
Merge pull request #5473
...
ddf7890
python-rpc: add missing getblock RPC parameters (moneromooo-monero)
5 years ago
Lee Clagett
f91a06c6d7
Dropping cppzmq dependency; adding some zmq utils
5 years ago
Lee Clagett
3b24b1d082
Added support for "noise" over I1P/Tor to mask Tx transmission.
5 years ago
Lee Clagett
bdfc63ae4d
Add ref-counted buffer byte_slice. Currently used for sending TCP data.
5 years ago
moneromooo-monero
65c4004963
allow blocking whole subnets
5 years ago
luigi1111
fd3ff74164
Merge pull request #5746
...
3140a37
wallet_rpc_server: fix get_bulk_payments with short payment ids (moneromooo-monero)
5 years ago
moneromooo-monero
b350726a5a
boost: update obsolete usage of endian API
5 years ago
moneromooo-monero
3140a378da
wallet_rpc_server: fix get_bulk_payments with short payment ids
5 years ago
moneromooo-monero
c2238327d0
keccak: guard against misaligned memory accesses on ARM
...
The code generated is exactly the same as the direct access
one on x86_64
5 years ago
moneromooo-monero
7b18e838ea
unit_tests: check return values on test data parsing
...
Won't trigger in practice, but you never know when that code changes
Coverity 199723, 199685
5 years ago
redfish
a5127cca89
tests: functional: fix python syntax
5 years ago
moneromooo-monero
f81cb4f24b
unit_tests: add more leeway to the "same distribution" check
...
This is an inherently probabilistic check, which occasionally fails
for a matching distribution
5 years ago
ston1th
c88d6a9e5b
tests: fixed file exec permissions
5 years ago
Riccardo Spagni
51766d026b
Merge pull request #5583
...
77594c4f
functional_tests: fix python3 compatibility (moneromooo-monero)
5 years ago
Riccardo Spagni
42e2ed31ae
Merge pull request #5558
...
4ac52e52
functional_tests: fix rare get_output_distribution failure (moneromooo-monero)
5 years ago
moneromooo-monero
77594c4f4a
functional_tests: fix python3 compatibility
...
Also add missing bans test to the default tests
5 years ago
moneromooo-monero
4ac52e523d
functional_tests: fix rare get_output_distribution failure
...
When the wallet auto refreshes after mining the last two blocks
but before popping them, it will then try to use outputs which
are not unlocked yet. This is really a wallet problem, which
will be fixed later.
5 years ago
moneromooo-monero
dbecfe7d5d
unit_tests: make the density test a bit less stringent
...
It's an inherently random test
5 years ago
Rohaq
1873af35bf
Made code block usage consistent across all .md files
5 years ago
moneromooo-monero
de27651f80
use crypto::rand instead of libc rand in a few tests
...
We don't need secure randomness here, but it should shut coverity up
5 years ago
moneromooo-monero
ddf7890730
python-rpc: add missing getblock RPC parameters
5 years ago
Riccardo Spagni
f64f59627d
Merge pull request #5510
...
e9809382
fix wide difficulty conversion with some versions of boost (moneromooo-monero)
5 years ago
Riccardo Spagni
97cb1c9436
Merge pull request #5508
...
1c44e658
wallet2: reject standalone short payment IDs in monero: URI API (moneromooo-monero)
5 years ago
Riccardo Spagni
2d04b0e500
Merge pull request #5499
...
a4c4a2d8
blockchain: keep a rolling long term block weight median (moneromooo-monero)
5 years ago
Riccardo Spagni
9d91301faa
Merge pull request #5496
...
0eb0d6b8
rpc: improve get_output_distribution (moneromooo-monero)
5 years ago
Riccardo Spagni
123df0eaf7
Merge pull request #5419
...
f29fecd5
build: debug and test builds via contrib (Dusan Klinec)
5 years ago
moneromooo-monero
a4c4a2d8aa
blockchain: keep a rolling long term block weight median
5 years ago
Riccardo Spagni
2bf855e3cd
Merge pull request #5497
...
a59c2746
unit_tests: fix crash in debug in output_distribution test (moneromooo-monero)
5 years ago
Riccardo Spagni
17f31c3d51
Merge pull request #5484
...
36ced067
functional_tests: flush stdout before popening new process (moneromooo-monero)
5 years ago
moneromooo-monero
da694d418a
functional_tests: add tests for pending/out transfer addresses
5 years ago
moneromooo-monero
e980938210
fix wide difficulty conversion with some versions of boost
5 years ago
moneromooo-monero
1c44e65863
wallet2: reject standalone short payment IDs in monero: URI API
5 years ago
moneromooo-monero
2b198a6875
difficulty-tests: remove spurious dependency on cryptonote_core
5 years ago
moneromooo-monero
1a66a86f94
remove unused code
5 years ago
moneromooo-monero
25a7cfdb4a
add a few checks where it seems appropriate
5 years ago
moneromooo-monero
6eb2638463
functional_tests: add a 3/3 multisig test
5 years ago
moneromooo-monero
a59c27465b
unit_tests: fix crash in debug in output_distribution test
...
updating the block size limit needs recent block sizes,
so we feed it dummy ones
5 years ago
moneromooo-monero
0eb0d6b802
rpc: improve get_output_distribution
...
It can now handle small reorgs without having to rescan the
whole blockchain.
Also add a test for it.
5 years ago
Riccardo Spagni
973405018f
Merge pull request #5483
...
c0736643
unit_tests: don't delete log file on windows, it will fail (moneromooo-monero)
5 years ago
Riccardo Spagni
eb1da46ac1
Merge pull request #5467
...
aba2b2e7
functional_tests: reset blockchain on test start (moneromooo-monero)
375fde94
hardfork: fix off by one updating fork index after popping (moneromooo-monero)
5 years ago
moneromooo-monero
1a93aa4b79
functional_tests: add get_fee_estimate to blockchain test
5 years ago
moneromooo-monero
df83ed74e4
consensus: from v12, enforce >= 2 outputs
5 years ago
moneromooo-monero
36ced06727
functional_tests: flush stdout before popening new process
5 years ago
moneromooo-monero
c07366430a
unit_tests: don't delete log file on windows, it will fail
5 years ago
moneromooo-monero
aba2b2e7a2
functional_tests: reset blockchain on test start
5 years ago
Lee Clagett
55aae6a9a3
Fix socks tests in windows and handle errors better
5 years ago
Riccardo Spagni
ef1f1c5314
Merge pull request #5465
...
3e50a9e8
functional_tests: detect requests python module (moneromooo-monero)
5 years ago
moneromooo-monero
3e50a9e8fc
functional_tests: detect requests python module
5 years ago
moneromooo-monero
35e0a968bd
wallet2: "output lineup" fake out selection
...
Based on python code by sarang:
https://github.com/SarangNoether/skunkworks/blob/outputs/outputs/simulate.py
5 years ago
Riccardo Spagni
7973fb6a69
Merge pull request #5415
...
299052bc
Remove unneeded SFINAE on check_tx/block verification in core_tests (Doyle)
5 years ago
Riccardo Spagni
e9464eb5e3
Merge pull request #5413
...
5fafb90e
testdb: add override keyword where missing (stoffu)
5 years ago
stoffu
5fafb90e91
testdb: add override keyword where missing
...
and delete obsolete BlockchainBDB::get_tx_output_indices along the way
5 years ago
Doyle
299052bca3
Remove unneeded SFINAE on check_tx/block verification in core_tests
5 years ago
moneromooo-monero
e3dea47859
unit_tests: undo is_blocked implementation factoring
...
The is_host_blocked method is not on master yet
5 years ago
Riccardo Spagni
f376cd5605
Merge pull request #5446
...
7d79222f
daemon: remove debug info (moneromooo-monero)
8fec0f98
functional_tests: add sweep_single test (moneromooo-monero)
9880d61b
wallet_rpc_server: remove unused code (moneromooo-monero)
8a61b33d
rpc: omit irrelevant fields for pool txes in gettransactions (moneromooo-monero)
56508524
rpc: add relayed in get_transaction output (moneromooo-monero)
82e510f1
rpc: set default log category in core_rpc_server.h (moneromooo-monero)
5 years ago
Riccardo Spagni
8d16e92dcb
Merge pull request #5425
...
58585986
p2p: fix integer overflow in host bans (moneromooo-monero)
5 years ago
Riccardo Spagni
a1ea611e24
Merge pull request #5424
...
93bb2f48
ringct: prevent use of full ringct signatures for more than one input (moneromooo-monero)
5 years ago
Riccardo Spagni
0d2aaac15b
Merge pull request #5414
...
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)
5 years ago
Riccardo Spagni
45a4145f87
Merge pull request #5409
...
ac874e2d
tests: fix test_options initialization error (Dusan Klinec)
5 years ago
Riccardo Spagni
46c477ab30
Merge pull request #5400
...
5e673c03
blockchain_db: fix db txn ending too early (moneromooo-monero)
5 years ago
moneromooo-monero
8fec0f9831
functional_tests: add sweep_single test
5 years ago
Riccardo Spagni
9bd0983d5e
Merge pull request #5402
...
cbf32241
rpc: make wide_difficulty hexadecimal (moneromooo-monero)
5 years ago
Riccardo Spagni
e31559d319
Merge pull request #5398
...
41901b8d
device/trezor: env-configurable ports (Dusan Klinec)
c97a1f79
tests: trezor tests fixes and improvements (Dusan Klinec)
5 years ago
Riccardo Spagni
07c1734985
Merge pull request #5393
...
c5d3ea2f
tests: add a few try/catch in main to shut coverity up (moneromooo-monero)
5 years ago
moneromooo-monero
5e673c03fe
blockchain_db: fix db txn ending too early
...
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.
5 years ago
moneromooo-monero
5858598604
p2p: fix integer overflow in host bans
5 years ago
moneromooo-monero
93bb2f48f7
ringct: prevent use of full ringct signatures for more than one input
5 years ago
Riccardo Spagni
716f5a2a6a
Merge pull request #5384
...
0eee6cd7
block_weight: catch exceptions in main for clean exit on error (moneromooo-monero)
4b3bb829
epee: init a new ssl related variable in ctor (moneromooo-monero)
5 years ago
moneromooo-monero
0eee6cd7fe
block_weight: catch exceptions in main for clean exit on error
5 years ago
moneromooo-monero
8646bd0086
functional_tests: exit with 1 if any test fails
5 years ago
moneromooo-monero
04a20cb242
functional_tests: cold signing key images/outputs import/export
5 years ago
moneromooo-monero
798e3cad2b
functional_tests: add double spend detection tests
5 years ago
moneromooo-monero
7c657bb2dd
functional_tests: add alt chains tests
5 years ago
moneromooo-monero
f8be31d269
functional_tests: add wallet creation language tests
5 years ago
moneromooo-monero
2d68b31f3e
functional_tests: add more wallet tests
...
get_transfer_by_txid, get_height, open/close
5 years ago
moneromooo-monero
b3a32d5505
functional_tests: add describe_transfer tests
5 years ago
moneromooo-monero
064ab12340
functional_tests: add more blockchain related tests
...
Related to emission, reorgs, getting tx data back, output
distribution and histogram
5 years ago
moneromooo-monero
21b1ac1dd2
functional_tests: add bans tests
5 years ago
Dusan Klinec
41901b8deb
device/trezor: env-configurable ports
5 years ago
Dusan Klinec
c97a1f79d6
tests: trezor tests fixes and improvements
...
- configurable hardforks via env vars
5 years ago
Dusan Klinec
f29fecd517
build: debug and test builds via contrib
5 years ago
stoffu
e9fac29a4b
unit_tests/long_term_block_weight: some tweaks that seem to make more sense
5 years ago
stoffu
467f4c7ed3
tests/block_weight: use integer division when computing median
5 years ago
stoffu
815d08dc5f
tests/block_weight: remove unused MULTIPLIER_SMALL
5 years ago
Dusan Klinec
ac874e2d40
tests: fix test_options initialization error
5 years ago
Riccardo Spagni
c34930c207
Merge pull request #5391
...
71907980
unit_tests: fix long term block weight test after cache change (moneromooo-monero)
5 years ago
Riccardo Spagni
55e3980d89
Merge pull request #5353
...
1bc78cc2
tests: trezor_test fix (Dusan Klinec)
5 years ago
Riccardo Spagni
c96fc4bf59
Merge pull request #5341
...
0218bc49
test: hmac_keccak - fix number of chunks counting (Dusan Klinec)
5 years ago
moneromooo-monero
cbf3224180
rpc: make wide_difficulty hexadecimal
...
This should be friendlier for clients which don't have bignum support
5 years ago
moneromooo-monero
c5d3ea2fef
tests: add a few try/catch in main to shut coverity up
5 years ago
moneromooo-monero
7190798049
unit_tests: fix long term block weight test after cache change
5 years ago
Riccardo Spagni
4308a2e173
Merge pull request #5318
...
1a91385e
block_weight: fix python 2/3 compatibility (moneromooo-monero)
5 years ago
Riccardo Spagni
29e4e70f30
Merge pull request #5352
...
ae6885f6
blockchain: incremental long term block weight cache (moneromooo-monero)
9b687c78
blockchain: simple cache for the long term block weights (moneromooo-monero)
5 years ago
Riccardo Spagni
e601028649
Merge pull request #5331
...
32973434
python-rpc: add getblockheadersrange daemon RPC (moneromooo-monero)
c7bfdc35
python-rpc: add console.py (moneromooo-monero)
22b644f4
functional_tests: move RPC API to utils, it is not test specific (moneromooo-monero)
30c865f0
functional_tests: add balance tests (moneromooo-monero)
fdfa832f
functional_tests: add missing parameters to get_balance (moneromooo-monero)
cf6d7759
functional_tests: add proofs tests (tx key, in/out tx, reserve) (moneromooo-monero)
a3144bd7
functional_tests: add more transfer tests (moneromooo-monero)
5d580bfa
functional_tests: add get_bulk_transfer tests (moneromooo-monero)
0becbd16
functional_tests: add message signing/verification tests (moneromooo-monero)
a5dbf7f5
functional_tests: add multisig and cold signing tests (moneromooo-monero)
b2fc5719
functional_tests: support several daemons/wallets (moneromooo-monero)
9e979ffa
functional_tests: add txpool RPC tests (moneromooo-monero)
3e93c157
functional_tests: add integrated address tests (moneromooo-monero)
b384309e
functional_tests: add basic transfer tests (moneromooo-monero)
ef7681b6
functional_tests: plug RPC tests into the cmake machinery (moneromooo-monero)
18a2ed45
functional_tests: add basic mining tests (moneromooo-monero)
98e280fc
functional_tests: add wallet address/subaddress RPC tests (moneromooo-monero)
8dcd4d3d
functional_tests: improve RPC blockchain tests (moneromooo-monero)
5 years ago
moneromooo-monero
1a91385eaf
block_weight: fix python 2/3 compatibility
5 years ago
Riccardo Spagni
96e1b4e672
Merge pull request #5289
...
ab6c3b1d
tests: fix path in instructions (moneromooo-monero)
5 years ago
Riccardo Spagni
e55b3f9dda
Merge pull request #5239
...
91f4c7f4
Make difficulty 128 bit instead of 64 bit (moneromooo-monero)
5 years ago
moneromooo-monero
9b687c7873
blockchain: simple cache for the long term block weights
5 years ago
Dusan Klinec
1bc78cc29a
tests: trezor_test fix
5 years ago
Lee Clagett
7acfa9f3cc
Added socks proxy (tor/i2pd/kovri) support to wallet
5 years ago
moneromooo-monero
91f4c7f45f
Make difficulty 128 bit instead of 64 bit
...
Based on Boolberry work by:
jahrsg <jahr@jahr.me>
cr.zoidberg <crypto.zoidberg@gmail.com>
5 years ago
Dusan Klinec
0218bc497d
test: hmac_keccak - fix number of chunks counting
5 years ago
Riccardo Spagni
37ee4acf48
Merge pull request #5274
...
dc0c0c91
tests: disable wallet SSL init for tests involving wallet2 (moneromooo-monero)
5 years ago
moneromooo-monero
c7bfdc3566
python-rpc: add console.py
...
It allows one to connect to a running daemon or wallet, and use
its RPC API from python.
Usage: python -i console.py <port>
It will detect whether it's talking to a daemon or wallet and
initialize itself accordingly.
5 years ago
moneromooo-monero
22b644f47e
functional_tests: move RPC API to utils, it is not test specific
5 years ago
moneromooo-monero
30c865f0f8
functional_tests: add balance tests
5 years ago
moneromooo-monero
fdfa832f00
functional_tests: add missing parameters to get_balance
5 years ago
moneromooo-monero
cf6d775964
functional_tests: add proofs tests (tx key, in/out tx, reserve)
5 years ago
moneromooo-monero
a3144bd7c8
functional_tests: add more transfer tests
...
manual relay, transfer to integrated address, and a few negative
transfer tests
5 years ago
moneromooo-monero
5d580bfa9c
functional_tests: add get_bulk_transfer tests
5 years ago
moneromooo-monero
0becbd1612
functional_tests: add message signing/verification tests
5 years ago
moneromooo-monero
a5dbf7f5fa
functional_tests: add multisig and cold signing tests
5 years ago
moneromooo-monero
b2fc571943
functional_tests: support several daemons/wallets
5 years ago
moneromooo-monero
9e979ffa22
functional_tests: add txpool RPC tests
5 years ago
moneromooo-monero
3e93c157bd
functional_tests: add integrated address tests
5 years ago
moneromooo-monero
b384309e17
functional_tests: add basic transfer tests
5 years ago
moneromooo-monero
ef7681b699
functional_tests: plug RPC tests into the cmake machinery
5 years ago
moneromooo-monero
18a2ed4518
functional_tests: add basic mining tests
5 years ago
moneromooo-monero
98e280fcb8
functional_tests: add wallet address/subaddress RPC tests
5 years ago
moneromooo-monero
8dcd4d3d11
functional_tests: improve RPC blockchain tests
5 years ago
Riccardo Spagni
5ac46c5310
Merge pull request #5256
...
4b21d38d
blockchain: speed up getting N blocks weights/long term weights (moneromooo-monero)
5 years ago
Riccardo Spagni
39107e18d5
Merge pull request #5251
...
7632dede
crypto: fix PaX issue on NetBSD with CNv4 JIT (moneromooo-monero)
89b1630e
gtest: build fix for NetBSD (moneromooo-monero)
fa43b547
tests: handle any cmake detected python interpreter (moneromooo-monero)
5 years ago
Riccardo Spagni
48e3a341f8
Merge pull request #5211
...
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)
5 years ago
Dusan Klinec
c9b13fbbc2
tests/trezor: HF9 and HF10 tests
...
- tests fixes for HF10, builder change, rct_config; fix_chain
- get_tx_key test
- proper testing after live refresh added
- live refresh synthetic test
- log available funds for easier test construction
- wallet::API tests with mocked daemon
5 years ago
Dusan Klinec
d74d26f2c9
crypto: hmac_keccak added
5 years ago
Lee Clagett
0c7e7bce18
Adding classes, functions, and utilities for common LMDB operations.
5 years ago
Riccardo Spagni
edb294ef23
Merge pull request #5240
...
c8c154a2
tests: fix cnv4-jit-test link on mac (moneromooo-monero)
5 years ago
Riccardo Spagni
c3de019f56
Merge pull request #5192
...
d0e07b3d
performance_tests: fix NetBSD build (moneromooo-monero)
7d88d8f2
discontinue use of alloca (moneromooo-monero)
5 years ago