Wladimir [ARCHIVE] on Nostr: 📅 Original date posted:2014-08-08 📝 Original message:On Fri, Aug 8, 2014 at ...
📅 Original date posted:2014-08-08
📝 Original message:On Fri, Aug 8, 2014 at 1:38 PM, Mike Hearn <mike at plan99.net> wrote:
> I'd like to see a mechanism whereby a Bitcoin node can delegate processing
> of unknown messages to an external process, so a P2P node can be composed
> out of separated programs, but such a service would be indistinguishable at
> the network layer from one provided by Bitcoin Core itself, so a service bit
> would be appropriate for those.
This diverges from the topic but seems like a good idea to me in
general, not so much as replacement for jgarzik's proposal.
Something like `getutxos` or this proposal could be implemented as an
external application or script, instead of having to integrate
everything into bitcoind.
Bitcoind would need a local interprocess message bus for that, and
would need to act as router for messages from/to the P2P network.
ZeroMQ seems like a good choice for that. That's not completely crazy
as there are already plans to add zeromq as an optional dependency for
notifications [1].
[1] https://github.com/bitcoin/bitcoin/pull/4594
Wladimir
📝 Original message:On Fri, Aug 8, 2014 at 1:38 PM, Mike Hearn <mike at plan99.net> wrote:
> I'd like to see a mechanism whereby a Bitcoin node can delegate processing
> of unknown messages to an external process, so a P2P node can be composed
> out of separated programs, but such a service would be indistinguishable at
> the network layer from one provided by Bitcoin Core itself, so a service bit
> would be appropriate for those.
This diverges from the topic but seems like a good idea to me in
general, not so much as replacement for jgarzik's proposal.
Something like `getutxos` or this proposal could be implemented as an
external application or script, instead of having to integrate
everything into bitcoind.
Bitcoind would need a local interprocess message bus for that, and
would need to act as router for messages from/to the P2P network.
ZeroMQ seems like a good choice for that. That's not completely crazy
as there are already plans to add zeromq as an optional dependency for
notifications [1].
[1] https://github.com/bitcoin/bitcoin/pull/4594
Wladimir