| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| |
|
|
|
|
| |
This skips the vast majority of "dust" output amounts with just
one instance on the chain. Clocks in at 0.15% of the original
time on testnet.
|
| | |
|
| |\
| |
| |
| | |
223d7d0c db_lmdb: fix free space reporting (moneromooo-monero)
|
| | |
| |
| |
| | |
reported by Brad Richards
|
| |/ |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
e4646379 keccak: fix mdlen bounds sanity checking (moneromooo-monero)
2e3e90ac pass large parameters by const ref, not value (moneromooo-monero)
61defd89 blockchain: sanity check number of precomputed hash of hash blocks (moneromooo-monero)
9af6b2d1 ringct: fix infinite loop in unused h2b function (moneromooo-monero)
8cea8d0c simplewallet: double check a new multisig wallet is multisig (moneromooo-monero)
9b98a6ac threadpool: catch exceptions in dtor, to avoid terminate (moneromooo-monero)
24803ed9 blockchain_export: fix buffer overflow in exporter (moneromooo-monero)
f3f7da62 perf_timer: rewrite to make it clear there is no division by zero (moneromooo-monero)
c6ea3df0 performance_tests: remove add_arg call stray extra param (moneromooo-monero)
fa6b4566 fuzz_tests: fix an uninitialized var in setup (moneromooo-monero)
03887f11 keccak: fix sanity check bounds test (moneromooo-monero)
ad11db91 blockchain_db: initialize m_open in base class ctor (moneromooo-monero)
bece67f9 miner: restore std::cout precision after modification (moneromooo-monero)
1aabd14c db_lmdb: check hard fork info drop succeeded (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| | |
It's cleaner this way, since it's a base class field
Coverity 136568
|
| | |
| |
| |
| | |
Coverity 136364
|
| |\ \
| |/
|/|
| | |
84a8b2da Don't create readtxn until after txn_safe gate check (Howard Chu)
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
ae860230 Fix exceptions not finding txpool txes when relaying (moneromooo-monero)
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
Reset thread-local info if it doesn't match the current env.
Only happens when a process opens/closes env multiple times in the
same process, doesn't affect monerod.
|
| | |
| |
| |
| |
| | |
Reset thread-specific flags when a write txn is started.
Also remove some redundant start-readtxn code.
|
| | | |
|
| |/ |
|
| | |
|
| |
|
|
|
| |
It could trip on a corrupt/crafted file if the user has disabled
input verification.
|
| |\
| |
| |
| | |
383ff4f6 remove "using namespace std" from headers (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| |
| | |
It's nasty, and actually breaks on Solaris, where if.h fails to
build due to:
struct map *if_memmap;
|
| |\ \
| |/
|/|
| |
| | |
7c7d3672 Increase LMDB maxreaders if large number of threads in use (Howard Chu)
6738753b Use max_concurrency as-is (Howard Chu)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
10013e94 Protect node privacy by proper filtering in restricted-mode RPC answers (binaryFate)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Transactions in the txpool are marked when another transaction
is seen double spending one or more of its inputs.
This is then exposed wherever appropriate.
Note that being marked with this "double spend seen" flag does
NOT mean this transaction IS a double spend and will never be
mined: it just means that the network has seen at least another
transaction spending at least one of the same inputs, so care
should be taken to wait for a few confirmations before acting
upon that transaction (ie, mostly of use for merchants wanting
to accept unconfirmed transactions).
|
| |/ |
|
| |\
| |
| |
| |
| | |
22b51e06 db_lmdb: include chain height when failing to find an output key (moneromooo-monero)
5db433b3 blockchain: avoid exceptions in output verification (moneromooo-monero)
|
| | |
| |
| |
| | |
To help debugging logs.
|
| |/
|
|
|
| |
Level 1 logs map to INFO, so setting log level to 1 should
show these. Demote some stuff to DEBUG to avoid spam, though.
|
| |\
| |
| |
| | |
d2d8a41c Use actual batch size for resize estimates (Howard Chu)
|
| | |
| |
| |
| |
| |
| |
| | |
And optimize import startup:
Remember start_height position during initial count_blocks pass
to avoid having to reread entire file again to arrive at start_height
|
| |/ |
|
| |\
| |
| |
| |
| |
| | |
c867357a cryptonote_protocol: error handling on cleanup_handle_incoming_blocks (moneromooo-monero)
ce901fcb Fix blockchain_import wedge on exception in cleanup_handle_incoming_blocks (moneromooo-monero)
84fa015e core: guard against exceptions in handle_incoming_{block,tx} (moneromooo-monero)
|
| | | |
|
| |/
|
|
|
| |
Avoids common depending on blockchain_db, which can cause
link errors.
|
| |\
| |
| |
| |
| | |
c22d22e2 Cleanup test impact of adding safesyncmode() method (Howard Chu)
9a859844 Toggle SAFE syncmode on and off automatically (Howard Chu)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
If monerod is started with default sync mode, set it to SAFE after
synchronization completes. Set it back to FAST if synchronization
restarts (e.g. because another peer has a longer blockchain).
If monerod is started with an explicit sync mode, none of this
automation takes effect.
|
| |/
|
|
|
|
|
|
| |
Hide DB types from db_types.h - no reason to recompile dependencies
when DB types change.
Also remove lingering in-memory DB references, they've been
obsolete since 9e82b694da120708652871b55f639d1ef306a7ec
|
| |
|
|
|
| |
Hide LMDB-specific stuff behind blockchain_db.h. Nobody besides blockchain_db.cpp
should ever be including DB-specific headers any more.
|
| |
|
|
| |
Use to load the database when the primary meta page is corrupted
|
| | |
|
| |
|
|
| |
Avoids exception spam for the "nope, not found" case
|
| |
|
|
|
| |
Changed Blockchain::for_all_blocks() to for_blocks_range()
Operate on blockchain in-place instead of building a copy first.
|
| |\
| |
| |
| | |
4b932ff3 changed crypto to cncrypto so it generated libcncrypto (Gentian)
|
| | |
| |
| |
| | |
fix a cmakelist
|
| |/
|
|
|
|
|
| |
Integration could go further (ie, return_tx_to_pool calls should
not be needed anymore, possibly other things).
poolstate.bin is now obsolete.
|
| |
|
|
| |
Don't allow use of existing batch txn if it's from the wrong thread
|