monero/src/cryptonote_basic
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
2019-09-27 00:10:37 +00:00
..
account_boost_serialization.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
account.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
account.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
blobdatatype.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
CMakeLists.txt Update 2019 copyright 2019-03-05 22:05:34 +01:00
connection_context.h monerod can now sync from pruned blocks 2019-09-27 00:10:37 +00:00
cryptonote_basic_impl.cpp cryptonote: rework block blob size sanity check 2019-04-05 09:35:19 +00:00
cryptonote_basic_impl.h cryptonote: rework block blob size sanity check 2019-04-05 09:35:19 +00:00
cryptonote_basic.h monerod can now sync from pruned blocks 2019-09-27 00:10:37 +00:00
cryptonote_boost_serialization.h fix wide difficulty conversion with some versions of boost 2019-05-01 19:58:09 +00:00
cryptonote_format_utils.cpp monerod can now sync from pruned blocks 2019-09-27 00:10:37 +00:00
cryptonote_format_utils.h functional_tests: add more blockchain related tests 2019-04-11 11:07:58 +00:00
cryptonote_stat_info.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
difficulty.cpp rpc: make wide_difficulty hexadecimal 2019-04-05 16:30:16 +00:00
difficulty.h difficulty: fix check_hash on big endian 2019-09-04 14:53:53 +00:00
hardfork.cpp hardfork: fix off by one updating fork index after popping 2019-04-20 00:05:35 +00:00
hardfork.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
miner.cpp miner: fix --bg-mining-enable description 2019-07-02 17:43:36 +00:00
miner.h miner: fix double free of thread attributes 2019-06-09 10:51:18 +02:00
subaddress_index.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
tx_extra.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
verification_context.h consensus: from v12, enforce >= 2 outputs 2019-04-23 22:09:35 +00:00