protobufcompiled

package
v0.0.0-...-864a747 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddonsAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "computantis.AddonsAPI",
	HandlerType: (*AddonsAPIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AnalyzeTransaction",
			Handler:    _AddonsAPI_AnalyzeTransaction_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "addons.proto",
}

AddonsAPI_ServiceDesc is the grpc.ServiceDesc for AddonsAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_addons_proto protoreflect.FileDescriptor
View Source
var File_computantistypes_proto protoreflect.FileDescriptor
View Source
var File_gossip_proto protoreflect.FileDescriptor
View Source
var File_notary_proto protoreflect.FileDescriptor
View Source
var File_wallet_proto protoreflect.FileDescriptor
View Source
var File_webhooks_proto protoreflect.FileDescriptor
View Source
var GossipAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "computantis.GossipAPI",
	HandlerType: (*GossipAPIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Alive",
			Handler:    _GossipAPI_Alive_Handler,
		},
		{
			MethodName: "Announce",
			Handler:    _GossipAPI_Announce_Handler,
		},
		{
			MethodName: "Discover",
			Handler:    _GossipAPI_Discover_Handler,
		},
		{
			MethodName: "GossipVrx",
			Handler:    _GossipAPI_GossipVrx_Handler,
		},
		{
			MethodName: "GossipTrx",
			Handler:    _GossipAPI_GossipTrx_Handler,
		},
		{
			MethodName: "GetVertex",
			Handler:    _GossipAPI_GetVertex_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "LoadDag",
			Handler:       _GossipAPI_LoadDag_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "gossip.proto",
}

GossipAPI_ServiceDesc is the grpc.ServiceDesc for GossipAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var NotaryAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "computantis.NotaryAPI",
	HandlerType: (*NotaryAPIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Alive",
			Handler:    _NotaryAPI_Alive_Handler,
		},
		{
			MethodName: "Propose",
			Handler:    _NotaryAPI_Propose_Handler,
		},
		{
			MethodName: "Confirm",
			Handler:    _NotaryAPI_Confirm_Handler,
		},
		{
			MethodName: "Reject",
			Handler:    _NotaryAPI_Reject_Handler,
		},
		{
			MethodName: "Waiting",
			Handler:    _NotaryAPI_Waiting_Handler,
		},
		{
			MethodName: "Saved",
			Handler:    _NotaryAPI_Saved_Handler,
		},
		{
			MethodName: "Data",
			Handler:    _NotaryAPI_Data_Handler,
		},
		{
			MethodName: "TransactionsInDAG",
			Handler:    _NotaryAPI_TransactionsInDAG_Handler,
		},
		{
			MethodName: "Balance",
			Handler:    _NotaryAPI_Balance_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "notary.proto",
}

NotaryAPI_ServiceDesc is the grpc.ServiceDesc for NotaryAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var WalletClientAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "computantis.WalletClientAPI",
	HandlerType: (*WalletClientAPIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Alive",
			Handler:    _WalletClientAPI_Alive_Handler,
		},
		{
			MethodName: "WalletPublicAddress",
			Handler:    _WalletClientAPI_WalletPublicAddress_Handler,
		},
		{
			MethodName: "Issue",
			Handler:    _WalletClientAPI_Issue_Handler,
		},
		{
			MethodName: "Approve",
			Handler:    _WalletClientAPI_Approve_Handler,
		},
		{
			MethodName: "Reject",
			Handler:    _WalletClientAPI_Reject_Handler,
		},
		{
			MethodName: "Waiting",
			Handler:    _WalletClientAPI_Waiting_Handler,
		},
		{
			MethodName: "Saved",
			Handler:    _WalletClientAPI_Saved_Handler,
		},
		{
			MethodName: "WebHook",
			Handler:    _WalletClientAPI_WebHook_Handler,
		},
		{
			MethodName: "Balance",
			Handler:    _WalletClientAPI_Balance_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "wallet.proto",
}

WalletClientAPI_ServiceDesc is the grpc.ServiceDesc for WalletClientAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var WebhooksAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "computantis.WebhooksAPI",
	HandlerType: (*WebhooksAPIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Alive",
			Handler:    _WebhooksAPI_Alive_Handler,
		},
		{
			MethodName: "Webhooks",
			Handler:    _WebhooksAPI_Webhooks_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "webhooks.proto",
}

WebhooksAPI_ServiceDesc is the grpc.ServiceDesc for WebhooksAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAddonsAPIServer

func RegisterAddonsAPIServer(s grpc.ServiceRegistrar, srv AddonsAPIServer)

func RegisterGossipAPIServer

func RegisterGossipAPIServer(s grpc.ServiceRegistrar, srv GossipAPIServer)

func RegisterNotaryAPIServer

func RegisterNotaryAPIServer(s grpc.ServiceRegistrar, srv NotaryAPIServer)

func RegisterWalletClientAPIServer

func RegisterWalletClientAPIServer(s grpc.ServiceRegistrar, srv WalletClientAPIServer)

func RegisterWebhooksAPIServer

func RegisterWebhooksAPIServer(s grpc.ServiceRegistrar, srv WebhooksAPIServer)

Types

type AddonsAPIClient

type AddonsAPIClient interface {
	AnalyzeTransaction(ctx context.Context, in *AddonsMessage, opts ...grpc.CallOption) (*AddonsError, error)
}

AddonsAPIClient is the client API for AddonsAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAddonsAPIClient

func NewAddonsAPIClient(cc grpc.ClientConnInterface) AddonsAPIClient

type AddonsAPIServer

type AddonsAPIServer interface {
	AnalyzeTransaction(context.Context, *AddonsMessage) (*AddonsError, error)
	// contains filtered or unexported methods
}

AddonsAPIServer is the server API for AddonsAPI service. All implementations must embed UnimplementedAddonsAPIServer for forward compatibility

type AddonsError

type AddonsError struct {
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*AddonsError) Descriptor deprecated

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

Deprecated: Use AddonsError.ProtoReflect.Descriptor instead.

func (*AddonsError) GetError

func (x *AddonsError) GetError() string

func (*AddonsError) ProtoMessage

func (*AddonsError) ProtoMessage()

func (*AddonsError) ProtoReflect

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

func (*AddonsError) Reset

func (x *AddonsError) Reset()

func (*AddonsError) String

func (x *AddonsError) String() string

type AddonsMessage

type AddonsMessage struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Data  []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*AddonsMessage) Descriptor deprecated

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

Deprecated: Use AddonsMessage.ProtoReflect.Descriptor instead.

func (*AddonsMessage) GetData

func (x *AddonsMessage) GetData() []byte

func (*AddonsMessage) GetToken

func (x *AddonsMessage) GetToken() string

func (*AddonsMessage) ProtoMessage

func (*AddonsMessage) ProtoMessage()

func (*AddonsMessage) ProtoReflect

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

func (*AddonsMessage) Reset

func (x *AddonsMessage) Reset()

func (*AddonsMessage) String

func (x *AddonsMessage) String() string

type Address

type Address struct {
	Public string `protobuf:"bytes,1,opt,name=public,proto3" json:"public,omitempty"`
	// contains filtered or unexported fields
}

func (*Address) Descriptor deprecated

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

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetPublic

func (x *Address) GetPublic() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

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

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type Addresses

type Addresses struct {
	NotaryUrl string   `protobuf:"bytes,1,opt,name=notary_url,json=notaryUrl,proto3" json:"notary_url,omitempty"`
	Array     []string `protobuf:"bytes,2,rep,name=array,proto3" json:"array,omitempty"`
	// contains filtered or unexported fields
}

func (*Addresses) Descriptor deprecated

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

Deprecated: Use Addresses.ProtoReflect.Descriptor instead.

func (*Addresses) GetArray

func (x *Addresses) GetArray() []string

func (*Addresses) GetNotaryUrl

func (x *Addresses) GetNotaryUrl() string

func (*Addresses) ProtoMessage

func (*Addresses) ProtoMessage()

func (*Addresses) ProtoReflect

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

func (*Addresses) Reset

func (x *Addresses) Reset()

func (*Addresses) String

func (x *Addresses) String() string

type AliveData

type AliveData struct {
	ApiVersion    string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	ApiHeader     string `protobuf:"bytes,2,opt,name=api_header,json=apiHeader,proto3" json:"api_header,omitempty"`
	PublicAddress string `protobuf:"bytes,3,opt,name=public_address,json=publicAddress,proto3" json:"public_address,omitempty"`
	// contains filtered or unexported fields
}

func (*AliveData) Descriptor deprecated

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

Deprecated: Use AliveData.ProtoReflect.Descriptor instead.

func (*AliveData) GetApiHeader

func (x *AliveData) GetApiHeader() string

func (*AliveData) GetApiVersion

func (x *AliveData) GetApiVersion() string

func (*AliveData) GetPublicAddress

func (x *AliveData) GetPublicAddress() string

func (*AliveData) ProtoMessage

func (*AliveData) ProtoMessage()

func (*AliveData) ProtoReflect

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

func (*AliveData) Reset

func (x *AliveData) Reset()

func (*AliveData) String

func (x *AliveData) String() string

type ConnectedNodes

type ConnectedNodes struct {
	SignerPublicAddress string            `protobuf:"bytes,1,opt,name=signer_public_address,json=signerPublicAddress,proto3" json:"signer_public_address,omitempty"`
	Connections         []*ConnectionData `protobuf:"bytes,2,rep,name=connections,proto3" json:"connections,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectedNodes) Descriptor deprecated

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

Deprecated: Use ConnectedNodes.ProtoReflect.Descriptor instead.

func (*ConnectedNodes) GetConnections

func (x *ConnectedNodes) GetConnections() []*ConnectionData

func (*ConnectedNodes) GetSignerPublicAddress

func (x *ConnectedNodes) GetSignerPublicAddress() string

func (*ConnectedNodes) ProtoMessage

func (*ConnectedNodes) ProtoMessage()

func (*ConnectedNodes) ProtoReflect

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

func (*ConnectedNodes) Reset

func (x *ConnectedNodes) Reset()

func (*ConnectedNodes) String

func (x *ConnectedNodes) String() string

type ConnectionData

type ConnectionData struct {
	PublicAddress string `protobuf:"bytes,1,opt,name=public_address,json=publicAddress,proto3" json:"public_address,omitempty"`
	Url           string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	CreatedAt     uint64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Digest        []byte `protobuf:"bytes,4,opt,name=digest,proto3" json:"digest,omitempty"`
	Signature     []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionData) Descriptor deprecated

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

Deprecated: Use ConnectionData.ProtoReflect.Descriptor instead.

func (*ConnectionData) GetCreatedAt

func (x *ConnectionData) GetCreatedAt() uint64

func (*ConnectionData) GetDigest

func (x *ConnectionData) GetDigest() []byte

func (*ConnectionData) GetPublicAddress

func (x *ConnectionData) GetPublicAddress() string

func (*ConnectionData) GetSignature

func (x *ConnectionData) GetSignature() []byte

func (*ConnectionData) GetUrl

func (x *ConnectionData) GetUrl() string

func (*ConnectionData) ProtoMessage

func (*ConnectionData) ProtoMessage()

func (*ConnectionData) ProtoReflect

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

func (*ConnectionData) Reset

func (x *ConnectionData) Reset()

func (*ConnectionData) String

func (x *ConnectionData) String() string

type CreateWebHook

type CreateWebHook struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWebHook) Descriptor deprecated

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

Deprecated: Use CreateWebHook.ProtoReflect.Descriptor instead.

func (*CreateWebHook) GetUrl

func (x *CreateWebHook) GetUrl() string

func (*CreateWebHook) ProtoMessage

func (*CreateWebHook) ProtoMessage()

func (*CreateWebHook) ProtoReflect

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

func (*CreateWebHook) Reset

func (x *CreateWebHook) Reset()

func (*CreateWebHook) String

func (x *CreateWebHook) String() string

type DataBlob

type DataBlob struct {
	Blob []byte `protobuf:"bytes,1,opt,name=blob,proto3" json:"blob,omitempty"`
	// contains filtered or unexported fields
}

func (*DataBlob) Descriptor deprecated

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

Deprecated: Use DataBlob.ProtoReflect.Descriptor instead.

func (*DataBlob) GetBlob

func (x *DataBlob) GetBlob() []byte

func (*DataBlob) ProtoMessage

func (*DataBlob) ProtoMessage()

func (*DataBlob) ProtoReflect

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

func (*DataBlob) Reset

func (x *DataBlob) Reset()

func (*DataBlob) String

func (x *DataBlob) String() string

type GossipAPIClient

type GossipAPIClient interface {
	Alive(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AliveData, error)
	LoadDag(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (GossipAPI_LoadDagClient, error)
	Announce(ctx context.Context, in *ConnectionData, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Discover(ctx context.Context, in *ConnectionData, opts ...grpc.CallOption) (*ConnectedNodes, error)
	GossipVrx(ctx context.Context, in *VrxMsgGossip, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GossipTrx(ctx context.Context, in *TrxMsgGossip, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetVertex(ctx context.Context, in *SignedHash, opts ...grpc.CallOption) (*Vertex, error)
}

GossipAPIClient is the client API for GossipAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewGossipAPIClient

func NewGossipAPIClient(cc grpc.ClientConnInterface) GossipAPIClient

type GossipAPIServer

type GossipAPIServer interface {
	Alive(context.Context, *emptypb.Empty) (*AliveData, error)
	LoadDag(*emptypb.Empty, GossipAPI_LoadDagServer) error
	Announce(context.Context, *ConnectionData) (*emptypb.Empty, error)
	Discover(context.Context, *ConnectionData) (*ConnectedNodes, error)
	GossipVrx(context.Context, *VrxMsgGossip) (*emptypb.Empty, error)
	GossipTrx(context.Context, *TrxMsgGossip) (*emptypb.Empty, error)
	GetVertex(context.Context, *SignedHash) (*Vertex, error)
	// contains filtered or unexported methods
}

GossipAPIServer is the server API for GossipAPI service. All implementations must embed UnimplementedGossipAPIServer for forward compatibility

type GossipAPI_LoadDagClient

type GossipAPI_LoadDagClient interface {
	Recv() (*Vertex, error)
	grpc.ClientStream
}

type GossipAPI_LoadDagServer

type GossipAPI_LoadDagServer interface {
	Send(*Vertex) error
	grpc.ServerStream
}

type Gossiper

type Gossiper struct {
	Address   string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Digest    []byte `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*Gossiper) Descriptor deprecated

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

Deprecated: Use Gossiper.ProtoReflect.Descriptor instead.

func (*Gossiper) GetAddress

func (x *Gossiper) GetAddress() string

func (*Gossiper) GetDigest

func (x *Gossiper) GetDigest() []byte

func (*Gossiper) GetSignature

func (x *Gossiper) GetSignature() []byte

func (*Gossiper) ProtoMessage

func (*Gossiper) ProtoMessage()

func (*Gossiper) ProtoReflect

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

func (*Gossiper) Reset

func (x *Gossiper) Reset()

func (*Gossiper) String

func (x *Gossiper) String() string

type IssueTrx

type IssueTrx struct {
	Subject         string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	ReceiverAddress string `protobuf:"bytes,2,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"`
	Data            []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Spice           *Spice `protobuf:"bytes,4,opt,name=spice,proto3" json:"spice,omitempty"`
	// contains filtered or unexported fields
}

func (*IssueTrx) Descriptor deprecated

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

Deprecated: Use IssueTrx.ProtoReflect.Descriptor instead.

func (*IssueTrx) GetData

func (x *IssueTrx) GetData() []byte

func (*IssueTrx) GetReceiverAddress

func (x *IssueTrx) GetReceiverAddress() string

func (*IssueTrx) GetSpice

func (x *IssueTrx) GetSpice() *Spice

func (*IssueTrx) GetSubject

func (x *IssueTrx) GetSubject() string

func (*IssueTrx) ProtoMessage

func (*IssueTrx) ProtoMessage()

func (*IssueTrx) ProtoReflect

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

func (*IssueTrx) Reset

func (x *IssueTrx) Reset()

func (*IssueTrx) String

func (x *IssueTrx) String() string

type NotaryAPIClient

type NotaryAPIClient interface {
	Alive(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AliveData, error)
	Propose(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Confirm(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Reject(ctx context.Context, in *SignedHash, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Waiting(ctx context.Context, in *SignedHash, opts ...grpc.CallOption) (*Transactions, error)
	Saved(ctx context.Context, in *SignedHash, opts ...grpc.CallOption) (*Transaction, error)
	Data(ctx context.Context, in *Address, opts ...grpc.CallOption) (*DataBlob, error)
	TransactionsInDAG(ctx context.Context, in *SignedHash, opts ...grpc.CallOption) (*Transactions, error)
	Balance(ctx context.Context, in *SignedHash, opts ...grpc.CallOption) (*Spice, error)
}

NotaryAPIClient is the client API for NotaryAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewNotaryAPIClient

func NewNotaryAPIClient(cc grpc.ClientConnInterface) NotaryAPIClient

type NotaryAPIServer

type NotaryAPIServer interface {
	Alive(context.Context, *emptypb.Empty) (*AliveData, error)
	Propose(context.Context, *Transaction) (*emptypb.Empty, error)
	Confirm(context.Context, *Transaction) (*emptypb.Empty, error)
	Reject(context.Context, *SignedHash) (*emptypb.Empty, error)
	Waiting(context.Context, *SignedHash) (*Transactions, error)
	Saved(context.Context, *SignedHash) (*Transaction, error)
	Data(context.Context, *Address) (*DataBlob, error)
	TransactionsInDAG(context.Context, *SignedHash) (*Transactions, error)
	Balance(context.Context, *SignedHash) (*Spice, error)
	// contains filtered or unexported methods
}

NotaryAPIServer is the server API for NotaryAPI service. All implementations must embed UnimplementedNotaryAPIServer for forward compatibility

type NotaryNode

type NotaryNode struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*NotaryNode) Descriptor deprecated

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

Deprecated: Use NotaryNode.ProtoReflect.Descriptor instead.

func (*NotaryNode) GetUrl

func (x *NotaryNode) GetUrl() string

func (*NotaryNode) ProtoMessage

func (*NotaryNode) ProtoMessage()

func (*NotaryNode) ProtoReflect

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

func (*NotaryNode) Reset

func (x *NotaryNode) Reset()

func (*NotaryNode) String

func (x *NotaryNode) String() string

type SignedHash

type SignedHash struct {
	Address   string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Data      []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Hash      []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedHash) Descriptor deprecated

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

Deprecated: Use SignedHash.ProtoReflect.Descriptor instead.

func (*SignedHash) GetAddress

func (x *SignedHash) GetAddress() string

func (*SignedHash) GetData

func (x *SignedHash) GetData() []byte

func (*SignedHash) GetHash

func (x *SignedHash) GetHash() []byte

func (*SignedHash) GetSignature

func (x *SignedHash) GetSignature() []byte

func (*SignedHash) ProtoMessage

func (*SignedHash) ProtoMessage()

func (*SignedHash) ProtoReflect

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

func (*SignedHash) Reset

func (x *SignedHash) Reset()

func (*SignedHash) String

func (x *SignedHash) String() string

type Spice

type Spice struct {
	Currency              uint64 `protobuf:"varint,1,opt,name=currency,proto3" json:"currency,omitempty"`
	SupplementaryCurrency uint64 `protobuf:"varint,2,opt,name=supplementary_currency,json=supplementaryCurrency,proto3" json:"supplementary_currency,omitempty"`
	// contains filtered or unexported fields
}

func (*Spice) Descriptor deprecated

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

Deprecated: Use Spice.ProtoReflect.Descriptor instead.

func (*Spice) GetCurrency

func (x *Spice) GetCurrency() uint64

func (*Spice) GetSupplementaryCurrency

func (x *Spice) GetSupplementaryCurrency() uint64

func (*Spice) ProtoMessage

func (*Spice) ProtoMessage()

func (*Spice) ProtoReflect

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

func (*Spice) Reset

func (x *Spice) Reset()

func (*Spice) String

func (x *Spice) String() string

type Transaction

type Transaction struct {
	Subject           string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Data              []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Hash              []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	CreatedAt         uint64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	ReceiverAddress   string `protobuf:"bytes,5,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"`
	IssuerAddress     string `protobuf:"bytes,6,opt,name=issuer_address,json=issuerAddress,proto3" json:"issuer_address,omitempty"`
	ReceiverSignature []byte `protobuf:"bytes,7,opt,name=receiver_signature,json=receiverSignature,proto3" json:"receiver_signature,omitempty"`
	IssuerSignature   []byte `protobuf:"bytes,8,opt,name=issuer_signature,json=issuerSignature,proto3" json:"issuer_signature,omitempty"`
	Spice             *Spice `protobuf:"bytes,9,opt,name=spice,proto3" json:"spice,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction) Descriptor deprecated

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

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetCreatedAt

func (x *Transaction) GetCreatedAt() uint64

func (*Transaction) GetData

func (x *Transaction) GetData() []byte

func (*Transaction) GetHash

func (x *Transaction) GetHash() []byte

func (*Transaction) GetIssuerAddress

func (x *Transaction) GetIssuerAddress() string

func (*Transaction) GetIssuerSignature

func (x *Transaction) GetIssuerSignature() []byte

func (*Transaction) GetReceiverAddress

func (x *Transaction) GetReceiverAddress() string

func (*Transaction) GetReceiverSignature

func (x *Transaction) GetReceiverSignature() []byte

func (*Transaction) GetSpice

func (x *Transaction) GetSpice() *Spice

func (*Transaction) GetSubject

func (x *Transaction) GetSubject() string

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

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

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

type TransactionApproved

type TransactionApproved struct {
	Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Url         string       `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionApproved) Descriptor deprecated

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

Deprecated: Use TransactionApproved.ProtoReflect.Descriptor instead.

func (*TransactionApproved) GetTransaction

func (x *TransactionApproved) GetTransaction() *Transaction

func (*TransactionApproved) GetUrl

func (x *TransactionApproved) GetUrl() string

func (*TransactionApproved) ProtoMessage

func (*TransactionApproved) ProtoMessage()

func (*TransactionApproved) ProtoReflect

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

func (*TransactionApproved) Reset

func (x *TransactionApproved) Reset()

func (*TransactionApproved) String

func (x *TransactionApproved) String() string

type Transactions

type Transactions struct {
	Array []*Transaction `protobuf:"bytes,1,rep,name=array,proto3" json:"array,omitempty"`
	Len   uint64         `protobuf:"varint,2,opt,name=len,proto3" json:"len,omitempty"`
	// contains filtered or unexported fields
}

func (*Transactions) Descriptor deprecated

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

Deprecated: Use Transactions.ProtoReflect.Descriptor instead.

func (*Transactions) GetArray

func (x *Transactions) GetArray() []*Transaction

func (*Transactions) GetLen

func (x *Transactions) GetLen() uint64

func (*Transactions) ProtoMessage

func (*Transactions) ProtoMessage()

func (*Transactions) ProtoReflect

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

func (*Transactions) Reset

func (x *Transactions) Reset()

func (*Transactions) String

func (x *Transactions) String() string

type TrxHash

type TrxHash struct {
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Url  string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*TrxHash) Descriptor deprecated

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

Deprecated: Use TrxHash.ProtoReflect.Descriptor instead.

func (*TrxHash) GetHash

func (x *TrxHash) GetHash() []byte

func (*TrxHash) GetUrl

func (x *TrxHash) GetUrl() string

func (*TrxHash) ProtoMessage

func (*TrxHash) ProtoMessage()

func (*TrxHash) ProtoReflect

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

func (*TrxHash) Reset

func (x *TrxHash) Reset()

func (*TrxHash) String

func (x *TrxHash) String() string

type TrxMsgGossip

type TrxMsgGossip struct {
	Trx       *Transaction `protobuf:"bytes,1,opt,name=trx,proto3" json:"trx,omitempty"`
	Gossipers []*Gossiper  `protobuf:"bytes,2,rep,name=gossipers,proto3" json:"gossipers,omitempty"`
	// contains filtered or unexported fields
}

func (*TrxMsgGossip) Descriptor deprecated

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

Deprecated: Use TrxMsgGossip.ProtoReflect.Descriptor instead.

func (*TrxMsgGossip) GetGossipers

func (x *TrxMsgGossip) GetGossipers() []*Gossiper

func (*TrxMsgGossip) GetTrx

func (x *TrxMsgGossip) GetTrx() *Transaction

func (*TrxMsgGossip) ProtoMessage

func (*TrxMsgGossip) ProtoMessage()

func (*TrxMsgGossip) ProtoReflect

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

func (*TrxMsgGossip) Reset

func (x *TrxMsgGossip) Reset()

func (*TrxMsgGossip) String

func (x *TrxMsgGossip) String() string

type UnimplementedAddonsAPIServer

type UnimplementedAddonsAPIServer struct {
}

UnimplementedAddonsAPIServer must be embedded to have forward compatible implementations.

func (UnimplementedAddonsAPIServer) AnalyzeTransaction

type UnimplementedGossipAPIServer

type UnimplementedGossipAPIServer struct {
}

UnimplementedGossipAPIServer must be embedded to have forward compatible implementations.

func (UnimplementedGossipAPIServer) Alive

func (UnimplementedGossipAPIServer) Announce

func (UnimplementedGossipAPIServer) Discover

func (UnimplementedGossipAPIServer) GetVertex

func (UnimplementedGossipAPIServer) GossipTrx

func (UnimplementedGossipAPIServer) GossipVrx

func (UnimplementedGossipAPIServer) LoadDag

type UnimplementedNotaryAPIServer

type UnimplementedNotaryAPIServer struct {
}

UnimplementedNotaryAPIServer must be embedded to have forward compatible implementations.

func (UnimplementedNotaryAPIServer) Alive

func (UnimplementedNotaryAPIServer) Balance

func (UnimplementedNotaryAPIServer) Confirm

func (UnimplementedNotaryAPIServer) Data

func (UnimplementedNotaryAPIServer) Propose

func (UnimplementedNotaryAPIServer) Reject

func (UnimplementedNotaryAPIServer) Saved

func (UnimplementedNotaryAPIServer) TransactionsInDAG

func (UnimplementedNotaryAPIServer) Waiting

type UnimplementedWalletClientAPIServer

type UnimplementedWalletClientAPIServer struct {
}

UnimplementedWalletClientAPIServer must be embedded to have forward compatible implementations.

func (UnimplementedWalletClientAPIServer) Alive

func (UnimplementedWalletClientAPIServer) Approve

func (UnimplementedWalletClientAPIServer) Balance

func (UnimplementedWalletClientAPIServer) Issue

func (UnimplementedWalletClientAPIServer) Reject

func (UnimplementedWalletClientAPIServer) Saved

func (UnimplementedWalletClientAPIServer) Waiting

func (UnimplementedWalletClientAPIServer) WalletPublicAddress

func (UnimplementedWalletClientAPIServer) WebHook

type UnimplementedWebhooksAPIServer

type UnimplementedWebhooksAPIServer struct {
}

UnimplementedWebhooksAPIServer must be embedded to have forward compatible implementations.

func (UnimplementedWebhooksAPIServer) Alive

func (UnimplementedWebhooksAPIServer) Webhooks

type UnsafeAddonsAPIServer

type UnsafeAddonsAPIServer interface {
	// contains filtered or unexported methods
}

UnsafeAddonsAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AddonsAPIServer will result in compilation errors.

type UnsafeGossipAPIServer

type UnsafeGossipAPIServer interface {
	// contains filtered or unexported methods
}

UnsafeGossipAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GossipAPIServer will result in compilation errors.

type UnsafeNotaryAPIServer

type UnsafeNotaryAPIServer interface {
	// contains filtered or unexported methods
}

UnsafeNotaryAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NotaryAPIServer will result in compilation errors.

type UnsafeWalletClientAPIServer

type UnsafeWalletClientAPIServer interface {
	// contains filtered or unexported methods
}

UnsafeWalletClientAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WalletClientAPIServer will result in compilation errors.

type UnsafeWebhooksAPIServer

type UnsafeWebhooksAPIServer interface {
	// contains filtered or unexported methods
}

UnsafeWebhooksAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WebhooksAPIServer will result in compilation errors.

type Vertex

type Vertex struct {
	SignerPublicAddress string       `protobuf:"bytes,1,opt,name=signer_public_address,json=signerPublicAddress,proto3" json:"signer_public_address,omitempty"`
	CreatedAt           uint64       `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Signature           []byte       `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	Transaction         *Transaction `protobuf:"bytes,4,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Hash                []byte       `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"`
	LeftParentHash      []byte       `protobuf:"bytes,6,opt,name=left_parent_hash,json=leftParentHash,proto3" json:"left_parent_hash,omitempty"`
	RightParentHash     []byte       `protobuf:"bytes,7,opt,name=right_parent_hash,json=rightParentHash,proto3" json:"right_parent_hash,omitempty"`
	Weight              uint64       `protobuf:"varint,8,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*Vertex) Descriptor deprecated

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

Deprecated: Use Vertex.ProtoReflect.Descriptor instead.

func (*Vertex) GetCreatedAt

func (x *Vertex) GetCreatedAt() uint64

func (*Vertex) GetHash

func (x *Vertex) GetHash() []byte

func (*Vertex) GetLeftParentHash

func (x *Vertex) GetLeftParentHash() []byte

func (*Vertex) GetRightParentHash

func (x *Vertex) GetRightParentHash() []byte

func (*Vertex) GetSignature

func (x *Vertex) GetSignature() []byte

func (*Vertex) GetSignerPublicAddress

func (x *Vertex) GetSignerPublicAddress() string

func (*Vertex) GetTransaction

func (x *Vertex) GetTransaction() *Transaction

func (*Vertex) GetWeight

func (x *Vertex) GetWeight() uint64

func (*Vertex) ProtoMessage

func (*Vertex) ProtoMessage()

func (*Vertex) ProtoReflect

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

func (*Vertex) Reset

func (x *Vertex) Reset()

func (*Vertex) String

func (x *Vertex) String() string

type VrxMsgGossip

type VrxMsgGossip struct {
	Vertex    *Vertex     `protobuf:"bytes,1,opt,name=vertex,proto3" json:"vertex,omitempty"`
	Gossipers []*Gossiper `protobuf:"bytes,2,rep,name=gossipers,proto3" json:"gossipers,omitempty"`
	// contains filtered or unexported fields
}

func (*VrxMsgGossip) Descriptor deprecated

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

Deprecated: Use VrxMsgGossip.ProtoReflect.Descriptor instead.

func (*VrxMsgGossip) GetGossipers

func (x *VrxMsgGossip) GetGossipers() []*Gossiper

func (*VrxMsgGossip) GetVertex

func (x *VrxMsgGossip) GetVertex() *Vertex

func (*VrxMsgGossip) ProtoMessage

func (*VrxMsgGossip) ProtoMessage()

func (*VrxMsgGossip) ProtoReflect

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

func (*VrxMsgGossip) Reset

func (x *VrxMsgGossip) Reset()

func (*VrxMsgGossip) String

func (x *VrxMsgGossip) String() string

type WalletClientAPIClient

type WalletClientAPIClient interface {
	Alive(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	WalletPublicAddress(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Address, error)
	Issue(ctx context.Context, in *IssueTrx, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Approve(ctx context.Context, in *TransactionApproved, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Reject(ctx context.Context, in *TrxHash, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Waiting(ctx context.Context, in *NotaryNode, opts ...grpc.CallOption) (*Transactions, error)
	Saved(ctx context.Context, in *TrxHash, opts ...grpc.CallOption) (*Transaction, error)
	WebHook(ctx context.Context, in *CreateWebHook, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Balance(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Spice, error)
}

WalletClientAPIClient is the client API for WalletClientAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type WalletClientAPIServer

type WalletClientAPIServer interface {
	Alive(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	WalletPublicAddress(context.Context, *emptypb.Empty) (*Address, error)
	Issue(context.Context, *IssueTrx) (*emptypb.Empty, error)
	Approve(context.Context, *TransactionApproved) (*emptypb.Empty, error)
	Reject(context.Context, *TrxHash) (*emptypb.Empty, error)
	Waiting(context.Context, *NotaryNode) (*Transactions, error)
	Saved(context.Context, *TrxHash) (*Transaction, error)
	WebHook(context.Context, *CreateWebHook) (*emptypb.Empty, error)
	Balance(context.Context, *emptypb.Empty) (*Spice, error)
	// contains filtered or unexported methods
}

WalletClientAPIServer is the server API for WalletClientAPI service. All implementations must embed UnimplementedWalletClientAPIServer for forward compatibility

type WebhooksAPIClient

type WebhooksAPIClient interface {
	Alive(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AliveData, error)
	Webhooks(ctx context.Context, in *SignedHash, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

WebhooksAPIClient is the client API for WebhooksAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type WebhooksAPIServer

type WebhooksAPIServer interface {
	Alive(context.Context, *emptypb.Empty) (*AliveData, error)
	Webhooks(context.Context, *SignedHash) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

WebhooksAPIServer is the server API for WebhooksAPI service. All implementations must embed UnimplementedWebhooksAPIServer for forward compatibility

Jump to

Keyboard shortcuts

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