| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ \ \ \
| | | | |
| | | | |
| | | | | |
65301c40 core: point out when we hit the block rate visibility limit (moneromooo-monero)
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
8a27645 blockchain: fix flushing txes from the txpool (moneromooo-monero)
|
| | | |_|_|/
| |/| | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
08635a08 blockchain: speedup fetching pruned contiguous tx blobs (moneromooo-monero)
|
| | | |_|_|/
| |/| | |
| | | | |
| | | | | |
About twice as fast, very roughly
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
70c9cd3c Change to Tx diffusion (Dandelion++ fluff) instead of flooding (Lee Clagett)
|
| | | |/ / /
| |/| | | |
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | | |
21d4c216 blockchain: error out if the builtin hashes data size is wrong (moneromooo-monero)
|
| | |/ / / |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | | |
886ed25 blockchain: fix comment wrongly refering to SHA-3 rather than Keccak (moneromooo-monero)
|
| | | |_|/
| |/| | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | | |
c96b7ee tx_pool: fix error message assuming incorrectly (moneromooo-monero)
|
| | |/ / / |
|
| | |/ /
|/| | |
|
| |\ \ \
| | | |
| | | |
| | | | |
e4d1674e8 0.15.0.0 release engineering (Riccardo Spagni)
|
| | |/ / |
|
| |/ /
| |
| |
| | |
It causes link errors at least on mac
|
| |/ |
|
| |\
| |
| |
| |
| |
| |
| | |
d25acd7 Add hmac over encrypted value during transaction (clashm)
34f28a7 Add display address (clashm)
235b94e Revert PR #5835 (export view key) (clashm)
32febd2 Fix debug feature (clashm)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
174a6ac tx_pool: fix divide by 0 in log (moneromooo-monero)
|
| | | |
| | |
| | |
| | | |
Coverity 205394
|
| |/ /
| |
| |
| |
| |
| |
| | |
This allows flushing internal caches (for now, the bad tx cache,
which will allow debugging a stuck monerod after it has failed to
verify a transaction in a block, since it would otherwise not try
again, making subsequent log changes pointless)
|
| |\ \
| | |
| | |
| | | |
abd3763 cryptonote: fill in tx weight when syncing from pruned blocks (moneromooo-monero)
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
88c9d90 protocol: initialize block_weight in block_complete_entry ctor (moneromooo-monero)
fe443bb cryptonote: don't leave block_weight uninitialized (moneromooo-monero)
1ba9baf tx_pool: do not divide by 0 (moneromooo-monero)
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In case of a 0 tx weight, we use a placeholder value to insert in the
fee-per-byte set. This is used for pruning and mining, and those txes
are pruned, so will not be too large, nor added to the block template
if mining, so this is safe.
CID 204465
|
| | |/ /
| | |
| | |
| | | |
CID 204467
|
| |\ \ \
| | | |
| | | |
| | | | |
7fcd0b5 blockchain: initialize pow to ff..ff (moneromooo-monero)
|
| | |/ /
| | |
| | |
| | | |
as a safety to reject if it somehow does not get initialised
|
| |\ \ \
| | | |
| | | |
| | | | |
ab96181 blockchain: use effective median block weight for penalty from v12 (moneromooo-monero)
|
| | |/ /
| | |
| | |
| | |
| | | |
It was using the raw block weight median, which was not what was
intended in ArticMine's design
|
| |\ \ \
| | | |
| | | |
| | | | |
be82c40 Support median block size > 4 GB (moneromooo-monero)
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
add a 128/64 division routine so we can use a > 32 bit median block
size in calculations
|
| |\ \ \ \
| | | | |
| | | | |
| | | | | |
01f660f blockchain: fill in cumulative block weight for alt blocks (moneromooo-monero)
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
ec14abd tx_pool: make spent return-by-reference as intended (stoffu)
|
| | | |/ / /
| |/| | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
d37d30f blockchain: tweak fee as a function of median values (moneromooo-monero)
|
| | | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use the lesser of the short and long terms medians, rather then
the long term median alone
From ArticMine:
I found a bug in the new fee calculation formula with using only the long term median
It actually needs to be the lesser of the long term median and the old (modified short term median)
short term median with the last 10 blocks calculated as empty
Yes the issue occurs if there is a large long term median and, the short term median then falls and tries to then rise again
The fees are could be not high enough
for example LTM and STM rise to say 2000000 bytes
STM falls back to 300000 bytes
Fees are now based on 2000000 bytes until LTM also falls
So the STM is could prevented from rising back up
STM short term median LTM long term median
|
| |\ \ \ \ \
| |_|_|_|/
|/| | | |
| | | | | |
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
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
b9da023 blockchain: keep block template timestamp not below recent median (moneromooo-monero)
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Such a template would yield an invalid block, though would require
an attacker to have mined a long blockchain with drifting times
(assuming the miner's clock is roughly correct)
Fixed by crCr62U0
|
| |\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | | |
6bbc646 Fix bug in mempool get_transaction_stats histogram calculation (tomsmeding)
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The 98th percentile position in the agebytes map was incorrectly
calculated: it assumed the transactions in the mempool all have unique
timestamps at second-granularity. This commit fixes this by correctly
finding the right cumulative number of transactions in the map suffix.
This bug could lead to an out-of-bounds write in the rare case that
all transactions in the mempool were received (and added to the mempool)
at a rate of at least 50 transactions per second. (More specifically,
the number of *unique* receive_time values, which have second-
granularity, must be at most 2% of the number of transactions in the
mempool for this crash to trigger.) If this condition is satisfied, 'it'
points to *before* the agebytes map, 'delta' gets a nonsense value, and
the value of 'i' in the first stats.histo-filling loop will be out of
bounds of stats.histo.
|
| | |_|/ /
|/| | |
| | | |
| | | | |
Support RandomX PoW algorithm
|