Our current SynState endpoint does a bit too much, and I think we should be able to replace it with other existing endpoints. Specifically:
SyncTransactions could be used to get all information about updates performed on a specific set of accounts.
SyncNotes could be used to get information on all "incoming" notes for a specific set of accounts.
SyncNullifiers could be used to get information about the status of the notes that a client produced.
The only thing that I think is missing is the ability to sync chain MMR. So, we may need to add an endpoint for this, but it should be pretty straight-forward.
One open question is whether getting rid of the SyncState endpoint will make things much more difficult on the client. cc @igamigo.
Our current
SynStateendpoint does a bit too much, and I think we should be able to replace it with other existing endpoints. Specifically:SyncTransactionscould be used to get all information about updates performed on a specific set of accounts.SyncNotescould be used to get information on all "incoming" notes for a specific set of accounts.SyncNullifierscould be used to get information about the status of the notes that a client produced.The only thing that I think is missing is the ability to sync chain MMR. So, we may need to add an endpoint for this, but it should be pretty straight-forward.
One open question is whether getting rid of the
SyncStateendpoint will make things much more difficult on the client. cc @igamigo.