tendermint: github.com/tendermint/tendermint/proto/tendermint/version Index | Files

package version

import "github.com/tendermint/tendermint/proto/tendermint/version"


Package Files



var (
    ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")

type Consensus Uses

type Consensus struct {
    Block uint64 `protobuf:"varint,1,opt,name=block,proto3" json:"block,omitempty"`
    App   uint64 `protobuf:"varint,2,opt,name=app,proto3" json:"app,omitempty"`

Consensus captures the consensus rules for processing a block in the blockchain, including all blockchain data structures and the rules of the application's state transition machine.

func (*Consensus) Descriptor Uses

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

func (*Consensus) Equal Uses

func (this *Consensus) Equal(that interface{}) bool

func (*Consensus) GetApp Uses

func (m *Consensus) GetApp() uint64

func (*Consensus) GetBlock Uses

func (m *Consensus) GetBlock() uint64

func (*Consensus) Marshal Uses

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

func (*Consensus) MarshalTo Uses

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

func (*Consensus) MarshalToSizedBuffer Uses

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

func (*Consensus) ProtoMessage Uses

func (*Consensus) ProtoMessage()

func (*Consensus) Reset Uses

func (m *Consensus) Reset()

func (*Consensus) Size Uses

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

func (*Consensus) String Uses

func (m *Consensus) String() string

func (*Consensus) Unmarshal Uses

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

func (*Consensus) XXX_DiscardUnknown Uses

func (m *Consensus) XXX_DiscardUnknown()

func (*Consensus) XXX_Marshal Uses

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

func (*Consensus) XXX_Merge Uses

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

func (*Consensus) XXX_Size Uses

func (m *Consensus) XXX_Size() int

func (*Consensus) XXX_Unmarshal Uses

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

Package version imports 6 packages (graph) and is imported by 7 packages. Updated 2021-01-18. Refresh now. Tools for package owners.