luigi1111
44aa7d5439
Merge pull request #5882
...
a444f06
blockchain: enforce 10 block age for spending outputs (moneromooo-monero)
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
moneromooo-monero
d0663837d2
core: move hardforks into its own lib
...
So it can be used by others without encumbrance
5 years ago
moneromooo-monero
a444f06e53
blockchain: enforce 10 block age for spending outputs
...
Some custom wallet code apparently ignores this, which causes users
of that code to be fingerprinted
5 years ago
luigi1111
4a39e1a4a5
Merge pull request #5865
...
11f13da
blockchain: fix logging bad number of blocks if first one fails (moneromooo-monero)
19bfe7e
simplewallet: fix warnings about useless std::move (moneromooo-monero)
5 years ago
luigi1111
29e0f11305
Merge pull request #5823
...
26072f1
blockchain: forbid v1 coinbase from v12 (moneromooo-monero)
555dc7c
core: from v12, require consistent ring size for mixable txes (moneromooo-monero)
d22dfb7
blockchain: reject rct signatures in coinbase txes from v12 (moneromooo-monero)
5 years ago
luigi1111
e4f11a68fe
Merge pull request #5819
...
07cb087
blockchain: Fix alt chain generated coins overflow (iamamyth)
5 years ago
Jesus Ramirez
2cd4fd8972
Changed the use of boost:value_initialized for C++ list initializer
5 years ago
moneromooo-monero
11f13da8b4
blockchain: fix logging bad number of blocks if first one fails
5 years ago
luigi1111
1010a6503e
Merge pull request #5721
...
c164f90
Remove unnecessary m_check_txin_table, fix const correctness (omartijn)
5 years ago
moneromooo-monero
d22dfb7594
blockchain: reject rct signatures in coinbase txes from v12
5 years ago
moneromooo-monero
555dc7c394
core: from v12, require consistent ring size for mixable txes
...
We're supposed to have a fixed ring size now
Already checked by MLSAG verification, but here seems more intuitive
5 years ago
moneromooo-monero
26072f1393
blockchain: forbid v1 coinbase from v12
5 years ago
iamamyth
07cb087e5d
blockchain: Fix alt chain generated coins overflow
...
Apply the overflow logic used for computing already_generated_coins in
the main chain to alternative chains.
5 years ago
luigi1111
564bb1da3a
Merge pull request #5525
...
0605406
daemon: sort alt chains by height (moneromooo-monero)
4228ee0
daemon: add optional arguments to alt_chain_info (moneromooo-monero)
880ebfd
daemon: add more chain specific info in alt_chain_info (moneromooo-monero)
5 years ago
luigi1111
2258551ef9
Merge pull request #5487
...
df83ed7
consensus: from v12, enforce >= 2 outputs (moneromooo-monero)
5 years ago
luigi1111
c62ba1d08f
Merge pull request #5591
...
f17dcde
Remove unused txs member in NOTIFY_RESPONSE_GET_OBJECT (Doy-lee)
5 years ago
luigi1111
4b76656f5c
Merge pull request #5524
...
06b8f29
blockchain: keep alternative blocks in LMDB (moneromooo-monero)
5 years ago
luigi1111
e3de4aa68b
Merge pull request #5502
...
25a7cfd
add a few checks where it seems appropriate (moneromooo-monero)
1a66a86
remove unused code (moneromooo-monero)
5 years ago
Riccardo Spagni
4850520b6a
update checkpoints.dat hash
5 years ago
Doyle
f17dcde451
Remove unused txs member in NOTIFY_RESPONSE_GET_OBJECT
5 years ago
Martijn Otto
c164f9037e
Remove unnecessary m_check_txin_table, fix const correctness
5 years ago
moneromooo-monero
3c071d203f
blockchain: silence an error getting blocks for pruned nodes
...
This happens often when a pre-pruning node asks a pruned node
for data it does not have
5 years ago
Riccardo Spagni
633f1542e2
prep for 0.14.1 release
5 years ago
Riccardo Spagni
7e417dd408
Merge pull request #5571
...
35da33be
blockchain: do not try to pop blocks down to the genesis block (moneromooo-monero)
4b51f9a3
core: do not commit half constructed batch db txn (moneromooo-monero)
5 years ago
moneromooo-monero
35da33bea9
blockchain: do not try to pop blocks down to the genesis block
5 years ago
moneromooo-monero
4b51f9a34f
core: do not commit half constructed batch db txn
5 years ago
Howard Chu
b6830db2d4
Fix #5553
...
Make sure the tip hash still matches the cached block
5 years ago
moneromooo-monero
0605406714
daemon: sort alt chains by height
5 years ago
moneromooo-monero
06b8f29992
blockchain: keep alternative blocks in LMDB
...
Alternative blocks are cleared on startup unless --keep-alt-blocks
is passed on the command line
5 years ago
Riccardo Spagni
f64f59627d
Merge pull request #5510
...
e9809382
fix wide difficulty conversion with some versions of boost (moneromooo-monero)
5 years ago
moneromooo-monero
a4c4a2d8aa
blockchain: keep a rolling long term block weight median
5 years ago
moneromooo-monero
e980938210
fix wide difficulty conversion with some versions of boost
5 years ago
moneromooo-monero
1a66a86f94
remove unused code
5 years ago
moneromooo-monero
df83ed74e4
consensus: from v12, enforce >= 2 outputs
5 years ago
Riccardo Spagni
68d131615e
Merge pull request #5448
...
d009f6dd
rpc: fix get_block_hashes.bin from wallet on pruned blockchain (moneromooo-monero)
bb0ef5b1
blockchain: lock the blockchain while pruning (moneromooo-monero)
5 years ago
Riccardo Spagni
0d2aaac15b
Merge pull request #5414
...
e9fac29a
unit_tests/long_term_block_weight: some tweaks that seem to make more sense (stoffu)
467f4c7e
tests/block_weight: use integer division when computing median (stoffu)
815d08dc
tests/block_weight: remove unused MULTIPLIER_SMALL (stoffu)
661f1fb8
blockchain: remove unused calc of short_term_constraint (stoffu)
5 years ago
moneromooo-monero
d009f6dd61
rpc: fix get_block_hashes.bin from wallet on pruned blockchain
...
We want to get all blocks here, even pruned ones
5 years ago
moneromooo-monero
bb0ef5b1f2
blockchain: lock the blockchain while pruning
5 years ago
moneromooo-monero
5e673c03fe
blockchain_db: fix db txn ending too early
...
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.
5 years ago
moneromooo-monero
064ab12340
functional_tests: add more blockchain related tests
...
Related to emission, reorgs, getting tx data back, output
distribution and histogram
5 years ago
Riccardo Spagni
915d9e5a1f
Merge pull request #5380
...
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)
5 years ago
Riccardo Spagni
bd429033df
Merge pull request #5378
...
eda2661a
Allow pruning before v10 (moneromooo-monero)
5 years ago
Riccardo Spagni
036daa3af9
Merge pull request #5373
...
aff80e70
blockchain: fix returned height in create_block_template (moneromooo-monero)
5 years ago
Riccardo Spagni
76fbcfe2dd
Merge pull request #5123
...
089c7637
cryptonote: rework block blob size sanity check (moneromooo-monero)
5 years ago
stoffu
661f1fb8b2
blockchain: remove unused calc of short_term_constraint
5 years ago
Riccardo Spagni
4ac78e1612
Merge pull request #5346
...
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)
5 years ago
moneromooo-monero
089c7637a6
cryptonote: rework block blob size sanity check
...
Use the actual block weight limit, assuming that weight is always
greater or equal to size
5 years ago
moneromooo-monero
631ef00e76
blockchain: some debug info when adding txes-from-block fails
5 years ago
Riccardo Spagni
29e4e70f30
Merge pull request #5352
...
ae6885f6
blockchain: incremental long term block weight cache (moneromooo-monero)
9b687c78
blockchain: simple cache for the long term block weights (moneromooo-monero)
5 years ago