Documentation ¶
Index ¶
- Variables
- type Address
- func (*Address) Descriptor() ([]byte, []int)
- func (m *Address) GetChainId() string
- func (*Address) ProtoMessage()
- func (m *Address) Reset()
- func (m *Address) String() string
- func (m *Address) XXX_DiscardUnknown()
- func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Address) XXX_Merge(src proto.Message)
- func (m *Address) XXX_Size() int
- func (m *Address) XXX_Unmarshal(b []byte) error
- type BigUInt
- func (*BigUInt) Descriptor() ([]byte, []int)
- func (*BigUInt) ProtoMessage()
- func (m *BigUInt) Reset()
- func (m *BigUInt) String() string
- func (m *BigUInt) XXX_DiscardUnknown()
- func (m *BigUInt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BigUInt) XXX_Merge(src proto.Message)
- func (m *BigUInt) XXX_Size() int
- func (m *BigUInt) XXX_Unmarshal(b []byte) error
- type BlockHeader
- func (*BlockHeader) Descriptor() ([]byte, []int)
- func (m *BlockHeader) GetAppHash() []byte
- func (m *BlockHeader) GetChainID() string
- func (m *BlockHeader) GetCurrentHash() []byte
- func (m *BlockHeader) GetDataHash() []byte
- func (m *BlockHeader) GetHeight() int64
- func (m *BlockHeader) GetLastBlockID() BlockID
- func (m *BlockHeader) GetLastCommitHash() []byte
- func (m *BlockHeader) GetNumTxs() int32
- func (m *BlockHeader) GetTime() int64
- func (m *BlockHeader) GetValidatorsHash() []byte
- func (*BlockHeader) ProtoMessage()
- func (m *BlockHeader) Reset()
- func (m *BlockHeader) String() string
- func (m *BlockHeader) XXX_DiscardUnknown()
- func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockHeader) XXX_Merge(src proto.Message)
- func (m *BlockHeader) XXX_Size() int
- func (m *BlockHeader) XXX_Unmarshal(b []byte) error
- type BlockID
- func (*BlockID) Descriptor() ([]byte, []int)
- func (m *BlockID) GetHash() []byte
- func (m *BlockID) GetParts() PartSetHeader
- func (*BlockID) ProtoMessage()
- func (m *BlockID) Reset()
- func (m *BlockID) String() string
- func (m *BlockID) XXX_DiscardUnknown()
- func (m *BlockID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockID) XXX_Merge(src proto.Message)
- func (m *BlockID) XXX_Size() int
- func (m *BlockID) XXX_Unmarshal(b []byte) error
- type Evidence
- func (*Evidence) Descriptor() ([]byte, []int)
- func (m *Evidence) GetHeight() int64
- func (m *Evidence) GetPubKey() []byte
- func (*Evidence) ProtoMessage()
- func (m *Evidence) Reset()
- func (m *Evidence) String() string
- func (m *Evidence) XXX_DiscardUnknown()
- func (m *Evidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Evidence) XXX_Merge(src proto.Message)
- func (m *Evidence) XXX_Size() int
- func (m *Evidence) XXX_Unmarshal(b []byte) error
- type PartSetHeader
- func (*PartSetHeader) Descriptor() ([]byte, []int)
- func (m *PartSetHeader) GetHash() []byte
- func (m *PartSetHeader) GetTotal() int32
- func (*PartSetHeader) ProtoMessage()
- func (m *PartSetHeader) Reset()
- func (m *PartSetHeader) String() string
- func (m *PartSetHeader) XXX_DiscardUnknown()
- func (m *PartSetHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PartSetHeader) XXX_Merge(src proto.Message)
- func (m *PartSetHeader) XXX_Size() int
- func (m *PartSetHeader) XXX_Unmarshal(b []byte) error
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)
- func (m *Transaction) GetData() []byte
- func (m *Transaction) GetId() uint32
- func (*Transaction) ProtoMessage()
- func (m *Transaction) Reset()
- func (m *Transaction) String() string
- func (m *Transaction) XXX_DiscardUnknown()
- func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Transaction) XXX_Merge(src proto.Message)
- func (m *Transaction) XXX_Size() int
- func (m *Transaction) XXX_Unmarshal(b []byte) error
- type TxID
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- func (m *Validator) GetPower() int64
- func (m *Validator) GetPubKey() []byte
- func (*Validator) ProtoMessage()
- func (m *Validator) Reset()
- func (m *Validator) String() string
- func (m *Validator) XXX_DiscardUnknown()
- func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Validator) XXX_Merge(src proto.Message)
- func (m *Validator) XXX_Size() int
- func (m *Validator) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var TxID_name = map[int32]string{
0: "INVALID",
1: "DEPLOY",
2: "CALL",
3: "MIGRATION",
4: "ETHEREUM",
}
View Source
var TxID_value = map[string]int32{
"INVALID": 0,
"DEPLOY": 1,
"CALL": 2,
"MIGRATION": 3,
"ETHEREUM": 4,
}
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Local github_com_diademnetwork_go_diadem_common.LocalAddress `protobuf:"bytes,2,opt,name=local,proto3,customtype=github.com/diademnetwork/go-diadem/common.LocalAddress" json:"local"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Address) Descriptor ¶
func (*Address) GetChainId ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) XXX_DiscardUnknown ¶
func (m *Address) XXX_DiscardUnknown()
func (*Address) XXX_Marshal ¶
func (*Address) XXX_Unmarshal ¶
type BigUInt ¶
type BigUInt struct { Value github_com_diademnetwork_go_diadem_common.BigUInt `protobuf:"bytes,1,opt,name=Value,proto3,customtype=github.com/diademnetwork/go-diadem/common.BigUInt" json:"Value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BigUInt) Descriptor ¶
func (*BigUInt) ProtoMessage ¶
func (*BigUInt) ProtoMessage()
func (*BigUInt) XXX_DiscardUnknown ¶
func (m *BigUInt) XXX_DiscardUnknown()
func (*BigUInt) XXX_Marshal ¶
func (*BigUInt) XXX_Unmarshal ¶
type BlockHeader ¶
type BlockHeader struct { ChainID string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Time int64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"` NumTxs int32 `protobuf:"varint,4,opt,name=num_txs,json=numTxs,proto3" json:"num_txs,omitempty"` LastBlockID BlockID `protobuf:"bytes,5,opt,name=last_block_id,json=lastBlockId" json:"last_block_id"` LastCommitHash []byte `protobuf:"bytes,6,opt,name=last_commit_hash,json=lastCommitHash,proto3" json:"last_commit_hash,omitempty"` DataHash []byte `protobuf:"bytes,7,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"` ValidatorsHash []byte `protobuf:"bytes,8,opt,name=validators_hash,json=validatorsHash,proto3" json:"validators_hash,omitempty"` AppHash []byte `protobuf:"bytes,9,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` CurrentHash []byte `protobuf:"bytes,10,opt,name=current_hash,json=currentHash,proto3" json:"current_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockHeader) Descriptor ¶
func (*BlockHeader) Descriptor() ([]byte, []int)
func (*BlockHeader) GetAppHash ¶
func (m *BlockHeader) GetAppHash() []byte
func (*BlockHeader) GetChainID ¶
func (m *BlockHeader) GetChainID() string
func (*BlockHeader) GetCurrentHash ¶
func (m *BlockHeader) GetCurrentHash() []byte
func (*BlockHeader) GetDataHash ¶
func (m *BlockHeader) GetDataHash() []byte
func (*BlockHeader) GetHeight ¶
func (m *BlockHeader) GetHeight() int64
func (*BlockHeader) GetLastBlockID ¶
func (m *BlockHeader) GetLastBlockID() BlockID
func (*BlockHeader) GetLastCommitHash ¶
func (m *BlockHeader) GetLastCommitHash() []byte
func (*BlockHeader) GetNumTxs ¶
func (m *BlockHeader) GetNumTxs() int32
func (*BlockHeader) GetTime ¶
func (m *BlockHeader) GetTime() int64
func (*BlockHeader) GetValidatorsHash ¶
func (m *BlockHeader) GetValidatorsHash() []byte
func (*BlockHeader) ProtoMessage ¶
func (*BlockHeader) ProtoMessage()
func (*BlockHeader) Reset ¶
func (m *BlockHeader) Reset()
func (*BlockHeader) String ¶
func (m *BlockHeader) String() string
func (*BlockHeader) XXX_DiscardUnknown ¶
func (m *BlockHeader) XXX_DiscardUnknown()
func (*BlockHeader) XXX_Marshal ¶
func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeader) XXX_Merge ¶
func (dst *BlockHeader) XXX_Merge(src proto.Message)
func (*BlockHeader) XXX_Size ¶
func (m *BlockHeader) XXX_Size() int
func (*BlockHeader) XXX_Unmarshal ¶
func (m *BlockHeader) XXX_Unmarshal(b []byte) error
type BlockID ¶
type BlockID struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Parts PartSetHeader `protobuf:"bytes,2,opt,name=parts" json:"parts"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockID) Descriptor ¶
func (*BlockID) GetParts ¶
func (m *BlockID) GetParts() PartSetHeader
func (*BlockID) ProtoMessage ¶
func (*BlockID) ProtoMessage()
func (*BlockID) XXX_DiscardUnknown ¶
func (m *BlockID) XXX_DiscardUnknown()
func (*BlockID) XXX_Marshal ¶
func (*BlockID) XXX_Unmarshal ¶
type Evidence ¶
type Evidence struct { PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Evidence) Descriptor ¶
func (*Evidence) ProtoMessage ¶
func (*Evidence) ProtoMessage()
func (*Evidence) XXX_DiscardUnknown ¶
func (m *Evidence) XXX_DiscardUnknown()
func (*Evidence) XXX_Marshal ¶
func (*Evidence) XXX_Unmarshal ¶
type PartSetHeader ¶
type PartSetHeader struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PartSetHeader) Descriptor ¶
func (*PartSetHeader) Descriptor() ([]byte, []int)
func (*PartSetHeader) GetHash ¶
func (m *PartSetHeader) GetHash() []byte
func (*PartSetHeader) GetTotal ¶
func (m *PartSetHeader) GetTotal() int32
func (*PartSetHeader) ProtoMessage ¶
func (*PartSetHeader) ProtoMessage()
func (*PartSetHeader) Reset ¶
func (m *PartSetHeader) Reset()
func (*PartSetHeader) String ¶
func (m *PartSetHeader) String() string
func (*PartSetHeader) XXX_DiscardUnknown ¶
func (m *PartSetHeader) XXX_DiscardUnknown()
func (*PartSetHeader) XXX_Marshal ¶
func (m *PartSetHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PartSetHeader) XXX_Merge ¶
func (dst *PartSetHeader) XXX_Merge(src proto.Message)
func (*PartSetHeader) XXX_Size ¶
func (m *PartSetHeader) XXX_Size() int
func (*PartSetHeader) XXX_Unmarshal ¶
func (m *PartSetHeader) XXX_Unmarshal(b []byte) error
type Transaction ¶
type Transaction struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Transaction) Descriptor ¶
func (*Transaction) Descriptor() ([]byte, []int)
func (*Transaction) GetData ¶
func (m *Transaction) GetData() []byte
func (*Transaction) GetId ¶
func (m *Transaction) GetId() uint32
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) Reset ¶
func (m *Transaction) Reset()
func (*Transaction) String ¶
func (m *Transaction) String() string
func (*Transaction) XXX_DiscardUnknown ¶
func (m *Transaction) XXX_DiscardUnknown()
func (*Transaction) XXX_Marshal ¶
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction) XXX_Merge ¶
func (dst *Transaction) XXX_Merge(src proto.Message)
func (*Transaction) XXX_Size ¶
func (m *Transaction) XXX_Size() int
func (*Transaction) XXX_Unmarshal ¶
func (m *Transaction) XXX_Unmarshal(b []byte) error
type TxID ¶
type TxID int32
Identifier for each known type of Transaction
func (TxID) EnumDescriptor ¶
type Validator ¶
type Validator struct { PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` Power int64 `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Validator) Descriptor ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) XXX_DiscardUnknown ¶
func (m *Validator) XXX_DiscardUnknown()
func (*Validator) XXX_Marshal ¶
func (*Validator) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.