aboutsummaryrefslogtreecommitdiff
path: root/src/rest.cpp
AgeCommit message (Expand)Author
2021-07-05Use C++17 [[fallthrough]] attribute, and drop -Wno-implicit-fallthroughHennadii Stepanov
2021-06-10validation: Farewell, global Chainstate!Carl Dong
2021-05-27rest: Add GetChainman function and use itCarl Dong
2021-04-17Merge #21391: [Bundle 5/n] Prune g_chainman usage in RPC modulesMarcoFalke
2021-04-14rpc/rest: Take and reuse local Chain/ChainState objCarl Dong
2021-04-14rpc: Tidy up local references (see commit message)Carl Dong
2021-04-14scripted-diff: rest/rpc: Use renamed EnsureAny*()Carl Dong
2021-04-13Merge #21575: refactor: Create blockstorage modulefanquake
2021-04-07Drop JSONRPCRequest constructors after #21366Russell Yanofsky
2021-04-05move-only: Move *Disk functions to blockstorageMarcoFalke
2021-04-05rest: Use existing NodeContextCarl Dong
2021-04-05rest: Pass in NodeContext to rest_blockCarl Dong
2021-03-29refactor: replace util::Ref by std::any (C++17)Sebastian Falbesoner
2021-02-18Merge #20429: refactor: replace (sizeof(a)/sizeof(a[0])) with C++17 std::sizeMarcoFalke
2021-01-31refactor: iterate arrays via C++11 range-based for loops if idx is not neededSebastian Falbesoner
2021-01-28scripted-diff: Use BlockManager::LookupBlockIndexCarl Dong
2020-12-31scripted-diff: Bump copyright headersMarcoFalke
2020-09-22Merge #19849: Assert that RPCArg names are equal to CRPCCommand ones (blockch...MarcoFalke
2020-09-05Remove mempool globalMarcoFalke
2020-08-31Assert that RPCArg names are equal to CRPCCommand ones (blockchain)MarcoFalke
2020-07-26rpc: Avoid useless mempool query in gettxoutproofMarcoFalke
2020-06-24refactor: Replace HexStr(o.begin(), o.end()) with HexStr(o)Wladimir J. van der Laan
2020-05-21Merge #18740: Remove g_rpc_node globalMarcoFalke
2020-05-20Merge #18317: Serialization improvements step 6 (all except wallet/gui)MarcoFalke
2020-05-13refactor: Pass NodeContext to RPC and REST methods through util::RefRussell Yanofsky
2020-04-30Merge #18810: doc: update rest info on block size and jsonWladimir J. van der Laan
2020-04-28fix: update rest info on block size and jsonChris Abrams
2020-04-26Prevent valgrind false positive in rest_blockhash_by_heightRussell Yanofsky
2020-03-30Convert everything except wallet/qt to new serializationPieter Wuille
2019-12-30scripted-diff: Bump copyright of files changed in 2019MarcoFalke
2019-12-16rest: Use mempool from node context instead of globalMarcoFalke
2019-10-15Remove unused includespracticalswift
2019-08-06refactor: pcoinsTip -> CChainState::CoinsTip()James O'Beirne
2019-07-05rpc: migrate JSONRPCRequest functionality into request.cppKarl-Johan Alm
2019-05-03scripted-diff: replace chainActive -> ::ChainActive()James O'Beirne
2019-02-25rpc: Pass mempool into MempoolToJSONMarcoFalke
2019-01-30Merge #15159: [RPC] Remove lookup to UTXO set from GetTransactionMarcoFalke
2019-01-26[RPC] Update getrawtransaction interfaceAmiti Uttarwar
2019-01-22Merge #14353: REST: add blockhash call, fetch blockhash by heightJonas Schnelli
2019-01-21REST: add "blockhashbyheight" call, fetch blockhash by heightJonas Schnelli
2019-01-04Merge #12151: rpc: Remove cs_main lock from blockToJSON and blockheaderToJSONMarcoFalke
2018-11-05Add NODISCARD to all {Decode,Parse}[...](...) functions returning bool. Sort ...practicalswift
2018-11-04scripted-diff: Move util files to separate directory.Jim Posen
2018-09-25Consolidate redundant implementations of ParseHashStrBen Woosley
2018-09-23[REST] improve performance for JSON callsAntoine Le Calvez
2018-09-09rpc: Remove cs_main lock from blockToJSON and blockHeaderToJSONJoão Barbosa
2018-09-03Increase signal to noise in appveyor build output by reducing the MSVC warnin...practicalswift
2018-08-11Cleanup StartRest()DesWurstes
2018-07-27Update copyright headers to 2018DrahtBot
2018-05-30refactor: add a function for determining if a block is pruned or notKarl-Johan Alm