New Dispute on Trade (sending Dispute with Trade object deep embedded)
Dispute State Update
Trade Phase Updates
Wallet Transaction Received (Or I think there is a PayoutState which might be more appropriate to send each time it changes)
My understanding is there is 2 ways of paying into the wallet, 1 is via a funding wallet and the other is by the primary or stealth addresses oft that primary. Notifications for situations where a user has deposited money in, outside of a Haveno trade, should receive a notifications also.
Trade Payout State (sending Trade object deep)
It would be good where appropriate to send the full proto to Json buffer deeply, containing all properties, this avoids having to poll the gRPC necessarily after getting a notification. Something to consider is that this implementation may have been originally intended as notifications the user would 'see' as a push notification and no necessarily helping with state updates for the app :P
So maybe building a separate model rather than implementing to NotificationsListener perhaps a StateListener with separate endpoints, just a thought!
Let me know what you think or if it's too much, not sure what this means in terms of load?
Add a notifications for the following:
It would be good where appropriate to send the full proto to Json buffer deeply, containing all properties, this avoids having to poll the gRPC necessarily after getting a notification. Something to consider is that this implementation may have been originally intended as notifications the user would 'see' as a push notification and no necessarily helping with state updates for the app :P
So maybe building a separate model rather than implementing to NotificationsListener perhaps a StateListener with separate endpoints, just a thought!
Let me know what you think or if it's too much, not sure what this means in terms of load?