aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/client.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add functionality to generate auxpow blocks in regtestMD Islam2021-05-251-0/+2
| | | | | | | | | This roughly reverts the work done here that disabled auxpow generation in regtest: https://github.com/dogecoin/dogecoin/pull/1431/files\#diff-ccc24453c13307f815879738d3bf00eec351417537fbf10dde1468180cacd2f1R127-R137 This is a pretty severe functionality change since auxpow is critical to Dogecoin and wallet integrators need to be able to parse the extra data in auxpow blocks. For future wallet integrators: Dogecoin follows similar schemes as Namecoin for the merged mining support and the spec is here: https://en.bitcoin.it/wiki/Merged_mining_specification pr review: GetHash -> GetPoWHash
* fixed listunspent rpc convert parametertnaka2021-02-221-0/+1
|
* Add query options to listunspent rpc callPedro Branco2021-02-221-0/+1
|
* rpc: Rename first named arg of createrawtransactionMarcoFalke2017-03-271-1/+1
| | | | | Github-Pull: #10084 Rebased-From: fa558532192ca0bb519f811ee14df6037413b89f
* Merge #8456: [RPC] Simplified bumpfee command.Wladimir J. van der Laan2017-01-191-0/+1
|\ | | | | | | | | | | cc0243a [RPC] bumpfee (mrbandrews) 52dde66 [wallet] Add include_unsafe argument to listunspent RPC (Russell Yanofsky) 766e8a4 [wallet] Add IsAllFromMe: true if all inputs are from wallet (Suhas Daftuar)
| * [RPC] bumpfeemrbandrews2017-01-191-0/+1
| | | | | | | | | | | | | | | | | | | | This command allows a user to increase the fee on a wallet transaction T, creating a "bumper" transaction B. T must signal that it is BIP-125 replaceable. T's change output is decremented to pay the additional fee. (B will not add inputs to T.) T cannot have any descendant transactions. Once B bumps T, neither T nor B's outputs can be spent until either T or (more likely) B is mined. Includes code by @jonasschnelli and @ryanofsky
* | Add pruneblockchain RPC to enable manual block file pruning.mrbandrews2017-01-101-0/+1
|/
* Update RPC argument namesJohn Newbery2017-01-101-2/+2
|
* rpc: Named argument support for bitcoin-cliWladimir J. van der Laan2017-01-101-90/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Usage e.g.: $ src/bitcoin-cli -testnet -named echo arg0="dfdf" [ "dfdf" ] Argument conversion also works, for arguments thus flagged in the table in `src/rpc/client.cpp`. $ src/bitcoin-cli -testnet -named echojson arg0="[1,2,3]" [ [ 1, 2, 3 ] ] Unknown parameter (detected server-side): $ src/bitcoin-cli -testnet -named getinfo arg0="dfdf" error code: -8 error message: Unknown named parameter arg0
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Merge #8996: Network activity toggleJonas Schnelli2016-11-111-0/+1
|\ | | | | | | | | | | | | | | | | 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)
| * Overhaul network activity toggleJonas Schnelli2016-10-241-0/+1
| | | | | | | | | | | | - Rename RPC command "togglenetwork" to "setnetworkactive (true|false)" - Add simple test case - GUI toggle added to connections icon in statusbar
* | Add importmulti rpc callPedro Branco2016-10-191-0/+2
|/
* add waitfornewblock/waitforblock/waitforblockheight rpcs and use them for testsCory Fields2016-09-071-0/+6
| | | | | | | | | | | | | | waitfornewblock waits until a new block is received, or the timeout expires, then returns the current block height/hash. waitforblock waits for a specific blockhash, or until the timeout expires, then returns the current block height/hash. If the target blockhash is the current tip, it will return immediately. waitforblockheight waits until the tip has reached a certain height or higher, then returns the current height and hash. waitforblockheight is used to avoid polling in the rpc tests.
* Make the dummy argument to getaddednodeinfo optionalPieter Wuille2016-09-011-1/+0
|
* Add getmempooldescendants RPC callSuhas Daftuar2016-06-091-0/+1
|
* Add getmempoolancestors RPC callSuhas Daftuar2016-05-171-0/+1
|
* Merge #7793: [doxygen] Fix member commentsWladimir J. van der Laan2016-04-051-2/+2
|\ | | | | | | fada0c4 [doc] Fix doxygen comments for members (MarcoFalke)
| * [doc] Fix doxygen comments for membersMarcoFalke2016-04-031-2/+2
| |
* | RPC: fix generatetoaddress failing to parse address and add unit testmruddy2016-04-031-1/+0
|/
* Create generatetoaddress rpcAndrew C2016-03-211-0/+3
| | | | | | Creates the generatetoaddress rpc which is virtually identical to the generate rpc except that it takes an argument for the address to mine to. It does not rely on wallet functionality. The mining code shared by generate and generatetoaddress has been moved to another method to reduce duplication.
* Merge #7663: Make the generate RPC call function for non-regtestWladimir J. van der Laan2016-03-141-0/+1
|\ | | | | | | 8a253b3 Make the generate RPC call function for non-regtest (Pieter Wuille)
| * Make the generate RPC call function for non-regtestPieter Wuille2016-03-091-0/+1
| |
* | Remove internal minerLeviathn2016-02-101-3/+0
|/ | | | | This code removes the internal miner which is only useful on Testnet. This leaves the internal miner that is useful on RegTest intact.
* move rpc* to rpc/Daniel Cousens2016-01-211-0/+163