sdk

package
v0.2.1-0...-3e9d104 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_transaction_list_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TransactionList

type TransactionList struct {
	TransactionList []*services.Transaction `protobuf:"bytes,1,rep,name=transaction_list,json=transactionList,proto3" json:"transaction_list,omitempty"`
	// contains filtered or unexported fields
}

* A simple protobuf wrapper to store a list of transactions. This is used by `Transaction.[from|to]Bytes()` in the SDKs. The reason the SDK needs a list of transactions is because it holds onto a transaction per node. So if a transaction is to be submitted to nodes 3 and 4 the SDK Transaction type would contain a list of 2 protobuf transactions, one for node 3 and one for node 4.

func (*TransactionList) Descriptor deprecated

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

Deprecated: Use TransactionList.ProtoReflect.Descriptor instead.

func (*TransactionList) GetTransactionList

func (x *TransactionList) GetTransactionList() []*services.Transaction

func (*TransactionList) ProtoMessage

func (*TransactionList) ProtoMessage()

func (*TransactionList) ProtoReflect

func (x *TransactionList) ProtoReflect() protoreflect.Message

func (*TransactionList) Reset

func (x *TransactionList) Reset()

func (*TransactionList) String

func (x *TransactionList) String() string

Jump to

Keyboard shortcuts

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