Open
Description
As is, when running a neutrino node, the only way a user can really keep track of what's going on is to check out the logs. Other than that, they aren't able to add new peers, fetch filters/headers manually, re-trigger a rescan, etc. In order to enhance the external facing capabilities of neutrino, we shoul dadd a new sub-server that's online all the time, but only "available" when the neutrino client mode is actually activated.
Steps To Completion
- Create a new neutrino-specific sub-server that is always online and has a method that allows (or maybe we add it to the existing state RPC?) users to query to see if neutrino backend is active or not.
-
A non-exhaustive list of relevant calls to add includes the following:
- adding/disconnecting peers
- checking the current block height
- fetching filters, blocks, and block headers
- triggering a rescan for a specific address/script
- query into internal rescan/filter/notification state
- start/stop automated broadcast of certain transactions