The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
woop/block/v3/header.go

17 lines
321 B

package v3
import (
"github.com/harmony-one/harmony/block/v2"
)
// Header v3 has the same structure as v2 header
// It is used to identify the body v3 which including staking txs
type Header struct {
v2.Header
}
// NewHeader creates a new header object.
func NewHeader() *Header {
return &Header{*v2.NewHeader()}
}