Riccardo Spagni
4754390725
Merge pull request #2720
...
110339f5
unit_tests: fix data dir determination (moneromooo-monero)
7 years ago
Riccardo Spagni
8df6b010eb
Merge pull request #2696
...
937e7f8a
Initialize openssl on startup (moneromooo-monero)
7 years ago
Riccardo Spagni
8d8032b4c6
Merge pull request #2691
...
f92f1606
core_tests: do not include chaingen_tests_list.h in all tests (moneromooo-monero)
7 years ago
Riccardo Spagni
0c5872c869
Merge pull request #2686
...
21b9f6f3
always use core_tests for consistency, not coretests (moneromooo-monero)
7 years ago
Riccardo Spagni
5d52463b57
Merge pull request #2670
...
4fb77946
unit tests: OOB indexes & adding subaddress (Cole Lightfighter)
4fd6a3d2
Subaddress unit tests (Cole Lightfighter)
7 years ago
Riccardo Spagni
9317c9c57e
Merge pull request #2617
...
7dbf76d0
Fix an object lifetime bug in net load tests (moneromooo-monero)
7 years ago
binaryFate
10013e9434
Protect node privacy by proper filtering in restricted-mode RPC answers
...
This patch allows to filter out sensitive information for queries that rely on the pool state, when running in restricted mode.
This filtering is only applied to data sent back to RPC queries. Results of inline commands typed locally in the daemon are not affected.
In practice, when running with `--restricted-rpc`:
* get_transaction_pool will list relayed transactions with the fields "last relayed time" and "received time" set to zero.
* get_transaction_pool will not list transaction that have do_not_relay set to true, and will not list key images that are used only for such transactions
* get_transaction_pool_hashes.bin will not list such transaction
* get_transaction_pool_stats will not count such transactions in any of the aggregated values that are computed
The implementation does not make filtering the default, so developers should be mindful of this if they add new RPC functionality.
Fixes #2590 .
7 years ago
Riccardo Spagni
9d65a9cc98
Merge pull request #2483
...
ff7745bb
Edited test readme for accuracy and depth (Cole Lightfighter)
c300ae56
Added test documentation & Keccak unit test (Cole Lightfighter)
f6119a8e
Added test documentation & Keccak unit test (Cole Lightfighter)
7 years ago
Riccardo Spagni
13a84caa22
Merge pull request #2662
...
88ebfd64
core_tests: fix for subaddress patch (kenshi84)
e373a203
performance_tests: add master spend pubkey to subaddress hashtable (kenshi84)
7 years ago
Riccardo Spagni
4146f2e202
Merge pull request #2666
...
8233a24b
unit_tests: fix build on windows (moneromooo-monero)
7 years ago
Jaquee
d04633121b
fix libwallet api test after api change
7 years ago
moneromooo-monero
110339f553
unit_tests: fix data dir determination
7 years ago
moneromooo-monero
937e7f8aa6
Initialize openssl on startup
7 years ago
moneromooo-monero
f92f160674
core_tests: do not include chaingen_tests_list.h in all tests
...
This fixes all tests being annoyingly rebuilt when one changes
7 years ago
Cole Lightfighter
4fb7794651
unit tests: OOB indexes & adding subaddress
...
Tests for checking proper error throwing for out-of-bounds subaddress
indexes, and proper addition of subaddresses.
Signed-off-by: Cole Lightfighter <cole@onicsla.bz>
7 years ago
moneromooo-monero
21b9f6f3c7
always use core_tests for consistency, not coretests
...
Other tests use unit_tests, performance_tests, etc.
This fixes getting it wrong half the time when typing.
7 years ago
Cole Lightfighter
4fd6a3d27f
Subaddress unit tests
...
Basic unit test fixture, and initialization of a subaddress account.
Signed-off-by: Cole Lightfighter <cole@onicsla.bz>
7 years ago
kenshi84
88ebfd646a
core_tests: fix for subaddress patch
7 years ago
moneromooo-monero
8233a24ba8
unit_tests: fix build on windows
...
Reported by iDunk on IRC
7 years ago
kenshi84
e373a2037b
performance_tests: add master spend pubkey to subaddress hashtable
7 years ago
moneromooo-monero
fddd8d226f
performance_tests: fix build after subaddress patch
7 years ago
Riccardo Spagni
b4126266d4
Merge pull request #2610
...
44c1d160
unit_tests: fix compiling on Windows (iDunk5400)
7 years ago
Riccardo Spagni
6159a83175
Merge pull request #2608
...
fe484f30
unit_tests: data dir is now overridden with --data-dir (moneromooo-monero)
7 years ago
Riccardo Spagni
cb9b1fcc94
Merge pull request #2582
...
240f769d
tests: add sha256sum unit test (moneromooo-monero)
7 years ago
Riccardo Spagni
1c546e0d81
Merge pull request #2565
...
452d4fae
tests: fix hashchain unit tests (moneromooo-monero)
7 years ago
Riccardo Spagni
56ea442fd3
Merge pull request #2555
...
a4b4651c
dns_utils: allow an optional DNS server IP in DNS_PUBLIC (moneromooo-monero)
7 years ago
Riccardo Spagni
5df4ecbb83
Merge pull request #2528
...
551a8ea6
mnemonics: new Lojban word list (Wei Tang)
7 years ago
Riccardo Spagni
5ea20d6944
Merge pull request #2469
...
7adceee6
precomputed block hashes are now in blocks of N (currently 256) (moneromooo-monero)
7 years ago
moneromooo-monero
a4b4651cb0
dns_utils: allow an optional DNS server IP in DNS_PUBLIC
...
tcp://a.b.c.d
7 years ago
moneromooo-monero
7dbf76d0da
Fix an object lifetime bug in net load tests
...
The commands handler must not be destroyed before the config
object, or we'll be accessing freed memory.
An earlier attempt at using boost::shared_ptr to control object
lifetime turned out to be very invasive, though would be a
better solution in theory.
7 years ago
iDunk5400
44c1d160c8
unit_tests: fix compiling on Windows
7 years ago
moneromooo-monero
fe484f3049
unit_tests: data dir is now overridden with --data-dir
...
rather than a raw string without option
7 years ago
kenshi84
53ad5a0f42
Subaddresses
7 years ago
Riccardo Spagni
8661f4e868
Merge pull request #2523
...
540d6fa3
tests: pass data dir as arg (redfish)
7 years ago
moneromooo-monero
240f769d21
tests: add sha256sum unit test
7 years ago
Lee Clagett
8b00687735
Upgrades to epee::net_utils::network_address
...
- internal nullptr checks
- prevent modifications to network_address (shallow copy issues)
- automagically works with any type containing interface functions
- removed fnv1a hashing
- ipv4_network_address now flattened with no base class
7 years ago
moneromooo-monero
452d4fae39
tests: fix hashchain unit tests
...
and relax the not-empty safety check to stay more intuitiuve
7 years ago
Riccardo Spagni
a2041c9874
Merge pull request #2518
...
6a0fb301
performance_tests: adjust some iterations down a bit (moneromooo-monero)
7 years ago
Cole Lightfighter
ff7745bb87
Edited test readme for accuracy and depth
...
Removed some erroneous instructions, and added information about
different test suites.
Signed-off-by: Cole Lightfighter <cole@onicsla.bz>
7 years ago
redfish
540d6fa3d5
tests: pass data dir as arg
...
This fixes test failure on builds that happen
to be built in 'build/' instead of 'build/release'.
Use boost filesystem path type.
7 years ago
Wei Tang
551a8ea60e
mnemonics: new Lojban word list
...
Word list authored by: sorpaas
Sources:
lo gimste jo'u lo ma'oste (http://guskant.github.io/lojbo/gismu-cmavo.html )
N-grams of Lojban corpus (https://mw.lojban.org/papri/N-grams_of_Lojban_corpus )
7 years ago
moneromooo-monero
36c3465b98
wallet2: do not keep block hashes below last checkpoint
...
This saves a lot of space and load/save time for wallet caches
7 years ago
moneromooo-monero
5d65a75b69
move checkpoints in a separate library
7 years ago
moneromooo-monero
06a681cf5b
performance_tests: add a test for is_out_to_acc_precomp
7 years ago
Riccardo Spagni
e5a2cdbfad
Merge pull request #2457
...
d2d8a41c
Use actual batch size for resize estimates (Howard Chu)
7 years ago
Riccardo Spagni
c2346c6c59
Merge pull request #2424
...
28b72b6e
tx_pool: pre-init tvc.m_verifivation_failed before processing (moneromooo-monero)
50a629b2
core_tests: catch (impossible in practice) tx extra api failure (moneromooo-monero)
fee15ef1
wallet2: catch failure to parse address (moneromooo-monero)
1399e26d
net_peerlist: remove dead code (moneromooo-monero)
50e09698
tx_pool: guard against failure getting tx hash (moneromooo-monero)
54cc209a
wallet_rpc_server: catch failure to create directory (moneromooo-monero)
3e55099c
wallet_rpc_server: init m_vm to NULL in ctor (moneromooo-monero)
7d0dde5e
wallet_args: remove redundant default value for --log-file (moneromooo-monero)
ed4a3350
wallet2: catch failure to save keys file (moneromooo-monero)
44434c8a
wallet2_api: check whether dynamic_cast returns NULL (moneromooo-monero)
92f2f687
core: check return value from parse_hexstr_to_binbuff (moneromooo-monero)
5475692e
wallet2_api: remove an unused, uninitialized, field (moneromooo-monero)
a7ba3de1
libwallet_api_tests: initialize newblock_triggered on reset (moneromooo-monero)
b2763ace
wallet2_api: init error code to "no error" in the ctor (moneromooo-monero)
b5faac53
get_blockchain_top now returns void (moneromooo-monero)
2e44d8f2
wallet_rpc_server: guard against exceptions (moneromooo-monero)
4230876b
simplewallet: guard against I/O exceptions (moneromooo-monero)
06c1e057
daemon: initialize decode_as_json in RPC request (moneromooo-monero)
11f71af5
http_base: init size_t in http_request_info ctor (moneromooo-monero)
7 years ago
Riccardo Spagni
b911130a46
Merge pull request #2442
...
e29282d2
build: auto update version info without manually deleting version.h (stoffu)
7 years ago
Riccardo Spagni
08ada1fa8b
Merge pull request #2440
...
6137a0b9
blockchain: reject unsorted ins and outs from v7 (moneromooo-monero)
16afab90
core: sort ins and outs key key image and public key, respectively (moneromooo-monero)
0c36b9f9
common: add apply_permutation file and function (moneromooo-monero)
7 years ago
moneromooo-monero
50a629b2e6
core_tests: catch (impossible in practice) tx extra api failure
...
CID 175301
7 years ago
moneromooo-monero
a7ba3de1d3
libwallet_api_tests: initialize newblock_triggered on reset
...
CID 161873
7 years ago