Add a --fluffy-blocks option to relay blocks as fluffy blocks

Defaults to off, but fluffy blocks are forced enabled on testnet
This commit is contained in:
moneromooo-monero 2017-09-02 17:11:20 +01:00
parent 02e5dcd2fa
commit 6ac61100a1
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
7 changed files with 20 additions and 1 deletions

View file

@ -77,6 +77,7 @@ public:
uint8_t get_ideal_hard_fork_version(uint64_t height) const { return 0; }
uint8_t get_hard_fork_version(uint64_t height) const { return 0; }
cryptonote::difficulty_type get_block_cumulative_difficulty(uint64_t height) const { return 0; }
bool fluffy_blocks_enabled() const { return false; }
};
typedef nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<test_core>> Server;