-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
C:rpcComponent: JSON RPC, gRPCComponent: JSON RPC, gRPCT:enhancementType: EnhancementType: Enhancement
Milestone
Description
Some apps (example: wallets) typically expect queries like "Get last ten account transactions" to be provided by RPC.
It will be nice to add a reverse param to TxSearch RPC method. There is no need of full scan here, just close dbm iterator after getting required tx count.
Also: Why TxIndex.Search() doesn't accept params from original rpc query? We can improve performance here just by loading only required tx count.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C:rpcComponent: JSON RPC, gRPCComponent: JSON RPC, gRPCT:enhancementType: EnhancementType: Enhancement