async_commitment

package
v1.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 40 Imported by: 0

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?

func New

func New(data code_data.Provider) async.Service

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL