Documentation ¶
Index ¶
- Variables
- type MempoolAddTransactionStatus
- func (*MempoolAddTransactionStatus) Descriptor() ([]byte, []int)
- func (this *MempoolAddTransactionStatus) Equal(that interface{}) bool
- func (m *MempoolAddTransactionStatus) GetCode() MempoolAddTransactionStatusCode
- func (m *MempoolAddTransactionStatus) GetMessage() string
- func (this *MempoolAddTransactionStatus) GoString() string
- func (m *MempoolAddTransactionStatus) Marshal() (dAtA []byte, err error)
- func (m *MempoolAddTransactionStatus) MarshalTo(dAtA []byte) (int, error)
- func (*MempoolAddTransactionStatus) ProtoMessage()
- func (m *MempoolAddTransactionStatus) Reset()
- func (m *MempoolAddTransactionStatus) Size() (n int)
- func (this *MempoolAddTransactionStatus) String() string
- func (m *MempoolAddTransactionStatus) Unmarshal(dAtA []byte) error
- func (m *MempoolAddTransactionStatus) XXX_DiscardUnknown()
- func (m *MempoolAddTransactionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MempoolAddTransactionStatus) XXX_Merge(src proto.Message)
- func (m *MempoolAddTransactionStatus) XXX_Size() int
- func (m *MempoolAddTransactionStatus) XXX_Unmarshal(b []byte) error
- type MempoolAddTransactionStatusCode
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthMempoolStatus = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMempoolStatus = fmt.Errorf("proto: integer overflow") )
View Source
var MempoolAddTransactionStatusCode_name = map[int32]string{
0: "Valid",
1: "InsufficientBalance",
2: "InvalidSeqNumber",
3: "MempoolIsFull",
4: "TooManyTransactions",
5: "InvalidUpdate",
}
View Source
var MempoolAddTransactionStatusCode_value = map[string]int32{
"Valid": 0,
"InsufficientBalance": 1,
"InvalidSeqNumber": 2,
"MempoolIsFull": 3,
"TooManyTransactions": 4,
"InvalidUpdate": 5,
}
Functions ¶
This section is empty.
Types ¶
type MempoolAddTransactionStatus ¶
type MempoolAddTransactionStatus struct { Code MempoolAddTransactionStatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=mempool.MempoolAddTransactionStatusCode" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` }
func (*MempoolAddTransactionStatus) Descriptor ¶
func (*MempoolAddTransactionStatus) Descriptor() ([]byte, []int)
func (*MempoolAddTransactionStatus) Equal ¶
func (this *MempoolAddTransactionStatus) Equal(that interface{}) bool
func (*MempoolAddTransactionStatus) GetCode ¶
func (m *MempoolAddTransactionStatus) GetCode() MempoolAddTransactionStatusCode
func (*MempoolAddTransactionStatus) GetMessage ¶
func (m *MempoolAddTransactionStatus) GetMessage() string
func (*MempoolAddTransactionStatus) GoString ¶
func (this *MempoolAddTransactionStatus) GoString() string
func (*MempoolAddTransactionStatus) Marshal ¶
func (m *MempoolAddTransactionStatus) Marshal() (dAtA []byte, err error)
func (*MempoolAddTransactionStatus) MarshalTo ¶
func (m *MempoolAddTransactionStatus) MarshalTo(dAtA []byte) (int, error)
func (*MempoolAddTransactionStatus) ProtoMessage ¶
func (*MempoolAddTransactionStatus) ProtoMessage()
func (*MempoolAddTransactionStatus) Reset ¶
func (m *MempoolAddTransactionStatus) Reset()
func (*MempoolAddTransactionStatus) Size ¶
func (m *MempoolAddTransactionStatus) Size() (n int)
func (*MempoolAddTransactionStatus) String ¶
func (this *MempoolAddTransactionStatus) String() string
func (*MempoolAddTransactionStatus) Unmarshal ¶
func (m *MempoolAddTransactionStatus) Unmarshal(dAtA []byte) error
func (*MempoolAddTransactionStatus) XXX_DiscardUnknown ¶
func (m *MempoolAddTransactionStatus) XXX_DiscardUnknown()
func (*MempoolAddTransactionStatus) XXX_Marshal ¶
func (m *MempoolAddTransactionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MempoolAddTransactionStatus) XXX_Merge ¶
func (m *MempoolAddTransactionStatus) XXX_Merge(src proto.Message)
func (*MempoolAddTransactionStatus) XXX_Size ¶
func (m *MempoolAddTransactionStatus) XXX_Size() int
func (*MempoolAddTransactionStatus) XXX_Unmarshal ¶
func (m *MempoolAddTransactionStatus) XXX_Unmarshal(b []byte) error
type MempoolAddTransactionStatusCode ¶
type MempoolAddTransactionStatusCode int32
const ( // Transaction was sent to Mempool Valid MempoolAddTransactionStatusCode = 0 // The sender does not have enough balance for the transaction. InsufficientBalance MempoolAddTransactionStatusCode = 1 // Sequence number is old, etc. InvalidSeqNumber MempoolAddTransactionStatusCode = 2 // Mempool is full (reached max global capacity) MempoolIsFull MempoolAddTransactionStatusCode = 3 // Account reached max capacity per account TooManyTransactions MempoolAddTransactionStatusCode = 4 // Invalid update. Only gas price increase is allowed InvalidUpdate MempoolAddTransactionStatusCode = 5 )
func (MempoolAddTransactionStatusCode) EnumDescriptor ¶
func (MempoolAddTransactionStatusCode) EnumDescriptor() ([]byte, []int)
func (MempoolAddTransactionStatusCode) String ¶
func (x MempoolAddTransactionStatusCode) String() string
Click to show internal directories.
Click to hide internal directories.