Add zero-confirmation support to webhooks (only) (#72)

This commit is contained in:
Lee *!* Clagett
2023-07-01 11:18:18 -04:00
committed by Lee *!* Clagett
parent f827dca8d1
commit fdbd3669a6
12 changed files with 408 additions and 32 deletions

View File

@@ -34,6 +34,7 @@
#include "crypto/hash.h" // monero/src
#include "wire/json/fwd.h"
namespace cryptonote { class transaction; }
namespace lws
{
namespace rpc
@@ -46,5 +47,12 @@ namespace rpc
static expect<minimal_chain_pub> from_json(std::string&&);
};
struct full_txpool_pub
{
std::vector<cryptonote::transaction> txes;
static expect<full_txpool_pub> from_json(std::string&&);
};
}
}