/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/ |
H A D | rest.cpp | 157 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_headers() 225 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_block() 235 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 242 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 370 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_tx() 379 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_tx() 434 return RESTERR(req, HTTP_BAD_REQUEST, "Error: empty request"); in rest_getutxos() 456 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() 465 return RESTERR(req, HTTP_BAD_REQUEST, "Error: empty request"); in rest_getutxos() 490 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() [all …]
|
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/ |
H A D | rest.cpp | 83 RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, in GetNodeContext() 121 RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, in GetChainman() 199 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_headers() 272 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_block() 285 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 292 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 421 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_tx() 432 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_tx() 488 return RESTERR(req, HTTP_BAD_REQUEST, "Error: empty request"); in rest_getutxos() 510 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() [all …]
|
/dports/net-p2p/bitcoin/bitcoin-22.0/src/ |
H A D | rest.cpp | 83 RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, in GetNodeContext() 121 RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, in GetChainman() 199 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_headers() 272 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_block() 285 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 292 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 421 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_tx() 432 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_tx() 488 return RESTERR(req, HTTP_BAD_REQUEST, "Error: empty request"); in rest_getutxos() 510 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() [all …]
|
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/ |
H A D | rest.cpp | 83 RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, in GetNodeContext() 121 RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, in GetChainman() 199 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_headers() 272 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_block() 285 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 292 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 421 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_tx() 432 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_tx() 488 return RESTERR(req, HTTP_BAD_REQUEST, "Error: empty request"); in rest_getutxos() 510 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() [all …]
|
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/src/ |
H A D | rest.cpp | 137 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_headers() 205 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_block() 215 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 222 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 347 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_tx() 356 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_tx() 411 return RESTERR(req, HTTP_BAD_REQUEST, "Error: empty request"); in rest_getutxos() 433 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() 442 return RESTERR(req, HTTP_BAD_REQUEST, "Error: empty request"); in rest_getutxos() 467 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() [all …]
|
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/src/ |
H A D | rest.cpp | 137 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_headers() 205 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_block() 215 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 222 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 347 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_tx() 356 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_tx() 411 return RESTERR(req, HTTP_BAD_REQUEST, "Error: empty request"); in rest_getutxos() 433 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() 442 return RESTERR(req, HTTP_BAD_REQUEST, "Error: empty request"); in rest_getutxos() 467 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() [all …]
|
/dports/net-p2p/litecoin/litecoin-0.18.1/src/ |
H A D | rest.cpp | 137 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_headers() 205 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_block() 215 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 222 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 347 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_tx() 356 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_tx() 411 return RESTERR(req, HTTP_BAD_REQUEST, "Error: empty request"); in rest_getutxos() 433 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() 442 return RESTERR(req, HTTP_BAD_REQUEST, "Error: empty request"); in rest_getutxos() 467 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() [all …]
|
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/ |
H A D | rest.cpp | 84 RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, in GetNodeContext() 225 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_headers() 303 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 310 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 449 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_tx() 505 return RESTERR(req, HTTP_BAD_REQUEST, "Error: empty request"); in rest_getutxos() 527 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() 561 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() 729 return RESTERR(req, HTTP_BAD_REQUEST, in rest_name() 734 return RESTERR(req, HTTP_NOT_FOUND, in rest_name() [all …]
|
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/ |
H A D | rest.cpp | 84 RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, in GetNodeContext() 225 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_headers() 303 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 310 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 449 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_tx() 505 return RESTERR(req, HTTP_BAD_REQUEST, "Error: empty request"); in rest_getutxos() 527 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() 561 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() 729 return RESTERR(req, HTTP_BAD_REQUEST, in rest_name() 734 return RESTERR(req, HTTP_NOT_FOUND, in rest_name() [all …]
|
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/ |
H A D | rest.cpp | 84 RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, in GetNodeContext() 225 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_headers() 303 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 310 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 449 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_tx() 505 return RESTERR(req, HTTP_BAD_REQUEST, "Error: empty request"); in rest_getutxos() 527 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() 561 return RESTERR(req, HTTP_BAD_REQUEST, "Parse error"); in rest_getutxos() 729 return RESTERR(req, HTTP_BAD_REQUEST, in rest_name() 734 return RESTERR(req, HTTP_NOT_FOUND, in rest_name() [all …]
|
/dports/net-p2p/zetacoin-utils/zetacoin-0.13.2.1/src/ |
H A D | rest.cpp | 68 static bool RESTERR(HTTPRequest* req, enum HTTPStatusCode status, string message) in RESTERR() function 149 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_headers() 214 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_block() 221 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 228 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 363 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_tx() 368 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_tx() 423 return RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, "Error: empty request"); in rest_getutxos() 447 return RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, "Parse error"); in rest_getutxos() 456 return RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, "Error: empty request"); in rest_getutxos() [all …]
|
/dports/net-p2p/zetacoin/zetacoin-0.13.2.1/src/ |
H A D | rest.cpp | 68 static bool RESTERR(HTTPRequest* req, enum HTTPStatusCode status, string message) in RESTERR() function 149 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_headers() 214 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_block() 221 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 228 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 363 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_tx() 368 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_tx() 423 return RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, "Error: empty request"); in rest_getutxos() 447 return RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, "Parse error"); in rest_getutxos() 456 return RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, "Error: empty request"); in rest_getutxos() [all …]
|
/dports/net-p2p/zetacoin-daemon/zetacoin-0.13.2.1/src/ |
H A D | rest.cpp | 68 static bool RESTERR(HTTPRequest* req, enum HTTPStatusCode status, string message) in RESTERR() function 149 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_headers() 214 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_block() 221 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 228 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_block() 363 return RESTERR(req, HTTP_BAD_REQUEST, "Invalid hash: " + hashStr); in rest_tx() 368 return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found"); in rest_tx() 423 return RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, "Error: empty request"); in rest_getutxos() 447 return RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, "Parse error"); in rest_getutxos() 456 return RESTERR(req, HTTP_INTERNAL_SERVER_ERROR, "Error: empty request"); in rest_getutxos() [all …]
|