oxen-core/src
Doyle 5ca1d075d8 Only use greater pow alt chain if it has more checkpoints
Add migratory code for new alt_block_data_t.checkpointed field

Code review

Redo switch to alt chain logic to handle PoW properly

We always switch to the chain with prevailing checkpoints. If an old
chain reappears with more checkpoints it will be rebroadcasted and at
that point we will switch over then. So here we restore the old
behaviour regarding keeping alt chains around or not depending on the
scenario that caused the chain switch
2019-09-10 10:24:34 +10:00
..
blockchain_db Only use greater pow alt chain if it has more checkpoints 2019-09-10 10:24:34 +10:00
blockchain_utilities Service node checkpointing: rebased on relaxed deregistration (#662) 2019-06-26 14:00:05 +10:00
blocks Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
checkpoints Update soft-forking checks to be effective HF13 (#825) 2019-09-10 10:04:44 +10:00
common make get_checkpoints_range faster by using lmdb cursor as iterator (#819) 2019-08-30 13:54:49 +10:00
crypto Only use greater pow alt chain if it has more checkpoints 2019-09-10 10:24:34 +10:00
cryptonote_basic Switch to per-byte + per-output fees, reduce max multiplier 2019-08-26 17:42:30 -03:00
cryptonote_core Only use greater pow alt chain if it has more checkpoints 2019-09-10 10:24:34 +10:00
cryptonote_protocol Fix check for disconnecting peers when syncing 2019-08-16 21:28:40 -03:00
daemon Switch to per-byte + per-output fees, reduce max multiplier 2019-08-26 17:42:30 -03:00
daemonizer Merge commit '581994b' into LokiMergeUpstream 2019-05-02 14:15:02 +10:00
debug_utilities Merge commit 'f2f725d8db3535055d1c7e102c0bba75b22a3409' into LokiMergeUpstream 2019-04-12 15:23:01 +10:00
device Silence unused variable warnings (#692) 2019-07-01 10:10:03 +10:00
device_trezor Make tx type and version scoped enums 2019-06-19 17:47:03 -03:00
gen_multisig Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
lmdb Fix warnings emitted on Mac CI machine (#687) 2019-07-01 13:36:18 +10:00
mnemonics mnemonics: fix 4 byte UTF-8 rewriting 2019-04-30 21:10:54 +00:00
multisig Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
net Fix IPv6 addr parsing for boost <1.66 2019-08-15 00:24:56 -03:00
p2p Update testnet & stagenet seed nodes (#818) 2019-08-29 14:38:28 +10:00
platform Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
ringct serialization: check stream good flag at the end 2019-07-05 12:18:37 +10:00
rpc Add storage server reachability field; test it with quorums (#820) 2019-09-02 13:06:15 +10:00
serialization serialization: check stream good flag at the end 2019-07-05 12:18:37 +10:00
simplewallet Switch to per-byte + per-output fees, reduce max multiplier 2019-08-26 17:42:30 -03:00
wallet Rename result -> failure to improve readability 2019-08-26 23:52:30 -03:00
CMakeLists.txt Merge commit '6f07b8ffa555fb3b64c4d5007acd46f496c28d19' into LokiMergeUpstream 2019-04-12 15:33:38 +10:00
cryptonote_config.h Update soft-forking checks to be effective HF13 (#825) 2019-09-10 10:04:44 +10:00
version.cpp.in Bump Hefty Heimdall patch to 5 (#804) 2019-08-17 15:12:28 +10:00
version.h Add versioning to uptime proofs to enforce behaviour 2018-11-05 15:52:44 +11:00