wallet2: check wallet compatibility with daemon's hard fork version

This commit is contained in:
j-berman 2022-08-26 16:13:19 -07:00
parent af4f97bf66
commit 864a78ee5f
15 changed files with 251 additions and 30 deletions

View file

@ -231,6 +231,11 @@ namespace cryptonote
*/
uint64_t get_window_size() const { return window_size; }
/**
* @brief returns info for all known hard forks
*/
const std::vector<hardfork_t>& get_hardforks() const { return heights; }
private:
uint8_t get_block_version(uint64_t height) const;