Lee Clagett
67ade80055
Add randomized delay when forwarding txes from i2p/tor -> ipv4/6
4 years ago
selsta
4baee200a7
build: prepare v0.16.0.0 release
4 years ago
moneromooo-monero
5d882f4f14
blockchain: fix theoretical race getting bulk timestamps
4 years ago
luigi1111
77a008f714
Merge pull request #6510
...
70609d7
cryptonote_core: take out the time based upgrade warning (moneromooo-monero)
4 years ago
SomaticFanatic
5ef0607da6
Update copyright year to 2020
...
Update copyright year to 2020
4 years ago
moneromooo-monero
70609d7681
cryptonote_core: take out the time based upgrade warning
...
It doesn't really work anymore since we don't have a fork soon
4 years ago
luigi1111
0f233c6ad8
Merge pull request #6478
...
ee58362
Used legacy category to match insert_key_images behavior (vtnerd)
4 years ago
luigi1111
483e5cab5c
Merge pull request #6472
...
2efbd5f
cryptonote: fix reuse of non default tx data when relaying (moneromooo-monero)
4 years ago
luigi1111
1f505a5eac
Merge pull request #6468
...
a813c46
cryptonote_core: skip dns checkpoints on startup if not enforced (xiphon)
4 years ago
Lee Clagett
e5214a2ca2
Adding ZMQ/Pub support for txpool_add and chain_main events
4 years ago
luigi1111
443f5c6bda
Merge pull request #6436
...
688a3e8
Add timelock verification on device (cslashm)
4 years ago
Sumo Gr
dd807b8410
txpool.cpp: rename var to fix for old g++ version (xenial default)
4 years ago
Lee Clagett
ee58362b1f
Used legacy category to match insert_key_images behavior
4 years ago
moneromooo-monero
2efbd5f0cc
cryptonote: fix reuse of non default tx data when relaying
...
An automatic tx variable is initialized properly on the first
run through the loop, but not the second. Moving the variable
inside the loop ensures the ctor is called again to init it.
4 years ago
xiphon
a813c46a1b
cryptonote_core: skip dns checkpoints on startup if not enforced
4 years ago
cslashm
688a3e87e7
Add timelock verification on device
4 years ago
luigi1111
44547006bf
Merge pull request #6347
...
fcb06f7
cryptonote_core: skip block notify on blockchain switching rollback (xiphon)
4 years ago
luigi1111
c4f75fe898
Merge pull request #6339
...
c61abf8
remove empty statements (shopglobal)
4 years ago
luigi1111
0bb7191fd6
Merge pull request #6328
...
9bde70e
core: mention time being off in hash rate changes message (moneromooo-monero)
4 years ago
luigi1111
6c7d928f19
Merge pull request #6336
...
760ecf2
console_handler: do not let exception past the dor (moneromooo-monero)
09c8111
threadpool: lock mutex in create (moneromooo-monero)
e377977
tx_pool: catch theoretical error in get_block_reward (moneromooo-monero)
4 years ago
luigi1111
096e2135dd
Merge pull request #6214
...
054b4c7
protocol: request txpool contents when synced (moneromooo-monero)
4 years ago
Lee Clagett
571546067f
Always reject duplicate key-images from second txid
4 years ago
Lee Clagett
babf25d2ec
Allow unrestricted rpc calls to get full txpool info
4 years ago
Alexander Blair
8cb005b39c
Merge pull request #6289
...
ffe7165e
wallet: reroll fake outs selection on local tx_sanity_check failure (xiphon)
4 years ago
Alexander Blair
aa982a51da
Merge pull request #6284
...
02224e71
Fix check_fee() discrepancy. (UkoeHB)
4 years ago
Alexander Blair
a22cf5de1b
Merge pull request #6275
...
aa93e388
p2p: remove old debug commands (Aaron Hook)
4 years ago
Lee Clagett
02d887c2e5
Adding Dandelion++ support to public networks:
...
- New flag in NOTIFY_NEW_TRANSACTION to indicate stem mode
- Stem loops detected in tx_pool.cpp
- Embargo timeout for a blackhole attack during stem phase
4 years ago
luigi1111
228af683a7
Merge pull request #6403
...
5de2295
Correct key image check in tx_pool (vtnerd)
4 years ago
luigi1111
7954f8cb18
Merge pull request #6358
...
8958b4e
blockchain_db: faster fetching of consecutive txes (moneromooo-monero)
4 years ago
moneromooo-monero
054b4c7f41
protocol: request txpool contents when synced
...
A newly synced Alice sends a (typically quite small) list of
txids in the local tpxool to a random peer Bob, who then uses
the existing tx relay system to send Alice any tx in his txpool
which is not in the list Alice sent
4 years ago
Aaron Hook
aa93e38862
p2p: remove old debug commands
4 years ago
Lee Clagett
5de2295f3c
Correct key image check in tx_pool
4 years ago
moneromooo-monero
f8d76f395b
core: move the LockedTXN class out of txpool so it may be reused
...
for example, in the RPC server
4 years ago
Alexander Blair
4371ac4265
Merge pull request #6225
...
987c3139
print_coinbase_tx_sum now supports 128 bits sums (moneromooo-monero)
4 years ago
Alexander Blair
4da37daf67
Merge pull request #6211
...
5985c5af
rpc: add bad-blocks to flush_cache RPC (moneromooo-monero)
4 years ago
moneromooo-monero
8958b4e7aa
blockchain_db: faster fetching of consecutive txes
...
Useful for wallet refresh or node sync
4 years ago
xiphon
fcb06f7a82
cryptonote_core: skip block notify on blockchain switching rollback
4 years ago
Interchained
c61abf87c0
remove empty statements
...
Cleaning up a little around the code base.
4 years ago
moneromooo-monero
e3779775d7
tx_pool: catch theoretical error in get_block_reward
...
Coverity 196626
4 years ago
moneromooo-monero
9bde70e567
core: mention time being off in hash rate changes message
4 years ago
Alexander Blair
e552ba14b2
Merge pull request #6127
...
67b4a19e
simplewallet: noob-friendly help menu (wowario)
4 years ago
Alexander Blair
2532567091
Merge pull request #6078
...
b9fc2066
Add a --keep-fakechain option to keep fakechain databases (JamesWrigley)
4 years ago
Alexander Blair
9a08ac98c0
Merge pull request #6050
...
65301c40
core: point out when we hit the block rate visibility limit (moneromooo-monero)
4 years ago
luigi1111
d7aeb5a9f8
Merge pull request #6233
...
8a27645
blockchain: fix flushing txes from the txpool (moneromooo-monero)
4 years ago
Alexander Blair
8eedc8a390
Merge pull request #6140
...
08635a08
blockchain: speedup fetching pruned contiguous tx blobs (moneromooo-monero)
4 years ago
Alexander Blair
d1b08c00cf
Merge pull request #6146
...
70c9cd3c
Change to Tx diffusion (Dandelion++ fluff) instead of flooding (Lee Clagett)
4 years ago
Alexander Blair
c4abfbfbe7
Merge pull request #6124
...
21d4c216
blockchain: error out if the builtin hashes data size is wrong (moneromooo-monero)
4 years ago
xiphon
ffe7165ebf
wallet: reroll fake outs selection on local tx_sanity_check failure
4 years ago
UkoeHB
02224e714d
Fix check_fee() discrepancy.
...
M100 = max{300kb, min{100block_median, m_long_term_effective_median_block_weight}}
not
M100 = max{300kb, m_long_term_effective_median_block_weight}
Fix base reward in get_dynamic_base_fee_estimate().
get_dynamic_base_fee_estimate() should match check_fee()
Fee is calculated based on block reward, and the reward penalty takes into account 0.5*max_block_weight (both before and after HF_VERSION_EFFECTIVE_SHORT_TERM_MEDIAN_IN_PENALTY).
Moved median calculation according to best practice of 'keep definitions close to where they are used'.
4 years ago
moneromooo-monero
8a276451b2
blockchain: fix flushing txes from the txpool
5 years ago
luigi1111
e5cc6d39a9
Merge pull request #6055
...
886ed25
blockchain: fix comment wrongly refering to SHA-3 rather than Keccak (moneromooo-monero)
5 years ago
luigi1111
fb64463c4c
Merge pull request #6052
...
c96b7ee
tx_pool: fix error message assuming incorrectly (moneromooo-monero)
5 years ago
moneromooo-monero
987c3139dc
print_coinbase_tx_sum now supports 128 bits sums
...
The tail emission will bring the total above 64 bits
5 years ago
moneromooo-monero
5985c5afe8
rpc: add bad-blocks to flush_cache RPC
...
Flushes m_invalid_blocks in Blockchain.
5 years ago
moneromooo-monero
08635a0875
blockchain: speedup fetching pruned contiguous tx blobs
...
About twice as fast, very roughly
5 years ago
wowario
67b4a19edf
simplewallet: noob-friendly help menu
5 years ago
moneromooo-monero
21d4c21619
blockchain: error out if the builtin hashes data size is wrong
5 years ago
Lee Clagett
70c9cd3c9c
Change to Tx diffusion (Dandelion++ fluff) instead of flooding
5 years ago
Lee Clagett
5d7ae2d279
Adding support for hidden (anonymity) txpool
5 years ago
Riccardo Spagni
eaadbbdab0
Merge pull request #6079
...
e4d1674e8
0.15.0.0 release engineering (Riccardo Spagni)
5 years ago
Riccardo Spagni
e4d1674e8c
0.15.0.0 release engineering
5 years ago
JamesWrigley
b9fc206660
Add a --keep-fakechain option to keep fakechain databases
...
This is handy when doing tests that generate a lot of transactions, since that
takes time it's preferable to re-use the database for future runs.
5 years ago
moneromooo-monero
ebc6ce44f4
cryptonote: untangle dependency from miner to blockchain
...
It causes link errors at least on mac
5 years ago
moneromooo-monero
886ed25055
blockchain: fix comment wrongly refering to SHA-3 rather than Keccak
5 years ago
moneromooo-monero
c96b7ee619
tx_pool: fix error message assuming incorrectly
5 years ago
moneromooo-monero
65301c406e
core: point out when we hit the block rate visibility limit
5 years ago
moneromooo-monero
eb16755083
blockchain: fix unwanted error when probing the pool for a tx
5 years ago
luigi1111
07c6789148
Merge pull request #5958
...
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)
5 years ago
luigi1111
86d085e988
Merge pull request #6028
...
174a6ac
tx_pool: fix divide by 0 in log (moneromooo-monero)
5 years ago
moneromooo-monero
a4dc575ccb
rpc: add a flush_cache RPC
...
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)
5 years ago
moneromooo-monero
174a6ac9c5
tx_pool: fix divide by 0 in log
...
Coverity 205394
5 years ago
luigi1111
4233d88341
Merge pull request #5973
...
abd3763
cryptonote: fill in tx weight when syncing from pruned blocks (moneromooo-monero)
5 years ago
luigi1111
426d2ac8ee
Merge pull request #5981
...
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)
5 years ago
luigi1111
cf2d4d9a16
Merge pull request #5974
...
7fcd0b5
blockchain: initialize pow to ff..ff (moneromooo-monero)
5 years ago
luigi1111
8bb3c6a8e6
Merge pull request #5970
...
ab96181
blockchain: use effective median block weight for penalty from v12 (moneromooo-monero)
5 years ago
luigi1111
84ce43a239
Merge pull request #5966
...
be82c40
Support median block size > 4 GB (moneromooo-monero)
5 years ago
luigi1111
6f202844b5
Merge pull request #5919
...
01f660f
blockchain: fill in cumulative block weight for alt blocks (moneromooo-monero)
5 years ago
moneromooo-monero
be82c40703
Support median block size > 4 GB
...
add a 128/64 division routine so we can use a > 32 bit median block
size in calculations
5 years ago
luigi1111
461a25e1b5
Merge pull request #5962
...
ec14abd
tx_pool: make spent return-by-reference as intended (stoffu)
5 years ago
moneromooo-monero
7fcd0b55ea
blockchain: initialize pow to ff..ff
...
as a safety to reject if it somehow does not get initialised
5 years ago
luigi1111
37a72fd6ae
Merge pull request #5941
...
d37d30f
blockchain: tweak fee as a function of median values (moneromooo-monero)
5 years ago
luigi1111
dc48cdc998
Merge pull request #5933
...
3455efa
ban peers sending bad pow outright (moneromooo-monero)
5 years ago
moneromooo-monero
ab96181e91
blockchain: use effective median block weight for penalty from v12
...
It was using the raw block weight median, which was not what was
intended in ArticMine's design
5 years ago
moneromooo-monero
1ba9bafd33
tx_pool: do not divide by 0
...
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
5 years ago
moneromooo-monero
fe443bbdec
cryptonote: don't leave block_weight uninitialized
...
CID 204467
5 years ago
moneromooo-monero
01f660f60f
blockchain: fill in cumulative block weight for alt blocks
5 years ago
moneromooo-monero
abd376313b
cryptonote: fill in tx weight when syncing from pruned blocks
5 years ago
luigi1111
bf525793c7
Merge pull request #5915
...
8330e77
monerod can now sync from pruned blocks (moneromooo-monero)
5 years ago
stoffu
ec14abdbe8
tx_pool: make spent return-by-reference as intended
5 years ago
cslashm
d25acd7a1d
Add hmac over encrypted value during transaction
5 years ago
luigi1111
17f063a50f
Merge pull request #5902
...
b9da023
blockchain: keep block template timestamp not below recent median (moneromooo-monero)
5 years ago
luigi1111
d9cb50870d
Merge pull request #5900
...
6bbc646
Fix bug in mempool get_transaction_stats histogram calculation (tomsmeding)
5 years ago
moneromooo-monero
d37d30f79a
blockchain: tweak fee as a function of median values
...
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
5 years ago
moneromooo-monero
8330e772f1
monerod can now sync from pruned blocks
...
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
5 years ago
Howard Chu
81c2ad6d5b
RandomX integration
...
Support RandomX PoW algorithm
5 years ago
moneromooo-monero
3455efafa8
ban peers sending bad pow outright
...
PoW is expensive to verify, so be strict
5 years ago
luigi1111
44aa7d5439
Merge pull request #5882
...
a444f06
blockchain: enforce 10 block age for spending outputs (moneromooo-monero)
5 years ago
luigi1111
06bee964a8
Merge pull request #5878
...
f9b3f6e
Removed Berkeley DB and db switching logic (JesusRami)
5 years ago
luigi1111
ee6e849627
Merge pull request #5877
...
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)
5 years ago
luigi1111
8c41d36a08
Merge pull request #5864
...
32f725d
Properly format multiline logs (moneromooo-monero)
5 years ago