mirror of
https://github.com/monero-project/monero.git
synced 2025-05-04 05:24:52 -04:00
wallet2: check wallet compatibility with daemon's hard fork version
This commit is contained in:
parent
af4f97bf66
commit
864a78ee5f
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