|
|
@ -494,7 +494,7 @@ static bool rest_getutxos(HTTPRequest* req, const std::string& strURIPart) |
|
|
|
if (vOutPoints.size() > MAX_GETUTXOS_OUTPOINTS) |
|
|
|
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())); |
|
|
|
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<unsigned char> bitmap; |
|
|
|
vector<CCoin> outs; |
|
|
|
vector<CCoin> outs; |
|
|
|
std::string bitmapStringRepresentation; |
|
|
|
std::string bitmapStringRepresentation; |
|
|
|