Event hooks built into Nano node?

Off the top of my head I don't see why not. Ideally a node operator would be able to set a custom list of [(address, eventhandler), ...]. Whenever the node adds a block to a watched address it sends a notification to the custom event handler with the block details.

The motivation would be to simplify payment processing and eliminate the need for polling the node for account changes.

5 Likes

Even better! Thank you Colin