aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Always add default_witness_commitment with GBT client supportPieter Wuille2016-11-211-1/+3
| |/
* | Correct help output for waitfor RPC commandsfanquake2016-11-241-10/+10
| |
* | Merge #9025: getrawtransaction should take a bool for verboseWladimir J. van der Laan2016-11-231-9/+23
|\ \ | |/ |/| | | | | 240189b add testcases for getrawtransaction (John Newbery) ce2bb23 getrawtransaction should take a bool for verbose (jnewbery)
| * getrawtransaction should take a bool for verbosejnewbery2016-11-221-9/+23
| |
* | Make CBlock::vtx a vector of shared_ptr<CTransaction>Pieter Wuille2016-11-193-7/+8
| |
* | Merge #9075: Decouple peer-processing-logic from block-connection-logic (#3)Pieter Wuille2016-11-171-12/+6
|\ \ | | | | | | | | | | | | | | | ae22357 Replace CValidationState param in ProcessNewBlock with BlockChecked (Matt Corallo) 7c98ce5 Remove pfrom parameter from ProcessNewBlock (Matt Corallo) e2e069d Revert "RPC: Give more details when "generate" fails" (Matt Corallo)
| * | Replace CValidationState param in ProcessNewBlock with BlockCheckedMatt Corallo2016-11-091-11/+5
| | |
| * | Remove pfrom parameter from ProcessNewBlockMatt Corallo2016-11-091-2/+2
| | | | | | | | | | | | This further decouples ProcessNewBlock from networking/peer logic.
| * | Revert "RPC: Give more details when "generate" fails"Matt Corallo2016-11-081-1/+1
| | | | | | | | | | | | | | | This only returned information in the case of CheckBlock failure, but breaks future changes.
* | | Merge #8996: Network activity toggleJonas Schnelli2016-11-112-1/+24
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 19f46f1 Qt: New network_disabled icon (Luke Dashjr) 54cf997 RPC/Net: Use boolean consistently for networkactive, and remove from getinfo (Luke Dashjr) b2b33d9 Overhaul network activity toggle (Jonas Schnelli) 32efa79 Qt: Add GUI feedback and control of network activity state. (Jon Lund Steffensen) e38993b RPC: Add "togglenetwork" method to toggle network activity temporarily (Jon Lund Steffensen) 7c9a98a Allow network activity to be temporarily suspended. (Jon Lund Steffensen)
| * | | RPC/Net: Use boolean consistently for networkactive, and remove from getinfoLuke Dashjr2016-10-242-7/+5
| | | |
| * | | Overhaul network activity toggleJonas Schnelli2016-10-242-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | - Rename RPC command "togglenetwork" to "setnetworkactive (true|false)" - Add simple test case - GUI toggle added to connections icon in statusbar
| * | | RPC: Add "togglenetwork" method to toggle network activity temporarilyJon Lund Steffensen2016-10-242-1/+22
| | | | | | | | | | | | | | | | | | | | RPC command "togglenetwork" toggles network and returns new state after command. RPC command "getinfo" returns "networkactive" field in output.
* | | | fix getnettotals RPC description about timemillis.Masahiko Hyuga2016-11-101-1/+1
| |/ / |/| |
* | | RPC: Give more details when "generate" failsJorge Timón2016-11-081-1/+1
| | |
* | | Merge #9026: Fix handling of invalid compact blocksPieter Wuille2016-11-071-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | d4833ff Bump the protocol version to distinguish new banning behavior. (Suhas Daftuar) 88c3549 Fix compact block handling to not ban if block is invalid (Suhas Daftuar) c93beac [qa] Test that invalid compactblocks don't result in ban (Suhas Daftuar)
| * | | Fix compact block handling to not ban if block is invalidSuhas Daftuar2016-11-031-2/+2
| | |/ | |/|
* / | Remove priority estimationAlex Morcos2016-11-071-2/+2
|/ /
* | Merge #9042: [rpc] ParseHash: Fail when length is not 64Wladimir J. van der Laan2016-11-021-0/+2
|\ \ | | | | | | | | | fa32619 [rpc] ParseHash: Fail when length is not 64 (MarcoFalke)
| * | [rpc] ParseHash: Fail when length is not 64MarcoFalke2016-10-311-0/+2
| | |
* | | Merge #8753: Locked memory managerWladimir J. van der Laan2016-11-021-0/+43
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 444c673 bench: Add benchmark for lockedpool allocation/deallocation (Wladimir J. van der Laan) 6567999 rpc: Add `getmemoryinfo` call (Wladimir J. van der Laan) 4536148 support: Add LockedPool (Wladimir J. van der Laan) f4d1fc2 wallet: Get rid of LockObject and UnlockObject calls in key.h (Wladimir J. van der Laan) 999e4c9 wallet: Change CCrypter to use vectors with secure allocator (Wladimir J. van der Laan)
| * | | rpc: Add `getmemoryinfo` callWladimir J. van der Laan2016-10-271-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` getmemoryinfo Returns an object containing information about memory usage. Result: { "locked": { (json object) Information about locked memory manager "used": xxxxx, (numeric) Number of bytes used "free": xxxxx, (numeric) Number of bytes available in current arenas "total": xxxxxxx, (numeric) Total number of bytes managed "locked": xxxxxx, (numeric) Amount of bytes that succeeded locking. If this number is smaller than total, locking pages failed at some point and key data could be swapped to disk. } } Examples: > bitcoin-cli getmemoryinfo > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/ ```
* | | | Change all instance of 'GMT epoch' to 'Unix epoch'matthias2016-10-311-1/+1
| |/ / |/| |
* | | instance of 'mem pool' to 'mempool'S. Matthew English2016-10-272-2/+2
| | | | | | | | | | | | there was only one instance of 'mem pool' and not 'mempool', so I changed it to conform to the others
* | | Eliminating Inconsistencies in Textual OutputS. Matthew English2016-10-201-3/+3
| | | | | | | | | There were discrepancies between usage of "block chain" and "blockchain", I've changed them to the latter. The reason for this was that Wikipedia when describing this data structure writes "A blockchain — *originally block chain*", so it seemed the more appropriate term.
* | | Merge #7551: Add importmulti RPC callWladimir J. van der Laan2016-10-201-0/+2
|\ \ \ | | | | | | | | | | | | | | | | 215caba Add consistency check to RPC call importmulti (Pedro Branco) cb08fdb Add importmulti rpc call (Pedro Branco)
| * | | Add importmulti rpc callPedro Branco2016-10-191-0/+2
| |/ /
* | | Merge #7948: RPC: augment getblockchaininfo bip9_softforks dataWladimir J. van der Laan2016-10-191-1/+3
|\ \ \ | |/ / |/| | | | | fc14609 RPC: augment getblockchaininfo bip9_softforks data (mruddy)
| * | RPC: augment getblockchaininfo bip9_softforks datamruddy2016-10-191-1/+3
| | |
* | | [RPC] pass HTTP basic authentication username to the JSONRequest objectJonas Schnelli2016-10-191-1/+2
| | |
* | | [RPC] Give RPC commands more information about the RPC requestJonas Schnelli2016-10-197-246/+248
| | |
* | | rpc: Change JSONRPCRequest to JSONRPCRequestObjWladimir J. van der Laan2016-10-192-3/+3
|/ / | | | | | | This is more consistent with `JSONRPCReplyObj`.
* | Merge #8951: RPC/Mining: getblocktemplate: Update and fix formatting of helpWladimir J. van der Laan2016-10-191-30/+36
|\ \ | | | | | | | | | 59daa58 RPC/Mining: getblocktemplate: Update and fix formatting of help (Luke Dashjr)
| * | RPC/Mining: getblocktemplate: Update and fix formatting of helpLuke Dashjr2016-10-191-30/+36
| | |
* | | Merge #8865: Decouple peer-processing-logic from block-connection-logicWladimir J. van der Laan2016-10-182-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a9aec5c Use BlockChecked signal to send reject messages from mapBlockSource (Matt Corallo) 7565e03 Remove SyncWithWallets wrapper function (Matt Corallo) 12ee1fe Always call UpdatedBlockTip, even if blocks were only disconnected (Matt Corallo) f5efa28 Remove CConnman parameter from ProcessNewBlock/ActivateBestChain (Matt Corallo) fef1010 Use CValidationInterface from chain logic to notify peer logic (Matt Corallo) aefcb7b Move net-processing logic definitions together in main.h (Matt Corallo) 0278fb5 Remove duplicate nBlocksEstimate cmp (we already checked IsIBD()) (Matt Corallo) 87e7d72 Make validationinterface.UpdatedBlockTip more verbose (Matt Corallo)
| * | | Remove CConnman parameter from ProcessNewBlock/ActivateBestChainMatt Corallo2016-10-042-4/+4
| | | |
* | | | Merge #6996: Add preciousblock RPCWladimir J. van der Laan2016-10-181-0/+40
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 5805ac8 Add preciousblock tests (Pieter Wuille) 5127c4f Add preciousblock RPC (Pieter Wuille)
| * | | | Add preciousblock RPCPieter Wuille2016-08-261-0/+40
| | | | | | | | | | | | | | | | | | | | Includes a bugfix by Luke-Jr.
* | | | | Merge #8223: [c++11] Use std::unique_ptr for block creation.Wladimir J. van der Laan2016-10-181-7/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 9fce062 [c++11] Use std::unique_ptr for block creation. (Daniel Kraft)
| * | | | | [c++11] Use std::unique_ptr for block creation.Daniel Kraft2016-06-181-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CreateNewBlock returns a pointer for which the caller takes ownership. Use std::unique_ptr to make this explicit and simplify handling of these objects in getblocktemplate.
* | | | | | Merge #8287: [wallet] Set fLimitFree = trueWladimir J. van der Laan2016-10-181-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | fa8b02d [rpc] rawtx: Prepare fLimitFree to make it an option (MarcoFalke) fa28bfa [wallet] Set fLimitFree = true (MarcoFalke)
| * | | | | | [rpc] rawtx: Prepare fLimitFree to make it an optionMarcoFalke2016-08-251-1/+2
| | | | | | |
* | | | | | | Merge #8925: qt: Display minimum ping in debug window.Wladimir J. van der Laan2016-10-181-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 1724a40 Display minimum ping in debug window. (R E Broadley)
| * | | | | | | Display minimum ping in debug window.R E Broadley2016-10-151-2/+2
| | | | | | | |
* | | | | | | | Merge #8845: Don't return the address of a P2SH of a P2SHWladimir J. van der Laan2016-10-181-2/+10
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | d51f182 Don't return the address of a P2SH of a P2SH. (jnewbery)
| * | | | | | | | Don't return the address of a P2SH of a P2SH.jnewbery2016-10-051-2/+10
| | |_|_|_|/ / / | |/| | | | | |
* | | | | | | | RPC: Chainparams: Remove Chainparams::fTestnetToBeDeprecatedFieldRPCJorge Timón2016-10-182-3/+1
| |/ / / / / / |/| | | | | |
* | | | | | | Merge #8884: Bugfix: Trivial: RPC: getblockchaininfo help: pruneheight is ↵Wladimir J. van der Laan2016-10-051-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | the lowest, not highest, block a78e542 Bugfix: Trivial: RPC: getblockchaininfo help: pruneheight is the lowest, not highest, block (Luke Dashjr)
| * | | | | | Bugfix: Trivial: RPC: getblockchaininfo help: pruneheight is the lowest, not ↵Luke Dashjr2016-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | highest, block
* | | | | | | rpc: Generate auth cookie in hex instead of base64Wladimir J. van der Laan2016-10-011-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Base64 contains '/', and the '/' character in credentials is problematic for AuthServiceProxy which represents the RPC endpoint as an URI with user and password embedded. Closes #8399.