aboutsummaryrefslogtreecommitdiff
path: root/src/rest.cpp
AgeCommit message (Collapse)Author
2014-12-17make all catch() arguments constPhilip Kaufmann
- I saw this on http://en.cppreference.com/w/cpp/language/try_catch and thought it would be a good idea - also unify used format to better be able to search for exception uses in our codebase
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