luigi1111
0e4ab6091c
Merge pull request #5960
...
ae34e1b
unit_tests: fix ringdb unit tests (moneromooo-monero)
5 years ago
luigi1111
342e7f844f
Merge pull request #5921
...
2a7d915
Fixed i2p/tor tx flooding bug (white noise disabled) (vtnerd)
5 years ago
moneromooo-monero
ae34e1ba1c
unit_tests: fix ringdb unit tests
5 years ago
luigi1111
40501cc131
Merge pull request #5895
...
fdc00d0
unit tests: replace global var with lambda returning static local var (stoffu)
5 years ago
luigi1111
c6430f9dd0
Merge pull request #5893
...
Coverity fixes [3a81639
, 1bd962d
, 2825f07
, d099658
, d46f701
, cd57a10
] (anonimal)
5 years ago
moneromooo-monero
8330e772f1
monerod can now sync from pruned blocks
...
If the peer (whether pruned or not itself) supports sending pruned blocks
to syncing nodes, the pruned version will be sent along with the hash
of the pruned data and the block weight. The original tx hashes can be
reconstructed from the pruned txes and theur prunable data hash. Those
hashes and the block weights are hashes and checked against the set of
precompiled hashes, ensuring the data we received is the original data.
It is currently not possible to use this system when not using the set
of precompiled hashes, since block weights can not otherwise be checked
for validity.
This is off by default for now, and is enabled by --sync-pruned-blocks
5 years ago
Howard Chu
81c2ad6d5b
RandomX integration
...
Support RandomX PoW algorithm
5 years ago
luigi1111
3f6096867d
Merge pull request #5916
...
7b076d5
p2p: fix bans taking port into account (moneromooo-monero)
5 years ago
luigi1111
44aa7d5439
Merge pull request #5882
...
a444f06
blockchain: enforce 10 block age for spending outputs (moneromooo-monero)
5 years ago
luigi1111
06bee964a8
Merge pull request #5878
...
f9b3f6e
Removed Berkeley DB and db switching logic (JesusRami)
5 years ago
luigi1111
ee6e849627
Merge pull request #5877
...
2cd4fd8
Changed the use of boost:value_initialized for C++ list initializer (JesusRami)
4ad191f
Removed unused boost/value_init header (whyamiroot)
928f4be
Make null hash constants constexpr (whyamiroot)
5 years ago
luigi1111
8c41d36a08
Merge pull request #5864
...
32f725d
Properly format multiline logs (moneromooo-monero)
5 years ago
moneromooo-monero
a444f06e53
blockchain: enforce 10 block age for spending outputs
...
Some custom wallet code apparently ignores this, which causes users
of that code to be fingerprinted
5 years ago
moneromooo-monero
48cfcb6313
functional_tests: fix failure on windows removing files
5 years ago
moneromooo-monero
75fe790634
fix wallet python test when run with ctest
5 years ago
moneromooo-monero
6b72541dc0
functional_tests: python3 compatibility
...
and add missing tests
5 years ago
moneromooo-monero
1fac83858a
functional_tests: pop exactly what we need to test before testing
5 years ago
moneromooo-monero
e037ecb014
functional_tests: check for RPC methods which aren't exposed
5 years ago
moneromooo-monero
d53a55204f
functional_tests: add get_transaction_pool_stats
...
Also fix part of the RPC results being returned as binary.
This makes the RPC backward incompatible.
5 years ago
moneromooo-monero
51bd45c352
functional_tests: add save_bc
5 years ago
moneromooo-monero
230f73e121
functional_tests: add is_key_image_spent tests
5 years ago
moneromooo-monero
c148002534
functional_tests: add submitblock test
5 years ago
moneromooo-monero
121c1b9475
functional_tests: check transaction fee is around what we expect
5 years ago
moneromooo-monero
170e51f0d9
functional_tests: add tx_notes tests
5 years ago
moneromooo-monero
4c375c9442
functional_tests: add wallet attributes test
5 years ago
moneromooo-monero
f2e811fced
functional_tests: add rescan_spent/rescan_blockchain tests
5 years ago
moneromooo-monero
4ba8254a1d
functional_tests: add monero: URI tests
5 years ago
moneromooo-monero
cc4be4fa15
wallet: add edit_address_book RPC
5 years ago
moneromooo-monero
4ff40d8d9a
functional_tests: add address book tests
5 years ago
moneromooo-monero
0dc49fc918
functional_tests: add wallet password change, store and tag tests
5 years ago
moneromooo-monero
8e077a5fc0
functional_tests: add spend proof tests
5 years ago
moneromooo-monero
a71d91cecf
functional_tests: add test for mining via wallet
5 years ago
moneromooo-monero
447268cf29
functional_tests: add multisig state tests
5 years ago
moneromooo-monero
43015bb7e3
functional_tests: add get_transfers test
5 years ago
moneromooo-monero
f23beb879e
functional_tests: add missing sweep_dust parameters, and test it
...
though not a very good test, but we don't have dust handy
5 years ago
moneromooo-monero
b9e09378ad
functional_tests: move extraneous stuff out of the framework
5 years ago
moneromooo-monero
7b076d5170
p2p: fix bans taking port into account
5 years ago
moneromooo-monero
32f725d32f
Properly format multiline logs
...
As a side effect, colouring on Windows should now work
regardless of version
5 years ago
Jesus Ramirez
f9b3f6ef3b
Removed Berkeley DB and db switching logic
5 years ago
luigi1111
d663e1e3db
Merge pull request #5818
...
f91a06c
Dropping cppzmq dependency; adding some zmq utils (vtnerd)
5 years ago
luigi1111
29e0f11305
Merge pull request #5823
...
26072f1
blockchain: forbid v1 coinbase from v12 (moneromooo-monero)
555dc7c
core: from v12, require consistent ring size for mixable txes (moneromooo-monero)
d22dfb7
blockchain: reject rct signatures in coinbase txes from v12 (moneromooo-monero)
5 years ago
stoffu
fdc00d0906
unit tests: replace global var with lambda returning static local var
...
Fixes assertion failure (curstate == 1) in random.c in debug mode
5 years ago
luigi1111
d0d76f771a
Merge pull request #5876
...
a5c7eeb
unit_tests: fix build with CLANG 8 and boost 1.69 (moneromooo-monero)
5 years ago
luigi1111
d91393daaf
Merge pull request #5856
...
f56e160
unit_tests: Fix uninitialized values (liptakmatyas)
5 years ago
luigi1111
9325501762
Merge pull request #5855
...
2ec455d
wallet: fix mismatch between two concepts of 'balance' (moneromooo-monero)
5 years ago
anonimal
d46f701515
tests: rct_mlsag: resolve CID 203914 (UNINIT_CTOR)
5 years ago
moneromooo-monero
2ec455df1f
wallet: fix mismatch between two concepts of "balance"
...
One considers the blockchain, while the other considers the
blockchain and some recent actions, such as a recently created
transaction which spend some outputs, but isn't yet mined.
Typically, the "balance" command wants the latter, to reflect
the recent action, but things like proving ownership wants
the former.
This fixes a crash in get_reserve_proof, where a preliminary
check and the main code used two concepts of "balance".
5 years ago
moneromooo-monero
0e2fda5bf0
unit_tests: fix levin unit test on big endian
5 years ago
moneromooo-monero
d046ca1db0
difficulty: fix check_hash on big endian
5 years ago
Jesus Ramirez
2cd4fd8972
Changed the use of boost:value_initialized for C++ list initializer
5 years ago
moneromooo-monero
a5c7eebaea
unit_tests: fix build with CLANG 8 and boost 1.69
5 years ago
luigi1111
98af2e954b
Merge pull request #5793
...
bdfc63a
Add ref-counted buffer byte_slice. Currently used for sending TCP data. (vtnerd)
3b24b1d
Added support for 'noise' over I1P/Tor to mask Tx transmission. (vtnerd)
5 years ago
luigi1111
85014813cf
Merge pull request #5707
...
3a0451a
MLSAG speedup and additional checks (SarangNoether)
5 years ago
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