mirror of
https://github.com/monero-project/monero.git
synced 2025-07-23 13:50:45 -04:00
add command pop_blocks
add new public method to Blockchain and update according to code review update after review: better lock/unlock, try catch and coding style
This commit is contained in:
parent
58ce16d4d9
commit
dc1c12528d
10 changed files with 138 additions and 0 deletions
|
@ -152,6 +152,8 @@ public:
|
|||
bool relay_tx(const std::string &txid);
|
||||
|
||||
bool sync_info();
|
||||
|
||||
bool pop_blocks(uint64_t num_blocks);
|
||||
};
|
||||
|
||||
} // namespace daemonize
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue