wowario
90efe7dee8
set bp+ fork height
3 years ago
moneromooo-monero
fa3856fedf
plug bulletproofs plus into consensus
3 years ago
wowario
1113f815e1
update checkpoints
3 years ago
wowario
4f16bd2b95
vote by block
3 years ago
wowario
6049797093
adjust difficulty_blocks_count
3 years ago
wowario
03af4e871c
fixed coinbase unlock 288 blks
3 years ago
wowario
51c8b36ba0
miner block header signing
3 years ago
wowario
9cd125b345
reset, revert difficulty algorithm, set fork height
3 years ago
wowario
71a2c90fb8
remove MLSAG bug from monero
3 years ago
wowario
24948d4c2d
update checkpoints
3 years ago
wowario
70f8f2386c
support old BP
3 years ago
wowario
840928cd6b
initial commit
3 years ago
luigi1111
3366bd81eb
Merge pull request #7612
...
254a133
core: speed up print_coinbase_tx_sum (moneromooo-monero)
3 years ago
luigi1111
667d3dd4c2
Merge pull request #7684
...
ed6f053
blockchain: speed up repeated pops (mostly in tests) (moneromooo-monero)
3 years ago
mj-xmr
a1c4307128
Warnings: unused variable in core/blockchain.cpp
3 years ago
moneromooo-monero
ed6f05357c
blockchain: speed up repeated pops (mostly in tests)
...
The heavy rolling median reset only has to be performed after
all blocks are popped
3 years ago
moneromooo-monero
254a1338ad
core: speed up print_coinbase_tx_sum
...
It only needs to parse the tx headers, not the full tx data
3 years ago
luigi1111
6556c33f13
Merge pull request #7355
...
bd12984
Remove copies from foreach loops (thanks to Clang) (Lee Clagett)
1572df9
Removing unused namespace alias (Lee Clagett)
3 years ago
Kevin Barbour
85db1734e7
Remove unused variables in monero codebase
...
There are quite a few variables in the code that are no longer
(or perhaps never were) in use. These were discovered by enabling
compiler warnings for unused variables and cleaning them up.
In most cases where the unused variables were the result
of a function call the call was left but the variable
assignment removed, unless it was obvious that it was
a simple getter with no side effects.
3 years ago
Lee Clagett
bd129849f0
Remove copies from foreach loops (thanks to Clang)
3 years ago
Lee Clagett
679d05567d
Remove payload copy in all outgoing p2p messages
3 years ago
luigi1111
e45619e61e
Revert "Merge pull request #7136"
...
This reverts commit 63c7ca07fb
, reversing
changes made to 2218e23e84
.
3 years ago
Lee Clagett
23aae5571b
Remove payload copy in all outgoing p2p messages
3 years ago
moneromooo-monero
1e27f7101e
blockchain: lock access to m_blocks_hash_of_hashes
...
it is accessed both when adding and when prevalidating a set
of new hashes from a peer
3 years ago
moneromooo-monero
0aa541b361
protocol: more sanity checks in new chain block hashes
3 years ago
moneromooo-monero
1eb14af1a3
rpc: limit the number of txes for get_blocks.bin
3 years ago
luigi1111
4d298d4f11
Merge pull request #6924
...
874487f
blockchain: remove some dead code (moneromooo-monero)
4 years ago
moneromooo-monero
874487fed8
blockchain: remove some dead code
...
This is already done
4 years ago
SChernykh
a25bc71f3f
Make Blockchain::get_fee_quantization_mask() compile time
...
This also removes potential thread safety bug in that function.
4 years ago
moneromooo-monero
88fde0309a
blockchain: fix sync at v14 boundary
...
Miners with MLSAG txes which they'd already verified included
a couple in that block, but the consensus rules had changed
in the meantime, so that block is technically invalid and any
node which did not already have those two txes in their txpool
could not sync. Grandfather them in, since it has no effect in
practice.
4 years ago
moneromooo-monero
4971219c2c
blockchain: deterministic UNIX time unlock checks
...
Based on a patch by TheCharlatan <seb.kung@gmail.com>
4 years ago
selsta
f240b1dd88
build: prepare v0.17
4 years ago
moneromooo-monero
fc2cb224a9
blockchain: fix pow skipping for old blocks without precalc hash
4 years ago
Riccardo Spagni
aefa7740c3
Merge pull request #6111
...
d20ff4f64
functional_tests: add a large (many randomx epochs) p2p reorg test (moneromooo-monero)
6a0b3b1f8
functional_tests: add randomx tests (moneromooo-monero)
9d42649d5
core: fix mining from a block that's not the current top (moneromooo-monero)
4 years ago
luigi1111
ee0b02d0db
Merge pull request #6757
...
6a37da8
threadpool: guard against exceptions in jobs, and armour plating (moneromooo-monero)
4 years ago
moneromooo-monero
6a37da837e
threadpool: guard against exceptions in jobs, and armour plating
...
Those would, if uncaught, exit run and leave the waiter to wait
indefinitely for the number of active jobs to reach 0
4 years ago
moneromooo-monero
9d42649d58
core: fix mining from a block that's not the current top
4 years ago
moneromooo-monero
82ee01699c
Integrate CLSAGs into monero
...
They are allowed from v12, and MLSAGs are rejected from v13.
4 years ago
Alexander Blair
b04da25e4d
Merge pull request #6760
...
844fb4e94
enforce claiming maximum coinbase amount (moneromooo-monero)
4 years ago
moneromooo-monero
844fb4e940
enforce claiming maximum coinbase amount
...
Claiming a slightly lesser amount does not yield the size gains
that were seen pre rct, so this closes a fingerprinting vector
4 years ago
moneromooo-monero
55363c5941
Avoid some temporary strings when reading off the database
4 years ago
Alexander Blair
d73b1b6560
Merge pull request #6727
...
13eee1d6a
rpc: reject wrong sized txid (moneromooo-monero)
92e6b7df2
easylogging++: fix crash with reentrant logging (moneromooo-monero)
6dd95d530
epee: guard against exceptions in RPC handlers (moneromooo-monero)
90016ad74
blockchain: guard against exceptions in add_new_block/children (moneromooo-monero)
4 years ago
Alexander Blair
bc48494731
Merge pull request #6661
...
267ce5b71
avoid a couple needless copies (moneromooo-monero)
4 years ago
moneromooo-monero
90016ad744
blockchain: guard against exceptions in add_new_block/children
...
Reporter requested credit to be given to Decred
4 years ago
Alexander Blair
36d50d93f2
Merge pull request #6534
...
7bd66b01b
daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation (stoffu)
4 years ago
Alexander Blair
814e617117
Merge pull request #6526
...
5d882f4f1
blockchain: fix theoretical race getting bulk timestamps (moneromooo-monero)
4 years ago
Alexander Blair
a0d179e528
Merge pull request #6512
...
5ef0607da
Update copyright year to 2020 (SomaticFanatic)
4 years ago
moneromooo-monero
0fd6ccef21
blockchain: fix timestamp/difficulty cache getting out of sync
...
The cache is discarded when a block is popped, but then gets
rebuilt when the difficulty for next block is requested.
While this is all properly locked, it does not take into account
the delay caused by a database transaction being only committed
(and thus its effects made visible to other threads) later on,
which means another thread could request difficulty between
the pop and the commit, which would end up using stale database
view to build the cache, but that cache would not be invalidated
again when the transaction gets committed, which would cause the
cache to not match the new database data.
To fix this, we now keep track of when the cache is invalidated
so we can invalidate it again upon database transaction commit
to ensure it gets calculated again with fresh data next time it
is nedeed.
4 years ago
luigi1111
18bb011afe
Merge pull request #6629
...
795e186
blockchain: fix total_height in getblocks.bin response (moneromooo-monero)
4 years ago
luigi1111
ed903578d7
Merge pull request #6544
...
5741b4d
blockchain: detect and log bad difficulty calculations (moneromooo-monero)
4 years ago