Adding callback hooks to the satoshi client



Summary:

The author suggests that a callback architecture could be implemented in applications to handle events related to Bitcoin transactions without requiring access to the wallet space. The author proposes the use of HTTP POST requests to subscribe to specific events such as new transactions or blocks being seen, which is supported by libcoin. Other types of events, including node connections and disconnections, potential attacks, and alerts related to the status of bitcoind, could also be useful.The proposed system would allow for all I/O to be done via IPC or over network sockets, ensuring that other code never needs to enter into the wallet-handling process/memory space. This would make it easier to handle events without requiring direct access to the underlying Bitcoin process.


Updated on: 2023-06-06T03:44:19.560243+00:00