File tree Expand file tree Collapse file tree 3 files changed +12
-15
lines changed Expand file tree Collapse file tree 3 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -284,12 +284,14 @@ var receivesAddrCommand = cli.Command{
284284 Usage : "show transfers of a single address only" ,
285285 },
286286 cli.Uint64Flag {
287- Name : "start_timestamp" ,
288- Usage : "filter transfers created after this unix timestamp (seconds)" ,
287+ Name : "start_timestamp" ,
288+ Usage : "filter transfers created after this + " +
289+ "unix timestamp (seconds)" ,
289290 },
290291 cli.Uint64Flag {
291- Name : "end_timestamp" ,
292- Usage : "filter transfers created before this unix timestamp (seconds)" ,
292+ Name : "end_timestamp" ,
293+ Usage : "filter transfers created before this + " +
294+ "unix timestamp (seconds)" ,
293295 },
294296 },
295297 Action : addrReceives ,
Original file line number Diff line number Diff line change 168168 user to specify a custom amount to send to a V2 address that doesn't have an
169169 amount specified.
170170
171+ - The ` AddrReceives ` RPC now supports timestamp filtering with
172+ [ new ` StartTimestamp ` and ` EndTimestamp ` fields] ( https://github.com/lightninglabs/taproot-assets/pull/1794 ) .
173+
171174## tapcli Additions
172175
173176- [ Rename] ( https://github.com/lightninglabs/taproot-assets/pull/1682 ) the mint
186189 includes unset and zero-valued proto fields (e.g. transaction output indexes).
187190 This ensures consistent output shape across all proto messages.
188191
192+ - The ` tapcli addrs receives ` command now supports
193+ [ new ` --start_timestamp ` and ` --end_timestamp ` flags] ( https://github.com/lightninglabs/taproot-assets/pull/1794 ) .
194+
189195# Improvements
190196
191197## Functional Updates
Original file line number Diff line number Diff line change @@ -1011,17 +1011,6 @@ func testAddrReceives(t *harnessTest) {
10111011 )
10121012 require .NoError (t .t , err )
10131013 require .Len (t .t , resp .Events , 1 )
1014-
1015- // Test 10: Filter by both start and end timestamp with narrow range
1016- // (should return no events)
1017- resp , err = bob .AddrReceives (
1018- ctxt , & taprpc.AddrReceivesRequest {
1019- StartTimestamp : uint64 (timeAfterSend .Unix ()),
1020- EndTimestamp : uint64 (timeAfterSend .Unix ()),
1021- },
1022- )
1023- require .NoError (t .t , err )
1024- require .Len (t .t , resp .Events , 0 )
10251014}
10261015
10271016// sendProof manually exports a proof from the given source node and imports it
You can’t perform that action at this time.
0 commit comments