Merge pull request #7197 from ffranr/add_chain_rpc_calls

lncli+chainrpc: add chainkit RPC service with endpoints GetBlock, GetBestBlock, GetBlockHash
This commit is contained in:
Oliver Gugger authored and GitHub committed 2022-12-07 17:32:54 +01:00
commit a0385a535b
23 files changed
+1771 -90

No files matched your search

@@ -73,6 +73,11 @@
`ListInvoiceRequest` and
`ListPaymentsRequest`](https://github.com/lightningnetwork/lnd/pull/7159).
* [Add chainkit RPC endpoints](https://github.com/lightningnetwork/lnd/pull/7197):
GetBlock, GetBestBlock, GetBlockHash. These endpoints provide access to chain
block data.
## Wallet
* [Allows Taproot public keys and tap scripts to be imported as watch-only
@@ -205,6 +210,11 @@ certain large transactions](https://github.com/lightningnetwork/lnd/pull/7100).
* [Allow lncli to read binary PSBTs](https://github.com/lightningnetwork/lnd/pull/7122)
from a file during PSBT channel funding flow to comply with [BIP 174](https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki#specification)
* [Add interface to chainkit RPC](https://github.com/lightningnetwork/lnd/pull/7197).
This addition consists of the `chain` subcommand group: `getblock`,
`getblockhash`, and `getbestblock`. These commands provide access to chain
block data.
## Code Health
* [test: use `T.TempDir` to create temporary test