|
|
|
@ -494,7 +494,7 @@ static bool rest_getutxos(HTTPRequest* req, const std::string& strURIPart)
@@ -494,7 +494,7 @@ static bool rest_getutxos(HTTPRequest* req, const std::string& strURIPart)
|
|
|
|
|
if (vOutPoints.size() > MAX_GETUTXOS_OUTPOINTS) |
|
|
|
|
return RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, strprintf("Error: max outpoints exceeded (max: %d, tried: %d)", MAX_GETUTXOS_OUTPOINTS, vOutPoints.size())); |
|
|
|
|
|
|
|
|
|
// check spentness and form a bitmap (as well as a JSON capable human-readble string representation)
|
|
|
|
|
// check spentness and form a bitmap (as well as a JSON capable human-readable string representation)
|
|
|
|
|
vector<unsigned char> bitmap; |
|
|
|
|
vector<CCoin> outs; |
|
|
|
|
std::string bitmapStringRepresentation; |
|
|
|
|