Add a getutxos command to the p2p protocol. It allows querying of the UTXO set

given a set of outpoints.
This commit is contained in:
Mike Hearn
2014-05-19 22:25:17 +02:00
parent 36065cc529
commit da2ec100f3
4 changed files with 89 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ namespace {
//
bool fDiscover = true;
bool fListen = true;
uint64_t nLocalServices = NODE_NETWORK;
uint64_t nLocalServices = NODE_NETWORK | NODE_GETUTXOS;
CCriticalSection cs_mapLocalHost;
map<CNetAddr, LocalServiceInfo> mapLocalHost;
static bool vfReachable[NET_MAX] = {};