Simon
06c19063bb
Implement RPC shield_coinbase #2448 .
2017-09-21 15:04:12 -07:00
Jack Grigg
a31ba7a0cb
Usability improvements for z_importkey
...
- Add height parameter to z_importkey to reduce rescan range
- Change semantics of rescan parameter, so users can explicitly force a rescan
for existing keys.
Closes #2032
2017-03-16 19:34:41 +13:00
Peter Todd
d3d5483eef
Add getblockheader RPC call
...
Alternative to getblock that works even when the block itself has been
pruned, returning all available information.
2017-03-02 13:23:03 -08:00
Matt Corallo
3d8013a01b
Add fundrawtransaction RPC method
2017-03-02 13:23:03 -08:00
Jonas Schnelli
fcc8920f36
setban: rewrite to UniValue, allow absolute bantime
2017-03-02 13:23:03 -08:00
Jonas Schnelli
ed3f13a057
[RPC] add setban/listbanned/clearbanned RPC commands
2017-03-02 13:23:03 -08:00
Jonas Schnelli
a10a6e2a0e
[Univalue] add univalue over subtree
...
similar to secp256k1 include and compile univalue over a subtree
2017-02-10 02:18:51 +00:00
Jack Grigg
873c40365a
[cleanup] Remove unused import
2017-02-10 00:53:14 +00:00
Wladimir J. van der Laan
ff67da37cd
Simplify RPCclient, adapt json_parse_error test
...
# Conflicts:
# src/test/rpc_tests.cpp
2017-02-10 00:35:24 +00:00
Jonas Schnelli
d014114d67
Remove JSON Spirit wrapper, remove JSON Spirit leftovers
...
- implement find_value() function for UniValue
- replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper
- remove JSON Spirit sources
2017-02-10 00:35:24 +00:00
Jonas Schnelli
851f58f94e
remove JSON Spirit UniValue wrapper
2017-02-10 00:35:24 +00:00
Jonas Schnelli
49a5df0ef3
univalue: add support for real, fix percision and make it json_spirit compatible
...
- avoid breaking the API because of different number/percision handling
2017-02-10 00:35:24 +00:00
Jonas Schnelli
23f71dc740
special threatment for null,true,false because they are non valid json
2017-02-10 00:35:24 +00:00
Jonas Schnelli
9756b7bd29
extend conversion to UniValue
2017-02-10 00:35:24 +00:00
Jeff Garzik
ed21d5bd4b
Convert tree to using univalue. Eliminate all json_spirit uses.
2017-02-10 00:35:24 +00:00
Simon
af53da0225
Closes #1903 . Add fee parameter to z_sendmany.
2016-11-30 14:23:35 -08:00
Simon
6c41028f7c
Add z_listreceivedbyaddress RPC call
2016-09-08 21:46:15 -07:00
Simon
a0a3334c4d
Add z_getbalance and z_gettotalbalance RPC calls to close #1201 .
2016-09-08 21:46:14 -07:00
Simon
c1eae2806c
Closes #1293 by adding z_getoperationresult and making z_getoperationstatus idempotent.
2016-09-08 21:46:13 -07:00
Simon
34f0001ccc
Implement RPC call z_listoperationids and update z_getoperationstatus to take a list parameter.
2016-09-08 21:46:13 -07:00
Simon
fc72c078be
Add async RPC queue and operation classes.
...
Add z_getoperationstatus RPC command.
Add z_sendmany RPC command (dummy implementation, does not send actual
coins).
2016-09-08 21:46:13 -07:00
Simon
c1c4594371
Implemented RPC calls z_importkey, z_exportkey, z_getnewaddress.
...
Modified RPC calls dumpwallet and importwallet to include spending keys.
2016-08-24 11:19:33 -07:00
Jack Grigg
f7478de67f
Add thread parameter to solveequihash benchmark
...
Closes #1147
2016-08-05 15:05:38 +12:00
Sean Bowe
22de160219
Fixes for indentation and local variable names.
2016-07-18 10:07:29 -06:00
Simon
1b114e54c4
Add getblocksubsidy RPC command to return the block reward for a given
...
block, taking into account the mining slow start.
2016-06-27 13:04:33 -07:00
Taylor Hornby
6962bb3df0
Add automated performance measurement system.
2016-04-11 08:15:25 -06:00
Sean Bowe
730790f7a4
Added primitive zcrawkeygen/zcrawpour implementations
2016-01-19 14:36:04 -07:00
Wladimir J. van der Laan
8a10000222
Merge pull request #6022
...
b74dcb3 Separate CTranslationInterface from CClientUIInterface (Jorge Timón)
2015-04-30 16:37:18 +02:00
Matt Corallo
59ed61b389
Add RPC call to generate and verify merkle blocks
2015-04-23 17:50:39 -07:00
Jorge Timón
b74dcb3b4a
Separate CTranslationInterface from CClientUIInterface
2015-04-16 19:58:48 +02:00
Pieter Wuille
6b04508e37
Introduce separate 'generate' RPC call
2015-04-01 11:47:10 -07:00
Cozz Lovan
292623adf5
Subtract fee from amount
...
Fixes #2724 and #1570 .
Adds the
automatically-subtract-the-fee-from-the-amount-and-send-whats-left
feature to the GUI and RPC (sendtoaddress,sendmany).
2015-03-13 11:04:18 +01:00
sandakersmann
f914f1a746
Added "Core" to copyright headers
...
Github-Pull: #5494
Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
2014-12-19 19:55:32 +01:00
Michael Ford
72fb3d295a
Update comments in src/rpc* to be doxygen compatible
2014-11-20 10:19:39 +08:00
Gavin Andresen
a8b2ce557d
regression test only setmocktime RPC call
2014-11-17 10:33:49 -05:00
Wladimir J. van der Laan
5b9d1e10a8
Merge pull request #4863
...
1a61396 fix missing gettransaction entries in rpcclient (Benedict Chan)
57e1716 update rpc help message for gettransaction to add includeWatchonly param (Benedict Chan)
2014-09-17 13:05:41 +02:00
Benedict Chan
1a613963e1
fix missing gettransaction entries in rpcclient
2014-09-16 11:12:01 +00:00
imharrywu
e9992fb645
remove include of chainparams.h
...
chainparams.h has not been used in this cpp file already, consider to remove it for clean.
2014-09-16 15:53:04 +08:00
Philip Kaufmann
611116d4e3
header include cleanup
...
- ensures alphabetical ordering for includes etc. in source file headers
2014-09-14 12:43:56 +02:00
Cozz Lovan
ebdcc360b6
Add helptexts for -whitelist and rpc prioritisetransaction and switch to bitcoin instead of satoshis
2014-07-15 05:20:52 +02:00
JaSK
0fa2f8899a
added includedWatchonly argument to listreceivedbyaddress/...account
2014-07-02 15:48:39 +02:00
JaSK
f87ba3df64
added includeWatchonly argument to 'gettransaction' because it affects balance calculation
2014-07-02 15:48:39 +02:00
JaSK
d7d5d23b77
Added argument to listtransactions and listsinceblock to include watchonly addresses
2014-07-02 15:48:39 +02:00
JaSK
83f3543f20
Added argument to listaccounts to include watchonly addresses
2014-07-02 15:48:38 +02:00
JaSK
d4640d7d8c
Added argument to getbalance to include watchonly addresses and fixed errors in balance calculation.
2014-07-02 15:48:38 +02:00
Pieter Wuille
c8988460a2
Add support for watch-only addresses
...
Changes:
* Add Add/Have WatchOnly methods to CKeyStore, and implementations
in CBasicKeyStore.
* Add similar methods to CWallet, and support entries for it in
CWalletDB.
* Make IsMine in script/wallet return a new enum 'isminetype',
rather than a boolean. This allows distinguishing between
spendable and unspendable coins.
* Add a field fSpendable to COutput (GetAvailableCoins' return type).
* Mark watchonly coins in listunspent as 'watchonly': true.
* Add 'watchonly' to validateaddress, suppressing script/pubkey/...
in this case.
Based on a patch by Eric Lombrozo.
Conflicts:
src/qt/walletmodel.cpp
src/rpcserver.cpp
src/wallet.cpp
2014-07-02 15:48:37 +02:00
Jeff Garzik
e35b37b1b8
RPC client: Simplify command line string-to-JSON-value conversion code
...
By default, all command line parameters are converted into JSON string
values. There is no need to manually specify the incoming type.
A binary decision "parse as string or JSON?" is all that's necessary.
Convert to a simple class, initialized at runtime startup, which offers
a quick lookup to answer "parse as JSON?" conversion question.
Future parameter conversions need only to indicate the method name
and zero-based index of the parameter needing JSON parsing.
2014-06-26 22:18:30 -04:00
Luke Dashjr
2a72d4591f
JSON-RPC method: prioritisetransaction <txid> <priority delta> <priority tx fee>
...
Accepts the transaction into mined blocks at a higher (or lower) priority
2014-06-26 11:49:46 +00:00
Wladimir J. van der Laan
b750cf1fb9
Remove cli functionality from bitcoind
...
As it says on the tin. It was deprecated in version 0.9, and
at some point it should be removed.
Removes the dependency of bitcoind on libbitcoin-cli.a. Move
some functions that used to be shared but are now only used in
bitcoin-cli.cpp to that file.
After this change, an error is printed (and exit code 1 is returned)
when the user tries to send RPC commands using bitcoind.
2014-06-15 15:38:22 +02:00
Jeff Garzik
0cafb63025
bitcoin-cli, rpcclient: prefer EXIT_FAILURE cstdlib constant
...
A more complex construction via abs() yields the same end result.
Rebased-From: 34ff109
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com >
2014-06-15 14:47:04 +02:00