Skip to content

Remove the SynState endpoint #1591

@bobbinth

Description

@bobbinth

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.

Metadata

Metadata

Assignees

Labels

rpcRelated to the RPC component

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions