Documentation
¶
Overview ¶
Package contradiction package provides functions to determin contradiction between 2 block headers as defined in LIP-0014.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreDistinctHeadersContradicting ¶
func AreDistinctHeadersContradicting(b1, b2 BFTPartialBlockHeader) bool
Types ¶
type BFTBlockHeader ¶
type BFTBlockHeader interface { BFTPartialBlockHeader ID() []byte }
func NewBFTBlockHeader ¶
func NewBFTBlockHeader(header blockchain.SealedBlockHeader) BFTBlockHeader
Click to show internal directories.
Click to hide internal directories.