listbanned should return the ban duration and time remaining #90

Open
opened 2 years ago by duke · 2 comments
duke commented 2 years ago
Owner

From the BTC 22.0 relnotes:

The listbanned RPC now returns two new numeric fields: ban_duration and time_remaining. Respectively, these new fields indicate the duration of a ban and the time remaining until a ban expires, both in seconds.

This helps easily see if a ban is for the default or a custom duration, and when the ban will end.

From the BTC 22.0 relnotes: The `listbanned` RPC now returns two new numeric fields: `ban_duration` and `time_remaining`. Respectively, these new fields indicate the duration of a ban and the time remaining until a ban expires, both in seconds. This helps easily see if a ban is for the default or a custom duration, and when the ban will end.
Poster
Owner

time_remaining will be easy to add, but ban_duration is never stored internally, so that will require more changes.

`time_remaining` will be easy to add, but `ban_duration` is never stored internally, so that will require more changes.
Poster
Owner

time_remaining has been added to the dev branch

`time_remaining` has been added to the `dev` branch
duke added the
feature
label 1 year ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.