Refuse chain rollback past a checkpoint (#92)

This commit is contained in:
Lee *!* Clagett
2024-02-19 13:59:07 -05:00
committed by Lee *!* Clagett
parent d2ca5b4180
commit 55f6bbb386
4 changed files with 76 additions and 50 deletions

View File

@@ -41,6 +41,7 @@
#include "lmdb/key_stream.h"
#include "lmdb/value_stream.h"
namespace cryptonote { class checkpoints; }
namespace lws
{
namespace db
@@ -167,6 +168,10 @@ namespace db
{}
public:
//! \return A single instance of compiled-in checkpoints for lws
static cryptonote::checkpoints const& get_checkpoints();
/*!
Open a light_wallet_server LDMB database.