getaddresstxids JSON-RPC method #3147
Labels
A-rpc
Area: Remote Procedure Call interfaces
A-state
Area: State / database changes
lightwalletd
any work associated with lightwalletd
Motivation
lightwalletd
uses thegetaddresstxids
JSON-RPC method.This method returns the transaction IDs for both spent and unspent transparent outputs: https://github.com/zcash/zcash/blob/c76b756a688bfa0a4396a45355814cdc9f9a47e3/src/main.cpp#L3170
Requirements
Returned txids are in the order they appear in blocks.
(This ensures that they are topologically sorted.)
Required Fields
The method is documented here: https://zcash.github.io/rpc/getaddresstxids.html
But only the multi-argument format is used by
lightwalletd
: https://github.com/zcash/lightwalletd/blob/631bb16404e3d8b045e74a7c5489db626790b2f6/common/common.go#L97-L102Argument list:
Field list:
Tasks
Implementation:
Use the non-finalized and finalized indexes if they are ready (or an empty list if these tickets are still open):
Testing:
lightwalletd
The text was updated successfully, but these errors were encountered: