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
98e5771989
rpc: implement setban, lisnbanned, clearbanned RPCs
2022-08-14 21:26:27 -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
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
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
Brannon King
6c0360fa42
[lbry] rpcserver: made estimatesmartfee call estimatefee (for now)
2022-05-24 00:01:45 -07:00
Roy Lee
64884458f9
[lbry] rpc, mining: fix generatetoaddress
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
73d8f4762f
[lbry] rpc: import invalidate/reconsiderblock from bchd
2022-05-24 00:01:45 -07:00
Brannon King
81862c664e
[lbry] rpc: import getnetworkinfo from bchd
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
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
Calvin Kim
b3e6bd6161
rpcserverhelp: Remove extra period for gettxout--synopsis
2021-07-27 10:27:50 -04: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
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
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
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
d2c0123bef
Implement signmessagewithprivkey JSON-RPC command
...
Reuse the Bitcoin message signature header const
also in verifymessage.
2020-08-31 10:12:54 -04:00
Anirudha Bose
7145eef75b
rpcserver: add parity with bitcoind for validateaddress
...
Updated the rpcserver handler for validateaddress JSON-RPC command to
have parity with the bitcoind 0.20.0 interface.
The new fields included are - isscript, iswitness, witness_version, and
witness_program. The scriptPubKey field has been left out since it
requires wallet access.
This update has no impact on the rpcclient.ValidateAddress method,
which uses the btcjson.ValidateAddressWalletResult type for modelling
the response from bitcoind.
2020-08-31 09:58:27 -04:00
Olaoluwa Osuntokun
9a88e1dd33
Merge pull request #1575 from dajohi/clean
...
build: multiple cleanups
2020-05-15 15:47:01 -07:00
Henry
d38279ee74
btcjson: change getblock default verbosity to 1
...
This change makes btcd's getblock command match bitcoind's. Previously
the default verbosity was 0, which caused errors when using the
rpcclient library to connect to a bitcoind node - getblock would
unmarshall incorrectly since it didn't expect a verbosity=1 result when
it did not specify verbosity.
2020-05-14 17:27:59 -07:00
David Hill
f7399e6157
build: clean linter warnings
2020-05-13 08:58:39 -04:00
jalavosus
a310aa6e74
All tests pass
2020-03-05 06:48:26 -05:00
Wilmer Paulino
e2e5cc694d
btcjson+rpcclient: support new bitcoind sendrawtransaction request
2019-11-08 17:53:46 -08:00
Wilmer Paulino
266851e329
btcjson+rpcclient: support new unified softfork bitcoind format
2019-11-05 16:28:33 -08:00
preminem
e3d3088b80
btcjson+rpc: expose a transaction's weight via RPC
2019-09-25 17:19:03 -07:00
Olaoluwa Osuntokun
942116c5ae
rpc: remove extended fitler from help
2018-07-06 16:15:23 -07:00
Olaoluwa Osuntokun
4cb1c950e0
rpc: add help for new gcs commands
2018-05-23 16:46:15 -07:00
Olaoluwa Osuntokun
5596b63846
multi: fix linter warnings
2018-05-23 16:46:15 -07:00
Daniel Krawisz
4fd446028f
Enable estimatefee rpc command.
2018-05-23 16:46:15 -07:00
pedro martelletto
6e5f650be9
CBFilter -> CFilter, discussed with davec@
2018-05-23 16:46:15 -07:00
pedro martelletto
cd7857b883
GetCBFilter RPC returns a string, not a []byte
2018-05-23 16:46:15 -07:00
pedro martelletto
76378e7167
Add a GetCBFilter RPC command
2018-05-23 16:46:15 -07:00
Nicola 'tekNico' Larosa
11fcd83963
btcd/multi: fix a number of typos in comments.
2018-01-25 23:23:59 -06:00
Olaoluwa Osuntokun
8b130ec4ea
btcjson: update RPC calls to return segwit related data
2017-08-13 23:17:40 -05:00
Ricardo Velhote
948d80b198
New RPC command to display the uptime of the server
...
Version 0.15.0 of Bitcoin Core will include a new RPC command that will
allow us to obtain the amount of time (in seconds) that the server has
been running.
2017-07-03 00:07:27 +01:00
Alex
47b5478cfc
rpcserver: implement rescanblocks
command backported from dcrd
2017-01-27 15:32:15 -07:00
Alex
4943ed11b3
rpcserver: implement loadtxfilter
backported from dcrd
2017-01-27 15:32:15 -07:00
David Hill
ab0f30c00d
mining: drop getwork support.
...
Since the Midstate is no longer needed, switch to using
crypto/sha256.
2017-01-11 13:51:57 -05:00
Alex
7c44b6472f
Port getheaders
JSON-RPC command from dcrd
2017-01-10 19:11:18 -07:00
Alex
9f962b60d6
Add version
command to JSON-RPC API for API versioning
2016-12-22 14:48:53 -05:00
Olaoluwa Osuntokun
7b0380cdd3
rpcserver: implement the getblockchaininfo RPC call
2016-12-06 16:24:51 -08:00
David Hill
2e93ea6ca6
btcjson: Add versionHex to getblock[header] results
...
rpcserver: Set versionHex in responses.
2016-12-02 12:49:02 -05:00
David Hill
2510baac35
btcd: support feefilter requests.
...
This only adds support for handling remote peer requests.
2016-11-03 14:47:30 -04:00
David Hill
07e1e308f1
rpc: Add localaddr and relaytxes to getpeerinfo
2016-10-19 19:58:50 -04:00
David Hill
403aaf5cf3
rpcserver: avoid nested decodescript p2sh addrs
2016-10-19 13:59:50 -05:00
Dave Collins
f389742b39
multi: Update with result of gofmt -s.
...
This commit updates the code to make use of the most recent simplified
output from gofmt.
2016-02-25 13:02:54 -06:00