appditto/pippin_nano_wallet

Websocket confirmations only for in-wallet accounts

Opened this issue · 2 comments

The websocket can be setup with options to request confirmations only from some accounts: https://docs.nano.org/integration-guides/websockets/#confirmations

In V21, it is possible to incrementally update the list of accounts with an "update" action.

This would be good because public nodes don't allow block confirmation subscriptions for all blocks so it would be good to setup the per address filtering.

NanoRPCProxy doesn't have the incremental update thing introduced in V21 unfortunately so I think we have to resubscribe with the whole list.