-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Bitcoind RPC Parity
Jake Sylvestre edited this page Sep 25, 2020
·
14 revisions
Below is a comparison of bitcoind and btcd from rpc perspective. There has been much discussion on methods that should not be ported here, but for the most part, parity is desirable - especially in the rpcclient.
Note: A bunch of these probably are as simple as a command name change (e.g. account->label in wallet rpc's). These are included anyway
X marks a feature is complete.
| Method | Server | Client | PR (Client) | PR (Server) | Issue |
|---|---|---|---|---|---|
| getbestblockhash | x | x | |||
| getblock | x | x | |||
| getblockchaininfo | x | x | #1630 | ||
| getblockcount | x | x | |||
| getblockfilter | |||||
| getblockhash | x | x | |||
| getblockheader | x | x | |||
| getblockstats | x | #1630 | |||
| getchaintips | x | ||||
| getchaintxstats | x | ||||
| getdifficulty | x | x | |||
| getmempoolancestors | |||||
| getmempooldescendants | |||||
| getmempoolentry | x | #1522 | |||
| getmempoolinfo | x | x | #1586 | ||
| getrawmempool | x | x | |||
| gettxout | x | x | |||
| gettxoutproof | |||||
| gettxoutsetinfo | x | ||||
| preciousblock | x | ||||
| pruneblockchain | |||||
| savemempool | |||||
| scantxoutset | |||||
| verifychain | x | x | |||
| verifytxoutproof | x |
| Method | Server | Client | PR (Client) | PR (Server) | Issue |
|---|---|---|---|---|---|
| getmemoryinfo | |||||
| getrpcinfo | |||||
| help | x | x | |||
| logging | |||||
| stop | x | x | |||
| uptime | x | x |
| Method | Server | Client | PR (Client) | PR (Server) | Issue |
|---|---|---|---|---|---|
| getblocktemplate | x | x | |||
| getmininginfo | x | x | |||
| getnetworkhashps | x | x | |||
| prioritisetransaction | |||||
| submitblock | x | x | |||
| submitheader |
| Method | Server | Client | PR (Client) | PR (Server) | Issue |
|---|---|---|---|---|---|
| addnode | x | x | |||
| clearbanned | |||||
| disconnectnode | |||||
| getaddednodeinfo | x | x | This is implemented, but appears to have a bug fixed by #800 | ||
| getconnectioncount | x | x | |||
| getnettotals | x | x | |||
| getnetworkinfo | x | x | |||
| getnodeaddresses | #1590 | #1590 | |||
| getpeerinfo | x | x | |||
| listbanned | |||||
| ping | x | x | |||
| setban | |||||
| setnetworkactive |
| Method | Server | Client | PR (Client) | PR (Server) | Issue |
|---|---|---|---|---|---|
| analyzepsbt | |||||
| combinepsbt | |||||
| combinerawtransaction | |||||
| converttopsbt | |||||
| createpsbt | |||||
| createrawtransaction | x | x | |||
| decodepsbt | |||||
| decoderawtransaction | x | x | |||
| decodescript | x | x | |||
| finalizepsbt | |||||
| fundrawtransaction | x | ||||
| getrawtransaction | x | x | |||
| joinpsbts | |||||
| sendrawtransaction | x | ||||
| signrawtransactionwithkey | |||||
| testmempoolaccept | x | x | |||
| utxoupdatepsbt | x | x |
| Method | Server | Client | PR (Client) | PR (Server) | Issue |
|---|---|---|---|---|---|
| createmultisig | |||||
| deriveaddresses | x | ||||
| estimatesmartfee | x | ||||
| getdescriptorinfo | #1578 | ||||
| signmessagewithprivkey | #1585 | ||||
| validateaddress | x | x | |||
| verifymessage | x | x |
Note: server is not applicable here since that's in a different repo, I've also left Issue blank on these since issues are scattered across repos. I've left the column here so we can add in as we go
_Note: server is not applicable here since btcd does not implement zmq
| Method | Client | PR (Client) | Issue |
|---|---|---|---|
| getzmqnotifications | #1587 |