RPC registration and management of notification hooks, callbacks, etc. #5873

issue kanzure opened this issue on March 10, 2015
  1. kanzure commented at 1:08 AM on March 10, 2015: contributor

    As discussed recently in #bitcoin-dev (in tandem with the webhooks conversation), there may be some benefit to using remote procedure calls for registering notification hooks rather than loading the values from config.

    Perhaps the notification system could become more defined. With the upcoming zeromq patch, and the existing statoshi (statsd (metrics)) branch, and the existing notification hooks (blocknotify, walletnotify, alertnotify), there may be an increase in the number of events or the number of actions to dispatch upon their occurrence. Managing these details through RPC seems reasonable. I don't really see the existing config file working forever on this front.

    There was also a recent proposal regarding webhooks, which ideally would be registered using the same RPCs. Most of the situations where there is an HTTP server available are also situations where a small dispatch wrapper script can be written, so I don't really have a good reason for proposing this other than it may reduce integration friction for others. But should that ever happen, then sandboxing the webhook HTTP client into a separate process would be prudent.

  2. laanwj added the label Brainstorming on Feb 9, 2016
  3. laanwj added the label RPC on Feb 16, 2016
  4. MarcoFalke commented at 8:11 PM on April 24, 2020: member

    Closing for now due to lack of interest.

  5. MarcoFalke closed this on Apr 24, 2020

  6. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me