| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |/
| |/|
| | | |
Checking battery status uses x86-only headers and functions. Remove this functionality to get it to build on other architectures.
|
| |\ \ \
| |/ /
|/| |
| | | |
3455efa ban peers sending bad pow outright (moneromooo-monero)
|
| | | |
| | |
| | |
| | | |
PoW is expensive to verify, so be strict
|
| |\ \ \
| |_|/
|/| |
| | | |
8330e77 monerod can now sync from pruned blocks (moneromooo-monero)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |/
|/|
| |
| | |
Support RandomX PoW algorithm
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
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)
|
| | | |
| | |
| | |
| | | |
Simplify m_template initialization in miner
|
| | | | |
|
| | | | |
|
| | |/
|/|
| |
| | |
So it can be used by others without encumbrance
|
| |/ |
|
| | |
|
| |\
| |
| |
| | |
bcd2da7 miner: fix --bg-mining-enable description (moneromooo-monero)
|
| | | |
|
| |\ \
| |/
|/|
| | |
df83ed7 consensus: from v12, enforce >= 2 outputs (moneromooo-monero)
|
| | | |
|
| | |
| |
| |
| | |
just in case
|
| | | |
|
| | |
| |
| |
| | |
issue: #5568
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
6643b047 Increment m_threads_active when mining thread starts (Doyle)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
07dd5536 hardfork: remove "no hf version db" recreation check (moneromooo-monero)
|
| | |/
| |
| |
| |
| | |
This is now obsolete, and this removes the warning on startup
on a new db that confuses some people
|
| |\ \
| | |
| | |
| | | |
5e673c03 blockchain_db: fix db txn ending too early (moneromooo-monero)
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| |/
|/|
| | |
cbf32241 rpc: make wide_difficulty hexadecimal (moneromooo-monero)
|
| | |
| |
| |
| | |
This should be friendlier for clients which don't have bignum support
|
| | |
| |
| |
| |
| | |
Related to emission, reorgs, getting tx data back, output
distribution and histogram
|
| |\ \
| | |
| | |
| | | |
def40161 miner: fix race when stopping mining with start mining enabled (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
113e4877 blockchain_stats: fix sign in formatting function (moneromooo-monero)
adaea3ea various: remove unused variables (moneromooo-monero)
631ef00e blockchain: some debug info when adding txes-from-block fails (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
a2561653 wallet: new option to start background mining (moneromooo-monero)
|
| | |/
| |
| |
| |
| |
| | |
The setup-background-mining option can be used to select
background mining when a wallet loads. The user will be asked
the first time the wallet is created.
|
| |\ \
| | |
| | |
| | | |
089c7637 cryptonote: rework block blob size sanity check (moneromooo-monero)
|
| | |/
| |
| |
| |
| | |
Use the actual block weight limit, assuming that weight is always
greater or equal to size
|
| |\ \
| |/
|/|
| |
| |
| |
| |
| |
| | |
c84ea299 cryptonote_basic: some more minor speedups (moneromooo-monero)
e40eb2ad cryptonote_basic: speedup calculate_block_hash (moneromooo-monero)
547a9708 cryptonote: block parsing + hash calculation speedup (moneromooo-monero)
11604b6d blockchain: avoid unneeded block copy (moneromooo-monero)
8461df04 save some database calls when getting top block hash and height (moneromooo-monero)
3bbc3661 Avoid repeated (de)serialization when syncing (moneromooo-monero)
|
| | | |
|
| | |
| |
| |
| |
| | |
The block 202612 fix can be left tested at the end, if we
already know we're not in the general case
|
| | |
| |
| |
| | |
This saves a duplicate serialization step
|
| |\ \
| | |
| | |
| | | |
39f000b3 miner: fix possible exit crash due to race in stop (moneromooo-monero)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If a thread asks to stop the miner, m_stop will be set, and
that thread will wait to join. If the main thread is exiting
at that time, it will ask the miner to stop, but the miner
will claim it's not mining and early out since m_stop is
set. This will cause the database and other things to get
shutdown. If the miner happens to find a block at that time,
it will try to call core, and crash.
Instead, lock and check whether any threads are currently
in m_threads, since they'll only be cleared once the threads
are joined. Moreover, since we lock, the second thread will
have to wait for the first one to have finished. Calling
join twice on a thread seems fine as per pthread_join(3).
|
| | |/
|/|
| |
| |
| |
| | |
Based on Boolberry work by:
jahrsg <jahr@jahr.me>
cr.zoidberg <crypto.zoidberg@gmail.com>
|
| |\ \
| | |
| | |
| | | |
adf6d773 wallet: fix offline signing calling a daemon RPC (moneromooo-monero)
|
| | | | |
|
| |/ /
| |
| |
| |
| | |
Also set error flag on exception when handling new txes
to keep tests working
|
| |\ \
| | |
| | |
| | | |
2790d4d3 hardfork: update last_versions on popped block (moneromooo-monero)
|