aboutsummaryrefslogtreecommitdiff
path: root/src/rest.cpp
AgeCommit message (Collapse)Author
2015-02-10Merge #5548: [REST] add /rest/chaininfosWladimir J. van der Laan
2c0f901 [REST] rest/chaininfos add documentation (Jonas Schnelli) 59582c8 [REST] add /rest/chaininfos (Jonas Schnelli)
2015-01-05Replace direct use of 0 with SetNull and IsNullWladimir J. van der Laan
Replace x=0 with .SetNull(), x==0 with IsNull(), x!=0 with !IsNull(). Replace uses of uint256(0) with uint256().
2014-12-29[REST] add /rest/chaininfosJonas Schnelli
2014-12-19Added "Core" to copyright headerssandakersmann
Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
2014-12-16Make pass-by-ref arguments const.Daniel Kraft
Make some of the arguments in rest.cpp, that are passed by reference but never modified, const to emphasise that.
2014-12-12Add /rest/headersPieter Wuille
2014-12-09[REST] /rest/block response with full tx detailsJonas Schnelli
- rest block request returns full unfolded tx details - /rest/block/notxdetails/<HASH> returns block where transactions are only represented by its hash
2014-12-03MOVEONLY: core/ -> primitives/Luke Dashjr
2014-11-27[REST] make selection of output-format mandatory, support dot url syntaxJonas Schnelli
1. Remove the default format (binary) because `rest/block/<hash>/Hex` would end up delivering binary data. 2. List available formats when chosen format was not found (reduces need for documentation) 3. Change url syntax to dot extension like format chosing (like `rest/tx/<hash>.json`
2014-11-26[REST] give an appropriate response in warmup phaseJonas Schnelli
2014-11-26[REST] fix headersonly flag for BINARY responsesJonas Schnelli
2014-11-20minor style cleanup after HTTP rest interface mergePhilip Kaufmann
- no code changes
2014-11-18Properly lock cs_main in rest_blockPieter Wuille
2014-11-18HTTP REST: minor fixesJeff Garzik
1) const-ify internal helper ParseHashStr() 2) use HTTPError() helper when returning HTTP_NOT_FOUND
2014-11-11Add unauthenticated HTTP REST interface to public blockchain data.Jeff Garzik