Documentation ¶
Index ¶
- func NewConstants(proto *tz.ProtocolHash) (constants core.Constants, err error)
- func NewDelegateInfo(proto *tz.ProtocolHash) (delegate core.DelegateInfo, 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 *tz.ProtocolHash) (constants core.Constants, err error)
func NewDelegateInfo ¶
func NewDelegateInfo(proto *tz.ProtocolHash) (delegate core.DelegateInfo, err error)
Types ¶
type AttestationSignRequest ¶
type AttestationSignRequest struct { Chain *tz.ChainID Branch *tz.BlockHash Operation latest.InlinedEndorsementContents }
func (*AttestationSignRequest) GetChainID ¶
func (r *AttestationSignRequest) GetChainID() *tz.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() *tz.ChainID GetHash() *tz.BlockHash core.BlockHeader }
func NewBlockHeaderInfo ¶
func NewBlockHeaderInfo(proto *tz.ProtocolHash) (BlockHeaderInfo, error)
type BlockInfo ¶
type BlockInfo interface { GetChainID() *tz.ChainID GetHash() *tz.BlockHash GetHeader() core.BlockHeader GetMetadata() tz.Option[core.BlockMetadata] GetOperations() [][]core.OperationsGroup }
func NewBlockInfo ¶
func NewBlockInfo(proto *tz.ProtocolHash) (BlockInfo, error)
type BlockSignRequest ¶
type BlockSignRequest struct { Chain *tz.ChainID BlockHeader latest.UnsignedBlockHeader }
func (*BlockSignRequest) GetChainID ¶
func (r *BlockSignRequest) GetChainID() *tz.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 *tz.ChainID Branch *tz.BlockHash Operation latest.InlinedPreendorsementContents }
func (*PreattestationSignRequest) GetChainID ¶
func (r *PreattestationSignRequest) GetChainID() *tz.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.