8 Commits
Author SHA1 Message Date
Boris Nagaev 9520a390ed chainrpc: return Unavailable while notifier starts
From v0.20.0-rc3 (commit c6f458e478) onward
the ChainNotifier sub-server may still be initialising when clients attempt
to subscribe, currently resulting in a gRPC Unknown error with a plain-text
message. Change the notifier RPC endpoints to return codes.Unavailable instead
so clients can reliably interpret the condition as "retry later" and handle
the startup lag without unstable string matching.
2025-11-06 21:58:46 -03:00
Boris Nagaev acd296e760 chainrpc: fix description of several methods
They pointed to a non-existing type ChainNotifierService. The actual name
of the interface is ChainNotifierServer.
2025-04-08 17:43:23 -03:00
Mohamed Awnallah e636c76300 chore: change register to registered [skip ci] 2024-12-28 23:06:07 +02:00
erik 789c6bac8c multi: replace ioutil.WriteFile 2024-04-25 11:23:31 +02:00
Jonathan Harvey-Buschel c20e4871cd chainrpc+lncli: expose GetBlockHeader + add to CLI 2023-10-27 11:05:27 -04:00
Oliver Gugger 56dba2df03 multi: update linter, fix new issues 2023-06-13 11:58:33 +02:00
ffranr 561bf82985 chainrpc: add chainkit RPC service
New endpoints: GetBlock, GetBestBlock, and GetBlockHash.
2022-12-07 14:50:14 +00:00
ffranr 03f9549f97 chainrpc: generalise chain notifier RPC server name 2022-12-06 12:52:25 +00:00