Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoPrivacyUpgradeDeadline = errors.New("no privacy upgrade deadline for commitment")
)
Functions ¶
func GetDeadlineToUpgradePrivacy ¶
func GetDeadlineToUpgradePrivacy(ctx context.Context, data code_data.Provider, commitmentRecord *commitment.Record) (*time.Time, error)
GetDeadlineToUpgradePrivacy figures out at what point in time the temporary private transfer to the commitmetn vault should be played out. If no deadline exists, then ErrNoPrivacyUpgradeDeadline is returned.
todo: move this someplace more common?
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.