mirror of
https://github.com/monero-project/monero.git
synced 2025-08-09 19:02:21 -04:00
wallet2: check wallet compatibility with daemon's hard fork version
This commit is contained in:
parent
6402dbee69
commit
b8271ab881
15 changed files with 251 additions and 30 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue