moneromooo-monero
bc61ae69bf
tx_pool: add a max pool size, settable with --max-txpool-size
6 years ago
moneromooo-monero
e4646379a6
keccak: fix mdlen bounds sanity checking
...
found by h908714124
6 years ago
Michał Sałaban
6866ed469a
Add default value to max_height, otherwise it's 0
6 years ago
moneromooo-monero
b81e276cab
connection_context: initialize m_last_request_time to current time
...
This prevents spurious early peer drops
6 years ago
moneromooo-monero
928c1825f0
cryptonote_protocol: guard against all threads in standby
6 years ago
moneromooo-monero
2e3e90acbe
pass large parameters by const ref, not value
...
Coverity 136394 136397 136409 136526 136529 136533 175302
6 years ago
moneromooo-monero
61defd89e3
blockchain: sanity check number of precomputed hash of hash blocks
...
Coverity 142951
6 years ago
moneromooo-monero
9af6b2d1b8
ringct: fix infinite loop in unused h2b function
...
Coverity 146775
6 years ago
moneromooo-monero
8cea8d0cef
simplewallet: double check a new multisig wallet is multisig
...
Coverity 182493
6 years ago
moneromooo-monero
9b98a6ac8f
threadpool: catch exceptions in dtor, to avoid terminate
...
If an exception is thrown, it is ignored. While this may hide
a bug, this should only be system exceptions in boost, which
is pretty unlikely. Morever, wait should be called manually
before the dtor anyway. Add an error message if the dtor has
to wait in case some such cases creep in so they get fixed.
Coverity 182538
6 years ago
moneromooo-monero
24803ed91f
blockchain_export: fix buffer overflow in exporter
...
Coverity 182550
6 years ago
moneromooo-monero
f3f7da624d
perf_timer: rewrite to make it clear there is no division by zero
...
It could have happened if epee::misc_utils::get_ns_count
is buggy, at a push
Coverity 182561
6 years ago
moneromooo-monero
c6ea3df0ae
performance_tests: remove add_arg call stray extra param
...
Coverity 182572
6 years ago
moneromooo-monero
fa6b45665d
fuzz_tests: fix an uninitialized var in setup
...
and comment it out, it's only used to generate a starting test case
Coverity 182506
6 years ago
moneromooo-monero
03887f1140
keccak: fix sanity check bounds test
...
Nothing calls this with those inputs
6 years ago
moneromooo-monero
ad11db9144
blockchain_db: initialize m_open in base class ctor
...
It's cleaner this way, since it's a base class field
Coverity 136568
6 years ago
moneromooo-monero
bece67f9e8
miner: restore std::cout precision after modification
...
Coverity 136462
6 years ago
moneromooo-monero
1aabd14c21
db_lmdb: check hard fork info drop succeeded
...
Coverity 136364
6 years ago
MoroccanMalinois
49c803ad7d
Dockerfile: build dependencies with -fPIC
6 years ago
moneromooo-monero
3b4e6b35b3
txpool: increase unmined tx expiry to three days
6 years ago
moneromooo-monero
2e584dcb1f
p2p: do not try to connect to peers in offline mode
6 years ago
moneromooo-monero
851bd057ec
call _exit instead of abort in release mode
...
Avoids cores being created, as they're nowadays often piped
to some call home system
6 years ago
Leon Klingele
399921347f
txpool: Properly bail out when outputs_amount == inputs_amount
...
Previously, when outputs_amount == inputs_amount, the "m_overspend" property
was set, whereas "m_fee_too_low" would have been the correct property to set.
This is unlikely to ever occur and just something I've noticed while reading
through the code.
6 years ago
Howard Chu
84a8b2da14
Don't create readtxn until after txn_safe gate check
6 years ago
moneromooo-monero
3f1a3fac00
bulletproofs: more robust challenge computation
...
Changes from sarang, from a recommendation by an anonymous reviewer
6 years ago
moneromooo-monero
b809058993
ringct: pseudoOuts moved to prunable in the simple bulletproof case
...
Saves 64 bytes non prunable data per typical tx
This breaks v7 consensus, will require a testnet reorg from v6
6 years ago
moneromooo-monero
19ff243f52
wallets: reorg 61 more days on testnet
6 years ago
moneromooo-monero
c70f03cacf
blockchain: move bulletproofs to v8
...
and set v7 height to 1057027 on testnet (one block earlier)
This is to easily dump current nodes since we're going to change
the v7 rules with this.
6 years ago
moneromooo-monero
fde4489e1d
wipeable_string: call memwipe directly
...
since the original reason for the indirect call (that memwipe
was not in contrib) is now gone
6 years ago
stoffu
a99ef17695
wallet-rpc: take subaddress account as arg for get_transfer_by_txid
6 years ago
stoffu
7712509644
wallet-rpc: rename *_INDEX_OUTOFBOUND into *_INDEX_OUT_OF_BOUNDS
6 years ago
stoffu
7539603f94
Bootstrap daemon
6 years ago
Maxithi
a85dbb3f2f
Fixed typos and wording tweaks
6 years ago
stoffu
402c9eef0e
cryptonote_tx_utils: fixed logic bug in get_destination_view_key_pub
6 years ago
Michał Sałaban
f90c76beb4
Return appropriate error code when there's no connection to daemon
7 years ago
Erik de Castro Lopo
628b78ae8a
Fix in_peers/out_peers RPC operations
...
Original implementations could never have worked.
7 years ago
Erik de Castro Lopo
ece9bcf5c6
rpc_client: Fix error handling
...
Previous code was unable to distingush between a connection error
and a communication error.
7 years ago
Erik de Castro Lopo
8f30350d03
Fix method name in invoke_http_json_rpc
...
Previously, the method name was printed as an exmpty string because
the input string had already been moved with `std::move`.
7 years ago
Erik de Castro Lopo
32c0f908cd
Allow the number of incoming connections to be limited
...
It was already possible to limit outgoing connections. One might want
to do this on home network connections with high bandwidth but low
usage caps.
7 years ago
Erik de Castro Lopo
d609a2c164
Rename delete_connections to delete_out_connections
...
This rename is needed so that delete_in_connections can be added.
7 years ago
Erik de Castro Lopo
b927c0fc7a
Rename connections_count to max_out_connection_count
...
This is needed so that a max_in_connection_count can be added.
7 years ago
Riccardo Spagni
ed67e5c001
Merge pull request #3198
...
1c99a628
Tests: Fix building of two fuzz tests on Windows (iDunk5400)
7 years ago
Riccardo Spagni
4fcf609942
Merge pull request #3186
...
7ed62e63
cryptonote_protocol: fix std::move usage on different types (moneromooo-monero)
7 years ago
moneromooo-monero
30ce8c5926
cn_deserialize: check for raw tx_extra
7 years ago
iDunk5400
1c99a628e3
Tests: Fix building of two fuzz tests on Windows
7 years ago
Michał Sałaban
3cb65b3f69
Return appropriate error code when not enough money for tx
7 years ago
moneromooo-monero
eda9fb5b98
p2p: fix testnet/mainnet port mixup
7 years ago
moneromooo-monero
9017084a7b
cmake: add -DHAVE_ defines to the command line
...
since there's no config.h here
7 years ago
Riccardo Spagni
6ed314854c
Merge pull request #3188
...
fbc0a6dd
Bugfix : Missing i18n import in simplewallet (Neozaru)
7 years ago
Riccardo Spagni
00a1166c95
Merge pull request #3185
...
fccd1df1
performance_tests: fix build after merging two conflicting patches (moneromooo-monero)
7 years ago