Documentation
¶
Index ¶
- func NewConstants(proto *mv.ProtocolHash) (constants core.Constants, err error)
- type AttestationSignRequest
- type BlockHeaderInfo
- type BlockInfo
- type BlockSignRequest
- type EndorsementSignRequest
- type GenericOperationSignRequest
- type PreattestationSignRequest
- type PreendorsementSignRequest
- type SignRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConstants ¶
func NewConstants(proto *mv.ProtocolHash) (constants core.Constants, err error)
Types ¶
type AttestationSignRequest ¶
type AttestationSignRequest struct {
Chain *mv.ChainID
Branch *mv.BlockHash
Operation latest.InlinedAttestationContents
}
func (*AttestationSignRequest) GetChainID ¶
func (r *AttestationSignRequest) GetChainID() *mv.ChainID
func (*AttestationSignRequest) GetLevel ¶
func (r *AttestationSignRequest) GetLevel() int32
func (*AttestationSignRequest) GetRound ¶
func (r *AttestationSignRequest) GetRound() int32
func (*AttestationSignRequest) SignRequestKind ¶
func (*AttestationSignRequest) SignRequestKind() string
type BlockHeaderInfo ¶
type BlockHeaderInfo interface {
GetChainID() *mv.ChainID
GetHash() *mv.BlockHash
core.BlockHeader
}
func NewBlockHeaderInfo ¶
func NewBlockHeaderInfo(proto *mv.ProtocolHash) (BlockHeaderInfo, error)
type BlockInfo ¶
type BlockInfo interface {
GetChainID() *mv.ChainID
GetHash() *mv.BlockHash
GetHeader() core.BlockHeader
GetMetadata() mv.Option[core.BlockMetadata]
GetOperations() [][]core.OperationsGroup
}
func NewBlockInfo ¶
func NewBlockInfo(proto *mv.ProtocolHash) (BlockInfo, error)
type BlockSignRequest ¶
type BlockSignRequest struct {
Chain *mv.ChainID
BlockHeader latest.UnsignedBlockHeader
}
func (*BlockSignRequest) GetChainID ¶
func (r *BlockSignRequest) GetChainID() *mv.ChainID
func (*BlockSignRequest) GetLevel ¶
func (r *BlockSignRequest) GetLevel() int32
func (*BlockSignRequest) GetRound ¶
func (r *BlockSignRequest) GetRound() int32
func (*BlockSignRequest) SignRequestKind ¶
func (*BlockSignRequest) SignRequestKind() string
type EndorsementSignRequest ¶
type EndorsementSignRequest = AttestationSignRequest
type GenericOperationSignRequest ¶
type GenericOperationSignRequest latest.UnsignedOperation
func (*GenericOperationSignRequest) SignRequestKind ¶
func (*GenericOperationSignRequest) SignRequestKind() string
type PreattestationSignRequest ¶
type PreattestationSignRequest struct {
Chain *mv.ChainID
Branch *mv.BlockHash
Operation latest.InlinedPreattestationContents
}
func (*PreattestationSignRequest) GetChainID ¶
func (r *PreattestationSignRequest) GetChainID() *mv.ChainID
func (*PreattestationSignRequest) GetLevel ¶
func (r *PreattestationSignRequest) GetLevel() int32
func (*PreattestationSignRequest) GetRound ¶
func (r *PreattestationSignRequest) GetRound() int32
func (*PreattestationSignRequest) SignRequestKind ¶
func (*PreattestationSignRequest) SignRequestKind() string
type PreendorsementSignRequest ¶
type PreendorsementSignRequest = PreattestationSignRequest
type SignRequest ¶
type SignRequest interface {
SignRequestKind() string
}
Click to show internal directories.
Click to hide internal directories.