Versions in this module Expand all Collapse all v0 v0.1.1 Sep 13, 2021 v0.1.0 Apr 5, 2021 Changes in this version + func Hexdigest(str string) string + func HexdigestByte(data []byte) string + type SawtoothClient struct + ClientImpl SawtoothClientImpl + Signer *signing.Signer + Transport transport.SawtoothClientTransport + func NewClient(args *SawtoothClientArgs) (*SawtoothClient, error) + func (self *SawtoothClient) CreateBatch(transactions []*transaction_pb2.Transaction) (*batch_pb2.Batch, error) + func (self *SawtoothClient) CreateBatchList(batches []*batch_pb2.Batch) (*batch_pb2.BatchList, error) + func (self *SawtoothClient) CreateTransaction(payload SawtoothPayload) (*transaction_pb2.Transaction, error) + func (self *SawtoothClient) ExecutePayload(payload SawtoothPayload) (string, error) + func (self *SawtoothClient) ExecutePayloadBatch(payloads []SawtoothPayload) (string, error) + func (self *SawtoothClient) ExecutePayloadBatchSync(payloads []SawtoothPayload, timeout int, pollInterval int) error + func (self *SawtoothClient) ExecutePayloadSync(payload SawtoothPayload, timeout int, pollInterval int) error + func (self *SawtoothClient) WaitBatch(batchId string, timeout int, pollInterval int) (bool, error) + type SawtoothClientArgs struct + Impl SawtoothClientImpl + KeyFile string + PrivateKey signing.PrivateKey + TransportType transport.SawtoothClientTransportType + URL string + type SawtoothClientImpl interface + DecodeData func([]byte, interface{}) error + DecodePayload func([]byte, SawtoothPayload) error + EncodeData func(interface{}) ([]byte, error) + EncodePayload func(SawtoothPayload) ([]byte, error) + GetFamilyName func() string + GetFamilyVersion func() string + type SawtoothPayload interface + GetDependencies func() []string + GetInputAddresses func() []string + GetNonce func() string + GetOutputAddresses func() []string