This commit is contained in:
jl777
2019-07-02 06:59:33 -11:00
parent 8421b8724e
commit f016d63e51

View File

@@ -98,6 +98,7 @@ struct NSPV_txproof
uint32_t NSPV_lastinfo,NSPV_lastutxos;
std::vector<struct NSPV_utxo> NSPV_utxos;
// on fullnode:
void komodo_nSPVreq(CNode *pfrom,std::vector<uint8_t> request) // received a request
{
int32_t len; std::vector<uint8_t> response; uint32_t timestamp = time(NULL);
@@ -152,6 +153,7 @@ void komodo_nSPVreq(CNode *pfrom,std::vector<uint8_t> request) // received a req
}
}
// on nSPV client
void komodo_nSPVresp(CNode *pfrom,std::vector<uint8_t> response) // received a response
{
int32_t len; uint32_t timestamp = (uint32_t)time(NULL);