| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
|
| |\ \ \
| |/ /
|/| |
| | | |
43f7110 blockchain_db: remove unused get_output_key variant (moneromooo-monero)
|
| | |/
| |
| |
| | |
It was actually incorrect, as it would not return commitment
|
| |\ \
| |/
|/|
| | |
be02eb9 db_lmdb: demote the 'batch already enabled' log, it's harmless (moneromooo-monero)
|
| | | |
|
| |\ \
| |/
|/|
| | |
ee31383 db_lmdb: don't sync a read only DB (moneromooo-monero)
|
| | |
| |
| |
| | |
This would only throw
|
| |\ \
| | |
| | |
| | | |
e5592c4 rpc: add blockchain disk size to getinfo (moneromooo-monero)
|
| | | |
| | |
| | |
| | |
| | | |
This should help new nodes predict how much disk space will be
needed for a full sync
|
| |\ \ \
| | | |
| | | |
| | | | |
45e419b db: store cumulative rct output distribution in the db for speed (moneromooo-monero)
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This gets rid of the temporary precalc cache.
Also make the RPC able to send data back in binary or JSON,
since there can be a lot of data
This bumps the LMDB database format to v3, with migration.
|
| |\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
149da42 db_lmdb: enable batch transactions by default (stoffu)
34cb6b4 add --regtest and --fixed-difficulty for regression testing (vicsn)
9e1403e update get_info RPC and bump RPC version (vicsn)
207b66e first new functional tests (vicsn)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
on_generateblocks RPC call combines functionality from the on_getblocktemplate and on_submitblock RPC calls to allow rapid block creation. Difficulty is set permanently to 1 for regtest.
Makes use of FAKECHAIN network type, but takes hard fork heights from mainchain
Default reserve_size in generate_blocks RPC call is now 1. If it is 0, the following error occurs 'Failed to calculate offset for'.
Queries hard fork heights info of other network types
|
| | | | |
|
| | |/
|/| |
|
| |/ |
|
| |\
| |
| |
| |
| | |
740da1b core: fix automatic safe db sync mode switching (moneromooo-monero)
e942d34 protocol: do not switch to unsafe sync mode for just a few blocks (moneromooo-monero)
|
| | | |
|
| |/
|
|
| |
This bumps DB version to 2, migration code will run for v1 DBs
|
| | |
|
| |
|
|
|
|
| |
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.
|
| |/ |
|
| | |
|
| |\
| |
| |
| | |
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)
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |/ |
|
| |\
| |
| |
| |
| | |
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
|
| |/ |
|