HIP-372: Entity Auto-Renewals and Expiry Window Source

AuthorLeemon Baird, Nosh Mody, Quan Nguyen
Discussions-Tohttps://github.com/hashgraph/hedera-improvement-proposal/discussions/382
StatusAccepted
Needs Council ApprovalYes
Review period endsMon, 21 Mar 2022 07:00:00 +0000
TypeStandards Track
CategoryService
Created2022-03-01
Updated2022-04-11
Replaces 16

Abstract

Slight modifications of the auto-renewal duration window compared to the original HIP-16.

Motivation

The original HIP-16 mentions the auto renewal duration between ~81 days and ~92 days. The rationale was to provide a wider window for the auto-renew duration periodfor better flexibility.

Rationale

Refer to HIP-16.

User stories

Refer to HIP-16.

Specification

The minimum auto-renew period will be equal to ~30 days (2,592,000 seconds), and the max auto-renew durtaion will remain equal to ~92 days (8,000,001 seconds).

Backwards Compatibility

This feature is not enabled on the Mainnet and should therefore be backwards compatible.

Security Implications

N/A

How to Teach This

Implementation of this feature will be referenced in release notes, supported by SDKs, as well as supported at docs.hedera.com.

Reference Implementation

The reference implementation change from the original HIP-16 is modifying ledger.autoRenewPeriod.minDuration from ~81 days to 30 days.

ledger.autoRenewPeriod.maxDuration=8000001 seconds // ~92 days 
ledger.autoRenewPeriod.minDuration=2592000 seconds // ~30 days

Rejected Ideas

N/A

Open Issues

N/A

References

HIP-16: https://hips.hedera.com/hip/hip-16

Copyright/license

This document is licensed under the Apache License, Version 2.0 – see LICENSE or (https://www.apache.org/licenses/LICENSE-2.0)

Citation

Please cite this document as: