Skip to content

Commit c0bcb10

Browse files
committed
docs: update release notes for timestamp filtering
1 parent 2043665 commit c0bcb10

File tree

3 files changed

+12
-15
lines changed

3 files changed

+12
-15
lines changed

cmd/commands/addrs.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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,

docs/release-notes/release-notes-0.7.0.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@
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
@@ -186,6 +189,9 @@
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

itest/addrs_test.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)