Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFraudExtHeader ¶
func CreateFraudExtHeader( t *testing.T, eh *header.ExtendedHeader, ) *header.ExtendedHeader
Types ¶
type FraudMaker ¶
type FraudMaker struct {
// contains filtered or unexported fields
}
FraudMaker allows to produce an invalid header at the specified height in order to produce the BEFP.
func NewFraudMaker ¶
func NewFraudMaker(t *testing.T, height int64, vals []types.PrivValidator, valSet *types.ValidatorSet) *FraudMaker
func (*FraudMaker) MakeExtendedHeader ¶
func (f *FraudMaker) MakeExtendedHeader(odsSize int, edsStore *store.Store) header.ConstructFn
Click to show internal directories.
Click to hide internal directories.