Skip to content

neutrino: add distinct Neutrino sub-server #5387

Open
@Roasbeef

Description

@Roasbeef

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3might get fixed, nice to havebeginnerIssues suitable for new developersenhancementImprovements to existing features / behaviourgRPCneutrinoLightweight neutrino backend-typerpcRelated to the RPC interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions