Design and implement a RPC call to register a HTTP-JSON-RPC callback, and have it get called when blocks and/or “transactions of interest” occur.
Gavin has already implemented a version of this; unresolved issues are:
- How to specify which transactions are “of interest” ? Transactions to a specific address after A/B/C confirmations? All transactions to (or from?) the wallet? All transactions to (or from?) a specific account?
Note: information reported should be same as gettransaction.
- What information to report about blocks (if any). Perhaps implement a getblock before monitorblock.