config

package
v2.2.2-0...-90f574e Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthConfig        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowConfig          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupConfig = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type NotaryGroup

type NotaryGroup struct {
	Id                  string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TransactionToken    string          `protobuf:"bytes,2,opt,name=transaction_token,json=transactionToken,proto3" json:"transaction_token,omitempty"`
	BurnAmount          uint64          `protobuf:"varint,3,opt,name=burn_amount,json=burnAmount,proto3" json:"burn_amount,omitempty"`
	TransactionTopic    string          `protobuf:"bytes,4,opt,name=transaction_topic,json=transactionTopic,proto3" json:"transaction_topic,omitempty"`
	CommitTopic         string          `protobuf:"bytes,5,opt,name=commit_topic,json=commitTopic,proto3" json:"commit_topic,omitempty"`
	ValidatorGenerators []string        `protobuf:"bytes,6,rep,name=validator_generators,json=validatorGenerators,proto3" json:"validator_generators,omitempty"`
	Transactions        []string        `protobuf:"bytes,7,rep,name=transactions,proto3" json:"transactions,omitempty"`
	Signers             []*PublicKeySet `protobuf:"bytes,8,rep,name=signers,proto3" json:"signers,omitempty"`
	BootstrapAddresses  []string        `protobuf:"bytes,9,rep,name=bootstrap_addresses,json=bootstrapAddresses,proto3" json:"bootstrap_addresses,omitempty"`
}

func (*NotaryGroup) Descriptor

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

func (*NotaryGroup) GetBootstrapAddresses

func (m *NotaryGroup) GetBootstrapAddresses() []string

func (*NotaryGroup) GetBurnAmount

func (m *NotaryGroup) GetBurnAmount() uint64

func (*NotaryGroup) GetCommitTopic

func (m *NotaryGroup) GetCommitTopic() string

func (*NotaryGroup) GetId

func (m *NotaryGroup) GetId() string

func (*NotaryGroup) GetSigners

func (m *NotaryGroup) GetSigners() []*PublicKeySet

func (*NotaryGroup) GetTransactionToken

func (m *NotaryGroup) GetTransactionToken() string

func (*NotaryGroup) GetTransactionTopic

func (m *NotaryGroup) GetTransactionTopic() string

func (*NotaryGroup) GetTransactions

func (m *NotaryGroup) GetTransactions() []string

func (*NotaryGroup) GetValidatorGenerators

func (m *NotaryGroup) GetValidatorGenerators() []string

func (*NotaryGroup) Marshal

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

func (*NotaryGroup) MarshalTo

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

func (*NotaryGroup) MarshalToSizedBuffer

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

func (*NotaryGroup) ProtoMessage

func (*NotaryGroup) ProtoMessage()

func (*NotaryGroup) Reset

func (m *NotaryGroup) Reset()

func (*NotaryGroup) Size

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

func (*NotaryGroup) String

func (m *NotaryGroup) String() string

func (*NotaryGroup) Unmarshal

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

func (*NotaryGroup) XXX_DiscardUnknown

func (m *NotaryGroup) XXX_DiscardUnknown()

func (*NotaryGroup) XXX_Marshal

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

func (*NotaryGroup) XXX_Merge

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

func (*NotaryGroup) XXX_Size

func (m *NotaryGroup) XXX_Size() int

func (*NotaryGroup) XXX_Unmarshal

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

type PublicKeySet

type PublicKeySet struct {
	VerKey  []byte `protobuf:"bytes,1,opt,name=ver_key,json=verKey,proto3" json:"ver_key,omitempty"`
	DestKey []byte `protobuf:"bytes,2,opt,name=dest_key,json=destKey,proto3" json:"dest_key,omitempty"`
}

func (*PublicKeySet) Descriptor

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

func (*PublicKeySet) GetDestKey

func (m *PublicKeySet) GetDestKey() []byte

func (*PublicKeySet) GetVerKey

func (m *PublicKeySet) GetVerKey() []byte

func (*PublicKeySet) Marshal

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

func (*PublicKeySet) MarshalTo

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

func (*PublicKeySet) MarshalToSizedBuffer

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

func (*PublicKeySet) ProtoMessage

func (*PublicKeySet) ProtoMessage()

func (*PublicKeySet) Reset

func (m *PublicKeySet) Reset()

func (*PublicKeySet) Size

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

func (*PublicKeySet) String

func (m *PublicKeySet) String() string

func (*PublicKeySet) Unmarshal

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

func (*PublicKeySet) XXX_DiscardUnknown

func (m *PublicKeySet) XXX_DiscardUnknown()

func (*PublicKeySet) XXX_Marshal

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

func (*PublicKeySet) XXX_Merge

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

func (*PublicKeySet) XXX_Size

func (m *PublicKeySet) XXX_Size() int

func (*PublicKeySet) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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