Guilherme de Paula
5acfa4c81b
rpcserver: add GetBlockStats
2022-09-20 23:59:57 -07:00
Roy Lee
c5193e74ac
rpc: support hex data output for createrawtransaction
2022-09-14 18:41:04 -07:00
Roy Lee
2d04d31894
rpc: implement rescanblockchain rpcclient
2022-08-31 18:32:49 -07:00
Roy Lee
98e5771989
rpc: implement setban, lisnbanned, clearbanned RPCs
2022-08-14 21:26:27 -07:00
Roy Lee
e323751218
ci: gofmt with go 1.19
...
Go 1.19 introduces various updates to gofmt.
2022-08-07 23:40:53 -07:00
Roy Lee
6b0e7592c6
btcjson: remove WebsocketOnly for wallet extension RPCs
2022-07-29 12:10:53 -07:00
Jonathan Moody
daa3137dc4
[rpc blockchain] Add support for mediantime, chainwork to RPC getblock.
2022-07-27 10:41:24 -07:00
Jonathan Moody
eefb1260eb
[rpc mempool] Correct comment BTC -> LBC.
2022-07-18 17:17:56 -07:00
Jonathan Moody
abb1b8b388
[rpc mempool] Add support for unbroadcastcount to RPC getmempoolinfo.
2022-07-18 17:17:56 -07:00
Jonathan Moody
13e31d033a
[rpc mempool] Add support for usage, total_fee, mempoolminfee, minrelaytxfee to RPC getmempoolinfo.
2022-07-18 17:17:56 -07:00
Roy Lee
fae4063046
rpc: remove deprecated and unimplemented 'move'
2022-07-14 15:45:06 -07:00
Roy Lee
8d1005706b
rpc: remove deprecated and unimplemented 'setaccount'
2022-07-14 15:43:35 -07:00
Roy Lee
3a179a0eee
[lbry] rpc: un-embedded attributes in getaddressinfo result
...
lbcwallet failed to re-generate RPC help message.
The help message generator doesn't handle embedded fields properly.
2022-07-05 20:12:27 -07:00
Roy Lee
43d3086ce1
[lbry] mempool: update getrawmempool and implement getmempoolentry
...
TODO::
1. Populate Ancestor and decsendent related fields instead of mocking.
2. Move and refator the implementation of getmempoolentry to the mempool
package.
2022-05-24 00:04:19 -07:00
Roy Lee
d99883a620
[lbry] btcjson: take integers for boolean parameters.
...
This is for backward compatibility with lbrycrd/bitcoind where some clients
use intger values (0/1) for boolean.
2022-05-24 00:04:19 -07:00
Roy Lee
a7f971f404
[lbry] rpc: update getrawtransaction to take verbose as boolean
2022-05-24 00:04:19 -07:00
Brannon King
4dd4505706
[lbry] docs: update docs for LBRY
...
Co-authored-by: Roy Lee <roylee17@gmail.com>
2022-05-24 00:01:46 -07:00
Brannon King
a07bb527df
[lbry] test: fixed all current tests and delete three.
...
Co-authored-by: Roy Lee <roylee17@gmail.com>
2022-05-24 00:01:46 -07:00
Brannon King
023aa5d6b0
[lbry] btcjson: added optional address type for getnewaddress
2022-05-24 00:01:45 -07:00
Brannon King
de2a548207
[lbry] btcjson: ladded claim related fields for wallet
2022-05-24 00:01:45 -07:00
Brannon King
1ea849d509
[lbry] rpc: added getchaintips RPC
...
remove btcjson dep in chainquery
2022-05-24 00:01:45 -07:00
Brannon King
5116f45617
[lbry] rpc: fix getblock reponse
2022-05-24 00:01:45 -07:00
Brannon King
3d8f36a505
[lbry] rpc: output segwit rule
2022-05-24 00:01:45 -07:00
Brannon King
6834591d52
[lbry] rpc: support claim related methods
2022-05-23 23:53:30 -07:00
Roy Lee
45627c7a6a
[lbry] rename btcd to lbcd
...
Co-authored-by: Brannon King <countprimes@gmail.com>
2022-05-23 23:53:30 -07:00
Roy Lee
3dc91f1295
[lbry] blockchain, wire: add ClaimTrie to Block Header
2022-05-23 23:53:29 -07:00
Gabriel Nasr
505915dc3f
btcjson: Update WalletCreateFundedPsbtOpts.FeeRate from *int64 to *float64
2021-06-25 15:23:44 -03:00
Aurèle Oulès
2d7825cf70
btcjson: Updated TxRawResult.Version from int32 to uint32
2021-04-13 15:21:09 -04:00
Jake Sylvestre
d08785547a
docs: update shields
2021-03-05 07:45:19 -05:00
Jake Sylvestre
2a1aa5129e
Add Batch JSON-RPC support (rpc client & server)
2021-02-09 09:47:46 -05:00
Steven Kreuzer
7bbd9b0284
btcjson: Update fields in GetBlockChainInfoResult
...
Update the fields of GetBlockChainInfoResult to reflect the current state of
the RPC returned by other full-node implementations.
* InitialBlockDownload - Node is in Initial Block Download mode if True.
* SizeOnDisk - The estimated size of the block and undo files on disk.
2021-01-26 09:52:38 -05:00
Vinayak Borkar
c3ece697da
Fixes btcsuite/btcd#1653
2021-01-18 13:51:45 -05:00
Oliver Gugger
9e8bb3eddb
btcjson+rpcserverhelp: restore bitcoind compatibility
...
The PR #1594 introduced a change that made the order of parameters
relevant, if one of them is nil. This makes it harder to be backward
compatible with the same JSON message if an existing parameter in
bitcoind was re-purposed to have a different meaning.
2020-11-12 15:47:51 +01:00
Anirudha Bose
535f25593d
rpcclient: implement createwallet with functional options
2020-10-26 14:54:05 -04:00
Anirudha Bose
5e56ca05e1
btcjson: add new JSON-RPC errors and document them
2020-10-26 09:35:46 -04:00
Torkel Rogstad
1d75e0a885
rpcclient: add more wallet commands
...
Implement backupwallet, dumpwallet, loadwallet and unloadwallet.
2020-10-26 09:34:56 -04:00
David Mazary
6adfc07d1e
Unmarshal hashes/second as float in GetMiningInfoResult
2020-10-26 09:33:28 -04:00
Anirudha Bose
6519c04a6f
rpcclient: implement gettxoutsetinfo command
2020-10-05 10:03:47 -04:00
Henry Fisher
584c382334
rpc: add signrawtransactionwithwallet interface
...
Adds interface for issuing a signrawtransactionwithwallet command.
Note that this does not add functionality for the btcd rpc server
itself, it simply assumes that the RPC client has this ability and gives
an API for interacting with the RPC client.
rpc: add signrawtransactionwithwallet interface
2020-10-05 09:56:12 -04:00
Anirudha Bose
0bf42f4476
rpcserver: add txid to getblocktemplate response
2020-10-05 09:55:45 -04:00
Anirudha Bose
e9a51e8dcd
rpcclient: implement getwalletinfo command
2020-09-25 12:18:06 -04:00
Anirudha Bose
ac3f235eb9
rpcclient: implement getaddressinfo command
...
Fields such as label, and labelspurpose are not included, since they
are deprecated, and will be removed in Bitcoin Core 0.21.
2020-09-21 09:47:58 -04:00
Elliott Minns
6daaf73544
GetBlockTemplate RPC client implementation ( #1629 )
...
* GetBlockTemplate RPC client implementation
* Txid added to the getblocktemplate result
* Omitempty for TxID and improved comment for GetBlockTemplate 'rules' field
2020-09-21 09:42:35 -04:00
Anirudha Bose
f4024160f3
btcjson: add test for null params in searchrawtransactions
...
Closes PR #1476 .
2020-09-21 09:42:09 -04:00
Anirudha Bose
c693bd8bc5
rpcclient: add deriveaddresses RPC command
2020-09-14 10:30:47 -04:00
Andrew Tugarinov
5ae1f21cd9
Added ListSinceBlockMinConfWatchOnly method.
2020-09-14 09:48:40 -04:00
Federico Bond
6f49f1f194
btcjson,rpcclient: add support for PSBT commands to rpcclient
2020-09-14 09:37:27 -04:00
Mikael Lindlof
fff96610aa
rpc: Add getnodeaddresses JSON-RPC support
...
Add NodeAddresses function to rpcserverConnManager
interface for fetching known node addresses.
2020-09-14 09:36:05 -04:00
Mikael Lindlof
eb05726dac
Nullable optional JSON-RPC parameters
...
Fix command marshalling dropping params following params with nil value.
#1591 Allow specifying null parameter value from command line.
2020-09-08 10:01:44 -04:00
Anirudha Bose
3b926ef77b
btcjson: update ListTransactionsResult for Bitcoin 0.20.0
...
This only adds new fields as optional, in order to make this change
backwards compatible with older versions of Bitcoin Core.
2020-09-08 09:51:20 -04:00