Documentation
¶
Index ¶
- Constants
- Variables
- type AccountAdminPair
- type AccountCreateOperation
- func (*AccountCreateOperation) Descriptor() ([]byte, []int)
- func (m *AccountCreateOperation) GetActive() *Authority
- func (a *AccountCreateOperation) GetAdmin(*[]AccountAdminPair)
- func (a *AccountCreateOperation) GetAuthorities(auths *[]Authority)
- func (m *AccountCreateOperation) GetCreator() *AccountName
- func (m *AccountCreateOperation) GetFee() *Coin
- func (m *AccountCreateOperation) GetJsonMetadata() string
- func (m *AccountCreateOperation) GetNewAccountName() *AccountName
- func (m *AccountCreateOperation) GetOwner() *Authority
- func (m *AccountCreateOperation) GetPosting() *Authority
- func (a *AccountCreateOperation) GetRequiredActive(auths *map[string]bool)
- func (a *AccountCreateOperation) GetRequiredOwner(auths *map[string]bool)
- func (a *AccountCreateOperation) GetRequiredPosting(auths *map[string]bool)
- func (a *AccountCreateOperation) IsVirtual()
- func (*AccountCreateOperation) ProtoMessage()
- func (m *AccountCreateOperation) Reset()
- func (m *AccountCreateOperation) String() string
- func (a *AccountCreateOperation) Validate() error
- func (m *AccountCreateOperation) XXX_DiscardUnknown()
- func (m *AccountCreateOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountCreateOperation) XXX_Merge(src proto.Message)
- func (m *AccountCreateOperation) XXX_Size() int
- func (m *AccountCreateOperation) XXX_Unmarshal(b []byte) error
- type AccountName
- func (*AccountName) Descriptor() ([]byte, []int)
- func (m *AccountName) Empty() bool
- func (m *AccountName) GetValue() string
- func (m *AccountName) OpeEncode() ([]byte, error)
- func (*AccountName) ProtoMessage()
- func (m *AccountName) Reset()
- func (m *AccountName) String() string
- func (m *AccountName) Validate() error
- func (m *AccountName) XXX_DiscardUnknown()
- func (m *AccountName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountName) XXX_Merge(src proto.Message)
- func (m *AccountName) XXX_Size() int
- func (m *AccountName) XXX_Unmarshal(b []byte) error
- type Authority
- func (*Authority) Descriptor() ([]byte, []int)
- func (m *Authority) GetAccountAuths() []*KvAccountAuth
- func (m *Authority) GetCf() AuthorityClassification
- func (m *Authority) GetKeyAuths() []*KvKeyAuth
- func (m *Authority) GetWeightThreshold() uint32
- func (*Authority) ProtoMessage()
- func (m *Authority) Reset()
- func (m *Authority) String() string
- func (m *Authority) Validate() error
- func (m *Authority) XXX_DiscardUnknown()
- func (m *Authority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Authority) XXX_Merge(src proto.Message)
- func (m *Authority) XXX_Size() int
- func (m *Authority) XXX_Unmarshal(b []byte) error
- type AuthorityClassification
- type AuthorityGetter
- type AuthorityType
- type BaseOperation
- type BeneficiaryRouteType
- func (*BeneficiaryRouteType) Descriptor() ([]byte, []int)
- func (m *BeneficiaryRouteType) GetName() *AccountName
- func (m *BeneficiaryRouteType) GetWeight() uint32
- func (*BeneficiaryRouteType) ProtoMessage()
- func (m *BeneficiaryRouteType) Reset()
- func (m *BeneficiaryRouteType) String() string
- func (m *BeneficiaryRouteType) XXX_DiscardUnknown()
- func (m *BeneficiaryRouteType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BeneficiaryRouteType) XXX_Merge(src proto.Message)
- func (m *BeneficiaryRouteType) XXX_Size() int
- func (m *BeneficiaryRouteType) XXX_Unmarshal(b []byte) error
- type BlockHeader
- func (*BlockHeader) Descriptor() ([]byte, []int)
- func (m *BlockHeader) GetPrevious() *Sha256
- func (m *BlockHeader) GetTimestamp() *TimePointSec
- func (m *BlockHeader) GetTransactionMerkleRoot() *Sha256
- func (m *BlockHeader) GetWitness() *AccountName
- func (bh *BlockHeader) Hash() (hash [Size]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 (m *BlockHeader) XXX_Merge(src proto.Message)
- func (m *BlockHeader) XXX_Size() int
- func (m *BlockHeader) XXX_Unmarshal(b []byte) error
- type BpRegisterOperation
- func (*BpRegisterOperation) Descriptor() ([]byte, []int)
- func (m *BpRegisterOperation) GetAdmin(*[]AccountAdminPair)
- func (m *BpRegisterOperation) GetAuthorities(auths *[]Authority)
- func (m *BpRegisterOperation) GetBlockSigningKey() *PublicKeyType
- func (m *BpRegisterOperation) GetDesc() string
- func (m *BpRegisterOperation) GetOwner() *AccountName
- func (m *BpRegisterOperation) GetProps() *ChainProperties
- func (m *BpRegisterOperation) GetRequiredActive(auths *map[string]bool)
- func (m *BpRegisterOperation) GetRequiredOwner(auths *map[string]bool)
- func (m *BpRegisterOperation) GetRequiredPosting(auths *map[string]bool)
- func (m *BpRegisterOperation) GetUrl() string
- func (m *BpRegisterOperation) IsVirtual()
- func (*BpRegisterOperation) ProtoMessage()
- func (m *BpRegisterOperation) Reset()
- func (m *BpRegisterOperation) String() string
- func (m *BpRegisterOperation) Validate() error
- func (m *BpRegisterOperation) XXX_DiscardUnknown()
- func (m *BpRegisterOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BpRegisterOperation) XXX_Merge(src proto.Message)
- func (m *BpRegisterOperation) XXX_Size() int
- func (m *BpRegisterOperation) XXX_Unmarshal(b []byte) error
- type BpUnregisterOperation
- func (*BpUnregisterOperation) Descriptor() ([]byte, []int)
- func (m *BpUnregisterOperation) GetAdmin(*[]AccountAdminPair)
- func (m *BpUnregisterOperation) GetAuthorities(auths *[]Authority)
- func (m *BpUnregisterOperation) GetOwner() *AccountName
- func (m *BpUnregisterOperation) GetRequiredActive(auths *map[string]bool)
- func (m *BpUnregisterOperation) GetRequiredOwner(auths *map[string]bool)
- func (m *BpUnregisterOperation) GetRequiredPosting(auths *map[string]bool)
- func (m *BpUnregisterOperation) IsVirtual()
- func (*BpUnregisterOperation) ProtoMessage()
- func (m *BpUnregisterOperation) Reset()
- func (m *BpUnregisterOperation) String() string
- func (m *BpUnregisterOperation) Validate() error
- func (m *BpUnregisterOperation) XXX_DiscardUnknown()
- func (m *BpUnregisterOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BpUnregisterOperation) XXX_Merge(src proto.Message)
- func (m *BpUnregisterOperation) XXX_Size() int
- func (m *BpUnregisterOperation) XXX_Unmarshal(b []byte) error
- type BpVoteOperation
- func (*BpVoteOperation) Descriptor() ([]byte, []int)
- func (m *BpVoteOperation) GetAdmin(*[]AccountAdminPair)
- func (m *BpVoteOperation) GetAuthorities(auths *[]Authority)
- func (m *BpVoteOperation) GetCancel() bool
- func (m *BpVoteOperation) GetRequiredActive(auths *map[string]bool)
- func (m *BpVoteOperation) GetRequiredOwner(auths *map[string]bool)
- func (m *BpVoteOperation) GetRequiredPosting(auths *map[string]bool)
- func (m *BpVoteOperation) GetVoter() *AccountName
- func (m *BpVoteOperation) GetWitness() *AccountName
- func (m *BpVoteOperation) IsVirtual()
- func (*BpVoteOperation) ProtoMessage()
- func (m *BpVoteOperation) Reset()
- func (m *BpVoteOperation) String() string
- func (m *BpVoteOperation) Validate() error
- func (m *BpVoteOperation) XXX_DiscardUnknown()
- func (m *BpVoteOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BpVoteOperation) XXX_Merge(src proto.Message)
- func (m *BpVoteOperation) XXX_Size() int
- func (m *BpVoteOperation) XXX_Unmarshal(b []byte) error
- type BpVoterId
- func (*BpVoterId) Descriptor() ([]byte, []int)
- func (m *BpVoterId) GetVoter() *AccountName
- func (m *BpVoterId) GetWitness() *AccountName
- func (m *BpVoterId) OpeEncode() ([]byte, error)
- func (*BpVoterId) ProtoMessage()
- func (m *BpVoterId) Reset()
- func (m *BpVoterId) String() string
- func (m *BpVoterId) XXX_DiscardUnknown()
- func (m *BpVoterId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BpVoterId) XXX_Merge(src proto.Message)
- func (m *BpVoterId) XXX_Size() int
- func (m *BpVoterId) XXX_Unmarshal(b []byte) error
- type BpWitnessId
- func (*BpWitnessId) Descriptor() ([]byte, []int)
- func (m *BpWitnessId) GetVoter() *AccountName
- func (m *BpWitnessId) GetWitness() *AccountName
- func (*BpWitnessId) ProtoMessage()
- func (m *BpWitnessId) Reset()
- func (m *BpWitnessId) String() string
- func (m *BpWitnessId) XXX_DiscardUnknown()
- func (m *BpWitnessId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BpWitnessId) XXX_Merge(src proto.Message)
- func (m *BpWitnessId) XXX_Size() int
- func (m *BpWitnessId) XXX_Unmarshal(b []byte) error
- type ChainId
- func (*ChainId) Descriptor() ([]byte, []int)
- func (m *ChainId) GetValue() uint32
- func (*ChainId) ProtoMessage()
- func (m *ChainId) Reset()
- func (m *ChainId) String() string
- func (m *ChainId) XXX_DiscardUnknown()
- func (m *ChainId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainId) XXX_Merge(src proto.Message)
- func (m *ChainId) XXX_Size() int
- func (m *ChainId) XXX_Unmarshal(b []byte) error
- type ChainProperties
- func (*ChainProperties) Descriptor() ([]byte, []int)
- func (m *ChainProperties) GetAccountCreationFee() *Coin
- func (m *ChainProperties) GetMaximumBlockSize() uint32
- func (*ChainProperties) ProtoMessage()
- func (m *ChainProperties) Reset()
- func (m *ChainProperties) String() string
- func (m *ChainProperties) XXX_DiscardUnknown()
- func (m *ChainProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainProperties) XXX_Merge(src proto.Message)
- func (m *ChainProperties) XXX_Size() int
- func (m *ChainProperties) XXX_Unmarshal(b []byte) error
- type ClaimAllOperation
- func (*ClaimAllOperation) Descriptor() ([]byte, []int)
- func (m *ClaimAllOperation) GetAccount() *AccountName
- func (*ClaimAllOperation) ProtoMessage()
- func (m *ClaimAllOperation) Reset()
- func (m *ClaimAllOperation) String() string
- func (m *ClaimAllOperation) XXX_DiscardUnknown()
- func (m *ClaimAllOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimAllOperation) XXX_Merge(src proto.Message)
- func (m *ClaimAllOperation) XXX_Size() int
- func (m *ClaimAllOperation) XXX_Unmarshal(b []byte) error
- type ClaimOperation
- func (*ClaimOperation) Descriptor() ([]byte, []int)
- func (m *ClaimOperation) GetAccount() *AccountName
- func (m *ClaimOperation) GetAmount() uint64
- func (*ClaimOperation) ProtoMessage()
- func (m *ClaimOperation) Reset()
- func (m *ClaimOperation) String() string
- func (m *ClaimOperation) XXX_DiscardUnknown()
- func (m *ClaimOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimOperation) XXX_Merge(src proto.Message)
- func (m *ClaimOperation) XXX_Size() int
- func (m *ClaimOperation) XXX_Unmarshal(b []byte) error
- type Coin
- func (m *Coin) Add(o *Coin) error
- func (*Coin) Descriptor() ([]byte, []int)
- func (m *Coin) GetValue() uint64
- func (m *Coin) NonZero() bool
- func (m *Coin) OpeEncode() ([]byte, error)
- func (*Coin) ProtoMessage()
- func (m *Coin) Reset()
- func (m *Coin) String() string
- func (m *Coin) Sub(o *Coin) error
- func (m *Coin) ToVest() *Vest
- func (m *Coin) XXX_DiscardUnknown()
- func (m *Coin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Coin) XXX_Merge(src proto.Message)
- func (m *Coin) XXX_Size() int
- func (m *Coin) XXX_Unmarshal(b []byte) error
- type DynamicProperties
- func (*DynamicProperties) Descriptor() ([]byte, []int)
- func (m *DynamicProperties) GetCurrentAslot() uint32
- func (m *DynamicProperties) GetCurrentSupply() *Coin
- func (m *DynamicProperties) GetCurrentWitness() *AccountName
- func (m *DynamicProperties) GetHeadBlockId() *Sha256
- func (m *DynamicProperties) GetHeadBlockNumber() uint32
- func (m *DynamicProperties) GetId() int32
- func (m *DynamicProperties) GetIrreversibleBlockNum() uint32
- func (m *DynamicProperties) GetMaximumBlockSize() uint32
- func (m *DynamicProperties) GetPostRewards() *Vest
- func (m *DynamicProperties) GetReplyRewards() *Vest
- func (m *DynamicProperties) GetTime() *TimePointSec
- func (m *DynamicProperties) GetTotalCos() *Coin
- func (m *DynamicProperties) GetTotalVestingShares() *Vest
- func (m *DynamicProperties) GetTps() uint32
- func (m *DynamicProperties) GetWeightedVps() uint64
- func (*DynamicProperties) ProtoMessage()
- func (m *DynamicProperties) Reset()
- func (m *DynamicProperties) String() string
- func (m *DynamicProperties) XXX_DiscardUnknown()
- func (m *DynamicProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DynamicProperties) XXX_Merge(src proto.Message)
- func (m *DynamicProperties) XXX_Size() int
- func (m *DynamicProperties) XXX_Unmarshal(b []byte) error
- type EmptySignedBlock
- func (*EmptySignedBlock) Descriptor() ([]byte, []int)
- func (m *EmptySignedBlock) GetSignedHeader() *SignedBlockHeader
- func (m *EmptySignedBlock) GetTrxCount() uint32
- func (*EmptySignedBlock) ProtoMessage()
- func (m *EmptySignedBlock) Reset()
- func (m *EmptySignedBlock) String() string
- func (m *EmptySignedBlock) XXX_DiscardUnknown()
- func (m *EmptySignedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EmptySignedBlock) XXX_Merge(src proto.Message)
- func (m *EmptySignedBlock) XXX_Size() int
- func (m *EmptySignedBlock) XXX_Unmarshal(b []byte) error
- type FollowOperation
- func (*FollowOperation) Descriptor() ([]byte, []int)
- func (m *FollowOperation) GetAccount() *AccountName
- func (m *FollowOperation) GetAdmin(*[]AccountAdminPair)
- func (m *FollowOperation) GetAuthorities(auths *[]Authority)
- func (m *FollowOperation) GetCancel() bool
- func (m *FollowOperation) GetFAccount() *AccountName
- func (m *FollowOperation) GetRequiredActive(auths *map[string]bool)
- func (m *FollowOperation) GetRequiredOwner(auths *map[string]bool)
- func (m *FollowOperation) GetRequiredPosting(auths *map[string]bool)
- func (m *FollowOperation) IsVirtual()
- func (*FollowOperation) ProtoMessage()
- func (m *FollowOperation) Reset()
- func (m *FollowOperation) String() string
- func (m *FollowOperation) Validate() error
- func (m *FollowOperation) XXX_DiscardUnknown()
- func (m *FollowOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FollowOperation) XXX_Merge(src proto.Message)
- func (m *FollowOperation) XXX_Size() int
- func (m *FollowOperation) XXX_Unmarshal(b []byte) error
- type FollowerCreatedOrder
- func (*FollowerCreatedOrder) Descriptor() ([]byte, []int)
- func (m *FollowerCreatedOrder) GetAccount() *AccountName
- func (m *FollowerCreatedOrder) GetCreatedTime() *TimePointSec
- func (m *FollowerCreatedOrder) GetFollower() *AccountName
- func (m *FollowerCreatedOrder) OpeEncode() ([]byte, error)
- func (*FollowerCreatedOrder) ProtoMessage()
- func (m *FollowerCreatedOrder) Reset()
- func (m *FollowerCreatedOrder) String() string
- func (m *FollowerCreatedOrder) XXX_DiscardUnknown()
- func (m *FollowerCreatedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FollowerCreatedOrder) XXX_Merge(src proto.Message)
- func (m *FollowerCreatedOrder) XXX_Size() int
- func (m *FollowerCreatedOrder) XXX_Unmarshal(b []byte) error
- type FollowerRelation
- func (*FollowerRelation) Descriptor() ([]byte, []int)
- func (m *FollowerRelation) GetAccount() *AccountName
- func (m *FollowerRelation) GetFollower() *AccountName
- func (m *FollowerRelation) OpeEncode() ([]byte, error)
- func (*FollowerRelation) ProtoMessage()
- func (m *FollowerRelation) Reset()
- func (m *FollowerRelation) String() string
- func (m *FollowerRelation) XXX_DiscardUnknown()
- func (m *FollowerRelation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FollowerRelation) XXX_Merge(src proto.Message)
- func (m *FollowerRelation) XXX_Size() int
- func (m *FollowerRelation) XXX_Unmarshal(b []byte) error
- type FollowingCreatedOrder
- func (*FollowingCreatedOrder) Descriptor() ([]byte, []int)
- func (m *FollowingCreatedOrder) GetAccount() *AccountName
- func (m *FollowingCreatedOrder) GetCreatedTime() *TimePointSec
- func (m *FollowingCreatedOrder) GetFollowing() *AccountName
- func (m *FollowingCreatedOrder) OpeEncode() ([]byte, error)
- func (*FollowingCreatedOrder) ProtoMessage()
- func (m *FollowingCreatedOrder) Reset()
- func (m *FollowingCreatedOrder) String() string
- func (m *FollowingCreatedOrder) XXX_DiscardUnknown()
- func (m *FollowingCreatedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FollowingCreatedOrder) XXX_Merge(src proto.Message)
- func (m *FollowingCreatedOrder) XXX_Size() int
- func (m *FollowingCreatedOrder) XXX_Unmarshal(b []byte) error
- type FollowingRelation
- func (*FollowingRelation) Descriptor() ([]byte, []int)
- func (m *FollowingRelation) GetAccount() *AccountName
- func (m *FollowingRelation) GetFollowing() *AccountName
- func (m *FollowingRelation) OpeEncode() ([]byte, error)
- func (*FollowingRelation) ProtoMessage()
- func (m *FollowingRelation) Reset()
- func (m *FollowingRelation) String() string
- func (m *FollowingRelation) XXX_DiscardUnknown()
- func (m *FollowingRelation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FollowingRelation) XXX_Merge(src proto.Message)
- func (m *FollowingRelation) XXX_Size() int
- func (m *FollowingRelation) XXX_Unmarshal(b []byte) error
- type InternalRewardsKeeper
- func (*InternalRewardsKeeper) Descriptor() ([]byte, []int)
- func (m *InternalRewardsKeeper) GetId() int32
- func (m *InternalRewardsKeeper) GetRewards() map[string]*Vest
- func (*InternalRewardsKeeper) ProtoMessage()
- func (m *InternalRewardsKeeper) Reset()
- func (m *InternalRewardsKeeper) String() string
- func (m *InternalRewardsKeeper) XXX_DiscardUnknown()
- func (m *InternalRewardsKeeper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InternalRewardsKeeper) XXX_Merge(src proto.Message)
- func (m *InternalRewardsKeeper) XXX_Size() int
- func (m *InternalRewardsKeeper) XXX_Unmarshal(b []byte) error
- type KvAccountAuth
- func (*KvAccountAuth) Descriptor() ([]byte, []int)
- func (m *KvAccountAuth) GetName() *AccountName
- func (m *KvAccountAuth) GetWeight() uint32
- func (*KvAccountAuth) ProtoMessage()
- func (m *KvAccountAuth) Reset()
- func (m *KvAccountAuth) String() string
- func (m *KvAccountAuth) XXX_DiscardUnknown()
- func (m *KvAccountAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KvAccountAuth) XXX_Merge(src proto.Message)
- func (m *KvAccountAuth) XXX_Size() int
- func (m *KvAccountAuth) XXX_Unmarshal(b []byte) error
- type KvKeyAuth
- func (*KvKeyAuth) Descriptor() ([]byte, []int)
- func (m *KvKeyAuth) GetKey() *PublicKeyType
- func (m *KvKeyAuth) GetWeight() uint32
- func (*KvKeyAuth) ProtoMessage()
- func (m *KvKeyAuth) Reset()
- func (m *KvKeyAuth) String() string
- func (m *KvKeyAuth) XXX_DiscardUnknown()
- func (m *KvKeyAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KvKeyAuth) XXX_Merge(src proto.Message)
- func (m *KvKeyAuth) XXX_Size() int
- func (m *KvKeyAuth) XXX_Unmarshal(b []byte) error
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)
- func (m *Operation) GetOp() isOperation_Op
- func (m *Operation) GetOp1() *AccountCreateOperation
- func (m *Operation) GetOp2() *TransferOperation
- func (m *Operation) GetOp3() *BpRegisterOperation
- func (m *Operation) GetOp4() *BpUnregisterOperation
- func (m *Operation) GetOp5() *BpVoteOperation
- func (m *Operation) GetOp6() *PostOperation
- func (m *Operation) GetOp7() *ReplyOperation
- func (m *Operation) GetOp8() *FollowOperation
- func (m *Operation) GetOp9() *VoteOperation
- func (m *Operation) GetOp10() *TransferToVestingOperation
- func (m *Operation) GetOp11() *ClaimOperation
- func (m *Operation) GetOp12() *ClaimAllOperation
- func (*Operation) ProtoMessage()
- func (m *Operation) Reset()
- func (m *Operation) String() string
- func (m *Operation) XXX_DiscardUnknown()
- func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Operation) XXX_Merge(src proto.Message)
- func (*Operation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Operation) XXX_Size() int
- func (m *Operation) XXX_Unmarshal(b []byte) error
- type OperationNotification
- type Operation_Op1
- type Operation_Op2
- type Operation_Op3
- type Operation_Op4
- type Operation_Op5
- type Operation_Op6
- type Operation_Op7
- type Operation_Op8
- type Operation_Op9
- type Operation_Op10
- type Operation_Op11
- type Operation_Op12
- type PostCreatedOrder
- func (*PostCreatedOrder) Descriptor() ([]byte, []int)
- func (m *PostCreatedOrder) GetCreated() *TimePointSec
- func (m *PostCreatedOrder) GetParentId() uint64
- func (m *PostCreatedOrder) OpeEncode() ([]byte, error)
- func (*PostCreatedOrder) ProtoMessage()
- func (m *PostCreatedOrder) Reset()
- func (m *PostCreatedOrder) String() string
- func (m *PostCreatedOrder) XXX_DiscardUnknown()
- func (m *PostCreatedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostCreatedOrder) XXX_Merge(src proto.Message)
- func (m *PostCreatedOrder) XXX_Size() int
- func (m *PostCreatedOrder) XXX_Unmarshal(b []byte) error
- type PostOperation
- func (*PostOperation) Descriptor() ([]byte, []int)
- func (m *PostOperation) GetAdmin(*[]AccountAdminPair)
- func (m *PostOperation) GetAuthorities(auths *[]Authority)
- func (m *PostOperation) GetBeneficiaries() []*BeneficiaryRouteType
- func (m *PostOperation) GetContent() string
- func (m *PostOperation) GetOwner() *AccountName
- func (m *PostOperation) GetRequiredActive(auths *map[string]bool)
- func (m *PostOperation) GetRequiredOwner(auths *map[string]bool)
- func (m *PostOperation) GetRequiredPosting(auths *map[string]bool)
- func (m *PostOperation) GetTags() []string
- func (m *PostOperation) GetTitle() string
- func (m *PostOperation) GetUuid() uint64
- func (m *PostOperation) IsVirtual()
- func (*PostOperation) ProtoMessage()
- func (m *PostOperation) Reset()
- func (m *PostOperation) String() string
- func (m *PostOperation) Validate() error
- func (m *PostOperation) XXX_DiscardUnknown()
- func (m *PostOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostOperation) XXX_Merge(src proto.Message)
- func (m *PostOperation) XXX_Size() int
- func (m *PostOperation) XXX_Unmarshal(b []byte) error
- type PrivateKeyType
- func (*PrivateKeyType) Descriptor() ([]byte, []int)
- func (m *PrivateKeyType) Equal(other *PrivateKeyType) bool
- func (m *PrivateKeyType) GetData() []byte
- func (m *PrivateKeyType) MarshalJSON() ([]byte, error)
- func (*PrivateKeyType) ProtoMessage()
- func (m *PrivateKeyType) PubKey() (*PublicKeyType, error)
- func (m *PrivateKeyType) Reset()
- func (m *PrivateKeyType) String() string
- func (m *PrivateKeyType) ToBase58() string
- func (m *PrivateKeyType) ToECDSA() (*ecdsa.PrivateKey, error)
- func (m *PrivateKeyType) ToWIF() string
- func (m *PrivateKeyType) UnmarshalJSON(input []byte) error
- func (m *PrivateKeyType) Validate() error
- func (m *PrivateKeyType) XXX_DiscardUnknown()
- func (m *PrivateKeyType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrivateKeyType) XXX_Merge(src proto.Message)
- func (m *PrivateKeyType) XXX_Size() int
- func (m *PrivateKeyType) XXX_Unmarshal(b []byte) error
- type PublicKeyType
- func (*PublicKeyType) Descriptor() ([]byte, []int)
- func (m *PublicKeyType) Equal(other *PublicKeyType) bool
- func (m *PublicKeyType) GetData() []byte
- func (m *PublicKeyType) MarshalJSON() ([]byte, error)
- func (m *PublicKeyType) OpeEncode() ([]byte, error)
- func (*PublicKeyType) ProtoMessage()
- func (m *PublicKeyType) Reset()
- func (m *PublicKeyType) String() string
- func (m *PublicKeyType) ToBase58() string
- func (m *PublicKeyType) ToWIF() string
- func (m *PublicKeyType) UnmarshalJSON(input []byte) error
- func (m *PublicKeyType) Validate() error
- func (m *PublicKeyType) XXX_DiscardUnknown()
- func (m *PublicKeyType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublicKeyType) XXX_Merge(src proto.Message)
- func (m *PublicKeyType) XXX_Size() int
- func (m *PublicKeyType) XXX_Unmarshal(b []byte) error
- type ReplyCreatedOrder
- func (*ReplyCreatedOrder) Descriptor() ([]byte, []int)
- func (m *ReplyCreatedOrder) GetCreated() *TimePointSec
- func (m *ReplyCreatedOrder) GetParentId() uint64
- func (m *ReplyCreatedOrder) OpeEncode() ([]byte, error)
- func (*ReplyCreatedOrder) ProtoMessage()
- func (m *ReplyCreatedOrder) Reset()
- func (m *ReplyCreatedOrder) String() string
- func (m *ReplyCreatedOrder) XXX_DiscardUnknown()
- func (m *ReplyCreatedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyCreatedOrder) XXX_Merge(src proto.Message)
- func (m *ReplyCreatedOrder) XXX_Size() int
- func (m *ReplyCreatedOrder) XXX_Unmarshal(b []byte) error
- type ReplyOperation
- func (*ReplyOperation) Descriptor() ([]byte, []int)
- func (m *ReplyOperation) GetAdmin(*[]AccountAdminPair)
- func (m *ReplyOperation) GetAuthorities(auths *[]Authority)
- func (m *ReplyOperation) GetBeneficiaries() []*BeneficiaryRouteType
- func (m *ReplyOperation) GetContent() string
- func (m *ReplyOperation) GetOwner() *AccountName
- func (m *ReplyOperation) GetParentUuid() uint64
- func (m *ReplyOperation) GetRequiredActive(auths *map[string]bool)
- func (m *ReplyOperation) GetRequiredOwner(auths *map[string]bool)
- func (m *ReplyOperation) GetRequiredPosting(auths *map[string]bool)
- func (m *ReplyOperation) GetUuid() uint64
- func (m *ReplyOperation) IsVirtual()
- func (*ReplyOperation) ProtoMessage()
- func (m *ReplyOperation) Reset()
- func (m *ReplyOperation) String() string
- func (m *ReplyOperation) Validate() error
- func (m *ReplyOperation) XXX_DiscardUnknown()
- func (m *ReplyOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyOperation) XXX_Merge(src proto.Message)
- func (m *ReplyOperation) XXX_Size() int
- func (m *ReplyOperation) XXX_Unmarshal(b []byte) error
- type Safe64
- func (*Safe64) Descriptor() ([]byte, []int)
- func (m *Safe64) GetValue() int64
- func (m *Safe64) Min() *Safe64
- func (m *Safe64) OpeEncode() ([]byte, error)
- func (*Safe64) ProtoMessage()
- func (m *Safe64) Reset()
- func (m *Safe64) String() string
- func (m *Safe64) XXX_DiscardUnknown()
- func (m *Safe64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Safe64) XXX_Merge(src proto.Message)
- func (m *Safe64) XXX_Size() int
- func (m *Safe64) XXX_Unmarshal(b []byte) error
- type Sha256
- func (*Sha256) Descriptor() ([]byte, []int)
- func (m *Sha256) FromBlockID(id common.BlockID)
- func (m *Sha256) GetHash() []byte
- func (m *Sha256) OpeEncode() ([]byte, error)
- func (*Sha256) ProtoMessage()
- func (m *Sha256) Reset()
- func (m *Sha256) String() string
- func (m *Sha256) Validate() error
- func (m *Sha256) XXX_DiscardUnknown()
- func (m *Sha256) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sha256) XXX_Merge(src proto.Message)
- func (m *Sha256) XXX_Size() int
- func (m *Sha256) XXX_Unmarshal(b []byte) error
- type SignState
- type SignatureType
- func (*SignatureType) Descriptor() ([]byte, []int)
- func (m *SignatureType) GetSig() []byte
- func (*SignatureType) ProtoMessage()
- func (m *SignatureType) Reset()
- func (m *SignatureType) String() string
- func (m *SignatureType) Validate() error
- func (m *SignatureType) XXX_DiscardUnknown()
- func (m *SignatureType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignatureType) XXX_Merge(src proto.Message)
- func (m *SignatureType) XXX_Size() int
- func (m *SignatureType) XXX_Unmarshal(b []byte) error
- type SignedBlock
- func (sb *SignedBlock) CalculateMerkleRoot() *common.BlockID
- func (*SignedBlock) Descriptor() ([]byte, []int)
- func (m *SignedBlock) GetSignedHeader() *SignedBlockHeader
- func (sb *SignedBlock) GetSignee() (interface{}, error)
- func (m *SignedBlock) GetTransactions() []*TransactionWrapper
- func (sb *SignedBlock) Hash() (hash [Size]byte)
- func (sb *SignedBlock) Id() common.BlockID
- func (sb *SignedBlock) Marshall() ([]byte, error)
- func (sb *SignedBlock) Previous() common.BlockID
- func (*SignedBlock) ProtoMessage()
- func (m *SignedBlock) Reset()
- func (m *SignedBlock) String() string
- func (sb *SignedBlock) Timestamp() uint64
- func (sb *SignedBlock) Unmarshall(buff []byte) error
- func (m *SignedBlock) XXX_DiscardUnknown()
- func (m *SignedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedBlock) XXX_Merge(src proto.Message)
- func (m *SignedBlock) XXX_Size() int
- func (m *SignedBlock) XXX_Unmarshal(b []byte) error
- type SignedBlockHeader
- func (*SignedBlockHeader) Descriptor() ([]byte, []int)
- func (m *SignedBlockHeader) GetHeader() *BlockHeader
- func (sbh *SignedBlockHeader) GetSignee() (interface{}, error)
- func (m *SignedBlockHeader) GetWitnessSignature() *SignatureType
- func (sbh *SignedBlockHeader) Hash() (hash [Size]byte)
- func (sbh *SignedBlockHeader) Number() uint64
- func (*SignedBlockHeader) ProtoMessage()
- func (m *SignedBlockHeader) Reset()
- func (sbh *SignedBlockHeader) Sign(secKey *PrivateKeyType) error
- func (m *SignedBlockHeader) String() string
- func (sbh *SignedBlockHeader) ValidateSig(key *PublicKeyType) (bool, error)
- func (m *SignedBlockHeader) XXX_DiscardUnknown()
- func (m *SignedBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedBlockHeader) XXX_Merge(src proto.Message)
- func (m *SignedBlockHeader) XXX_Size() int
- func (m *SignedBlockHeader) XXX_Unmarshal(b []byte) error
- type SignedTransaction
- func (*SignedTransaction) Descriptor() ([]byte, []int)
- func (tx *SignedTransaction) Deserialization(source *common.ZeroCopySource) error
- func (p *SignedTransaction) ExportPubKeys(cid ChainId) ([]*PublicKeyType, error)
- func (m *SignedTransaction) GetSignatures() []*SignatureType
- func (m *SignedTransaction) GetTrx() *Transaction
- func (p *SignedTransaction) GetTrxHash(cid ChainId) ([]byte, error)
- func (p *SignedTransaction) Id() (*Sha256, error)
- func (p *SignedTransaction) MerkleDigest() (*Sha256, error)
- func (*SignedTransaction) ProtoMessage()
- func (m *SignedTransaction) Reset()
- func (p *SignedTransaction) Serialization(sink *common.ZeroCopySink) error
- func (p *SignedTransaction) Sign(secKey *PrivateKeyType, cid ChainId) []byte
- func (m *SignedTransaction) String() string
- func (p *SignedTransaction) Validate() error
- func (p *SignedTransaction) VerifyAuthority(cid ChainId, max_recursion_depth uint32, posting AuthorityGetter, ...)
- func (p *SignedTransaction) VerifySig(pubKey *PublicKeyType, cid ChainId) bool
- func (m *SignedTransaction) XXX_DiscardUnknown()
- func (m *SignedTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedTransaction) XXX_Merge(src proto.Message)
- func (m *SignedTransaction) XXX_Size() int
- func (m *SignedTransaction) XXX_Unmarshal(b []byte) error
- type SkipFlag
- type TimePointSec
- func (m TimePointSec) Add(value uint32) TimePointSec
- func (*TimePointSec) Descriptor() ([]byte, []int)
- func (m *TimePointSec) GetUtcSeconds() uint32
- func (m *TimePointSec) OpeEncode() ([]byte, error)
- func (*TimePointSec) ProtoMessage()
- func (m *TimePointSec) Reset()
- func (m *TimePointSec) String() string
- func (m *TimePointSec) XXX_DiscardUnknown()
- func (m *TimePointSec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimePointSec) XXX_Merge(src proto.Message)
- func (m *TimePointSec) XXX_Size() int
- func (m *TimePointSec) XXX_Unmarshal(b []byte) error
- type Transaction
- func (m *Transaction) AddOperation(op interface{})
- func (*Transaction) Descriptor() ([]byte, []int)
- func (m *Transaction) GetExpiration() *TimePointSec
- func (m *Transaction) GetOperations() []*Operation
- func (m *Transaction) GetRefBlockNum() uint32
- func (m *Transaction) GetRefBlockPrefix() uint32
- func (*Transaction) ProtoMessage()
- func (m *Transaction) Reset()
- func (m *Transaction) SetReferenceBlock(id *common.BlockID)
- func (m *Transaction) String() string
- func (m *Transaction) Validate() error
- func (m *Transaction) XXX_DiscardUnknown()
- func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transaction) XXX_Merge(src proto.Message)
- func (m *Transaction) XXX_Size() int
- func (m *Transaction) XXX_Unmarshal(b []byte) error
- type TransactionInvoice
- func (*TransactionInvoice) Descriptor() ([]byte, []int)
- func (m *TransactionInvoice) GetGasUsage() uint64
- func (m *TransactionInvoice) GetStatus() uint32
- func (m *TransactionInvoice) GetVmConsole() string
- func (m *TransactionInvoice) GetVmError() bool
- func (m *TransactionInvoice) GetVmErrorCode() uint32
- func (m *TransactionInvoice) GetVmErrorMsg() string
- func (m *TransactionInvoice) IsSuccess() bool
- func (*TransactionInvoice) ProtoMessage()
- func (m *TransactionInvoice) Reset()
- func (m *TransactionInvoice) String() string
- func (m *TransactionInvoice) Validate() error
- func (m *TransactionInvoice) XXX_DiscardUnknown()
- func (m *TransactionInvoice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionInvoice) XXX_Merge(src proto.Message)
- func (m *TransactionInvoice) XXX_Size() int
- func (m *TransactionInvoice) XXX_Unmarshal(b []byte) error
- type TransactionWrapper
- func (*TransactionWrapper) Descriptor() ([]byte, []int)
- func (m *TransactionWrapper) GetInvoice() *TransactionInvoice
- func (m *TransactionWrapper) GetSigTrx() *SignedTransaction
- func (*TransactionWrapper) ProtoMessage()
- func (m *TransactionWrapper) Reset()
- func (m *TransactionWrapper) String() string
- func (m *TransactionWrapper) XXX_DiscardUnknown()
- func (m *TransactionWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionWrapper) XXX_Merge(src proto.Message)
- func (m *TransactionWrapper) XXX_Size() int
- func (m *TransactionWrapper) XXX_Unmarshal(b []byte) error
- type TransferOperation
- func (*TransferOperation) Descriptor() ([]byte, []int)
- func (t *TransferOperation) GetAdmin(*[]AccountAdminPair)
- func (m *TransferOperation) GetAmount() *Coin
- func (t *TransferOperation) GetAuthorities(auths *[]Authority)
- func (m *TransferOperation) GetFrom() *AccountName
- func (m *TransferOperation) GetMemo() string
- func (t *TransferOperation) GetRequiredActive(auths *map[string]bool)
- func (t *TransferOperation) GetRequiredOwner(auths *map[string]bool)
- func (t *TransferOperation) GetRequiredPosting(auths *map[string]bool)
- func (m *TransferOperation) GetTo() *AccountName
- func (t *TransferOperation) IsVirtual()
- func (*TransferOperation) ProtoMessage()
- func (m *TransferOperation) Reset()
- func (m *TransferOperation) String() string
- func (t *TransferOperation) Validate() error
- func (m *TransferOperation) XXX_DiscardUnknown()
- func (m *TransferOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferOperation) XXX_Merge(src proto.Message)
- func (m *TransferOperation) XXX_Size() int
- func (m *TransferOperation) XXX_Unmarshal(b []byte) error
- type TransferToVestingOperation
- func (*TransferToVestingOperation) Descriptor() ([]byte, []int)
- func (m *TransferToVestingOperation) GetAdmin(*[]AccountAdminPair)
- func (m *TransferToVestingOperation) GetAmount() *Coin
- func (m *TransferToVestingOperation) GetAuthorities(auths *[]Authority)
- func (m *TransferToVestingOperation) GetFrom() *AccountName
- func (m *TransferToVestingOperation) GetRequiredActive(auths *map[string]bool)
- func (m *TransferToVestingOperation) GetRequiredOwner(auths *map[string]bool)
- func (m *TransferToVestingOperation) GetRequiredPosting(auths *map[string]bool)
- func (m *TransferToVestingOperation) GetTo() *AccountName
- func (m *TransferToVestingOperation) IsVirtual()
- func (*TransferToVestingOperation) ProtoMessage()
- func (m *TransferToVestingOperation) Reset()
- func (m *TransferToVestingOperation) String() string
- func (m *TransferToVestingOperation) Validate() error
- func (m *TransferToVestingOperation) XXX_DiscardUnknown()
- func (m *TransferToVestingOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferToVestingOperation) XXX_Merge(src proto.Message)
- func (m *TransferToVestingOperation) XXX_Size() int
- func (m *TransferToVestingOperation) XXX_Unmarshal(b []byte) error
- type Vest
- func (m *Vest) Add(o *Vest) error
- func (*Vest) Descriptor() ([]byte, []int)
- func (m *Vest) GetValue() uint64
- func (m *Vest) OpeEncode() ([]byte, error)
- func (*Vest) ProtoMessage()
- func (m *Vest) Reset()
- func (m *Vest) String() string
- func (m *Vest) Sub(o *Vest) error
- func (m *Vest) ToCoin() *Coin
- func (m *Vest) XXX_DiscardUnknown()
- func (m *Vest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vest) XXX_Merge(src proto.Message)
- func (m *Vest) XXX_Size() int
- func (m *Vest) XXX_Unmarshal(b []byte) error
- type VoteOperation
- func (*VoteOperation) Descriptor() ([]byte, []int)
- func (m *VoteOperation) GetAdmin(*[]AccountAdminPair)
- func (m *VoteOperation) GetAuthorities(auths *[]Authority)
- func (m *VoteOperation) GetIdx() uint64
- func (m *VoteOperation) GetRequiredActive(auths *map[string]bool)
- func (m *VoteOperation) GetRequiredOwner(auths *map[string]bool)
- func (m *VoteOperation) GetRequiredPosting(auths *map[string]bool)
- func (m *VoteOperation) GetVoter() *AccountName
- func (m *VoteOperation) IsVirtual()
- func (*VoteOperation) ProtoMessage()
- func (m *VoteOperation) Reset()
- func (m *VoteOperation) String() string
- func (m *VoteOperation) Validate() error
- func (m *VoteOperation) XXX_DiscardUnknown()
- func (m *VoteOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteOperation) XXX_Merge(src proto.Message)
- func (m *VoteOperation) XXX_Size() int
- func (m *VoteOperation) XXX_Unmarshal(b []byte) error
- type VoterId
- func (*VoterId) Descriptor() ([]byte, []int)
- func (m *VoterId) GetPostId() uint64
- func (m *VoterId) GetVoter() *AccountName
- func (m *VoterId) OpeEncode() ([]byte, error)
- func (*VoterId) ProtoMessage()
- func (m *VoterId) Reset()
- func (m *VoterId) String() string
- func (m *VoterId) XXX_DiscardUnknown()
- func (m *VoterId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoterId) XXX_Merge(src proto.Message)
- func (m *VoterId) XXX_Size() int
- func (m *VoterId) XXX_Unmarshal(b []byte) error
- type WitnessScheduleType
- func (*WitnessScheduleType) Descriptor() ([]byte, []int)
- func (m *WitnessScheduleType) GetValue() WitnessScheduleTypeWitnessScheduleType
- func (*WitnessScheduleType) ProtoMessage()
- func (m *WitnessScheduleType) Reset()
- func (m *WitnessScheduleType) String() string
- func (m *WitnessScheduleType) XXX_DiscardUnknown()
- func (m *WitnessScheduleType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WitnessScheduleType) XXX_Merge(src proto.Message)
- func (m *WitnessScheduleType) XXX_Size() int
- func (m *WitnessScheduleType) XXX_Unmarshal(b []byte) error
- type WitnessScheduleTypeWitnessScheduleType
Constants ¶
View Source
const Size = 32
Variables ¶
View Source
var ( ErrNpe = errors.New("Null Pointer") ErrKeyLength = errors.New("Key Length Error") ErrHashLength = errors.New("Hash Length Error") ErrSigLength = errors.New("Signature Length Error") ErrCoinOverflow = errors.New("Coin Overflow") ErrVestOverflow = errors.New("Vest Overflow") )
View Source
var AuthorityClassification_name = map[int32]string{
0: "owner",
1: "active",
2: "key",
3: "posting",
}
View Source
var AuthorityClassification_value = map[string]int32{
"owner": 0,
"active": 1,
"key": 2,
"posting": 3,
}
View Source
var WitnessScheduleTypeWitnessScheduleType_name = map[int32]string{
0: "top19",
1: "timeshare",
2: "miner",
3: "none",
}
View Source
var WitnessScheduleTypeWitnessScheduleType_value = map[string]int32{
"top19": 0,
"timeshare": 1,
"miner": 2,
"none": 3,
}
Functions ¶
This section is empty.
Types ¶
type AccountAdminPair ¶
type AccountAdminPair struct {
Name AccountName
AdminType admin_type
}
type AccountCreateOperation ¶
type AccountCreateOperation struct {
Fee *Coin `protobuf:"bytes,1,opt,name=fee,proto3" json:"fee,omitempty"`
Creator *AccountName `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
NewAccountName *AccountName `protobuf:"bytes,3,opt,name=new_account_name,json=newAccountName,proto3" json:"new_account_name,omitempty"`
Owner *Authority `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
Active *Authority `protobuf:"bytes,5,opt,name=active,proto3" json:"active,omitempty"`
Posting *Authority `protobuf:"bytes,6,opt,name=posting,proto3" json:"posting,omitempty"`
JsonMetadata string `protobuf:"bytes,8,opt,name=json_metadata,json=jsonMetadata,proto3" json:"json_metadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AccountCreateOperation) Descriptor ¶
func (*AccountCreateOperation) Descriptor() ([]byte, []int)
func (*AccountCreateOperation) GetActive ¶
func (m *AccountCreateOperation) GetActive() *Authority
func (*AccountCreateOperation) GetAdmin ¶
func (a *AccountCreateOperation) GetAdmin(*[]AccountAdminPair)
func (*AccountCreateOperation) GetAuthorities ¶
func (a *AccountCreateOperation) GetAuthorities(auths *[]Authority)
func (*AccountCreateOperation) GetCreator ¶
func (m *AccountCreateOperation) GetCreator() *AccountName
func (*AccountCreateOperation) GetFee ¶
func (m *AccountCreateOperation) GetFee() *Coin
func (*AccountCreateOperation) GetJsonMetadata ¶
func (m *AccountCreateOperation) GetJsonMetadata() string
func (*AccountCreateOperation) GetNewAccountName ¶
func (m *AccountCreateOperation) GetNewAccountName() *AccountName
func (*AccountCreateOperation) GetOwner ¶
func (m *AccountCreateOperation) GetOwner() *Authority
func (*AccountCreateOperation) GetPosting ¶
func (m *AccountCreateOperation) GetPosting() *Authority
func (*AccountCreateOperation) GetRequiredActive ¶
func (a *AccountCreateOperation) GetRequiredActive(auths *map[string]bool)
func (*AccountCreateOperation) GetRequiredOwner ¶
func (a *AccountCreateOperation) GetRequiredOwner(auths *map[string]bool)
func (*AccountCreateOperation) GetRequiredPosting ¶
func (a *AccountCreateOperation) GetRequiredPosting(auths *map[string]bool)
func (*AccountCreateOperation) IsVirtual ¶
func (a *AccountCreateOperation) IsVirtual()
func (*AccountCreateOperation) ProtoMessage ¶
func (*AccountCreateOperation) ProtoMessage()
func (*AccountCreateOperation) Reset ¶
func (m *AccountCreateOperation) Reset()
func (*AccountCreateOperation) String ¶
func (m *AccountCreateOperation) String() string
func (*AccountCreateOperation) Validate ¶
func (a *AccountCreateOperation) Validate() error
func (*AccountCreateOperation) XXX_DiscardUnknown ¶
func (m *AccountCreateOperation) XXX_DiscardUnknown()
func (*AccountCreateOperation) XXX_Marshal ¶
func (m *AccountCreateOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountCreateOperation) XXX_Merge ¶
func (m *AccountCreateOperation) XXX_Merge(src proto.Message)
func (*AccountCreateOperation) XXX_Size ¶
func (m *AccountCreateOperation) XXX_Size() int
func (*AccountCreateOperation) XXX_Unmarshal ¶
func (m *AccountCreateOperation) XXX_Unmarshal(b []byte) error
type AccountName ¶
type AccountName struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewAccountName ¶
func NewAccountName(value string) *AccountName
func (*AccountName) Descriptor ¶
func (*AccountName) Descriptor() ([]byte, []int)
func (*AccountName) Empty ¶
func (m *AccountName) Empty() bool
func (*AccountName) GetValue ¶
func (m *AccountName) GetValue() string
func (*AccountName) OpeEncode ¶
func (m *AccountName) OpeEncode() ([]byte, error)
func (*AccountName) ProtoMessage ¶
func (*AccountName) ProtoMessage()
func (*AccountName) Reset ¶
func (m *AccountName) Reset()
func (*AccountName) String ¶
func (m *AccountName) String() string
func (*AccountName) Validate ¶
func (m *AccountName) Validate() error
func (*AccountName) XXX_DiscardUnknown ¶
func (m *AccountName) XXX_DiscardUnknown()
func (*AccountName) XXX_Marshal ¶
func (m *AccountName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountName) XXX_Merge ¶
func (m *AccountName) XXX_Merge(src proto.Message)
func (*AccountName) XXX_Size ¶
func (m *AccountName) XXX_Size() int
func (*AccountName) XXX_Unmarshal ¶
func (m *AccountName) XXX_Unmarshal(b []byte) error
type Authority ¶
type Authority struct {
Cf AuthorityClassification `protobuf:"varint,1,opt,name=cf,proto3,enum=prototype.AuthorityClassification" json:"cf,omitempty"`
WeightThreshold uint32 `protobuf:"varint,2,opt,name=weight_threshold,json=weightThreshold,proto3" json:"weight_threshold,omitempty"`
AccountAuths []*KvAccountAuth `protobuf:"bytes,3,rep,name=account_auths,json=accountAuths,proto3" json:"account_auths,omitempty"`
KeyAuths []*KvKeyAuth `protobuf:"bytes,4,rep,name=key_auths,json=keyAuths,proto3" json:"key_auths,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewAuthorityFromPubKey ¶
func NewAuthorityFromPubKey(pubKey *PublicKeyType) *Authority
func (*Authority) Descriptor ¶
func (*Authority) GetAccountAuths ¶
func (m *Authority) GetAccountAuths() []*KvAccountAuth
func (*Authority) GetCf ¶
func (m *Authority) GetCf() AuthorityClassification
func (*Authority) GetKeyAuths ¶
func (*Authority) GetWeightThreshold ¶
func (*Authority) ProtoMessage ¶
func (*Authority) ProtoMessage()
func (*Authority) XXX_DiscardUnknown ¶
func (m *Authority) XXX_DiscardUnknown()
func (*Authority) XXX_Marshal ¶
func (*Authority) XXX_Unmarshal ¶
type AuthorityClassification ¶
type AuthorityClassification int32
const ( Authority_owner AuthorityClassification = 0 Authority_active AuthorityClassification = 1 Authority_key AuthorityClassification = 2 Authority_posting AuthorityClassification = 3 )
func (AuthorityClassification) EnumDescriptor ¶
func (AuthorityClassification) EnumDescriptor() ([]byte, []int)
func (AuthorityClassification) String ¶
func (x AuthorityClassification) String() string
type AuthorityGetter ¶
type AuthorityType ¶
type AuthorityType uint16
const ( Posting AuthorityType = iota Active AuthorityType = iota Owner AuthorityType = iota )
type BaseOperation ¶
type BeneficiaryRouteType ¶
type BeneficiaryRouteType struct {
Name *AccountName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Weight uint32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BeneficiaryRouteType) Descriptor ¶
func (*BeneficiaryRouteType) Descriptor() ([]byte, []int)
func (*BeneficiaryRouteType) GetName ¶
func (m *BeneficiaryRouteType) GetName() *AccountName
func (*BeneficiaryRouteType) GetWeight ¶
func (m *BeneficiaryRouteType) GetWeight() uint32
func (*BeneficiaryRouteType) ProtoMessage ¶
func (*BeneficiaryRouteType) ProtoMessage()
func (*BeneficiaryRouteType) Reset ¶
func (m *BeneficiaryRouteType) Reset()
func (*BeneficiaryRouteType) String ¶
func (m *BeneficiaryRouteType) String() string
func (*BeneficiaryRouteType) XXX_DiscardUnknown ¶
func (m *BeneficiaryRouteType) XXX_DiscardUnknown()
func (*BeneficiaryRouteType) XXX_Marshal ¶
func (m *BeneficiaryRouteType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BeneficiaryRouteType) XXX_Merge ¶
func (m *BeneficiaryRouteType) XXX_Merge(src proto.Message)
func (*BeneficiaryRouteType) XXX_Size ¶
func (m *BeneficiaryRouteType) XXX_Size() int
func (*BeneficiaryRouteType) XXX_Unmarshal ¶
func (m *BeneficiaryRouteType) XXX_Unmarshal(b []byte) error
type BlockHeader ¶
type BlockHeader struct {
Previous *Sha256 `protobuf:"bytes,1,opt,name=previous,proto3" json:"previous,omitempty"`
Timestamp *TimePointSec `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Witness *AccountName `protobuf:"bytes,3,opt,name=witness,proto3" json:"witness,omitempty"`
TransactionMerkleRoot *Sha256 `` /* 126-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
block
func (*BlockHeader) Descriptor ¶
func (*BlockHeader) Descriptor() ([]byte, []int)
func (*BlockHeader) GetPrevious ¶
func (m *BlockHeader) GetPrevious() *Sha256
func (*BlockHeader) GetTimestamp ¶
func (m *BlockHeader) GetTimestamp() *TimePointSec
func (*BlockHeader) GetTransactionMerkleRoot ¶
func (m *BlockHeader) GetTransactionMerkleRoot() *Sha256
func (*BlockHeader) GetWitness ¶
func (m *BlockHeader) GetWitness() *AccountName
func (*BlockHeader) Hash ¶
func (bh *BlockHeader) Hash() (hash [Size]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 (m *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 BpRegisterOperation ¶
type BpRegisterOperation struct {
Owner *AccountName `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
BlockSigningKey *PublicKeyType `protobuf:"bytes,4,opt,name=block_signing_key,json=blockSigningKey,proto3" json:"block_signing_key,omitempty"`
Props *ChainProperties `protobuf:"bytes,5,opt,name=props,proto3" json:"props,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BpRegisterOperation) Descriptor ¶
func (*BpRegisterOperation) Descriptor() ([]byte, []int)
func (*BpRegisterOperation) GetAdmin ¶
func (m *BpRegisterOperation) GetAdmin(*[]AccountAdminPair)
func (*BpRegisterOperation) GetAuthorities ¶
func (m *BpRegisterOperation) GetAuthorities(auths *[]Authority)
func (*BpRegisterOperation) GetBlockSigningKey ¶
func (m *BpRegisterOperation) GetBlockSigningKey() *PublicKeyType
func (*BpRegisterOperation) GetDesc ¶
func (m *BpRegisterOperation) GetDesc() string
func (*BpRegisterOperation) GetOwner ¶
func (m *BpRegisterOperation) GetOwner() *AccountName
func (*BpRegisterOperation) GetProps ¶
func (m *BpRegisterOperation) GetProps() *ChainProperties
func (*BpRegisterOperation) GetRequiredActive ¶
func (m *BpRegisterOperation) GetRequiredActive(auths *map[string]bool)
func (*BpRegisterOperation) GetRequiredOwner ¶
func (m *BpRegisterOperation) GetRequiredOwner(auths *map[string]bool)
func (*BpRegisterOperation) GetRequiredPosting ¶
func (m *BpRegisterOperation) GetRequiredPosting(auths *map[string]bool)
func (*BpRegisterOperation) GetUrl ¶
func (m *BpRegisterOperation) GetUrl() string
func (*BpRegisterOperation) IsVirtual ¶
func (m *BpRegisterOperation) IsVirtual()
func (*BpRegisterOperation) ProtoMessage ¶
func (*BpRegisterOperation) ProtoMessage()
func (*BpRegisterOperation) Reset ¶
func (m *BpRegisterOperation) Reset()
func (*BpRegisterOperation) String ¶
func (m *BpRegisterOperation) String() string
func (*BpRegisterOperation) Validate ¶
func (m *BpRegisterOperation) Validate() error
func (*BpRegisterOperation) XXX_DiscardUnknown ¶
func (m *BpRegisterOperation) XXX_DiscardUnknown()
func (*BpRegisterOperation) XXX_Marshal ¶
func (m *BpRegisterOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BpRegisterOperation) XXX_Merge ¶
func (m *BpRegisterOperation) XXX_Merge(src proto.Message)
func (*BpRegisterOperation) XXX_Size ¶
func (m *BpRegisterOperation) XXX_Size() int
func (*BpRegisterOperation) XXX_Unmarshal ¶
func (m *BpRegisterOperation) XXX_Unmarshal(b []byte) error
type BpUnregisterOperation ¶
type BpUnregisterOperation struct {
Owner *AccountName `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BpUnregisterOperation) Descriptor ¶
func (*BpUnregisterOperation) Descriptor() ([]byte, []int)
func (*BpUnregisterOperation) GetAdmin ¶
func (m *BpUnregisterOperation) GetAdmin(*[]AccountAdminPair)
func (*BpUnregisterOperation) GetAuthorities ¶
func (m *BpUnregisterOperation) GetAuthorities(auths *[]Authority)
func (*BpUnregisterOperation) GetOwner ¶
func (m *BpUnregisterOperation) GetOwner() *AccountName
func (*BpUnregisterOperation) GetRequiredActive ¶
func (m *BpUnregisterOperation) GetRequiredActive(auths *map[string]bool)
func (*BpUnregisterOperation) GetRequiredOwner ¶
func (m *BpUnregisterOperation) GetRequiredOwner(auths *map[string]bool)
func (*BpUnregisterOperation) GetRequiredPosting ¶
func (m *BpUnregisterOperation) GetRequiredPosting(auths *map[string]bool)
func (*BpUnregisterOperation) IsVirtual ¶
func (m *BpUnregisterOperation) IsVirtual()
func (*BpUnregisterOperation) ProtoMessage ¶
func (*BpUnregisterOperation) ProtoMessage()
func (*BpUnregisterOperation) Reset ¶
func (m *BpUnregisterOperation) Reset()
func (*BpUnregisterOperation) String ¶
func (m *BpUnregisterOperation) String() string
func (*BpUnregisterOperation) Validate ¶
func (m *BpUnregisterOperation) Validate() error
func (*BpUnregisterOperation) XXX_DiscardUnknown ¶
func (m *BpUnregisterOperation) XXX_DiscardUnknown()
func (*BpUnregisterOperation) XXX_Marshal ¶
func (m *BpUnregisterOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BpUnregisterOperation) XXX_Merge ¶
func (m *BpUnregisterOperation) XXX_Merge(src proto.Message)
func (*BpUnregisterOperation) XXX_Size ¶
func (m *BpUnregisterOperation) XXX_Size() int
func (*BpUnregisterOperation) XXX_Unmarshal ¶
func (m *BpUnregisterOperation) XXX_Unmarshal(b []byte) error
type BpVoteOperation ¶
type BpVoteOperation struct {
Voter *AccountName `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"`
Witness *AccountName `protobuf:"bytes,2,opt,name=witness,proto3" json:"witness,omitempty"`
Cancel bool `protobuf:"varint,3,opt,name=cancel,proto3" json:"cancel,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BpVoteOperation) Descriptor ¶
func (*BpVoteOperation) Descriptor() ([]byte, []int)
func (*BpVoteOperation) GetAdmin ¶
func (m *BpVoteOperation) GetAdmin(*[]AccountAdminPair)
func (*BpVoteOperation) GetAuthorities ¶
func (m *BpVoteOperation) GetAuthorities(auths *[]Authority)
func (*BpVoteOperation) GetCancel ¶
func (m *BpVoteOperation) GetCancel() bool
func (*BpVoteOperation) GetRequiredActive ¶
func (m *BpVoteOperation) GetRequiredActive(auths *map[string]bool)
func (*BpVoteOperation) GetRequiredOwner ¶
func (m *BpVoteOperation) GetRequiredOwner(auths *map[string]bool)
func (*BpVoteOperation) GetRequiredPosting ¶
func (m *BpVoteOperation) GetRequiredPosting(auths *map[string]bool)
func (*BpVoteOperation) GetVoter ¶
func (m *BpVoteOperation) GetVoter() *AccountName
func (*BpVoteOperation) GetWitness ¶
func (m *BpVoteOperation) GetWitness() *AccountName
func (*BpVoteOperation) IsVirtual ¶
func (m *BpVoteOperation) IsVirtual()
func (*BpVoteOperation) ProtoMessage ¶
func (*BpVoteOperation) ProtoMessage()
func (*BpVoteOperation) Reset ¶
func (m *BpVoteOperation) Reset()
func (*BpVoteOperation) String ¶
func (m *BpVoteOperation) String() string
func (*BpVoteOperation) Validate ¶
func (m *BpVoteOperation) Validate() error
func (*BpVoteOperation) XXX_DiscardUnknown ¶
func (m *BpVoteOperation) XXX_DiscardUnknown()
func (*BpVoteOperation) XXX_Marshal ¶
func (m *BpVoteOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BpVoteOperation) XXX_Merge ¶
func (m *BpVoteOperation) XXX_Merge(src proto.Message)
func (*BpVoteOperation) XXX_Size ¶
func (m *BpVoteOperation) XXX_Size() int
func (*BpVoteOperation) XXX_Unmarshal ¶
func (m *BpVoteOperation) XXX_Unmarshal(b []byte) error
type BpVoterId ¶
type BpVoterId struct {
Voter *AccountName `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"`
Witness *AccountName `protobuf:"bytes,2,opt,name=witness,proto3" json:"witness,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BpVoterId) Descriptor ¶
func (*BpVoterId) GetVoter ¶
func (m *BpVoterId) GetVoter() *AccountName
func (*BpVoterId) GetWitness ¶
func (m *BpVoterId) GetWitness() *AccountName
func (*BpVoterId) ProtoMessage ¶
func (*BpVoterId) ProtoMessage()
func (*BpVoterId) XXX_DiscardUnknown ¶
func (m *BpVoterId) XXX_DiscardUnknown()
func (*BpVoterId) XXX_Marshal ¶
func (*BpVoterId) XXX_Unmarshal ¶
type BpWitnessId ¶
type BpWitnessId struct {
Voter *AccountName `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"`
Witness *AccountName `protobuf:"bytes,2,opt,name=witness,proto3" json:"witness,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BpWitnessId) Descriptor ¶
func (*BpWitnessId) Descriptor() ([]byte, []int)
func (*BpWitnessId) GetVoter ¶
func (m *BpWitnessId) GetVoter() *AccountName
func (*BpWitnessId) GetWitness ¶
func (m *BpWitnessId) GetWitness() *AccountName
func (*BpWitnessId) ProtoMessage ¶
func (*BpWitnessId) ProtoMessage()
func (*BpWitnessId) Reset ¶
func (m *BpWitnessId) Reset()
func (*BpWitnessId) String ¶
func (m *BpWitnessId) String() string
func (*BpWitnessId) XXX_DiscardUnknown ¶
func (m *BpWitnessId) XXX_DiscardUnknown()
func (*BpWitnessId) XXX_Marshal ¶
func (m *BpWitnessId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BpWitnessId) XXX_Merge ¶
func (m *BpWitnessId) XXX_Merge(src proto.Message)
func (*BpWitnessId) XXX_Size ¶
func (m *BpWitnessId) XXX_Size() int
func (*BpWitnessId) XXX_Unmarshal ¶
func (m *BpWitnessId) XXX_Unmarshal(b []byte) error
type ChainId ¶
type ChainId struct {
Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ChainId) Descriptor ¶
func (*ChainId) ProtoMessage ¶
func (*ChainId) ProtoMessage()
func (*ChainId) XXX_DiscardUnknown ¶
func (m *ChainId) XXX_DiscardUnknown()
func (*ChainId) XXX_Marshal ¶
func (*ChainId) XXX_Unmarshal ¶
type ChainProperties ¶
type ChainProperties struct {
AccountCreationFee *Coin `protobuf:"bytes,1,opt,name=account_creation_fee,json=accountCreationFee,proto3" json:"account_creation_fee,omitempty"`
MaximumBlockSize uint32 `protobuf:"varint,2,opt,name=maximum_block_size,json=maximumBlockSize,proto3" json:"maximum_block_size,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ChainProperties) Descriptor ¶
func (*ChainProperties) Descriptor() ([]byte, []int)
func (*ChainProperties) GetAccountCreationFee ¶
func (m *ChainProperties) GetAccountCreationFee() *Coin
func (*ChainProperties) GetMaximumBlockSize ¶
func (m *ChainProperties) GetMaximumBlockSize() uint32
func (*ChainProperties) ProtoMessage ¶
func (*ChainProperties) ProtoMessage()
func (*ChainProperties) Reset ¶
func (m *ChainProperties) Reset()
func (*ChainProperties) String ¶
func (m *ChainProperties) String() string
func (*ChainProperties) XXX_DiscardUnknown ¶
func (m *ChainProperties) XXX_DiscardUnknown()
func (*ChainProperties) XXX_Marshal ¶
func (m *ChainProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainProperties) XXX_Merge ¶
func (m *ChainProperties) XXX_Merge(src proto.Message)
func (*ChainProperties) XXX_Size ¶
func (m *ChainProperties) XXX_Size() int
func (*ChainProperties) XXX_Unmarshal ¶
func (m *ChainProperties) XXX_Unmarshal(b []byte) error
type ClaimAllOperation ¶
type ClaimAllOperation struct {
Account *AccountName `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ClaimAllOperation) Descriptor ¶
func (*ClaimAllOperation) Descriptor() ([]byte, []int)
func (*ClaimAllOperation) GetAccount ¶
func (m *ClaimAllOperation) GetAccount() *AccountName
func (*ClaimAllOperation) ProtoMessage ¶
func (*ClaimAllOperation) ProtoMessage()
func (*ClaimAllOperation) Reset ¶
func (m *ClaimAllOperation) Reset()
func (*ClaimAllOperation) String ¶
func (m *ClaimAllOperation) String() string
func (*ClaimAllOperation) XXX_DiscardUnknown ¶
func (m *ClaimAllOperation) XXX_DiscardUnknown()
func (*ClaimAllOperation) XXX_Marshal ¶
func (m *ClaimAllOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimAllOperation) XXX_Merge ¶
func (m *ClaimAllOperation) XXX_Merge(src proto.Message)
func (*ClaimAllOperation) XXX_Size ¶
func (m *ClaimAllOperation) XXX_Size() int
func (*ClaimAllOperation) XXX_Unmarshal ¶
func (m *ClaimAllOperation) XXX_Unmarshal(b []byte) error
type ClaimOperation ¶
type ClaimOperation struct {
Account *AccountName `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ClaimOperation) Descriptor ¶
func (*ClaimOperation) Descriptor() ([]byte, []int)
func (*ClaimOperation) GetAccount ¶
func (m *ClaimOperation) GetAccount() *AccountName
func (*ClaimOperation) GetAmount ¶
func (m *ClaimOperation) GetAmount() uint64
func (*ClaimOperation) ProtoMessage ¶
func (*ClaimOperation) ProtoMessage()
func (*ClaimOperation) Reset ¶
func (m *ClaimOperation) Reset()
func (*ClaimOperation) String ¶
func (m *ClaimOperation) String() string
func (*ClaimOperation) XXX_DiscardUnknown ¶
func (m *ClaimOperation) XXX_DiscardUnknown()
func (*ClaimOperation) XXX_Marshal ¶
func (m *ClaimOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimOperation) XXX_Merge ¶
func (m *ClaimOperation) XXX_Merge(src proto.Message)
func (*ClaimOperation) XXX_Size ¶
func (m *ClaimOperation) XXX_Size() int
func (*ClaimOperation) XXX_Unmarshal ¶
func (m *ClaimOperation) XXX_Unmarshal(b []byte) error
type Coin ¶
type Coin struct {
Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func VestingToCoin ¶
func (*Coin) Descriptor ¶
func (*Coin) ProtoMessage ¶
func (*Coin) ProtoMessage()
func (*Coin) XXX_DiscardUnknown ¶
func (m *Coin) XXX_DiscardUnknown()
func (*Coin) XXX_Unmarshal ¶
type DynamicProperties ¶
type DynamicProperties struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
HeadBlockId *Sha256 `protobuf:"bytes,2,opt,name=head_block_id,json=headBlockId,proto3" json:"head_block_id,omitempty"`
HeadBlockNumber uint32 `protobuf:"varint,3,opt,name=head_block_number,json=headBlockNumber,proto3" json:"head_block_number,omitempty"`
MaximumBlockSize uint32 `protobuf:"varint,4,opt,name=maximum_block_size,json=maximumBlockSize,proto3" json:"maximum_block_size,omitempty"`
TotalCos *Coin `protobuf:"bytes,5,opt,name=total_cos,json=totalCos,proto3" json:"total_cos,omitempty"`
Time *TimePointSec `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"`
CurrentWitness *AccountName `protobuf:"bytes,7,opt,name=current_witness,json=currentWitness,proto3" json:"current_witness,omitempty"`
IrreversibleBlockNum uint32 `protobuf:"varint,8,opt,name=irreversible_block_num,json=irreversibleBlockNum,proto3" json:"irreversible_block_num,omitempty"`
Tps uint32 `protobuf:"varint,9,opt,name=tps,proto3" json:"tps,omitempty"`
CurrentSupply *Coin `protobuf:"bytes,11,opt,name=current_supply,json=currentSupply,proto3" json:"current_supply,omitempty"`
CurrentAslot uint32 `protobuf:"varint,12,opt,name=current_aslot,json=currentAslot,proto3" json:"current_aslot,omitempty"`
WeightedVps uint64 `protobuf:"varint,13,opt,name=weighted_vps,json=weightedVps,proto3" json:"weighted_vps,omitempty"`
PostRewards *Vest `protobuf:"bytes,14,opt,name=post_rewards,json=postRewards,proto3" json:"post_rewards,omitempty"`
ReplyRewards *Vest `protobuf:"bytes,15,opt,name=reply_rewards,json=replyRewards,proto3" json:"reply_rewards,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DynamicProperties) Descriptor ¶
func (*DynamicProperties) Descriptor() ([]byte, []int)
func (*DynamicProperties) GetCurrentAslot ¶
func (m *DynamicProperties) GetCurrentAslot() uint32
func (*DynamicProperties) GetCurrentSupply ¶
func (m *DynamicProperties) GetCurrentSupply() *Coin
func (*DynamicProperties) GetCurrentWitness ¶
func (m *DynamicProperties) GetCurrentWitness() *AccountName
func (*DynamicProperties) GetHeadBlockId ¶
func (m *DynamicProperties) GetHeadBlockId() *Sha256
func (*DynamicProperties) GetHeadBlockNumber ¶
func (m *DynamicProperties) GetHeadBlockNumber() uint32
func (*DynamicProperties) GetId ¶
func (m *DynamicProperties) GetId() int32
func (*DynamicProperties) GetIrreversibleBlockNum ¶
func (m *DynamicProperties) GetIrreversibleBlockNum() uint32
func (*DynamicProperties) GetMaximumBlockSize ¶
func (m *DynamicProperties) GetMaximumBlockSize() uint32
func (*DynamicProperties) GetPostRewards ¶
func (m *DynamicProperties) GetPostRewards() *Vest
func (*DynamicProperties) GetReplyRewards ¶
func (m *DynamicProperties) GetReplyRewards() *Vest
func (*DynamicProperties) GetTime ¶
func (m *DynamicProperties) GetTime() *TimePointSec
func (*DynamicProperties) GetTotalCos ¶
func (m *DynamicProperties) GetTotalCos() *Coin
func (*DynamicProperties) GetTotalVestingShares ¶
func (m *DynamicProperties) GetTotalVestingShares() *Vest
func (*DynamicProperties) GetTps ¶
func (m *DynamicProperties) GetTps() uint32
func (*DynamicProperties) GetWeightedVps ¶
func (m *DynamicProperties) GetWeightedVps() uint64
func (*DynamicProperties) ProtoMessage ¶
func (*DynamicProperties) ProtoMessage()
func (*DynamicProperties) Reset ¶
func (m *DynamicProperties) Reset()
func (*DynamicProperties) String ¶
func (m *DynamicProperties) String() string
func (*DynamicProperties) XXX_DiscardUnknown ¶
func (m *DynamicProperties) XXX_DiscardUnknown()
func (*DynamicProperties) XXX_Marshal ¶
func (m *DynamicProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DynamicProperties) XXX_Merge ¶
func (m *DynamicProperties) XXX_Merge(src proto.Message)
func (*DynamicProperties) XXX_Size ¶
func (m *DynamicProperties) XXX_Size() int
func (*DynamicProperties) XXX_Unmarshal ¶
func (m *DynamicProperties) XXX_Unmarshal(b []byte) error
type EmptySignedBlock ¶
type EmptySignedBlock struct {
SignedHeader *SignedBlockHeader `protobuf:"bytes,1,opt,name=signed_header,json=signedHeader,proto3" json:"signed_header,omitempty"`
TrxCount uint32 `protobuf:"varint,2,opt,name=trx_count,json=trxCount,proto3" json:"trx_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*EmptySignedBlock) Descriptor ¶
func (*EmptySignedBlock) Descriptor() ([]byte, []int)
func (*EmptySignedBlock) GetSignedHeader ¶
func (m *EmptySignedBlock) GetSignedHeader() *SignedBlockHeader
func (*EmptySignedBlock) GetTrxCount ¶
func (m *EmptySignedBlock) GetTrxCount() uint32
func (*EmptySignedBlock) ProtoMessage ¶
func (*EmptySignedBlock) ProtoMessage()
func (*EmptySignedBlock) Reset ¶
func (m *EmptySignedBlock) Reset()
func (*EmptySignedBlock) String ¶
func (m *EmptySignedBlock) String() string
func (*EmptySignedBlock) XXX_DiscardUnknown ¶
func (m *EmptySignedBlock) XXX_DiscardUnknown()
func (*EmptySignedBlock) XXX_Marshal ¶
func (m *EmptySignedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmptySignedBlock) XXX_Merge ¶
func (m *EmptySignedBlock) XXX_Merge(src proto.Message)
func (*EmptySignedBlock) XXX_Size ¶
func (m *EmptySignedBlock) XXX_Size() int
func (*EmptySignedBlock) XXX_Unmarshal ¶
func (m *EmptySignedBlock) XXX_Unmarshal(b []byte) error
type FollowOperation ¶
type FollowOperation struct {
Account *AccountName `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
FAccount *AccountName `protobuf:"bytes,2,opt,name=f_account,json=fAccount,proto3" json:"f_account,omitempty"`
Cancel bool `protobuf:"varint,3,opt,name=cancel,proto3" json:"cancel,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*FollowOperation) Descriptor ¶
func (*FollowOperation) Descriptor() ([]byte, []int)
func (*FollowOperation) GetAccount ¶
func (m *FollowOperation) GetAccount() *AccountName
func (*FollowOperation) GetAdmin ¶
func (m *FollowOperation) GetAdmin(*[]AccountAdminPair)
func (*FollowOperation) GetAuthorities ¶
func (m *FollowOperation) GetAuthorities(auths *[]Authority)
func (*FollowOperation) GetCancel ¶
func (m *FollowOperation) GetCancel() bool
func (*FollowOperation) GetFAccount ¶
func (m *FollowOperation) GetFAccount() *AccountName
func (*FollowOperation) GetRequiredActive ¶
func (m *FollowOperation) GetRequiredActive(auths *map[string]bool)
func (*FollowOperation) GetRequiredOwner ¶
func (m *FollowOperation) GetRequiredOwner(auths *map[string]bool)
func (*FollowOperation) GetRequiredPosting ¶
func (m *FollowOperation) GetRequiredPosting(auths *map[string]bool)
func (*FollowOperation) IsVirtual ¶
func (m *FollowOperation) IsVirtual()
func (*FollowOperation) ProtoMessage ¶
func (*FollowOperation) ProtoMessage()
func (*FollowOperation) Reset ¶
func (m *FollowOperation) Reset()
func (*FollowOperation) String ¶
func (m *FollowOperation) String() string
func (*FollowOperation) Validate ¶
func (m *FollowOperation) Validate() error
func (*FollowOperation) XXX_DiscardUnknown ¶
func (m *FollowOperation) XXX_DiscardUnknown()
func (*FollowOperation) XXX_Marshal ¶
func (m *FollowOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FollowOperation) XXX_Merge ¶
func (m *FollowOperation) XXX_Merge(src proto.Message)
func (*FollowOperation) XXX_Size ¶
func (m *FollowOperation) XXX_Size() int
func (*FollowOperation) XXX_Unmarshal ¶
func (m *FollowOperation) XXX_Unmarshal(b []byte) error
type FollowerCreatedOrder ¶
type FollowerCreatedOrder struct {
Account *AccountName `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
CreatedTime *TimePointSec `protobuf:"bytes,2,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
Follower *AccountName `protobuf:"bytes,3,opt,name=follower,proto3" json:"follower,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*FollowerCreatedOrder) Descriptor ¶
func (*FollowerCreatedOrder) Descriptor() ([]byte, []int)
func (*FollowerCreatedOrder) GetAccount ¶
func (m *FollowerCreatedOrder) GetAccount() *AccountName
func (*FollowerCreatedOrder) GetCreatedTime ¶
func (m *FollowerCreatedOrder) GetCreatedTime() *TimePointSec
func (*FollowerCreatedOrder) GetFollower ¶
func (m *FollowerCreatedOrder) GetFollower() *AccountName
func (*FollowerCreatedOrder) OpeEncode ¶
func (m *FollowerCreatedOrder) OpeEncode() ([]byte, error)
func (*FollowerCreatedOrder) ProtoMessage ¶
func (*FollowerCreatedOrder) ProtoMessage()
func (*FollowerCreatedOrder) Reset ¶
func (m *FollowerCreatedOrder) Reset()
func (*FollowerCreatedOrder) String ¶
func (m *FollowerCreatedOrder) String() string
func (*FollowerCreatedOrder) XXX_DiscardUnknown ¶
func (m *FollowerCreatedOrder) XXX_DiscardUnknown()
func (*FollowerCreatedOrder) XXX_Marshal ¶
func (m *FollowerCreatedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FollowerCreatedOrder) XXX_Merge ¶
func (m *FollowerCreatedOrder) XXX_Merge(src proto.Message)
func (*FollowerCreatedOrder) XXX_Size ¶
func (m *FollowerCreatedOrder) XXX_Size() int
func (*FollowerCreatedOrder) XXX_Unmarshal ¶
func (m *FollowerCreatedOrder) XXX_Unmarshal(b []byte) error
type FollowerRelation ¶
type FollowerRelation struct {
Account *AccountName `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
Follower *AccountName `protobuf:"bytes,2,opt,name=follower,proto3" json:"follower,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*FollowerRelation) Descriptor ¶
func (*FollowerRelation) Descriptor() ([]byte, []int)
func (*FollowerRelation) GetAccount ¶
func (m *FollowerRelation) GetAccount() *AccountName
func (*FollowerRelation) GetFollower ¶
func (m *FollowerRelation) GetFollower() *AccountName
func (*FollowerRelation) OpeEncode ¶
func (m *FollowerRelation) OpeEncode() ([]byte, error)
func (*FollowerRelation) ProtoMessage ¶
func (*FollowerRelation) ProtoMessage()
func (*FollowerRelation) Reset ¶
func (m *FollowerRelation) Reset()
func (*FollowerRelation) String ¶
func (m *FollowerRelation) String() string
func (*FollowerRelation) XXX_DiscardUnknown ¶
func (m *FollowerRelation) XXX_DiscardUnknown()
func (*FollowerRelation) XXX_Marshal ¶
func (m *FollowerRelation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FollowerRelation) XXX_Merge ¶
func (m *FollowerRelation) XXX_Merge(src proto.Message)
func (*FollowerRelation) XXX_Size ¶
func (m *FollowerRelation) XXX_Size() int
func (*FollowerRelation) XXX_Unmarshal ¶
func (m *FollowerRelation) XXX_Unmarshal(b []byte) error
type FollowingCreatedOrder ¶
type FollowingCreatedOrder struct {
Account *AccountName `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
CreatedTime *TimePointSec `protobuf:"bytes,2,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
Following *AccountName `protobuf:"bytes,3,opt,name=following,proto3" json:"following,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*FollowingCreatedOrder) Descriptor ¶
func (*FollowingCreatedOrder) Descriptor() ([]byte, []int)
func (*FollowingCreatedOrder) GetAccount ¶
func (m *FollowingCreatedOrder) GetAccount() *AccountName
func (*FollowingCreatedOrder) GetCreatedTime ¶
func (m *FollowingCreatedOrder) GetCreatedTime() *TimePointSec
func (*FollowingCreatedOrder) GetFollowing ¶
func (m *FollowingCreatedOrder) GetFollowing() *AccountName
func (*FollowingCreatedOrder) OpeEncode ¶
func (m *FollowingCreatedOrder) OpeEncode() ([]byte, error)
func (*FollowingCreatedOrder) ProtoMessage ¶
func (*FollowingCreatedOrder) ProtoMessage()
func (*FollowingCreatedOrder) Reset ¶
func (m *FollowingCreatedOrder) Reset()
func (*FollowingCreatedOrder) String ¶
func (m *FollowingCreatedOrder) String() string
func (*FollowingCreatedOrder) XXX_DiscardUnknown ¶
func (m *FollowingCreatedOrder) XXX_DiscardUnknown()
func (*FollowingCreatedOrder) XXX_Marshal ¶
func (m *FollowingCreatedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FollowingCreatedOrder) XXX_Merge ¶
func (m *FollowingCreatedOrder) XXX_Merge(src proto.Message)
func (*FollowingCreatedOrder) XXX_Size ¶
func (m *FollowingCreatedOrder) XXX_Size() int
func (*FollowingCreatedOrder) XXX_Unmarshal ¶
func (m *FollowingCreatedOrder) XXX_Unmarshal(b []byte) error
type FollowingRelation ¶
type FollowingRelation struct {
Account *AccountName `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
Following *AccountName `protobuf:"bytes,2,opt,name=following,proto3" json:"following,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*FollowingRelation) Descriptor ¶
func (*FollowingRelation) Descriptor() ([]byte, []int)
func (*FollowingRelation) GetAccount ¶
func (m *FollowingRelation) GetAccount() *AccountName
func (*FollowingRelation) GetFollowing ¶
func (m *FollowingRelation) GetFollowing() *AccountName
func (*FollowingRelation) OpeEncode ¶
func (m *FollowingRelation) OpeEncode() ([]byte, error)
func (*FollowingRelation) ProtoMessage ¶
func (*FollowingRelation) ProtoMessage()
func (*FollowingRelation) Reset ¶
func (m *FollowingRelation) Reset()
func (*FollowingRelation) String ¶
func (m *FollowingRelation) String() string
func (*FollowingRelation) XXX_DiscardUnknown ¶
func (m *FollowingRelation) XXX_DiscardUnknown()
func (*FollowingRelation) XXX_Marshal ¶
func (m *FollowingRelation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FollowingRelation) XXX_Merge ¶
func (m *FollowingRelation) XXX_Merge(src proto.Message)
func (*FollowingRelation) XXX_Size ¶
func (m *FollowingRelation) XXX_Size() int
func (*FollowingRelation) XXX_Unmarshal ¶
func (m *FollowingRelation) XXX_Unmarshal(b []byte) error
type InternalRewardsKeeper ¶
type InternalRewardsKeeper struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Rewards map[string]*Vest `` /* 155-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*InternalRewardsKeeper) Descriptor ¶
func (*InternalRewardsKeeper) Descriptor() ([]byte, []int)
func (*InternalRewardsKeeper) GetId ¶
func (m *InternalRewardsKeeper) GetId() int32
func (*InternalRewardsKeeper) GetRewards ¶
func (m *InternalRewardsKeeper) GetRewards() map[string]*Vest
func (*InternalRewardsKeeper) ProtoMessage ¶
func (*InternalRewardsKeeper) ProtoMessage()
func (*InternalRewardsKeeper) Reset ¶
func (m *InternalRewardsKeeper) Reset()
func (*InternalRewardsKeeper) String ¶
func (m *InternalRewardsKeeper) String() string
func (*InternalRewardsKeeper) XXX_DiscardUnknown ¶
func (m *InternalRewardsKeeper) XXX_DiscardUnknown()
func (*InternalRewardsKeeper) XXX_Marshal ¶
func (m *InternalRewardsKeeper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InternalRewardsKeeper) XXX_Merge ¶
func (m *InternalRewardsKeeper) XXX_Merge(src proto.Message)
func (*InternalRewardsKeeper) XXX_Size ¶
func (m *InternalRewardsKeeper) XXX_Size() int
func (*InternalRewardsKeeper) XXX_Unmarshal ¶
func (m *InternalRewardsKeeper) XXX_Unmarshal(b []byte) error
type KvAccountAuth ¶
type KvAccountAuth struct {
Name *AccountName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Weight uint32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*KvAccountAuth) Descriptor ¶
func (*KvAccountAuth) Descriptor() ([]byte, []int)
func (*KvAccountAuth) GetName ¶
func (m *KvAccountAuth) GetName() *AccountName
func (*KvAccountAuth) GetWeight ¶
func (m *KvAccountAuth) GetWeight() uint32
func (*KvAccountAuth) ProtoMessage ¶
func (*KvAccountAuth) ProtoMessage()
func (*KvAccountAuth) Reset ¶
func (m *KvAccountAuth) Reset()
func (*KvAccountAuth) String ¶
func (m *KvAccountAuth) String() string
func (*KvAccountAuth) XXX_DiscardUnknown ¶
func (m *KvAccountAuth) XXX_DiscardUnknown()
func (*KvAccountAuth) XXX_Marshal ¶
func (m *KvAccountAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KvAccountAuth) XXX_Merge ¶
func (m *KvAccountAuth) XXX_Merge(src proto.Message)
func (*KvAccountAuth) XXX_Size ¶
func (m *KvAccountAuth) XXX_Size() int
func (*KvAccountAuth) XXX_Unmarshal ¶
func (m *KvAccountAuth) XXX_Unmarshal(b []byte) error
type KvKeyAuth ¶
type KvKeyAuth struct {
Key *PublicKeyType `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Weight uint32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*KvKeyAuth) Descriptor ¶
func (*KvKeyAuth) GetKey ¶
func (m *KvKeyAuth) GetKey() *PublicKeyType
func (*KvKeyAuth) ProtoMessage ¶
func (*KvKeyAuth) ProtoMessage()
func (*KvKeyAuth) XXX_DiscardUnknown ¶
func (m *KvKeyAuth) XXX_DiscardUnknown()
func (*KvKeyAuth) XXX_Marshal ¶
func (*KvKeyAuth) XXX_Unmarshal ¶
type Operation ¶
type Operation struct {
// Types that are valid to be assigned to Op:
// *Operation_Op1
// *Operation_Op2
// *Operation_Op3
// *Operation_Op4
// *Operation_Op5
// *Operation_Op6
// *Operation_Op7
// *Operation_Op8
// *Operation_Op9
// *Operation_Op10
// *Operation_Op11
// *Operation_Op12
Op isOperation_Op `protobuf_oneof:"op"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Operation) Descriptor ¶
func (*Operation) GetOp1 ¶
func (m *Operation) GetOp1() *AccountCreateOperation
func (*Operation) GetOp2 ¶
func (m *Operation) GetOp2() *TransferOperation
func (*Operation) GetOp3 ¶
func (m *Operation) GetOp3() *BpRegisterOperation
func (*Operation) GetOp4 ¶
func (m *Operation) GetOp4() *BpUnregisterOperation
func (*Operation) GetOp5 ¶
func (m *Operation) GetOp5() *BpVoteOperation
func (*Operation) GetOp6 ¶
func (m *Operation) GetOp6() *PostOperation
func (*Operation) GetOp7 ¶
func (m *Operation) GetOp7() *ReplyOperation
func (*Operation) GetOp8 ¶
func (m *Operation) GetOp8() *FollowOperation
func (*Operation) GetOp9 ¶
func (m *Operation) GetOp9() *VoteOperation
func (*Operation) GetOp10 ¶
func (m *Operation) GetOp10() *TransferToVestingOperation
func (*Operation) GetOp11 ¶
func (m *Operation) GetOp11() *ClaimOperation
func (*Operation) GetOp12 ¶
func (m *Operation) GetOp12() *ClaimAllOperation
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) XXX_DiscardUnknown ¶
func (m *Operation) XXX_DiscardUnknown()
func (*Operation) XXX_Marshal ¶
func (*Operation) XXX_OneofFuncs ¶
func (*Operation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Operation) XXX_Unmarshal ¶
type OperationNotification ¶
type Operation_Op1 ¶
type Operation_Op1 struct {
Op1 *AccountCreateOperation `protobuf:"bytes,1,opt,name=op1,proto3,oneof"`
}
type Operation_Op2 ¶
type Operation_Op2 struct {
Op2 *TransferOperation `protobuf:"bytes,2,opt,name=op2,proto3,oneof"`
}
type Operation_Op3 ¶
type Operation_Op3 struct {
Op3 *BpRegisterOperation `protobuf:"bytes,3,opt,name=op3,proto3,oneof"`
}
type Operation_Op4 ¶
type Operation_Op4 struct {
Op4 *BpUnregisterOperation `protobuf:"bytes,4,opt,name=op4,proto3,oneof"`
}
type Operation_Op5 ¶
type Operation_Op5 struct {
Op5 *BpVoteOperation `protobuf:"bytes,5,opt,name=op5,proto3,oneof"`
}
type Operation_Op6 ¶
type Operation_Op6 struct {
Op6 *PostOperation `protobuf:"bytes,6,opt,name=op6,proto3,oneof"`
}
type Operation_Op7 ¶
type Operation_Op7 struct {
Op7 *ReplyOperation `protobuf:"bytes,7,opt,name=op7,proto3,oneof"`
}
type Operation_Op8 ¶
type Operation_Op8 struct {
Op8 *FollowOperation `protobuf:"bytes,8,opt,name=op8,proto3,oneof"`
}
type Operation_Op9 ¶
type Operation_Op9 struct {
Op9 *VoteOperation `protobuf:"bytes,9,opt,name=op9,proto3,oneof"`
}
type Operation_Op10 ¶
type Operation_Op10 struct {
Op10 *TransferToVestingOperation `protobuf:"bytes,10,opt,name=op10,proto3,oneof"`
}
type Operation_Op11 ¶
type Operation_Op11 struct {
Op11 *ClaimOperation `protobuf:"bytes,11,opt,name=op11,proto3,oneof"`
}
type Operation_Op12 ¶
type Operation_Op12 struct {
Op12 *ClaimAllOperation `protobuf:"bytes,12,opt,name=op12,proto3,oneof"`
}
type PostCreatedOrder ¶
type PostCreatedOrder struct {
Created *TimePointSec `protobuf:"bytes,1,opt,name=created,proto3" json:"created,omitempty"`
ParentId uint64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PostCreatedOrder) Descriptor ¶
func (*PostCreatedOrder) Descriptor() ([]byte, []int)
func (*PostCreatedOrder) GetCreated ¶
func (m *PostCreatedOrder) GetCreated() *TimePointSec
func (*PostCreatedOrder) GetParentId ¶
func (m *PostCreatedOrder) GetParentId() uint64
func (*PostCreatedOrder) OpeEncode ¶
func (m *PostCreatedOrder) OpeEncode() ([]byte, error)
func (*PostCreatedOrder) ProtoMessage ¶
func (*PostCreatedOrder) ProtoMessage()
func (*PostCreatedOrder) Reset ¶
func (m *PostCreatedOrder) Reset()
func (*PostCreatedOrder) String ¶
func (m *PostCreatedOrder) String() string
func (*PostCreatedOrder) XXX_DiscardUnknown ¶
func (m *PostCreatedOrder) XXX_DiscardUnknown()
func (*PostCreatedOrder) XXX_Marshal ¶
func (m *PostCreatedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostCreatedOrder) XXX_Merge ¶
func (m *PostCreatedOrder) XXX_Merge(src proto.Message)
func (*PostCreatedOrder) XXX_Size ¶
func (m *PostCreatedOrder) XXX_Size() int
func (*PostCreatedOrder) XXX_Unmarshal ¶
func (m *PostCreatedOrder) XXX_Unmarshal(b []byte) error
type PostOperation ¶
type PostOperation struct {
Uuid uint64 `protobuf:"varint,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
Owner *AccountName `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
Beneficiaries []*BeneficiaryRouteType `protobuf:"bytes,6,rep,name=beneficiaries,proto3" json:"beneficiaries,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PostOperation) Descriptor ¶
func (*PostOperation) Descriptor() ([]byte, []int)
func (*PostOperation) GetAdmin ¶
func (m *PostOperation) GetAdmin(*[]AccountAdminPair)
func (*PostOperation) GetAuthorities ¶
func (m *PostOperation) GetAuthorities(auths *[]Authority)
func (*PostOperation) GetBeneficiaries ¶
func (m *PostOperation) GetBeneficiaries() []*BeneficiaryRouteType
func (*PostOperation) GetContent ¶
func (m *PostOperation) GetContent() string
func (*PostOperation) GetOwner ¶
func (m *PostOperation) GetOwner() *AccountName
func (*PostOperation) GetRequiredActive ¶
func (m *PostOperation) GetRequiredActive(auths *map[string]bool)
func (*PostOperation) GetRequiredOwner ¶
func (m *PostOperation) GetRequiredOwner(auths *map[string]bool)
func (*PostOperation) GetRequiredPosting ¶
func (m *PostOperation) GetRequiredPosting(auths *map[string]bool)
func (*PostOperation) GetTags ¶
func (m *PostOperation) GetTags() []string
func (*PostOperation) GetTitle ¶
func (m *PostOperation) GetTitle() string
func (*PostOperation) GetUuid ¶
func (m *PostOperation) GetUuid() uint64
func (*PostOperation) IsVirtual ¶
func (m *PostOperation) IsVirtual()
func (*PostOperation) ProtoMessage ¶
func (*PostOperation) ProtoMessage()
func (*PostOperation) Reset ¶
func (m *PostOperation) Reset()
func (*PostOperation) String ¶
func (m *PostOperation) String() string
func (*PostOperation) Validate ¶
func (m *PostOperation) Validate() error
func (*PostOperation) XXX_DiscardUnknown ¶
func (m *PostOperation) XXX_DiscardUnknown()
func (*PostOperation) XXX_Marshal ¶
func (m *PostOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostOperation) XXX_Merge ¶
func (m *PostOperation) XXX_Merge(src proto.Message)
func (*PostOperation) XXX_Size ¶
func (m *PostOperation) XXX_Size() int
func (*PostOperation) XXX_Unmarshal ¶
func (m *PostOperation) XXX_Unmarshal(b []byte) error
type PrivateKeyType ¶
type PrivateKeyType struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func GenerateNewKey ¶
func GenerateNewKey() (*PrivateKeyType, error)
func GenerateNewKeyFromBytes ¶
func GenerateNewKeyFromBytes(buff []byte) (*PrivateKeyType, error)
func PrivateKeyFromBytes ¶
func PrivateKeyFromBytes(buffer []byte) *PrivateKeyType
func PrivateKeyFromECDSA ¶
func PrivateKeyFromECDSA(key *ecdsa.PrivateKey) *PrivateKeyType
func PrivateKeyFromWIF ¶
func PrivateKeyFromWIF(encoded string) (*PrivateKeyType, error)
func (*PrivateKeyType) Descriptor ¶
func (*PrivateKeyType) Descriptor() ([]byte, []int)
func (*PrivateKeyType) Equal ¶
func (m *PrivateKeyType) Equal(other *PrivateKeyType) bool
func (*PrivateKeyType) GetData ¶
func (m *PrivateKeyType) GetData() []byte
func (*PrivateKeyType) MarshalJSON ¶
func (m *PrivateKeyType) MarshalJSON() ([]byte, error)
func (*PrivateKeyType) ProtoMessage ¶
func (*PrivateKeyType) ProtoMessage()
func (*PrivateKeyType) PubKey ¶
func (m *PrivateKeyType) PubKey() (*PublicKeyType, error)
func (*PrivateKeyType) Reset ¶
func (m *PrivateKeyType) Reset()
func (*PrivateKeyType) String ¶
func (m *PrivateKeyType) String() string
func (*PrivateKeyType) ToBase58 ¶
func (m *PrivateKeyType) ToBase58() string
ToBase58 returns base58 encoded address string
func (*PrivateKeyType) ToECDSA ¶
func (m *PrivateKeyType) ToECDSA() (*ecdsa.PrivateKey, error)
func (*PrivateKeyType) ToWIF ¶
func (m *PrivateKeyType) ToWIF() string
func (*PrivateKeyType) UnmarshalJSON ¶
func (m *PrivateKeyType) UnmarshalJSON(input []byte) error
func (*PrivateKeyType) Validate ¶
func (m *PrivateKeyType) Validate() error
func (*PrivateKeyType) XXX_DiscardUnknown ¶
func (m *PrivateKeyType) XXX_DiscardUnknown()
func (*PrivateKeyType) XXX_Marshal ¶
func (m *PrivateKeyType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrivateKeyType) XXX_Merge ¶
func (m *PrivateKeyType) XXX_Merge(src proto.Message)
func (*PrivateKeyType) XXX_Size ¶
func (m *PrivateKeyType) XXX_Size() int
func (*PrivateKeyType) XXX_Unmarshal ¶
func (m *PrivateKeyType) XXX_Unmarshal(b []byte) error
type PublicKeyType ¶
type PublicKeyType struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func PublicKeyFromBytes ¶
func PublicKeyFromBytes(buffer []byte) *PublicKeyType
func PublicKeyFromWIF ¶
func PublicKeyFromWIF(encoded string) (*PublicKeyType, error)
func (*PublicKeyType) Descriptor ¶
func (*PublicKeyType) Descriptor() ([]byte, []int)
func (*PublicKeyType) Equal ¶
func (m *PublicKeyType) Equal(other *PublicKeyType) bool
func (*PublicKeyType) GetData ¶
func (m *PublicKeyType) GetData() []byte
func (*PublicKeyType) MarshalJSON ¶
func (m *PublicKeyType) MarshalJSON() ([]byte, error)
func (*PublicKeyType) OpeEncode ¶
func (m *PublicKeyType) OpeEncode() ([]byte, error)
func (*PublicKeyType) ProtoMessage ¶
func (*PublicKeyType) ProtoMessage()
func (*PublicKeyType) Reset ¶
func (m *PublicKeyType) Reset()
func (*PublicKeyType) String ¶
func (m *PublicKeyType) String() string
func (*PublicKeyType) ToBase58 ¶
func (m *PublicKeyType) ToBase58() string
ToBase58 returns base58 encoded address string
func (*PublicKeyType) ToWIF ¶
func (m *PublicKeyType) ToWIF() string
func (*PublicKeyType) UnmarshalJSON ¶
func (m *PublicKeyType) UnmarshalJSON(input []byte) error
func (*PublicKeyType) Validate ¶
func (m *PublicKeyType) Validate() error
func (*PublicKeyType) XXX_DiscardUnknown ¶
func (m *PublicKeyType) XXX_DiscardUnknown()
func (*PublicKeyType) XXX_Marshal ¶
func (m *PublicKeyType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PublicKeyType) XXX_Merge ¶
func (m *PublicKeyType) XXX_Merge(src proto.Message)
func (*PublicKeyType) XXX_Size ¶
func (m *PublicKeyType) XXX_Size() int
func (*PublicKeyType) XXX_Unmarshal ¶
func (m *PublicKeyType) XXX_Unmarshal(b []byte) error
type ReplyCreatedOrder ¶
type ReplyCreatedOrder struct {
ParentId uint64 `protobuf:"varint,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
Created *TimePointSec `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyCreatedOrder) Descriptor ¶
func (*ReplyCreatedOrder) Descriptor() ([]byte, []int)
func (*ReplyCreatedOrder) GetCreated ¶
func (m *ReplyCreatedOrder) GetCreated() *TimePointSec
func (*ReplyCreatedOrder) GetParentId ¶
func (m *ReplyCreatedOrder) GetParentId() uint64
func (*ReplyCreatedOrder) OpeEncode ¶
func (m *ReplyCreatedOrder) OpeEncode() ([]byte, error)
func (*ReplyCreatedOrder) ProtoMessage ¶
func (*ReplyCreatedOrder) ProtoMessage()
func (*ReplyCreatedOrder) Reset ¶
func (m *ReplyCreatedOrder) Reset()
func (*ReplyCreatedOrder) String ¶
func (m *ReplyCreatedOrder) String() string
func (*ReplyCreatedOrder) XXX_DiscardUnknown ¶
func (m *ReplyCreatedOrder) XXX_DiscardUnknown()
func (*ReplyCreatedOrder) XXX_Marshal ¶
func (m *ReplyCreatedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyCreatedOrder) XXX_Merge ¶
func (m *ReplyCreatedOrder) XXX_Merge(src proto.Message)
func (*ReplyCreatedOrder) XXX_Size ¶
func (m *ReplyCreatedOrder) XXX_Size() int
func (*ReplyCreatedOrder) XXX_Unmarshal ¶
func (m *ReplyCreatedOrder) XXX_Unmarshal(b []byte) error
type ReplyOperation ¶
type ReplyOperation struct {
Uuid uint64 `protobuf:"varint,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
Owner *AccountName `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
ParentUuid uint64 `protobuf:"varint,4,opt,name=parent_uuid,json=parentUuid,proto3" json:"parent_uuid,omitempty"`
Beneficiaries []*BeneficiaryRouteType `protobuf:"bytes,6,rep,name=beneficiaries,proto3" json:"beneficiaries,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyOperation) Descriptor ¶
func (*ReplyOperation) Descriptor() ([]byte, []int)
func (*ReplyOperation) GetAdmin ¶
func (m *ReplyOperation) GetAdmin(*[]AccountAdminPair)
func (*ReplyOperation) GetAuthorities ¶
func (m *ReplyOperation) GetAuthorities(auths *[]Authority)
func (*ReplyOperation) GetBeneficiaries ¶
func (m *ReplyOperation) GetBeneficiaries() []*BeneficiaryRouteType
func (*ReplyOperation) GetContent ¶
func (m *ReplyOperation) GetContent() string
func (*ReplyOperation) GetOwner ¶
func (m *ReplyOperation) GetOwner() *AccountName
func (*ReplyOperation) GetParentUuid ¶
func (m *ReplyOperation) GetParentUuid() uint64
func (*ReplyOperation) GetRequiredActive ¶
func (m *ReplyOperation) GetRequiredActive(auths *map[string]bool)
func (*ReplyOperation) GetRequiredOwner ¶
func (m *ReplyOperation) GetRequiredOwner(auths *map[string]bool)
func (*ReplyOperation) GetRequiredPosting ¶
func (m *ReplyOperation) GetRequiredPosting(auths *map[string]bool)
func (*ReplyOperation) GetUuid ¶
func (m *ReplyOperation) GetUuid() uint64
func (*ReplyOperation) IsVirtual ¶
func (m *ReplyOperation) IsVirtual()
func (*ReplyOperation) ProtoMessage ¶
func (*ReplyOperation) ProtoMessage()
func (*ReplyOperation) Reset ¶
func (m *ReplyOperation) Reset()
func (*ReplyOperation) String ¶
func (m *ReplyOperation) String() string
func (*ReplyOperation) Validate ¶
func (m *ReplyOperation) Validate() error
func (*ReplyOperation) XXX_DiscardUnknown ¶
func (m *ReplyOperation) XXX_DiscardUnknown()
func (*ReplyOperation) XXX_Marshal ¶
func (m *ReplyOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyOperation) XXX_Merge ¶
func (m *ReplyOperation) XXX_Merge(src proto.Message)
func (*ReplyOperation) XXX_Size ¶
func (m *ReplyOperation) XXX_Size() int
func (*ReplyOperation) XXX_Unmarshal ¶
func (m *ReplyOperation) XXX_Unmarshal(b []byte) error
type Safe64 ¶
type Safe64 struct {
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func MakeSafe64 ¶
func (*Safe64) Descriptor ¶
func (*Safe64) ProtoMessage ¶
func (*Safe64) ProtoMessage()
func (*Safe64) XXX_DiscardUnknown ¶
func (m *Safe64) XXX_DiscardUnknown()
func (*Safe64) XXX_Marshal ¶
func (*Safe64) XXX_Unmarshal ¶
type Sha256 ¶
type Sha256 struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Sha256) Descriptor ¶
func (*Sha256) FromBlockID ¶
func (*Sha256) ProtoMessage ¶
func (*Sha256) ProtoMessage()
func (*Sha256) XXX_DiscardUnknown ¶
func (m *Sha256) XXX_DiscardUnknown()
func (*Sha256) XXX_Marshal ¶
func (*Sha256) XXX_Unmarshal ¶
type SignState ¶
type SignState struct {
PostingGetter AuthorityGetter
ActiveGetter AuthorityGetter
OwnerGetter AuthorityGetter
// contains filtered or unexported fields
}
func (*SignState) CheckAuthority ¶
func (s *SignState) CheckAuthority(auth *Authority, depth uint32, at AuthorityType) bool
func (*SignState) CheckAuthorityByName ¶
func (s *SignState) CheckAuthorityByName(name string, depth uint32, at AuthorityType) bool
func (*SignState) Init ¶
func (s *SignState) Init(pubs []*PublicKeyType, maxDepth uint32, posting AuthorityGetter, active AuthorityGetter, owner AuthorityGetter)
type SignatureType ¶
type SignatureType struct {
Sig []byte `protobuf:"bytes,1,opt,name=sig,proto3" json:"sig,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SignatureType) Descriptor ¶
func (*SignatureType) Descriptor() ([]byte, []int)
func (*SignatureType) GetSig ¶
func (m *SignatureType) GetSig() []byte
func (*SignatureType) ProtoMessage ¶
func (*SignatureType) ProtoMessage()
func (*SignatureType) Reset ¶
func (m *SignatureType) Reset()
func (*SignatureType) String ¶
func (m *SignatureType) String() string
func (*SignatureType) Validate ¶
func (m *SignatureType) Validate() error
func (*SignatureType) XXX_DiscardUnknown ¶
func (m *SignatureType) XXX_DiscardUnknown()
func (*SignatureType) XXX_Marshal ¶
func (m *SignatureType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignatureType) XXX_Merge ¶
func (m *SignatureType) XXX_Merge(src proto.Message)
func (*SignatureType) XXX_Size ¶
func (m *SignatureType) XXX_Size() int
func (*SignatureType) XXX_Unmarshal ¶
func (m *SignatureType) XXX_Unmarshal(b []byte) error
type SignedBlock ¶
type SignedBlock struct {
SignedHeader *SignedBlockHeader `protobuf:"bytes,1,opt,name=signed_header,json=signedHeader,proto3" json:"signed_header,omitempty"`
Transactions []*TransactionWrapper `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SignedBlock) CalculateMerkleRoot ¶
func (sb *SignedBlock) CalculateMerkleRoot() *common.BlockID
func (*SignedBlock) Descriptor ¶
func (*SignedBlock) Descriptor() ([]byte, []int)
func (*SignedBlock) GetSignedHeader ¶
func (m *SignedBlock) GetSignedHeader() *SignedBlockHeader
func (*SignedBlock) GetSignee ¶
func (sb *SignedBlock) GetSignee() (interface{}, error)
func (*SignedBlock) GetTransactions ¶
func (m *SignedBlock) GetTransactions() []*TransactionWrapper
func (*SignedBlock) Hash ¶
func (sb *SignedBlock) Hash() (hash [Size]byte)
func (*SignedBlock) Id ¶
func (sb *SignedBlock) Id() common.BlockID
func (*SignedBlock) Marshall ¶
func (sb *SignedBlock) Marshall() ([]byte, error)
func (*SignedBlock) Previous ¶
func (sb *SignedBlock) Previous() common.BlockID
func (*SignedBlock) ProtoMessage ¶
func (*SignedBlock) ProtoMessage()
func (*SignedBlock) Reset ¶
func (m *SignedBlock) Reset()
func (*SignedBlock) String ¶
func (m *SignedBlock) String() string
func (*SignedBlock) Timestamp ¶
func (sb *SignedBlock) Timestamp() uint64
func (*SignedBlock) Unmarshall ¶
func (sb *SignedBlock) Unmarshall(buff []byte) error
func (*SignedBlock) XXX_DiscardUnknown ¶
func (m *SignedBlock) XXX_DiscardUnknown()
func (*SignedBlock) XXX_Marshal ¶
func (m *SignedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedBlock) XXX_Merge ¶
func (m *SignedBlock) XXX_Merge(src proto.Message)
func (*SignedBlock) XXX_Size ¶
func (m *SignedBlock) XXX_Size() int
func (*SignedBlock) XXX_Unmarshal ¶
func (m *SignedBlock) XXX_Unmarshal(b []byte) error
type SignedBlockHeader ¶
type SignedBlockHeader struct {
Header *BlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
WitnessSignature *SignatureType `protobuf:"bytes,2,opt,name=witness_signature,json=witnessSignature,proto3" json:"witness_signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SignedBlockHeader) Descriptor ¶
func (*SignedBlockHeader) Descriptor() ([]byte, []int)
func (*SignedBlockHeader) GetHeader ¶
func (m *SignedBlockHeader) GetHeader() *BlockHeader
func (*SignedBlockHeader) GetSignee ¶
func (sbh *SignedBlockHeader) GetSignee() (interface{}, error)
func (*SignedBlockHeader) GetWitnessSignature ¶
func (m *SignedBlockHeader) GetWitnessSignature() *SignatureType
func (*SignedBlockHeader) Hash ¶
func (sbh *SignedBlockHeader) Hash() (hash [Size]byte)
func (*SignedBlockHeader) Number ¶
func (sbh *SignedBlockHeader) Number() uint64
func (*SignedBlockHeader) ProtoMessage ¶
func (*SignedBlockHeader) ProtoMessage()
func (*SignedBlockHeader) Reset ¶
func (m *SignedBlockHeader) Reset()
func (*SignedBlockHeader) Sign ¶
func (sbh *SignedBlockHeader) Sign(secKey *PrivateKeyType) error
func (*SignedBlockHeader) String ¶
func (m *SignedBlockHeader) String() string
func (*SignedBlockHeader) ValidateSig ¶
func (sbh *SignedBlockHeader) ValidateSig(key *PublicKeyType) (bool, error)
func (*SignedBlockHeader) XXX_DiscardUnknown ¶
func (m *SignedBlockHeader) XXX_DiscardUnknown()
func (*SignedBlockHeader) XXX_Marshal ¶
func (m *SignedBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedBlockHeader) XXX_Merge ¶
func (m *SignedBlockHeader) XXX_Merge(src proto.Message)
func (*SignedBlockHeader) XXX_Size ¶
func (m *SignedBlockHeader) XXX_Size() int
func (*SignedBlockHeader) XXX_Unmarshal ¶
func (m *SignedBlockHeader) XXX_Unmarshal(b []byte) error
type SignedTransaction ¶
type SignedTransaction struct {
Trx *Transaction `protobuf:"bytes,1,opt,name=trx,proto3" json:"trx,omitempty"`
Signatures []*SignatureType `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SignedTransaction) Descriptor ¶
func (*SignedTransaction) Descriptor() ([]byte, []int)
func (*SignedTransaction) Deserialization ¶
func (tx *SignedTransaction) Deserialization(source *common.ZeroCopySource) error
func (*SignedTransaction) ExportPubKeys ¶
func (p *SignedTransaction) ExportPubKeys(cid ChainId) ([]*PublicKeyType, error)
func (*SignedTransaction) GetSignatures ¶
func (m *SignedTransaction) GetSignatures() []*SignatureType
func (*SignedTransaction) GetTrx ¶
func (m *SignedTransaction) GetTrx() *Transaction
func (*SignedTransaction) GetTrxHash ¶
func (p *SignedTransaction) GetTrxHash(cid ChainId) ([]byte, error)
func (*SignedTransaction) Id ¶
func (p *SignedTransaction) Id() (*Sha256, error)
func (*SignedTransaction) MerkleDigest ¶
func (p *SignedTransaction) MerkleDigest() (*Sha256, error)
func (*SignedTransaction) ProtoMessage ¶
func (*SignedTransaction) ProtoMessage()
func (*SignedTransaction) Reset ¶
func (m *SignedTransaction) Reset()
func (*SignedTransaction) Serialization ¶
func (p *SignedTransaction) Serialization(sink *common.ZeroCopySink) error
func (*SignedTransaction) Sign ¶
func (p *SignedTransaction) Sign(secKey *PrivateKeyType, cid ChainId) []byte
func (*SignedTransaction) String ¶
func (m *SignedTransaction) String() string
func (*SignedTransaction) Validate ¶
func (p *SignedTransaction) Validate() error
func (*SignedTransaction) VerifyAuthority ¶
func (p *SignedTransaction) VerifyAuthority(cid ChainId, max_recursion_depth uint32, posting AuthorityGetter, active AuthorityGetter, owner AuthorityGetter)
func (*SignedTransaction) VerifySig ¶
func (p *SignedTransaction) VerifySig(pubKey *PublicKeyType, cid ChainId) bool
func (*SignedTransaction) XXX_DiscardUnknown ¶
func (m *SignedTransaction) XXX_DiscardUnknown()
func (*SignedTransaction) XXX_Marshal ¶
func (m *SignedTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedTransaction) XXX_Merge ¶
func (m *SignedTransaction) XXX_Merge(src proto.Message)
func (*SignedTransaction) XXX_Size ¶
func (m *SignedTransaction) XXX_Size() int
func (*SignedTransaction) XXX_Unmarshal ¶
func (m *SignedTransaction) XXX_Unmarshal(b []byte) error
type TimePointSec ¶
type TimePointSec struct {
UtcSeconds uint32 `protobuf:"varint,1,opt,name=utc_seconds,json=utcSeconds,proto3" json:"utc_seconds,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewTimePointSec ¶
func NewTimePointSec(value uint32) *TimePointSec
func (TimePointSec) Add ¶
func (m TimePointSec) Add(value uint32) TimePointSec
func (*TimePointSec) Descriptor ¶
func (*TimePointSec) Descriptor() ([]byte, []int)
func (*TimePointSec) GetUtcSeconds ¶
func (m *TimePointSec) GetUtcSeconds() uint32
func (*TimePointSec) OpeEncode ¶
func (m *TimePointSec) OpeEncode() ([]byte, error)
func (*TimePointSec) ProtoMessage ¶
func (*TimePointSec) ProtoMessage()
func (*TimePointSec) Reset ¶
func (m *TimePointSec) Reset()
func (*TimePointSec) String ¶
func (m *TimePointSec) String() string
func (*TimePointSec) XXX_DiscardUnknown ¶
func (m *TimePointSec) XXX_DiscardUnknown()
func (*TimePointSec) XXX_Marshal ¶
func (m *TimePointSec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimePointSec) XXX_Merge ¶
func (m *TimePointSec) XXX_Merge(src proto.Message)
func (*TimePointSec) XXX_Size ¶
func (m *TimePointSec) XXX_Size() int
func (*TimePointSec) XXX_Unmarshal ¶
func (m *TimePointSec) XXX_Unmarshal(b []byte) error
type Transaction ¶
type Transaction struct {
RefBlockNum uint32 `protobuf:"varint,1,opt,name=ref_block_num,json=refBlockNum,proto3" json:"ref_block_num,omitempty"`
RefBlockPrefix uint32 `protobuf:"varint,2,opt,name=ref_block_prefix,json=refBlockPrefix,proto3" json:"ref_block_prefix,omitempty"`
Expiration *TimePointSec `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
Operations []*Operation `protobuf:"bytes,4,rep,name=operations,proto3" json:"operations,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
transaction
func (*Transaction) AddOperation ¶
func (m *Transaction) AddOperation(op interface{})
func (*Transaction) Descriptor ¶
func (*Transaction) Descriptor() ([]byte, []int)
func (*Transaction) GetExpiration ¶
func (m *Transaction) GetExpiration() *TimePointSec
func (*Transaction) GetOperations ¶
func (m *Transaction) GetOperations() []*Operation
func (*Transaction) GetRefBlockNum ¶
func (m *Transaction) GetRefBlockNum() uint32
func (*Transaction) GetRefBlockPrefix ¶
func (m *Transaction) GetRefBlockPrefix() uint32
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) Reset ¶
func (m *Transaction) Reset()
func (*Transaction) SetReferenceBlock ¶
func (m *Transaction) SetReferenceBlock(id *common.BlockID)
func (*Transaction) String ¶
func (m *Transaction) String() string
func (*Transaction) Validate ¶
func (m *Transaction) Validate() error
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 (m *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 TransactionInvoice ¶
type TransactionInvoice struct {
Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
VmError bool `protobuf:"varint,2,opt,name=vm_error,json=vmError,proto3" json:"vm_error,omitempty"`
VmErrorCode uint32 `protobuf:"varint,3,opt,name=vm_error_code,json=vmErrorCode,proto3" json:"vm_error_code,omitempty"`
VmErrorMsg string `protobuf:"bytes,4,opt,name=vm_error_msg,json=vmErrorMsg,proto3" json:"vm_error_msg,omitempty"`
GasUsage uint64 `protobuf:"varint,5,opt,name=gas_usage,json=gasUsage,proto3" json:"gas_usage,omitempty"`
VmConsole string `protobuf:"bytes,6,opt,name=vm_console,json=vmConsole,proto3" json:"vm_console,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TransactionInvoice) Descriptor ¶
func (*TransactionInvoice) Descriptor() ([]byte, []int)
func (*TransactionInvoice) GetGasUsage ¶
func (m *TransactionInvoice) GetGasUsage() uint64
func (*TransactionInvoice) GetStatus ¶
func (m *TransactionInvoice) GetStatus() uint32
func (*TransactionInvoice) GetVmConsole ¶
func (m *TransactionInvoice) GetVmConsole() string
func (*TransactionInvoice) GetVmError ¶
func (m *TransactionInvoice) GetVmError() bool
func (*TransactionInvoice) GetVmErrorCode ¶
func (m *TransactionInvoice) GetVmErrorCode() uint32
func (*TransactionInvoice) GetVmErrorMsg ¶
func (m *TransactionInvoice) GetVmErrorMsg() string
func (*TransactionInvoice) IsSuccess ¶
func (m *TransactionInvoice) IsSuccess() bool
func (*TransactionInvoice) ProtoMessage ¶
func (*TransactionInvoice) ProtoMessage()
func (*TransactionInvoice) Reset ¶
func (m *TransactionInvoice) Reset()
func (*TransactionInvoice) String ¶
func (m *TransactionInvoice) String() string
func (*TransactionInvoice) Validate ¶
func (m *TransactionInvoice) Validate() error
func (*TransactionInvoice) XXX_DiscardUnknown ¶
func (m *TransactionInvoice) XXX_DiscardUnknown()
func (*TransactionInvoice) XXX_Marshal ¶
func (m *TransactionInvoice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionInvoice) XXX_Merge ¶
func (m *TransactionInvoice) XXX_Merge(src proto.Message)
func (*TransactionInvoice) XXX_Size ¶
func (m *TransactionInvoice) XXX_Size() int
func (*TransactionInvoice) XXX_Unmarshal ¶
func (m *TransactionInvoice) XXX_Unmarshal(b []byte) error
type TransactionWrapper ¶
type TransactionWrapper struct {
SigTrx *SignedTransaction `protobuf:"bytes,1,opt,name=sig_trx,json=sigTrx,proto3" json:"sig_trx,omitempty"`
Invoice *TransactionInvoice `protobuf:"bytes,2,opt,name=invoice,proto3" json:"invoice,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TransactionWrapper) Descriptor ¶
func (*TransactionWrapper) Descriptor() ([]byte, []int)
func (*TransactionWrapper) GetInvoice ¶
func (m *TransactionWrapper) GetInvoice() *TransactionInvoice
func (*TransactionWrapper) GetSigTrx ¶
func (m *TransactionWrapper) GetSigTrx() *SignedTransaction
func (*TransactionWrapper) ProtoMessage ¶
func (*TransactionWrapper) ProtoMessage()
func (*TransactionWrapper) Reset ¶
func (m *TransactionWrapper) Reset()
func (*TransactionWrapper) String ¶
func (m *TransactionWrapper) String() string
func (*TransactionWrapper) XXX_DiscardUnknown ¶
func (m *TransactionWrapper) XXX_DiscardUnknown()
func (*TransactionWrapper) XXX_Marshal ¶
func (m *TransactionWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionWrapper) XXX_Merge ¶
func (m *TransactionWrapper) XXX_Merge(src proto.Message)
func (*TransactionWrapper) XXX_Size ¶
func (m *TransactionWrapper) XXX_Size() int
func (*TransactionWrapper) XXX_Unmarshal ¶
func (m *TransactionWrapper) XXX_Unmarshal(b []byte) error
type TransferOperation ¶
type TransferOperation struct {
From *AccountName `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
To *AccountName `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
Amount *Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
Memo string `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TransferOperation) Descriptor ¶
func (*TransferOperation) Descriptor() ([]byte, []int)
func (*TransferOperation) GetAdmin ¶
func (t *TransferOperation) GetAdmin(*[]AccountAdminPair)
func (*TransferOperation) GetAmount ¶
func (m *TransferOperation) GetAmount() *Coin
func (*TransferOperation) GetAuthorities ¶
func (t *TransferOperation) GetAuthorities(auths *[]Authority)
func (*TransferOperation) GetFrom ¶
func (m *TransferOperation) GetFrom() *AccountName
func (*TransferOperation) GetMemo ¶
func (m *TransferOperation) GetMemo() string
func (*TransferOperation) GetRequiredActive ¶
func (t *TransferOperation) GetRequiredActive(auths *map[string]bool)
func (*TransferOperation) GetRequiredOwner ¶
func (t *TransferOperation) GetRequiredOwner(auths *map[string]bool)
func (*TransferOperation) GetRequiredPosting ¶
func (t *TransferOperation) GetRequiredPosting(auths *map[string]bool)
func (*TransferOperation) GetTo ¶
func (m *TransferOperation) GetTo() *AccountName
func (*TransferOperation) IsVirtual ¶
func (t *TransferOperation) IsVirtual()
func (*TransferOperation) ProtoMessage ¶
func (*TransferOperation) ProtoMessage()
func (*TransferOperation) Reset ¶
func (m *TransferOperation) Reset()
func (*TransferOperation) String ¶
func (m *TransferOperation) String() string
func (*TransferOperation) Validate ¶
func (t *TransferOperation) Validate() error
func (*TransferOperation) XXX_DiscardUnknown ¶
func (m *TransferOperation) XXX_DiscardUnknown()
func (*TransferOperation) XXX_Marshal ¶
func (m *TransferOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferOperation) XXX_Merge ¶
func (m *TransferOperation) XXX_Merge(src proto.Message)
func (*TransferOperation) XXX_Size ¶
func (m *TransferOperation) XXX_Size() int
func (*TransferOperation) XXX_Unmarshal ¶
func (m *TransferOperation) XXX_Unmarshal(b []byte) error
type TransferToVestingOperation ¶
type TransferToVestingOperation struct {
From *AccountName `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
To *AccountName `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
Amount *Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TransferToVestingOperation) Descriptor ¶
func (*TransferToVestingOperation) Descriptor() ([]byte, []int)
func (*TransferToVestingOperation) GetAdmin ¶
func (m *TransferToVestingOperation) GetAdmin(*[]AccountAdminPair)
func (*TransferToVestingOperation) GetAmount ¶
func (m *TransferToVestingOperation) GetAmount() *Coin
func (*TransferToVestingOperation) GetAuthorities ¶
func (m *TransferToVestingOperation) GetAuthorities(auths *[]Authority)
func (*TransferToVestingOperation) GetFrom ¶
func (m *TransferToVestingOperation) GetFrom() *AccountName
func (*TransferToVestingOperation) GetRequiredActive ¶
func (m *TransferToVestingOperation) GetRequiredActive(auths *map[string]bool)
func (*TransferToVestingOperation) GetRequiredOwner ¶
func (m *TransferToVestingOperation) GetRequiredOwner(auths *map[string]bool)
func (*TransferToVestingOperation) GetRequiredPosting ¶
func (m *TransferToVestingOperation) GetRequiredPosting(auths *map[string]bool)
func (*TransferToVestingOperation) GetTo ¶
func (m *TransferToVestingOperation) GetTo() *AccountName
func (*TransferToVestingOperation) IsVirtual ¶
func (m *TransferToVestingOperation) IsVirtual()
func (*TransferToVestingOperation) ProtoMessage ¶
func (*TransferToVestingOperation) ProtoMessage()
func (*TransferToVestingOperation) Reset ¶
func (m *TransferToVestingOperation) Reset()
func (*TransferToVestingOperation) String ¶
func (m *TransferToVestingOperation) String() string
func (*TransferToVestingOperation) Validate ¶
func (m *TransferToVestingOperation) Validate() error
func (*TransferToVestingOperation) XXX_DiscardUnknown ¶
func (m *TransferToVestingOperation) XXX_DiscardUnknown()
func (*TransferToVestingOperation) XXX_Marshal ¶
func (m *TransferToVestingOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferToVestingOperation) XXX_Merge ¶
func (m *TransferToVestingOperation) XXX_Merge(src proto.Message)
func (*TransferToVestingOperation) XXX_Size ¶
func (m *TransferToVestingOperation) XXX_Size() int
func (*TransferToVestingOperation) XXX_Unmarshal ¶
func (m *TransferToVestingOperation) XXX_Unmarshal(b []byte) error
type Vest ¶
type Vest struct {
Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func CosToVesting ¶
func (*Vest) Descriptor ¶
func (*Vest) ProtoMessage ¶
func (*Vest) ProtoMessage()
func (*Vest) XXX_DiscardUnknown ¶
func (m *Vest) XXX_DiscardUnknown()
func (*Vest) XXX_Unmarshal ¶
type VoteOperation ¶
type VoteOperation struct {
Voter *AccountName `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"`
Idx uint64 `protobuf:"varint,3,opt,name=idx,proto3" json:"idx,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*VoteOperation) Descriptor ¶
func (*VoteOperation) Descriptor() ([]byte, []int)
func (*VoteOperation) GetAdmin ¶
func (m *VoteOperation) GetAdmin(*[]AccountAdminPair)
func (*VoteOperation) GetAuthorities ¶
func (m *VoteOperation) GetAuthorities(auths *[]Authority)
func (*VoteOperation) GetIdx ¶
func (m *VoteOperation) GetIdx() uint64
func (*VoteOperation) GetRequiredActive ¶
func (m *VoteOperation) GetRequiredActive(auths *map[string]bool)
func (*VoteOperation) GetRequiredOwner ¶
func (m *VoteOperation) GetRequiredOwner(auths *map[string]bool)
func (*VoteOperation) GetRequiredPosting ¶
func (m *VoteOperation) GetRequiredPosting(auths *map[string]bool)
func (*VoteOperation) GetVoter ¶
func (m *VoteOperation) GetVoter() *AccountName
func (*VoteOperation) IsVirtual ¶
func (m *VoteOperation) IsVirtual()
func (*VoteOperation) ProtoMessage ¶
func (*VoteOperation) ProtoMessage()
func (*VoteOperation) Reset ¶
func (m *VoteOperation) Reset()
func (*VoteOperation) String ¶
func (m *VoteOperation) String() string
func (*VoteOperation) Validate ¶
func (m *VoteOperation) Validate() error
func (*VoteOperation) XXX_DiscardUnknown ¶
func (m *VoteOperation) XXX_DiscardUnknown()
func (*VoteOperation) XXX_Marshal ¶
func (m *VoteOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteOperation) XXX_Merge ¶
func (m *VoteOperation) XXX_Merge(src proto.Message)
func (*VoteOperation) XXX_Size ¶
func (m *VoteOperation) XXX_Size() int
func (*VoteOperation) XXX_Unmarshal ¶
func (m *VoteOperation) XXX_Unmarshal(b []byte) error
type VoterId ¶
type VoterId struct {
Voter *AccountName `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"`
PostId uint64 `protobuf:"varint,2,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*VoterId) Descriptor ¶
func (*VoterId) GetVoter ¶
func (m *VoterId) GetVoter() *AccountName
func (*VoterId) ProtoMessage ¶
func (*VoterId) ProtoMessage()
func (*VoterId) XXX_DiscardUnknown ¶
func (m *VoterId) XXX_DiscardUnknown()
func (*VoterId) XXX_Marshal ¶
func (*VoterId) XXX_Unmarshal ¶
type WitnessScheduleType ¶
type WitnessScheduleType struct {
Value WitnessScheduleTypeWitnessScheduleType `protobuf:"varint,1,opt,name=value,proto3,enum=prototype.WitnessScheduleTypeWitnessScheduleType" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*WitnessScheduleType) Descriptor ¶
func (*WitnessScheduleType) Descriptor() ([]byte, []int)
func (*WitnessScheduleType) GetValue ¶
func (m *WitnessScheduleType) GetValue() WitnessScheduleTypeWitnessScheduleType
func (*WitnessScheduleType) ProtoMessage ¶
func (*WitnessScheduleType) ProtoMessage()
func (*WitnessScheduleType) Reset ¶
func (m *WitnessScheduleType) Reset()
func (*WitnessScheduleType) String ¶
func (m *WitnessScheduleType) String() string
func (*WitnessScheduleType) XXX_DiscardUnknown ¶
func (m *WitnessScheduleType) XXX_DiscardUnknown()
func (*WitnessScheduleType) XXX_Marshal ¶
func (m *WitnessScheduleType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WitnessScheduleType) XXX_Merge ¶
func (m *WitnessScheduleType) XXX_Merge(src proto.Message)
func (*WitnessScheduleType) XXX_Size ¶
func (m *WitnessScheduleType) XXX_Size() int
func (*WitnessScheduleType) XXX_Unmarshal ¶
func (m *WitnessScheduleType) XXX_Unmarshal(b []byte) error
type WitnessScheduleTypeWitnessScheduleType ¶
type WitnessScheduleTypeWitnessScheduleType int32
const ( WitnessScheduleType_top19 WitnessScheduleTypeWitnessScheduleType = 0 WitnessScheduleType_miner WitnessScheduleTypeWitnessScheduleType = 2 WitnessScheduleType_none WitnessScheduleTypeWitnessScheduleType = 3 )
func (WitnessScheduleTypeWitnessScheduleType) EnumDescriptor ¶
func (WitnessScheduleTypeWitnessScheduleType) EnumDescriptor() ([]byte, []int)
func (WitnessScheduleTypeWitnessScheduleType) String ¶
func (x WitnessScheduleTypeWitnessScheduleType) String() string
Source Files
¶
- account_name.go
- authority.go
- base_operation.go
- bp_vote.go
- coin.go
- controller_type.go
- error_define.go
- follower_relation.go
- following_relation.go
- notification.go
- op_account_create.go
- op_bp_register.go
- op_bp_unregister.go
- op_bp_vote.go
- op_follow.go
- op_post.go
- op_reply.go
- op_transfer.go
- op_transfer_to_vesting.go
- op_vote.go
- operation.pb.go
- post_order.go
- price.go
- private_key_type.go
- public_key_type.go
- safe64.go
- sha256.go
- sign_state.go
- signature_type.go
- signed_block.go
- signed_transaction.go
- time_point_sec.go
- transaction.go
- transaction.pb.go
- transaction_invoice.go
- type.pb.go
- vest.go
- vote.go
Click to show internal directories.
Click to hide internal directories.