lp181

package
v1.22.49 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

LP181 implements the epoch logic specified here: https://github.com/luxfi/LPs/blob/main/LPs/181-p-chain-epoched-views/README.md

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEpoch

func NewEpoch(
	upgrades upgrade.Config,
	parentPChainHeight uint64,
	parentEpoch block.Epoch,
	parentTimestamp time.Time,
	childTimestamp time.Time,
) block.Epoch

NewEpoch returns a child block's epoch based on its parent.

Types

This section is empty.

Jump to

Keyboard shortcuts

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