Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

address: add expiration time #480

@oleganza

Description

@oleganza

We should probably add a low-resolution expiration time to the addresses (introduced in #472): for instance, a 16-bit (2-byte) count of days starting from Jan 1, 2020. This gives 1-day resolution between years 2020 and 2199. The compatible software will automatically refuse to send money to addresses that expired allowing the recipients to avoid watching for old addresses and lower their storage requirements. 16 bits adds 3 characters to bech32 encoding of the address (because existing 64 bytes takes 102.4 5-bit characters which is rounded to 103 in present format).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions