mainchainpb

package
v0.5.0-rc10 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockProof

type BlockProof struct {
	SubChainAddress      string        `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	Height               uint64        `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Roots                []*MerkleRoot `protobuf:"bytes,3,rep,name=roots,proto3" json:"roots,omitempty"`
	ProducerPublicKey    []byte        `protobuf:"bytes,4,opt,name=producerPublicKey,proto3" json:"producerPublicKey,omitempty"`
	ProducerAddress      string        `protobuf:"bytes,5,opt,name=producerAddress,proto3" json:"producerAddress,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*BlockProof) Descriptor

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

func (*BlockProof) GetHeight

func (m *BlockProof) GetHeight() uint64

func (*BlockProof) GetProducerAddress

func (m *BlockProof) GetProducerAddress() string

func (*BlockProof) GetProducerPublicKey

func (m *BlockProof) GetProducerPublicKey() []byte

func (*BlockProof) GetRoots

func (m *BlockProof) GetRoots() []*MerkleRoot

func (*BlockProof) GetSubChainAddress

func (m *BlockProof) GetSubChainAddress() string

func (*BlockProof) ProtoMessage

func (*BlockProof) ProtoMessage()

func (*BlockProof) Reset

func (m *BlockProof) Reset()

func (*BlockProof) String

func (m *BlockProof) String() string

func (*BlockProof) XXX_DiscardUnknown

func (m *BlockProof) XXX_DiscardUnknown()

func (*BlockProof) XXX_Marshal

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

func (*BlockProof) XXX_Merge

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

func (*BlockProof) XXX_Size

func (m *BlockProof) XXX_Size() int

func (*BlockProof) XXX_Unmarshal

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

type Deposit

type Deposit struct {
	Amount               string   `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Address              []byte   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Confirmed            bool     `protobuf:"varint,3,opt,name=confirmed,proto3" json:"confirmed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Deposit) Descriptor

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

func (*Deposit) GetAddress

func (m *Deposit) GetAddress() []byte

func (*Deposit) GetAmount

func (m *Deposit) GetAmount() string

func (*Deposit) GetConfirmed

func (m *Deposit) GetConfirmed() bool

func (*Deposit) ProtoMessage

func (*Deposit) ProtoMessage()

func (*Deposit) Reset

func (m *Deposit) Reset()

func (*Deposit) String

func (m *Deposit) String() string

func (*Deposit) XXX_DiscardUnknown

func (m *Deposit) XXX_DiscardUnknown()

func (*Deposit) XXX_Marshal

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

func (*Deposit) XXX_Merge

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

func (*Deposit) XXX_Size

func (m *Deposit) XXX_Size() int

func (*Deposit) XXX_Unmarshal

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

type InOperation

type InOperation struct {
	Id                   uint32   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Address              []byte   `protobuf:"bytes,2,opt,name=Address,proto3" json:"Address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InOperation) Descriptor

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

func (*InOperation) GetAddress

func (m *InOperation) GetAddress() []byte

func (*InOperation) GetId

func (m *InOperation) GetId() uint32

func (*InOperation) ProtoMessage

func (*InOperation) ProtoMessage()

func (*InOperation) Reset

func (m *InOperation) Reset()

func (*InOperation) String

func (m *InOperation) String() string

func (*InOperation) XXX_DiscardUnknown

func (m *InOperation) XXX_DiscardUnknown()

func (*InOperation) XXX_Marshal

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

func (*InOperation) XXX_Merge

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

func (*InOperation) XXX_Size

func (m *InOperation) XXX_Size() int

func (*InOperation) XXX_Unmarshal

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

type MerkleRoot

type MerkleRoot struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value                []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MerkleRoot) Descriptor

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

func (*MerkleRoot) GetName

func (m *MerkleRoot) GetName() string

func (*MerkleRoot) GetValue

func (m *MerkleRoot) GetValue() []byte

func (*MerkleRoot) ProtoMessage

func (*MerkleRoot) ProtoMessage()

func (*MerkleRoot) Reset

func (m *MerkleRoot) Reset()

func (*MerkleRoot) String

func (m *MerkleRoot) String() string

func (*MerkleRoot) XXX_DiscardUnknown

func (m *MerkleRoot) XXX_DiscardUnknown()

func (*MerkleRoot) XXX_Marshal

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

func (*MerkleRoot) XXX_Merge

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

func (*MerkleRoot) XXX_Size

func (m *MerkleRoot) XXX_Size() int

func (*MerkleRoot) XXX_Unmarshal

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

type SubChain

type SubChain struct {
	ChainID              uint32   `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	SecurityDeposit      string   `protobuf:"bytes,2,opt,name=securityDeposit,proto3" json:"securityDeposit,omitempty"`
	OperationDeposit     string   `protobuf:"bytes,3,opt,name=operationDeposit,proto3" json:"operationDeposit,omitempty"`
	StartHeight          uint64   `protobuf:"varint,4,opt,name=startHeight,proto3" json:"startHeight,omitempty"`
	StopHeight           uint64   `protobuf:"varint,5,opt,name=stopHeight,proto3" json:"stopHeight,omitempty"`
	ParentHeightOffset   uint64   `protobuf:"varint,6,opt,name=parentHeightOffset,proto3" json:"parentHeightOffset,omitempty"`
	OwnerPublicKey       []byte   `protobuf:"bytes,7,opt,name=ownerPublicKey,proto3" json:"ownerPublicKey,omitempty"`
	CurrentHeight        uint64   `protobuf:"varint,8,opt,name=currentHeight,proto3" json:"currentHeight,omitempty"`
	DepositCount         uint64   `protobuf:"varint,9,opt,name=depositCount,proto3" json:"depositCount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SubChain) Descriptor

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

func (*SubChain) GetChainID

func (m *SubChain) GetChainID() uint32

func (*SubChain) GetCurrentHeight

func (m *SubChain) GetCurrentHeight() uint64

func (*SubChain) GetDepositCount

func (m *SubChain) GetDepositCount() uint64

func (*SubChain) GetOperationDeposit

func (m *SubChain) GetOperationDeposit() string

func (*SubChain) GetOwnerPublicKey

func (m *SubChain) GetOwnerPublicKey() []byte

func (*SubChain) GetParentHeightOffset

func (m *SubChain) GetParentHeightOffset() uint64

func (*SubChain) GetSecurityDeposit

func (m *SubChain) GetSecurityDeposit() string

func (*SubChain) GetStartHeight

func (m *SubChain) GetStartHeight() uint64

func (*SubChain) GetStopHeight

func (m *SubChain) GetStopHeight() uint64

func (*SubChain) ProtoMessage

func (*SubChain) ProtoMessage()

func (*SubChain) Reset

func (m *SubChain) Reset()

func (*SubChain) String

func (m *SubChain) String() string

func (*SubChain) XXX_DiscardUnknown

func (m *SubChain) XXX_DiscardUnknown()

func (*SubChain) XXX_Marshal

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

func (*SubChain) XXX_Merge

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

func (*SubChain) XXX_Size

func (m *SubChain) XXX_Size() int

func (*SubChain) XXX_Unmarshal

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

type SubChainsInOperation

type SubChainsInOperation struct {
	InOp                 []*InOperation `protobuf:"bytes,1,rep,name=inOp,proto3" json:"inOp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*SubChainsInOperation) Descriptor

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

func (*SubChainsInOperation) GetInOp

func (m *SubChainsInOperation) GetInOp() []*InOperation

func (*SubChainsInOperation) ProtoMessage

func (*SubChainsInOperation) ProtoMessage()

func (*SubChainsInOperation) Reset

func (m *SubChainsInOperation) Reset()

func (*SubChainsInOperation) String

func (m *SubChainsInOperation) String() string

func (*SubChainsInOperation) XXX_DiscardUnknown

func (m *SubChainsInOperation) XXX_DiscardUnknown()

func (*SubChainsInOperation) XXX_Marshal

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

func (*SubChainsInOperation) XXX_Merge

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

func (*SubChainsInOperation) XXX_Size

func (m *SubChainsInOperation) XXX_Size() int

func (*SubChainsInOperation) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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