Skip to content

Order Sync* Requests fields #1203

@SantiagoPittella

Description

@SantiagoPittella

I think we should adapt a convention where all "sync" requests specify block from/to as the first two fields. For this message this would look something like:

message CheckNullifiersByPrefixRequest {
    fixed32 block_from = 1;
    optional fixed32 block_to = 2;
    uint32 prefix_len = 3;
    repeated uint32 nullifiers = 3;
}

This is already the case for SyncStorageMapsRequest and SyncAccountVaultRequest, and we should make it the same for SyncNotesRequest (in a different PR - let's make an issue for this).

Originally posted by @bobbinth in #1191 (comment)

Metadata

Metadata

Labels

rpcRelated to the RPC component

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions