protogo

package
v2.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFabricBlockheader        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFabricBlockheader          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFabricBlockheader = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSpvRemoteconfig        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSpvRemoteconfig          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSpvRemoteconfig = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type FabricBlockHeader

type FabricBlockHeader struct {
	ChainId      string `protobuf:"bytes,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
	Number       uint64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	PreviousHash []byte `protobuf:"bytes,3,opt,name=previousHash,proto3" json:"previousHash,omitempty"`
	DataHash     []byte `protobuf:"bytes,4,opt,name=dataHash,proto3" json:"dataHash,omitempty"`
}

func (*FabricBlockHeader) Descriptor

func (*FabricBlockHeader) Descriptor() ([]byte, []int)

func (*FabricBlockHeader) GetChainId

func (m *FabricBlockHeader) GetChainId() string

func (*FabricBlockHeader) GetDataHash

func (m *FabricBlockHeader) GetDataHash() []byte

func (*FabricBlockHeader) GetNumber

func (m *FabricBlockHeader) GetNumber() uint64

func (*FabricBlockHeader) GetPreviousHash

func (m *FabricBlockHeader) GetPreviousHash() []byte

func (*FabricBlockHeader) Marshal

func (m *FabricBlockHeader) Marshal() (dAtA []byte, err error)

func (*FabricBlockHeader) MarshalTo

func (m *FabricBlockHeader) MarshalTo(dAtA []byte) (int, error)

func (*FabricBlockHeader) MarshalToSizedBuffer

func (m *FabricBlockHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FabricBlockHeader) ProtoMessage

func (*FabricBlockHeader) ProtoMessage()

func (*FabricBlockHeader) Reset

func (m *FabricBlockHeader) Reset()

func (*FabricBlockHeader) Size

func (m *FabricBlockHeader) Size() (n int)

func (*FabricBlockHeader) String

func (m *FabricBlockHeader) String() string

func (*FabricBlockHeader) Unmarshal

func (m *FabricBlockHeader) Unmarshal(dAtA []byte) error

func (*FabricBlockHeader) XXX_DiscardUnknown

func (m *FabricBlockHeader) XXX_DiscardUnknown()

func (*FabricBlockHeader) XXX_Marshal

func (m *FabricBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FabricBlockHeader) XXX_Merge

func (m *FabricBlockHeader) XXX_Merge(src proto.Message)

func (*FabricBlockHeader) XXX_Size

func (m *FabricBlockHeader) XXX_Size() int

func (*FabricBlockHeader) XXX_Unmarshal

func (m *FabricBlockHeader) XXX_Unmarshal(b []byte) error

type RemoteConfig

type RemoteConfig struct {
	ChainId  string `protobuf:"bytes,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
	HashType string `protobuf:"bytes,2,opt,name=hashType,proto3" json:"hashType,omitempty"`
}

RemoteConfig contains chain id and hash type

func (*RemoteConfig) Descriptor

func (*RemoteConfig) Descriptor() ([]byte, []int)

func (*RemoteConfig) GetChainId

func (m *RemoteConfig) GetChainId() string

func (*RemoteConfig) GetHashType

func (m *RemoteConfig) GetHashType() string

func (*RemoteConfig) Marshal

func (m *RemoteConfig) Marshal() (dAtA []byte, err error)

func (*RemoteConfig) MarshalTo

func (m *RemoteConfig) MarshalTo(dAtA []byte) (int, error)

func (*RemoteConfig) MarshalToSizedBuffer

func (m *RemoteConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RemoteConfig) ProtoMessage

func (*RemoteConfig) ProtoMessage()

func (*RemoteConfig) Reset

func (m *RemoteConfig) Reset()

func (*RemoteConfig) Size

func (m *RemoteConfig) Size() (n int)

func (*RemoteConfig) String

func (m *RemoteConfig) String() string

func (*RemoteConfig) Unmarshal

func (m *RemoteConfig) Unmarshal(dAtA []byte) error

func (*RemoteConfig) XXX_DiscardUnknown

func (m *RemoteConfig) XXX_DiscardUnknown()

func (*RemoteConfig) XXX_Marshal

func (m *RemoteConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoteConfig) XXX_Merge

func (m *RemoteConfig) XXX_Merge(src proto.Message)

func (*RemoteConfig) XXX_Size

func (m *RemoteConfig) XXX_Size() int

func (*RemoteConfig) XXX_Unmarshal

func (m *RemoteConfig) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL