| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ \
| | |
| | |
| | |
| | | |
5807529e blockchain: cap memory size of retrieved blocks (moneromooo-monero)
c1b10381 rpc: decrease memory usage a bit in getblocks.bin (moneromooo-monero)
|
| | |/
| |
| |
| |
| | |
It helps keep memory usage down when a wallet refreshes through
a string of large blocks
|
| |\ \
| | |
| | |
| | |
| | | |
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.
|
| |\| |
| | |
| | |
| | |
| | |
| | | |
3dd34a49 Cleanup test impact of moving blockchain_db_types() (Howard Chu)
80344740 More DB support cleanup (Howard Chu)
4c7f8ac0 DB cleanup (Howard Chu)
|
| | | |
| | |
| | |
| | |
| | | |
Hide LMDB-specific stuff behind blockchain_db.h. Nobody besides blockchain_db.cpp
should ever be including DB-specific headers any more.
|
| | |/
|/| |
|
| |\ \
| | |
| | |
| | | |
ea15e72d tx_pool: fix crash in stats (Howard Chu)
|
| | |/
| |
| |
| | |
if tx receive_time == now. supersedes #2322
|
| |/ |
|
| |\
| |
| |
| |
| | |
5a283078 cryptonote_protocol: large block sync size before v4 (moneromooo-monero)
7b747607 cryptonote_protocol: kick idle synchronizing peers (moneromooo-monero)
|
| | | |
|
| |\ \
| |/
|/|
| | |
827afcb7 protocol: pass blockchain cumulative difficulty when syncing (moneromooo-monero)
|
| | |
| |
| |
| | |
Not used yet.
|
| |\ \
| |/
|/|
| | |
c6e200a8 core: add --db-salvage command line flag (moneromooo-monero)
|
| | |
| |
| |
| | |
Use to load the database when the primary meta page is corrupted
|
| |\ \
| | |
| | |
| | | |
a1891ebe tests: fix tests build (moneromooo-monero)
|
| | |/
| |
| |
| |
| |
| |
| | |
Add get_fork_version and add_ideal_fork_version to core so
cryptonote_protocol does not have to need the Blockchain
class directly, as it's not in its dependencies, and add
those to the fake core classes in tests too.
|
| |\ \
| | |
| | |
| | | |
f4f7eeba blockchain: log more info when we reject an orphan (moneromooo-monero)
|
| | | |
| | |
| | |
| | | |
We want to know what happened when a block is wrongly rejected
|
| |\ \ \
| | | |
| | | |
| | | | |
d732c73e blockchain: remove a few unused variables (moneromooo-monero)
|
| | |/ / |
|
| |\ \ \
| |_|/
|/| |
| | |
| | |
| | | |
5d4ef719 core: speed up output index unique set calculation (moneromooo-monero)
19d7f568 perf_timer: allow profiling more granular than millisecond (moneromooo-monero)
bda8c598 epee: add nanosecond timer and pause/restart profiling macros (moneromooo-monero)
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| | |
A sort+uniq step was done for every tx in a 200 block chunk,
causing a lot of repeated scanning as the size of the offset
map got larger with every added tx. We now do the step only
once at the end of the loop.
Doing it this way potentially uses more memory, but testing
shows that it's currently only about 2% more.
|
| | |
| |
| |
| |
| |
| |
| | |
We won't even talk to a peer which claims a wrong version
for its top block. This will avoid syncing to known bad
peers in the first place.
Also add IP fails when failing to verify a block.
|
| |\ \
| | |
| | |
| | | |
61770ec2 change mixin to ring size in user visible places (moneromooo-monero)
|
| | | | |
|
| |\ \ \
| |/ /
|/| |
| | | |
7f7d42f8 core: fix invalid memory access creating tx (moneromooo-monero)
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | | |
5d91b26c blockchain: skip checking tx semantics in embedded block hash range (moneromooo-monero)
|
| | | |/
| |/|
| | |
| | |
| | | |
If the txes are bad, this'll be picked up by the block hash mismatch
since the tx merkle root is part of the block hash.
|
| | |/
|/| |
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
158c3ecf core: thread most of handle_incoming_tx (moneromooo-monero)
f57ee382 cryptonote_protocol: retry stale spans early (moneromooo-monero)
90df52e1 cryptonote_protocol: light cleanup (moneromooo-monero)
84e23156 cryptonote_protocol: avoid spurious SYNCHRONIZED OK messages (moneromooo-monero)
5be43fcd cryptonote_protocol_handler: sync speedup (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
4d873046 blockchain: add testnet v6 fork height at 971400 (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
214fd81e some include cleanup (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
5dd722be core: add a message when loading checkpoints at init time (moneromooo-monero)
|
| | |/
| |
| |
| |
| | |
This uses DNS, which can take a while, so it's useful to know
this is the culprit when loading pauses
|
| |\ \
| | |
| | |
| | | |
14ec6ed8 tx_pool: remove obsolete unused m_config_folder field (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
878205f1 core: fix lock ordering bug at init time (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
d8becf2e blockchain: fix cryptonight buffer leak on exit (moneromooo-monero)
91aa90fc blockchain: ensure all blocks get their longhash precalculated (moneromooo-monero)
ff4bcaed blockchain: pass correct height to get_block_longhash (moneromooo-monero)
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the number of blocks to check was not a multiple of the
number of preparation threads, the last few blocks would
not be included in the threaded long hash calculation.
Those would still get calculated when the block gets added
to the chain, however, so this was only a tiny performance
hit, rather than a security bug.
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
340feede core: randomly shuffle outputs (moneromooo-monero)
|