Skip to content

add address book pruning #5491

@acud

Description

@acud

in the recent changes done in the addressbook, a wrapping data structure was added to indicate whether a bzz address was previously verified.

this type should be expanded to add a last seen timestamp. this timestamp should be updated every time we see the overlay over hive or in kademlia.

once an address is not seen for over a month - we can remove it from the address book (check on startup). this probably needs a migration that would set all existing addresses to seen now()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions