Notifications from client/wallet



Summary:

The proposal aims to add notifications to the client and wallet, to decouple UI and core communication. The boost::signal mechanism will be used which is essentially a callback system, allowing decoupled delivery of 'signals' from an object. Multiple other objects can listen in on an event without the emitting object having to care. The proposal provides specific notifications that would be useful for the Wallet and Network client. Notifications for Wallet include balanceChanged(int64), transactionAdded(int256), transactionUpdated(int256), transactionRemoved(int256), addressAdded(int160), addressUpdated(int160), addressRemoved(int160), notification(std::string message, int severity) and askFee(std::string message, ...). Notifications for Network client include numConnectionsChanged(int), numBlocksChanged(int), and notification(std::string message, int severity).


Updated on: 2023-05-26T19:25:25.352842+00:00