chainrpc: add chainkit RPC service

New endpoints: GetBlock, GetBestBlock, and GetBlockHash.
This commit is contained in:
ffranr committed 2022-12-07 14:50:14 +00:00
1 parent 308e7ce72d
commit 561bf82985
12 files changed
+1450 -7

No files matched your search

+3
View File
@@ -217,6 +217,9 @@ func (s *subRPCServerConfigs) PopulateDependencies(cfg *Config,
subCfgValue.FieldByName("ChainNotifier").Set(
reflect.ValueOf(cc.ChainNotifier),
)
subCfgValue.FieldByName("Chain").Set(
reflect.ValueOf(cc.ChainIO),
)
case *invoicesrpc.Config:
subCfgValue := extractReflectValue(subCfg)