alicev1

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

Package alicev1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var AliceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.alice.v1.AliceService",
	HandlerType: (*AliceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListStores",
			Handler:    _AliceService_ListStores_Handler,
		},
		{
			MethodName: "GetStoreValue",
			Handler:    _AliceService_GetStoreValue_Handler,
		},
		{
			MethodName: "ListTransactionsForAddress",
			Handler:    _AliceService_ListTransactionsForAddress_Handler,
		},
		{
			MethodName: "GetBalance",
			Handler:    _AliceService_GetBalance_Handler,
		},
		{
			MethodName: "GetTransaction",
			Handler:    _AliceService_GetTransaction_Handler,
		},
		{
			MethodName: "GetBlock",
			Handler:    _AliceService_GetBlock_Handler,
		},
		{
			MethodName: "ListBlocks",
			Handler:    _AliceService_ListBlocks_Handler,
		},
		{
			MethodName: "ListTransactions",
			Handler:    _AliceService_ListTransactions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/alice/v1/alice.proto",
}

AliceService_ServiceDesc is the grpc.ServiceDesc for AliceService 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_api_alice_v1_alice_proto protoreflect.FileDescriptor

Functions

func RegisterAliceServiceHandler

func RegisterAliceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAliceServiceHandler registers the http handlers for service AliceService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAliceServiceHandlerClient

func RegisterAliceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AliceServiceClient) error

RegisterAliceServiceHandlerClient registers the http handlers for service AliceService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AliceServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AliceServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AliceServiceClient" to call the correct interceptors.

func RegisterAliceServiceHandlerFromEndpoint

func RegisterAliceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAliceServiceHandlerFromEndpoint is same as RegisterAliceServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAliceServiceHandlerServer

func RegisterAliceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AliceServiceServer) error

RegisterAliceServiceHandlerServer registers the http handlers for service AliceService to "mux". UnaryRPC :call AliceServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAliceServiceHandlerFromEndpoint instead.

func RegisterAliceServiceServer

func RegisterAliceServiceServer(s grpc.ServiceRegistrar, srv AliceServiceServer)

Types

type AliceServiceClient

type AliceServiceClient interface {
	// ListStores for a given address.
	ListStores(ctx context.Context, in *ListStoresRequest, opts ...grpc.CallOption) (*ListStoresResponse, error)
	// GetStoreValue for a given address, data store and index.
	GetStoreValue(ctx context.Context, in *GetStoreValueRequest, opts ...grpc.CallOption) (*GetStoreValueResponse, error)
	// ListTransactionsForAddress that an address has participated in.
	ListTransactionsForAddress(ctx context.Context, in *ListTransactionsForAddressRequest, opts ...grpc.CallOption) (*ListTransactionsForAddressResponse, error)
	// GetBalance for an address.
	GetBalance(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetBalanceResponse, error)
	// GetTransaction contents.
	GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error)
	// GetBlock contents.
	GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockResponse, error)
	// ListBlocks starting at the most recent.
	ListBlocks(ctx context.Context, in *ListBlocksRequest, opts ...grpc.CallOption) (*ListBlocksResponse, error)
	// ListTransactions starting at the most recent.
	ListTransactions(ctx context.Context, in *ListTransactionsRequest, opts ...grpc.CallOption) (*ListTransactionsResponse, error)
}

AliceServiceClient is the client API for AliceService 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 AliceServiceServer

type AliceServiceServer interface {
	// ListStores for a given address.
	ListStores(context.Context, *ListStoresRequest) (*ListStoresResponse, error)
	// GetStoreValue for a given address, data store and index.
	GetStoreValue(context.Context, *GetStoreValueRequest) (*GetStoreValueResponse, error)
	// ListTransactionsForAddress that an address has participated in.
	ListTransactionsForAddress(context.Context, *ListTransactionsForAddressRequest) (*ListTransactionsForAddressResponse, error)
	// GetBalance for an address.
	GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error)
	// GetTransaction contents.
	GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
	// GetBlock contents.
	GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
	// ListBlocks starting at the most recent.
	ListBlocks(context.Context, *ListBlocksRequest) (*ListBlocksResponse, error)
	// ListTransactions starting at the most recent.
	ListTransactions(context.Context, *ListTransactionsRequest) (*ListTransactionsResponse, error)
}

AliceServiceServer is the server API for AliceService service. All implementations should embed UnimplementedAliceServiceServer for forward compatibility

type Block

type Block struct {

	// The ID of the chain holding this block.
	ChainId uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// The height of this block since genesis.
	Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// The number of transactions contained in this block.
	TransactionCount uint32 `protobuf:"varint,3,opt,name=transaction_count,json=transactionCount,proto3" json:"transaction_count,omitempty"`
	// The hash of the previous block.
	PreviousBlockHash string `protobuf:"bytes,4,opt,name=previous_block_hash,json=previousBlockHash,proto3" json:"previous_block_hash,omitempty"`
	// The hash of the transaction root.
	TransactionRootHash string `protobuf:"bytes,5,opt,name=transaction_root_hash,json=transactionRootHash,proto3" json:"transaction_root_hash,omitempty"`
	// The hash of the state root.
	StateRootHash string `protobuf:"bytes,6,opt,name=state_root_hash,json=stateRootHash,proto3" json:"state_root_hash,omitempty"`
	// The hash of the header root.
	HeaderRootHash string `protobuf:"bytes,7,opt,name=header_root_hash,json=headerRootHash,proto3" json:"header_root_hash,omitempty"`
	// The group signature hash.
	GroupSignatureHash string `protobuf:"bytes,8,opt,name=group_signature_hash,json=groupSignatureHash,proto3" json:"group_signature_hash,omitempty"`
	// A list of transaction hashes contained in this block.
	TransactionHashes []string `protobuf:"bytes,9,rep,name=transaction_hashes,json=transactionHashes,proto3" json:"transaction_hashes,omitempty"`
	// The observed time of this block. It is when it was indexed, not when it happened.
	ObserveTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=observe_time,json=observeTime,proto3" json:"observe_time,omitempty"`
	// contains filtered or unexported fields
}

A Block on the AliceNet chain.

func (*Block) Descriptor deprecated

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

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetChainId

func (x *Block) GetChainId() uint32

func (*Block) GetGroupSignatureHash

func (x *Block) GetGroupSignatureHash() string

func (*Block) GetHeaderRootHash

func (x *Block) GetHeaderRootHash() string

func (*Block) GetHeight

func (x *Block) GetHeight() uint32

func (*Block) GetObserveTime

func (x *Block) GetObserveTime() *timestamppb.Timestamp

func (*Block) GetPreviousBlockHash

func (x *Block) GetPreviousBlockHash() string

func (*Block) GetStateRootHash

func (x *Block) GetStateRootHash() string

func (*Block) GetTransactionCount

func (x *Block) GetTransactionCount() uint32

func (*Block) GetTransactionHashes

func (x *Block) GetTransactionHashes() []string

func (*Block) GetTransactionRootHash

func (x *Block) GetTransactionRootHash() string

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

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

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

func (*Block) Validate

func (m *Block) Validate() error

Validate checks the field values on Block with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Block) ValidateAll

func (m *Block) ValidateAll() error

ValidateAll checks the field values on Block with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BlockMultiError, or nil if none found.

type BlockMultiError

type BlockMultiError []error

BlockMultiError is an error wrapping multiple validation errors returned by Block.ValidateAll() if the designated constraints aren't met.

func (BlockMultiError) AllErrors

func (m BlockMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BlockMultiError) Error

func (m BlockMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type BlockValidationError

type BlockValidationError struct {
	// contains filtered or unexported fields
}

BlockValidationError is the validation error returned by Block.Validate if the designated constraints aren't met.

func (BlockValidationError) Cause

func (e BlockValidationError) Cause() error

Cause function returns cause value.

func (BlockValidationError) Error

func (e BlockValidationError) Error() string

Error satisfies the builtin error interface

func (BlockValidationError) ErrorName

func (e BlockValidationError) ErrorName() string

ErrorName returns error name.

func (BlockValidationError) Field

func (e BlockValidationError) Field() string

Field function returns field value.

func (BlockValidationError) Key

func (e BlockValidationError) Key() bool

Key function returns key value.

func (BlockValidationError) Reason

func (e BlockValidationError) Reason() string

Reason function returns reason value.

type GetBalanceRequest

type GetBalanceRequest struct {

	// The address to get the balance for.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

GetBalanceRequest to call the service.

func (*GetBalanceRequest) Descriptor deprecated

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

Deprecated: Use GetBalanceRequest.ProtoReflect.Descriptor instead.

func (*GetBalanceRequest) GetAddress

func (x *GetBalanceRequest) GetAddress() string

func (*GetBalanceRequest) ProtoMessage

func (*GetBalanceRequest) ProtoMessage()

func (*GetBalanceRequest) ProtoReflect

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

func (*GetBalanceRequest) Reset

func (x *GetBalanceRequest) Reset()

func (*GetBalanceRequest) String

func (x *GetBalanceRequest) String() string

func (*GetBalanceRequest) Validate

func (m *GetBalanceRequest) Validate() error

Validate checks the field values on GetBalanceRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetBalanceRequest) ValidateAll

func (m *GetBalanceRequest) ValidateAll() error

ValidateAll checks the field values on GetBalanceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetBalanceRequestMultiError, or nil if none found.

type GetBalanceRequestMultiError

type GetBalanceRequestMultiError []error

GetBalanceRequestMultiError is an error wrapping multiple validation errors returned by GetBalanceRequest.ValidateAll() if the designated constraints aren't met.

func (GetBalanceRequestMultiError) AllErrors

func (m GetBalanceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetBalanceRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetBalanceRequestValidationError

type GetBalanceRequestValidationError struct {
	// contains filtered or unexported fields
}

GetBalanceRequestValidationError is the validation error returned by GetBalanceRequest.Validate if the designated constraints aren't met.

func (GetBalanceRequestValidationError) Cause

Cause function returns cause value.

func (GetBalanceRequestValidationError) Error

Error satisfies the builtin error interface

func (GetBalanceRequestValidationError) ErrorName

ErrorName returns error name.

func (GetBalanceRequestValidationError) Field

Field function returns field value.

func (GetBalanceRequestValidationError) Key

Key function returns key value.

func (GetBalanceRequestValidationError) Reason

Reason function returns reason value.

type GetBalanceResponse

type GetBalanceResponse struct {

	// The balance of the requested address.
	Balance string `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

GetBalanceResponse from the service.

func (*GetBalanceResponse) Descriptor deprecated

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

Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.

func (*GetBalanceResponse) GetBalance

func (x *GetBalanceResponse) GetBalance() string

func (*GetBalanceResponse) ProtoMessage

func (*GetBalanceResponse) ProtoMessage()

func (*GetBalanceResponse) ProtoReflect

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

func (*GetBalanceResponse) Reset

func (x *GetBalanceResponse) Reset()

func (*GetBalanceResponse) String

func (x *GetBalanceResponse) String() string

func (*GetBalanceResponse) Validate

func (m *GetBalanceResponse) Validate() error

Validate checks the field values on GetBalanceResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetBalanceResponse) ValidateAll

func (m *GetBalanceResponse) ValidateAll() error

ValidateAll checks the field values on GetBalanceResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetBalanceResponseMultiError, or nil if none found.

type GetBalanceResponseMultiError

type GetBalanceResponseMultiError []error

GetBalanceResponseMultiError is an error wrapping multiple validation errors returned by GetBalanceResponse.ValidateAll() if the designated constraints aren't met.

func (GetBalanceResponseMultiError) AllErrors

func (m GetBalanceResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetBalanceResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetBalanceResponseValidationError

type GetBalanceResponseValidationError struct {
	// contains filtered or unexported fields
}

GetBalanceResponseValidationError is the validation error returned by GetBalanceResponse.Validate if the designated constraints aren't met.

func (GetBalanceResponseValidationError) Cause

Cause function returns cause value.

func (GetBalanceResponseValidationError) Error

Error satisfies the builtin error interface

func (GetBalanceResponseValidationError) ErrorName

ErrorName returns error name.

func (GetBalanceResponseValidationError) Field

Field function returns field value.

func (GetBalanceResponseValidationError) Key

Key function returns key value.

func (GetBalanceResponseValidationError) Reason

Reason function returns reason value.

type GetBlockRequest

type GetBlockRequest struct {

	// The height of the block to request.
	Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

GetBlockRequest to call the service.

func (*GetBlockRequest) Descriptor deprecated

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

Deprecated: Use GetBlockRequest.ProtoReflect.Descriptor instead.

func (*GetBlockRequest) GetHeight

func (x *GetBlockRequest) GetHeight() uint32

func (*GetBlockRequest) ProtoMessage

func (*GetBlockRequest) ProtoMessage()

func (*GetBlockRequest) ProtoReflect

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

func (*GetBlockRequest) Reset

func (x *GetBlockRequest) Reset()

func (*GetBlockRequest) String

func (x *GetBlockRequest) String() string

func (*GetBlockRequest) Validate

func (m *GetBlockRequest) Validate() error

Validate checks the field values on GetBlockRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetBlockRequest) ValidateAll

func (m *GetBlockRequest) ValidateAll() error

ValidateAll checks the field values on GetBlockRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetBlockRequestMultiError, or nil if none found.

type GetBlockRequestMultiError

type GetBlockRequestMultiError []error

GetBlockRequestMultiError is an error wrapping multiple validation errors returned by GetBlockRequest.ValidateAll() if the designated constraints aren't met.

func (GetBlockRequestMultiError) AllErrors

func (m GetBlockRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetBlockRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetBlockRequestValidationError

type GetBlockRequestValidationError struct {
	// contains filtered or unexported fields
}

GetBlockRequestValidationError is the validation error returned by GetBlockRequest.Validate if the designated constraints aren't met.

func (GetBlockRequestValidationError) Cause

Cause function returns cause value.

func (GetBlockRequestValidationError) Error

Error satisfies the builtin error interface

func (GetBlockRequestValidationError) ErrorName

func (e GetBlockRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetBlockRequestValidationError) Field

Field function returns field value.

func (GetBlockRequestValidationError) Key

Key function returns key value.

func (GetBlockRequestValidationError) Reason

Reason function returns reason value.

type GetBlockResponse

type GetBlockResponse struct {

	// The block corresponding to the specified height.
	Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	// contains filtered or unexported fields
}

GetBlockResponse from the service.

func (*GetBlockResponse) Descriptor deprecated

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

Deprecated: Use GetBlockResponse.ProtoReflect.Descriptor instead.

func (*GetBlockResponse) GetBlock

func (x *GetBlockResponse) GetBlock() *Block

func (*GetBlockResponse) ProtoMessage

func (*GetBlockResponse) ProtoMessage()

func (*GetBlockResponse) ProtoReflect

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

func (*GetBlockResponse) Reset

func (x *GetBlockResponse) Reset()

func (*GetBlockResponse) String

func (x *GetBlockResponse) String() string

func (*GetBlockResponse) Validate

func (m *GetBlockResponse) Validate() error

Validate checks the field values on GetBlockResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetBlockResponse) ValidateAll

func (m *GetBlockResponse) ValidateAll() error

ValidateAll checks the field values on GetBlockResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetBlockResponseMultiError, or nil if none found.

type GetBlockResponseMultiError

type GetBlockResponseMultiError []error

GetBlockResponseMultiError is an error wrapping multiple validation errors returned by GetBlockResponse.ValidateAll() if the designated constraints aren't met.

func (GetBlockResponseMultiError) AllErrors

func (m GetBlockResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetBlockResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetBlockResponseValidationError

type GetBlockResponseValidationError struct {
	// contains filtered or unexported fields
}

GetBlockResponseValidationError is the validation error returned by GetBlockResponse.Validate if the designated constraints aren't met.

func (GetBlockResponseValidationError) Cause

Cause function returns cause value.

func (GetBlockResponseValidationError) Error

Error satisfies the builtin error interface

func (GetBlockResponseValidationError) ErrorName

ErrorName returns error name.

func (GetBlockResponseValidationError) Field

Field function returns field value.

func (GetBlockResponseValidationError) Key

Key function returns key value.

func (GetBlockResponseValidationError) Reason

Reason function returns reason value.

type GetStoreValueRequest

type GetStoreValueRequest struct {

	// The address to get the stored value for.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The index in the data_store to pull the value from.
	Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

GetStoreValueRequest to call the service.

func (*GetStoreValueRequest) Descriptor deprecated

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

Deprecated: Use GetStoreValueRequest.ProtoReflect.Descriptor instead.

func (*GetStoreValueRequest) GetAddress

func (x *GetStoreValueRequest) GetAddress() string

func (*GetStoreValueRequest) GetIndex

func (x *GetStoreValueRequest) GetIndex() string

func (*GetStoreValueRequest) ProtoMessage

func (*GetStoreValueRequest) ProtoMessage()

func (*GetStoreValueRequest) ProtoReflect

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

func (*GetStoreValueRequest) Reset

func (x *GetStoreValueRequest) Reset()

func (*GetStoreValueRequest) String

func (x *GetStoreValueRequest) String() string

func (*GetStoreValueRequest) Validate

func (m *GetStoreValueRequest) Validate() error

Validate checks the field values on GetStoreValueRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetStoreValueRequest) ValidateAll

func (m *GetStoreValueRequest) ValidateAll() error

ValidateAll checks the field values on GetStoreValueRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetStoreValueRequestMultiError, or nil if none found.

type GetStoreValueRequestMultiError

type GetStoreValueRequestMultiError []error

GetStoreValueRequestMultiError is an error wrapping multiple validation errors returned by GetStoreValueRequest.ValidateAll() if the designated constraints aren't met.

func (GetStoreValueRequestMultiError) AllErrors

func (m GetStoreValueRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetStoreValueRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetStoreValueRequestValidationError

type GetStoreValueRequestValidationError struct {
	// contains filtered or unexported fields
}

GetStoreValueRequestValidationError is the validation error returned by GetStoreValueRequest.Validate if the designated constraints aren't met.

func (GetStoreValueRequestValidationError) Cause

Cause function returns cause value.

func (GetStoreValueRequestValidationError) Error

Error satisfies the builtin error interface

func (GetStoreValueRequestValidationError) ErrorName

ErrorName returns error name.

func (GetStoreValueRequestValidationError) Field

Field function returns field value.

func (GetStoreValueRequestValidationError) Key

Key function returns key value.

func (GetStoreValueRequestValidationError) Reason

Reason function returns reason value.

type GetStoreValueResponse

type GetStoreValueResponse struct {

	// The value stored for a given address/index.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// When this data store was issued at.
	IssuedAt uint32 `protobuf:"varint,2,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
	// contains filtered or unexported fields
}

GetStoreValueResponse from the service.

func (*GetStoreValueResponse) Descriptor deprecated

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

Deprecated: Use GetStoreValueResponse.ProtoReflect.Descriptor instead.

func (*GetStoreValueResponse) GetIssuedAt

func (x *GetStoreValueResponse) GetIssuedAt() uint32

func (*GetStoreValueResponse) GetValue

func (x *GetStoreValueResponse) GetValue() string

func (*GetStoreValueResponse) ProtoMessage

func (*GetStoreValueResponse) ProtoMessage()

func (*GetStoreValueResponse) ProtoReflect

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

func (*GetStoreValueResponse) Reset

func (x *GetStoreValueResponse) Reset()

func (*GetStoreValueResponse) String

func (x *GetStoreValueResponse) String() string

func (*GetStoreValueResponse) Validate

func (m *GetStoreValueResponse) Validate() error

Validate checks the field values on GetStoreValueResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetStoreValueResponse) ValidateAll

func (m *GetStoreValueResponse) ValidateAll() error

ValidateAll checks the field values on GetStoreValueResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetStoreValueResponseMultiError, or nil if none found.

type GetStoreValueResponseMultiError

type GetStoreValueResponseMultiError []error

GetStoreValueResponseMultiError is an error wrapping multiple validation errors returned by GetStoreValueResponse.ValidateAll() if the designated constraints aren't met.

func (GetStoreValueResponseMultiError) AllErrors

func (m GetStoreValueResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetStoreValueResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetStoreValueResponseValidationError

type GetStoreValueResponseValidationError struct {
	// contains filtered or unexported fields
}

GetStoreValueResponseValidationError is the validation error returned by GetStoreValueResponse.Validate if the designated constraints aren't met.

func (GetStoreValueResponseValidationError) Cause

Cause function returns cause value.

func (GetStoreValueResponseValidationError) Error

Error satisfies the builtin error interface

func (GetStoreValueResponseValidationError) ErrorName

ErrorName returns error name.

func (GetStoreValueResponseValidationError) Field

Field function returns field value.

func (GetStoreValueResponseValidationError) Key

Key function returns key value.

func (GetStoreValueResponseValidationError) Reason

Reason function returns reason value.

type GetTransactionRequest

type GetTransactionRequest struct {

	// The transaction hash to request.
	Transaction string `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

GetTransactionRequest to call the service.

func (*GetTransactionRequest) Descriptor deprecated

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

Deprecated: Use GetTransactionRequest.ProtoReflect.Descriptor instead.

func (*GetTransactionRequest) GetTransaction

func (x *GetTransactionRequest) GetTransaction() string

func (*GetTransactionRequest) ProtoMessage

func (*GetTransactionRequest) ProtoMessage()

func (*GetTransactionRequest) ProtoReflect

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

func (*GetTransactionRequest) Reset

func (x *GetTransactionRequest) Reset()

func (*GetTransactionRequest) String

func (x *GetTransactionRequest) String() string

func (*GetTransactionRequest) Validate

func (m *GetTransactionRequest) Validate() error

Validate checks the field values on GetTransactionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetTransactionRequest) ValidateAll

func (m *GetTransactionRequest) ValidateAll() error

ValidateAll checks the field values on GetTransactionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTransactionRequestMultiError, or nil if none found.

type GetTransactionRequestMultiError

type GetTransactionRequestMultiError []error

GetTransactionRequestMultiError is an error wrapping multiple validation errors returned by GetTransactionRequest.ValidateAll() if the designated constraints aren't met.

func (GetTransactionRequestMultiError) AllErrors

func (m GetTransactionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetTransactionRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetTransactionRequestValidationError

type GetTransactionRequestValidationError struct {
	// contains filtered or unexported fields
}

GetTransactionRequestValidationError is the validation error returned by GetTransactionRequest.Validate if the designated constraints aren't met.

func (GetTransactionRequestValidationError) Cause

Cause function returns cause value.

func (GetTransactionRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTransactionRequestValidationError) ErrorName

ErrorName returns error name.

func (GetTransactionRequestValidationError) Field

Field function returns field value.

func (GetTransactionRequestValidationError) Key

Key function returns key value.

func (GetTransactionRequestValidationError) Reason

Reason function returns reason value.

type GetTransactionResponse

type GetTransactionResponse struct {

	// The transaction for the given hash.
	Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

GetTransactionResponse from the service.

func (*GetTransactionResponse) Descriptor deprecated

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

Deprecated: Use GetTransactionResponse.ProtoReflect.Descriptor instead.

func (*GetTransactionResponse) GetTransaction

func (x *GetTransactionResponse) GetTransaction() *Transaction

func (*GetTransactionResponse) ProtoMessage

func (*GetTransactionResponse) ProtoMessage()

func (*GetTransactionResponse) ProtoReflect

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

func (*GetTransactionResponse) Reset

func (x *GetTransactionResponse) Reset()

func (*GetTransactionResponse) String

func (x *GetTransactionResponse) String() string

func (*GetTransactionResponse) Validate

func (m *GetTransactionResponse) Validate() error

Validate checks the field values on GetTransactionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetTransactionResponse) ValidateAll

func (m *GetTransactionResponse) ValidateAll() error

ValidateAll checks the field values on GetTransactionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTransactionResponseMultiError, or nil if none found.

type GetTransactionResponseMultiError

type GetTransactionResponseMultiError []error

GetTransactionResponseMultiError is an error wrapping multiple validation errors returned by GetTransactionResponse.ValidateAll() if the designated constraints aren't met.

func (GetTransactionResponseMultiError) AllErrors

func (m GetTransactionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetTransactionResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetTransactionResponseValidationError

type GetTransactionResponseValidationError struct {
	// contains filtered or unexported fields
}

GetTransactionResponseValidationError is the validation error returned by GetTransactionResponse.Validate if the designated constraints aren't met.

func (GetTransactionResponseValidationError) Cause

Cause function returns cause value.

func (GetTransactionResponseValidationError) Error

Error satisfies the builtin error interface

func (GetTransactionResponseValidationError) ErrorName

ErrorName returns error name.

func (GetTransactionResponseValidationError) Field

Field function returns field value.

func (GetTransactionResponseValidationError) Key

Key function returns key value.

func (GetTransactionResponseValidationError) Reason

Reason function returns reason value.

type ListBlocksRequest

type ListBlocksRequest struct {

	// The pagination limit in the List request.
	Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// The pagination offset in the List request.
	Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

ListBlocksRequest to call the service.

func (*ListBlocksRequest) Descriptor deprecated

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

Deprecated: Use ListBlocksRequest.ProtoReflect.Descriptor instead.

func (*ListBlocksRequest) GetLimit

func (x *ListBlocksRequest) GetLimit() int64

func (*ListBlocksRequest) GetOffset

func (x *ListBlocksRequest) GetOffset() int64

func (*ListBlocksRequest) ProtoMessage

func (*ListBlocksRequest) ProtoMessage()

func (*ListBlocksRequest) ProtoReflect

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

func (*ListBlocksRequest) Reset

func (x *ListBlocksRequest) Reset()

func (*ListBlocksRequest) String

func (x *ListBlocksRequest) String() string

func (*ListBlocksRequest) Validate

func (m *ListBlocksRequest) Validate() error

Validate checks the field values on ListBlocksRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListBlocksRequest) ValidateAll

func (m *ListBlocksRequest) ValidateAll() error

ValidateAll checks the field values on ListBlocksRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListBlocksRequestMultiError, or nil if none found.

type ListBlocksRequestMultiError

type ListBlocksRequestMultiError []error

ListBlocksRequestMultiError is an error wrapping multiple validation errors returned by ListBlocksRequest.ValidateAll() if the designated constraints aren't met.

func (ListBlocksRequestMultiError) AllErrors

func (m ListBlocksRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListBlocksRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListBlocksRequestValidationError

type ListBlocksRequestValidationError struct {
	// contains filtered or unexported fields
}

ListBlocksRequestValidationError is the validation error returned by ListBlocksRequest.Validate if the designated constraints aren't met.

func (ListBlocksRequestValidationError) Cause

Cause function returns cause value.

func (ListBlocksRequestValidationError) Error

Error satisfies the builtin error interface

func (ListBlocksRequestValidationError) ErrorName

ErrorName returns error name.

func (ListBlocksRequestValidationError) Field

Field function returns field value.

func (ListBlocksRequestValidationError) Key

Key function returns key value.

func (ListBlocksRequestValidationError) Reason

Reason function returns reason value.

type ListBlocksResponse

type ListBlocksResponse struct {

	// The heights of the most recent blocks.
	Heights []uint32 `protobuf:"varint,1,rep,packed,name=heights,proto3" json:"heights,omitempty"`
	// contains filtered or unexported fields
}

ListBlocksResponse from the service.

func (*ListBlocksResponse) Descriptor deprecated

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

Deprecated: Use ListBlocksResponse.ProtoReflect.Descriptor instead.

func (*ListBlocksResponse) GetHeights

func (x *ListBlocksResponse) GetHeights() []uint32

func (*ListBlocksResponse) ProtoMessage

func (*ListBlocksResponse) ProtoMessage()

func (*ListBlocksResponse) ProtoReflect

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

func (*ListBlocksResponse) Reset

func (x *ListBlocksResponse) Reset()

func (*ListBlocksResponse) String

func (x *ListBlocksResponse) String() string

func (*ListBlocksResponse) Validate

func (m *ListBlocksResponse) Validate() error

Validate checks the field values on ListBlocksResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListBlocksResponse) ValidateAll

func (m *ListBlocksResponse) ValidateAll() error

ValidateAll checks the field values on ListBlocksResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListBlocksResponseMultiError, or nil if none found.

type ListBlocksResponseMultiError

type ListBlocksResponseMultiError []error

ListBlocksResponseMultiError is an error wrapping multiple validation errors returned by ListBlocksResponse.ValidateAll() if the designated constraints aren't met.

func (ListBlocksResponseMultiError) AllErrors

func (m ListBlocksResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListBlocksResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListBlocksResponseValidationError

type ListBlocksResponseValidationError struct {
	// contains filtered or unexported fields
}

ListBlocksResponseValidationError is the validation error returned by ListBlocksResponse.Validate if the designated constraints aren't met.

func (ListBlocksResponseValidationError) Cause

Cause function returns cause value.

func (ListBlocksResponseValidationError) Error

Error satisfies the builtin error interface

func (ListBlocksResponseValidationError) ErrorName

ErrorName returns error name.

func (ListBlocksResponseValidationError) Field

Field function returns field value.

func (ListBlocksResponseValidationError) Key

Key function returns key value.

func (ListBlocksResponseValidationError) Reason

Reason function returns reason value.

type ListStoresRequest

type ListStoresRequest struct {

	// The address to list the stores for.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

ListStoresRequest to call the service.

func (*ListStoresRequest) Descriptor deprecated

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

Deprecated: Use ListStoresRequest.ProtoReflect.Descriptor instead.

func (*ListStoresRequest) GetAddress

func (x *ListStoresRequest) GetAddress() string

func (*ListStoresRequest) ProtoMessage

func (*ListStoresRequest) ProtoMessage()

func (*ListStoresRequest) ProtoReflect

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

func (*ListStoresRequest) Reset

func (x *ListStoresRequest) Reset()

func (*ListStoresRequest) String

func (x *ListStoresRequest) String() string

func (*ListStoresRequest) Validate

func (m *ListStoresRequest) Validate() error

Validate checks the field values on ListStoresRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListStoresRequest) ValidateAll

func (m *ListStoresRequest) ValidateAll() error

ValidateAll checks the field values on ListStoresRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListStoresRequestMultiError, or nil if none found.

type ListStoresRequestMultiError

type ListStoresRequestMultiError []error

ListStoresRequestMultiError is an error wrapping multiple validation errors returned by ListStoresRequest.ValidateAll() if the designated constraints aren't met.

func (ListStoresRequestMultiError) AllErrors

func (m ListStoresRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListStoresRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListStoresRequestValidationError

type ListStoresRequestValidationError struct {
	// contains filtered or unexported fields
}

ListStoresRequestValidationError is the validation error returned by ListStoresRequest.Validate if the designated constraints aren't met.

func (ListStoresRequestValidationError) Cause

Cause function returns cause value.

func (ListStoresRequestValidationError) Error

Error satisfies the builtin error interface

func (ListStoresRequestValidationError) ErrorName

ErrorName returns error name.

func (ListStoresRequestValidationError) Field

Field function returns field value.

func (ListStoresRequestValidationError) Key

Key function returns key value.

func (ListStoresRequestValidationError) Reason

Reason function returns reason value.

type ListStoresResponse

type ListStoresResponse struct {

	// A list of indexes stored for the given address.
	Indexes []string `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"`
	// contains filtered or unexported fields
}

ListStoresResponse from the service.

func (*ListStoresResponse) Descriptor deprecated

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

Deprecated: Use ListStoresResponse.ProtoReflect.Descriptor instead.

func (*ListStoresResponse) GetIndexes

func (x *ListStoresResponse) GetIndexes() []string

func (*ListStoresResponse) ProtoMessage

func (*ListStoresResponse) ProtoMessage()

func (*ListStoresResponse) ProtoReflect

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

func (*ListStoresResponse) Reset

func (x *ListStoresResponse) Reset()

func (*ListStoresResponse) String

func (x *ListStoresResponse) String() string

func (*ListStoresResponse) Validate

func (m *ListStoresResponse) Validate() error

Validate checks the field values on ListStoresResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListStoresResponse) ValidateAll

func (m *ListStoresResponse) ValidateAll() error

ValidateAll checks the field values on ListStoresResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListStoresResponseMultiError, or nil if none found.

type ListStoresResponseMultiError

type ListStoresResponseMultiError []error

ListStoresResponseMultiError is an error wrapping multiple validation errors returned by ListStoresResponse.ValidateAll() if the designated constraints aren't met.

func (ListStoresResponseMultiError) AllErrors

func (m ListStoresResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListStoresResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListStoresResponseValidationError

type ListStoresResponseValidationError struct {
	// contains filtered or unexported fields
}

ListStoresResponseValidationError is the validation error returned by ListStoresResponse.Validate if the designated constraints aren't met.

func (ListStoresResponseValidationError) Cause

Cause function returns cause value.

func (ListStoresResponseValidationError) Error

Error satisfies the builtin error interface

func (ListStoresResponseValidationError) ErrorName

ErrorName returns error name.

func (ListStoresResponseValidationError) Field

Field function returns field value.

func (ListStoresResponseValidationError) Key

Key function returns key value.

func (ListStoresResponseValidationError) Reason

Reason function returns reason value.

type ListTransactionsForAddressRequest

type ListTransactionsForAddressRequest struct {

	// The address to list the transactions for.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The pagination limit in the List request.
	Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// The pagination offset in the List request.
	Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

ListTransactionsForAddressRequest to call the service.

func (*ListTransactionsForAddressRequest) Descriptor deprecated

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

Deprecated: Use ListTransactionsForAddressRequest.ProtoReflect.Descriptor instead.

func (*ListTransactionsForAddressRequest) GetAddress

func (x *ListTransactionsForAddressRequest) GetAddress() string

func (*ListTransactionsForAddressRequest) GetLimit

func (*ListTransactionsForAddressRequest) GetOffset

func (*ListTransactionsForAddressRequest) ProtoMessage

func (*ListTransactionsForAddressRequest) ProtoMessage()

func (*ListTransactionsForAddressRequest) ProtoReflect

func (*ListTransactionsForAddressRequest) Reset

func (*ListTransactionsForAddressRequest) String

func (*ListTransactionsForAddressRequest) Validate

Validate checks the field values on ListTransactionsForAddressRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListTransactionsForAddressRequest) ValidateAll

func (m *ListTransactionsForAddressRequest) ValidateAll() error

ValidateAll checks the field values on ListTransactionsForAddressRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTransactionsForAddressRequestMultiError, or nil if none found.

type ListTransactionsForAddressRequestMultiError

type ListTransactionsForAddressRequestMultiError []error

ListTransactionsForAddressRequestMultiError is an error wrapping multiple validation errors returned by ListTransactionsForAddressRequest.ValidateAll() if the designated constraints aren't met.

func (ListTransactionsForAddressRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListTransactionsForAddressRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListTransactionsForAddressRequestValidationError

type ListTransactionsForAddressRequestValidationError struct {
	// contains filtered or unexported fields
}

ListTransactionsForAddressRequestValidationError is the validation error returned by ListTransactionsForAddressRequest.Validate if the designated constraints aren't met.

func (ListTransactionsForAddressRequestValidationError) Cause

Cause function returns cause value.

func (ListTransactionsForAddressRequestValidationError) Error

Error satisfies the builtin error interface

func (ListTransactionsForAddressRequestValidationError) ErrorName

ErrorName returns error name.

func (ListTransactionsForAddressRequestValidationError) Field

Field function returns field value.

func (ListTransactionsForAddressRequestValidationError) Key

Key function returns key value.

func (ListTransactionsForAddressRequestValidationError) Reason

Reason function returns reason value.

type ListTransactionsForAddressResponse

type ListTransactionsForAddressResponse struct {

	// A list of transaction hashes contained for the address.
	TransactionHashes []string `protobuf:"bytes,1,rep,name=transaction_hashes,json=transactionHashes,proto3" json:"transaction_hashes,omitempty"`
	// contains filtered or unexported fields
}

ListTransactionsForAddressResponse from the service.

func (*ListTransactionsForAddressResponse) Descriptor deprecated

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

Deprecated: Use ListTransactionsForAddressResponse.ProtoReflect.Descriptor instead.

func (*ListTransactionsForAddressResponse) GetTransactionHashes

func (x *ListTransactionsForAddressResponse) GetTransactionHashes() []string

func (*ListTransactionsForAddressResponse) ProtoMessage

func (*ListTransactionsForAddressResponse) ProtoMessage()

func (*ListTransactionsForAddressResponse) ProtoReflect

func (*ListTransactionsForAddressResponse) Reset

func (*ListTransactionsForAddressResponse) String

func (*ListTransactionsForAddressResponse) Validate

Validate checks the field values on ListTransactionsForAddressResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListTransactionsForAddressResponse) ValidateAll

func (m *ListTransactionsForAddressResponse) ValidateAll() error

ValidateAll checks the field values on ListTransactionsForAddressResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTransactionsForAddressResponseMultiError, or nil if none found.

type ListTransactionsForAddressResponseMultiError

type ListTransactionsForAddressResponseMultiError []error

ListTransactionsForAddressResponseMultiError is an error wrapping multiple validation errors returned by ListTransactionsForAddressResponse.ValidateAll() if the designated constraints aren't met.

func (ListTransactionsForAddressResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListTransactionsForAddressResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListTransactionsForAddressResponseValidationError

type ListTransactionsForAddressResponseValidationError struct {
	// contains filtered or unexported fields
}

ListTransactionsForAddressResponseValidationError is the validation error returned by ListTransactionsForAddressResponse.Validate if the designated constraints aren't met.

func (ListTransactionsForAddressResponseValidationError) Cause

Cause function returns cause value.

func (ListTransactionsForAddressResponseValidationError) Error

Error satisfies the builtin error interface

func (ListTransactionsForAddressResponseValidationError) ErrorName

ErrorName returns error name.

func (ListTransactionsForAddressResponseValidationError) Field

Field function returns field value.

func (ListTransactionsForAddressResponseValidationError) Key

Key function returns key value.

func (ListTransactionsForAddressResponseValidationError) Reason

Reason function returns reason value.

type ListTransactionsRequest

type ListTransactionsRequest struct {

	// The pagination limit in the List request.
	Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// The pagination offset in the List request.
	Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

ListTransactionsRequest to call the service.

func (*ListTransactionsRequest) Descriptor deprecated

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

Deprecated: Use ListTransactionsRequest.ProtoReflect.Descriptor instead.

func (*ListTransactionsRequest) GetLimit

func (x *ListTransactionsRequest) GetLimit() int64

func (*ListTransactionsRequest) GetOffset

func (x *ListTransactionsRequest) GetOffset() int64

func (*ListTransactionsRequest) ProtoMessage

func (*ListTransactionsRequest) ProtoMessage()

func (*ListTransactionsRequest) ProtoReflect

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

func (*ListTransactionsRequest) Reset

func (x *ListTransactionsRequest) Reset()

func (*ListTransactionsRequest) String

func (x *ListTransactionsRequest) String() string

func (*ListTransactionsRequest) Validate

func (m *ListTransactionsRequest) Validate() error

Validate checks the field values on ListTransactionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListTransactionsRequest) ValidateAll

func (m *ListTransactionsRequest) ValidateAll() error

ValidateAll checks the field values on ListTransactionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTransactionsRequestMultiError, or nil if none found.

type ListTransactionsRequestMultiError

type ListTransactionsRequestMultiError []error

ListTransactionsRequestMultiError is an error wrapping multiple validation errors returned by ListTransactionsRequest.ValidateAll() if the designated constraints aren't met.

func (ListTransactionsRequestMultiError) AllErrors

func (m ListTransactionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListTransactionsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListTransactionsRequestValidationError

type ListTransactionsRequestValidationError struct {
	// contains filtered or unexported fields
}

ListTransactionsRequestValidationError is the validation error returned by ListTransactionsRequest.Validate if the designated constraints aren't met.

func (ListTransactionsRequestValidationError) Cause

Cause function returns cause value.

func (ListTransactionsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListTransactionsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListTransactionsRequestValidationError) Field

Field function returns field value.

func (ListTransactionsRequestValidationError) Key

Key function returns key value.

func (ListTransactionsRequestValidationError) Reason

Reason function returns reason value.

type ListTransactionsResponse

type ListTransactionsResponse struct {

	// The hashes of the most recent transactions.
	TransactionHashes []string `protobuf:"bytes,1,rep,name=transaction_hashes,json=transactionHashes,proto3" json:"transaction_hashes,omitempty"`
	// contains filtered or unexported fields
}

ListTransactionsResponse from the service.

func (*ListTransactionsResponse) Descriptor deprecated

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

Deprecated: Use ListTransactionsResponse.ProtoReflect.Descriptor instead.

func (*ListTransactionsResponse) GetTransactionHashes

func (x *ListTransactionsResponse) GetTransactionHashes() []string

func (*ListTransactionsResponse) ProtoMessage

func (*ListTransactionsResponse) ProtoMessage()

func (*ListTransactionsResponse) ProtoReflect

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

func (*ListTransactionsResponse) Reset

func (x *ListTransactionsResponse) Reset()

func (*ListTransactionsResponse) String

func (x *ListTransactionsResponse) String() string

func (*ListTransactionsResponse) Validate

func (m *ListTransactionsResponse) Validate() error

Validate checks the field values on ListTransactionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListTransactionsResponse) ValidateAll

func (m *ListTransactionsResponse) ValidateAll() error

ValidateAll checks the field values on ListTransactionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTransactionsResponseMultiError, or nil if none found.

type ListTransactionsResponseMultiError

type ListTransactionsResponseMultiError []error

ListTransactionsResponseMultiError is an error wrapping multiple validation errors returned by ListTransactionsResponse.ValidateAll() if the designated constraints aren't met.

func (ListTransactionsResponseMultiError) AllErrors

func (m ListTransactionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListTransactionsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListTransactionsResponseValidationError

type ListTransactionsResponseValidationError struct {
	// contains filtered or unexported fields
}

ListTransactionsResponseValidationError is the validation error returned by ListTransactionsResponse.Validate if the designated constraints aren't met.

func (ListTransactionsResponseValidationError) Cause

Cause function returns cause value.

func (ListTransactionsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListTransactionsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListTransactionsResponseValidationError) Field

Field function returns field value.

func (ListTransactionsResponseValidationError) Key

Key function returns key value.

func (ListTransactionsResponseValidationError) Reason

Reason function returns reason value.

type Transaction

type Transaction struct {

	// The hash of this transaction.
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// The inputs to this transaction.
	Inputs []*Transaction_Input `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// The outputs from this transaction.
	Outputs []*Transaction_Output `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// The block containing the transaction.
	Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	// The observed time of this transaction. It is when it was indexed, not when it happened.
	ObserveTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=observe_time,json=observeTime,proto3" json:"observe_time,omitempty"`
	// contains filtered or unexported fields
}

A Transaction on the AliceNet chain.

func (*Transaction) Descriptor deprecated

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

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetHash

func (x *Transaction) GetHash() string

func (*Transaction) GetHeight

func (x *Transaction) GetHeight() uint32

func (*Transaction) GetInputs

func (x *Transaction) GetInputs() []*Transaction_Input

func (*Transaction) GetObserveTime

func (x *Transaction) GetObserveTime() *timestamppb.Timestamp

func (*Transaction) GetOutputs

func (x *Transaction) GetOutputs() []*Transaction_Output

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

func (*Transaction) Validate

func (m *Transaction) Validate() error

Validate checks the field values on Transaction with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Transaction) ValidateAll

func (m *Transaction) ValidateAll() error

ValidateAll checks the field values on Transaction with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TransactionMultiError, or nil if none found.

type TransactionMultiError

type TransactionMultiError []error

TransactionMultiError is an error wrapping multiple validation errors returned by Transaction.ValidateAll() if the designated constraints aren't met.

func (TransactionMultiError) AllErrors

func (m TransactionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TransactionMultiError) Error

func (m TransactionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TransactionValidationError

type TransactionValidationError struct {
	// contains filtered or unexported fields
}

TransactionValidationError is the validation error returned by Transaction.Validate if the designated constraints aren't met.

func (TransactionValidationError) Cause

Cause function returns cause value.

func (TransactionValidationError) Error

Error satisfies the builtin error interface

func (TransactionValidationError) ErrorName

func (e TransactionValidationError) ErrorName() string

ErrorName returns error name.

func (TransactionValidationError) Field

Field function returns field value.

func (TransactionValidationError) Key

Key function returns key value.

func (TransactionValidationError) Reason

Reason function returns reason value.

type Transaction_Input

type Transaction_Input struct {

	// The ID of the chain contianing this transaction.
	ChainId uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// The hash of this transaction.
	TransactionHash string `protobuf:"bytes,2,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
	// The index of this transaction.
	TransactionIndex int64 `protobuf:"varint,3,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"`
	// The hash of the consumed transaction.
	ConsumedTransactionHash string `` /* 132-byte string literal not displayed */
	// The index of the consumed transaction.
	ConsumedTransactionIndex int64 `` /* 136-byte string literal not displayed */
	// A signature of the input.
	Signature string `protobuf:"bytes,6,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

Input to the transaction.

func (*Transaction_Input) Descriptor deprecated

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

Deprecated: Use Transaction_Input.ProtoReflect.Descriptor instead.

func (*Transaction_Input) GetChainId

func (x *Transaction_Input) GetChainId() uint32

func (*Transaction_Input) GetConsumedTransactionHash

func (x *Transaction_Input) GetConsumedTransactionHash() string

func (*Transaction_Input) GetConsumedTransactionIndex

func (x *Transaction_Input) GetConsumedTransactionIndex() int64

func (*Transaction_Input) GetSignature

func (x *Transaction_Input) GetSignature() string

func (*Transaction_Input) GetTransactionHash

func (x *Transaction_Input) GetTransactionHash() string

func (*Transaction_Input) GetTransactionIndex

func (x *Transaction_Input) GetTransactionIndex() int64

func (*Transaction_Input) ProtoMessage

func (*Transaction_Input) ProtoMessage()

func (*Transaction_Input) ProtoReflect

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

func (*Transaction_Input) Reset

func (x *Transaction_Input) Reset()

func (*Transaction_Input) String

func (x *Transaction_Input) String() string

func (*Transaction_Input) Validate

func (m *Transaction_Input) Validate() error

Validate checks the field values on Transaction_Input with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Transaction_Input) ValidateAll

func (m *Transaction_Input) ValidateAll() error

ValidateAll checks the field values on Transaction_Input with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Transaction_InputMultiError, or nil if none found.

type Transaction_InputMultiError

type Transaction_InputMultiError []error

Transaction_InputMultiError is an error wrapping multiple validation errors returned by Transaction_Input.ValidateAll() if the designated constraints aren't met.

func (Transaction_InputMultiError) AllErrors

func (m Transaction_InputMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Transaction_InputMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type Transaction_InputValidationError

type Transaction_InputValidationError struct {
	// contains filtered or unexported fields
}

Transaction_InputValidationError is the validation error returned by Transaction_Input.Validate if the designated constraints aren't met.

func (Transaction_InputValidationError) Cause

Cause function returns cause value.

func (Transaction_InputValidationError) Error

Error satisfies the builtin error interface

func (Transaction_InputValidationError) ErrorName

ErrorName returns error name.

func (Transaction_InputValidationError) Field

Field function returns field value.

func (Transaction_InputValidationError) Key

Key function returns key value.

func (Transaction_InputValidationError) Reason

Reason function returns reason value.

type Transaction_Output

type Transaction_Output struct {

	// Unspect transaction outputs can be one of several types.
	//
	// Types that are assignable to UnspectTransactionOutput:
	//	*Transaction_Output_ValueStore_
	//	*Transaction_Output_DataStore_
	UnspectTransactionOutput isTransaction_Output_UnspectTransactionOutput `protobuf_oneof:"unspect_transaction_output"`
	// contains filtered or unexported fields
}

Output from the transaction.

func (*Transaction_Output) Descriptor deprecated

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

Deprecated: Use Transaction_Output.ProtoReflect.Descriptor instead.

func (*Transaction_Output) GetDataStore

func (*Transaction_Output) GetUnspectTransactionOutput

func (m *Transaction_Output) GetUnspectTransactionOutput() isTransaction_Output_UnspectTransactionOutput

func (*Transaction_Output) GetValueStore

func (*Transaction_Output) ProtoMessage

func (*Transaction_Output) ProtoMessage()

func (*Transaction_Output) ProtoReflect

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

func (*Transaction_Output) Reset

func (x *Transaction_Output) Reset()

func (*Transaction_Output) String

func (x *Transaction_Output) String() string

func (*Transaction_Output) Validate

func (m *Transaction_Output) Validate() error

Validate checks the field values on Transaction_Output with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Transaction_Output) ValidateAll

func (m *Transaction_Output) ValidateAll() error

ValidateAll checks the field values on Transaction_Output with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Transaction_OutputMultiError, or nil if none found.

type Transaction_OutputMultiError

type Transaction_OutputMultiError []error

Transaction_OutputMultiError is an error wrapping multiple validation errors returned by Transaction_Output.ValidateAll() if the designated constraints aren't met.

func (Transaction_OutputMultiError) AllErrors

func (m Transaction_OutputMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Transaction_OutputMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type Transaction_OutputValidationError

type Transaction_OutputValidationError struct {
	// contains filtered or unexported fields
}

Transaction_OutputValidationError is the validation error returned by Transaction_Output.Validate if the designated constraints aren't met.

func (Transaction_OutputValidationError) Cause

Cause function returns cause value.

func (Transaction_OutputValidationError) Error

Error satisfies the builtin error interface

func (Transaction_OutputValidationError) ErrorName

ErrorName returns error name.

func (Transaction_OutputValidationError) Field

Field function returns field value.

func (Transaction_OutputValidationError) Key

Key function returns key value.

func (Transaction_OutputValidationError) Reason

Reason function returns reason value.

type Transaction_Output_DataStore

type Transaction_Output_DataStore struct {

	// The signature of this data store.
	Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	// The hash of the transaction.
	TransactionHash string `protobuf:"bytes,2,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
	// The ID of the chain containing this transaction.
	ChainId uint32 `protobuf:"varint,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// The index of this data store.
	Index string `protobuf:"bytes,4,opt,name=index,proto3" json:"index,omitempty"`
	// When this data store was issued at.
	IssuedAt uint32 `protobuf:"varint,5,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
	// The deposit for this data store.
	Deposit string `protobuf:"bytes,6,opt,name=deposit,proto3" json:"deposit,omitempty"`
	// The raw data to be stored.
	RawData string `protobuf:"bytes,7,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"`
	// The transaction out index.
	TransactionOutIndex uint32 `protobuf:"varint,8,opt,name=transaction_out_index,json=transactionOutIndex,proto3" json:"transaction_out_index,omitempty"`
	// The owner of the data store.
	Owner string `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"`
	// The fee paid for this store.
	Fee string `protobuf:"bytes,10,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

A DataStore on the AliceNet chain.

func (*Transaction_Output_DataStore) Descriptor deprecated

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

Deprecated: Use Transaction_Output_DataStore.ProtoReflect.Descriptor instead.

func (*Transaction_Output_DataStore) GetChainId

func (x *Transaction_Output_DataStore) GetChainId() uint32

func (*Transaction_Output_DataStore) GetDeposit

func (x *Transaction_Output_DataStore) GetDeposit() string

func (*Transaction_Output_DataStore) GetFee

func (*Transaction_Output_DataStore) GetIndex

func (x *Transaction_Output_DataStore) GetIndex() string

func (*Transaction_Output_DataStore) GetIssuedAt

func (x *Transaction_Output_DataStore) GetIssuedAt() uint32

func (*Transaction_Output_DataStore) GetOwner

func (x *Transaction_Output_DataStore) GetOwner() string

func (*Transaction_Output_DataStore) GetRawData

func (x *Transaction_Output_DataStore) GetRawData() string

func (*Transaction_Output_DataStore) GetSignature

func (x *Transaction_Output_DataStore) GetSignature() string

func (*Transaction_Output_DataStore) GetTransactionHash

func (x *Transaction_Output_DataStore) GetTransactionHash() string

func (*Transaction_Output_DataStore) GetTransactionOutIndex

func (x *Transaction_Output_DataStore) GetTransactionOutIndex() uint32

func (*Transaction_Output_DataStore) ProtoMessage

func (*Transaction_Output_DataStore) ProtoMessage()

func (*Transaction_Output_DataStore) ProtoReflect

func (*Transaction_Output_DataStore) Reset

func (x *Transaction_Output_DataStore) Reset()

func (*Transaction_Output_DataStore) String

func (*Transaction_Output_DataStore) Validate

func (m *Transaction_Output_DataStore) Validate() error

Validate checks the field values on Transaction_Output_DataStore with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Transaction_Output_DataStore) ValidateAll

func (m *Transaction_Output_DataStore) ValidateAll() error

ValidateAll checks the field values on Transaction_Output_DataStore with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Transaction_Output_DataStoreMultiError, or nil if none found.

type Transaction_Output_DataStoreMultiError

type Transaction_Output_DataStoreMultiError []error

Transaction_Output_DataStoreMultiError is an error wrapping multiple validation errors returned by Transaction_Output_DataStore.ValidateAll() if the designated constraints aren't met.

func (Transaction_Output_DataStoreMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (Transaction_Output_DataStoreMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type Transaction_Output_DataStoreValidationError

type Transaction_Output_DataStoreValidationError struct {
	// contains filtered or unexported fields
}

Transaction_Output_DataStoreValidationError is the validation error returned by Transaction_Output_DataStore.Validate if the designated constraints aren't met.

func (Transaction_Output_DataStoreValidationError) Cause

Cause function returns cause value.

func (Transaction_Output_DataStoreValidationError) Error

Error satisfies the builtin error interface

func (Transaction_Output_DataStoreValidationError) ErrorName

ErrorName returns error name.

func (Transaction_Output_DataStoreValidationError) Field

Field function returns field value.

func (Transaction_Output_DataStoreValidationError) Key

Key function returns key value.

func (Transaction_Output_DataStoreValidationError) Reason

Reason function returns reason value.

type Transaction_Output_DataStore_

type Transaction_Output_DataStore_ struct {
	// A data store.
	DataStore *Transaction_Output_DataStore `protobuf:"bytes,3,opt,name=data_store,json=dataStore,proto3,oneof"`
}

type Transaction_Output_ValueStore

type Transaction_Output_ValueStore struct {

	// The hash of the transaction.
	TransactionHash string `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
	// The ID of the chain containing this transaction.
	ChainId uint32 `protobuf:"varint,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// The value of the store.
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// The index of the output transaction.
	TransactionOutIndex uint32 `protobuf:"varint,4,opt,name=transaction_out_index,json=transactionOutIndex,proto3" json:"transaction_out_index,omitempty"`
	// The owner of the value store.
	Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
	// The fee paid for this store.
	Fee string `protobuf:"bytes,6,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

A ValueStore on the AliceNet chain.

func (*Transaction_Output_ValueStore) Descriptor deprecated

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

Deprecated: Use Transaction_Output_ValueStore.ProtoReflect.Descriptor instead.

func (*Transaction_Output_ValueStore) GetChainId

func (x *Transaction_Output_ValueStore) GetChainId() uint32

func (*Transaction_Output_ValueStore) GetFee

func (*Transaction_Output_ValueStore) GetOwner

func (x *Transaction_Output_ValueStore) GetOwner() string

func (*Transaction_Output_ValueStore) GetTransactionHash

func (x *Transaction_Output_ValueStore) GetTransactionHash() string

func (*Transaction_Output_ValueStore) GetTransactionOutIndex

func (x *Transaction_Output_ValueStore) GetTransactionOutIndex() uint32

func (*Transaction_Output_ValueStore) GetValue

func (x *Transaction_Output_ValueStore) GetValue() string

func (*Transaction_Output_ValueStore) ProtoMessage

func (*Transaction_Output_ValueStore) ProtoMessage()

func (*Transaction_Output_ValueStore) ProtoReflect

func (*Transaction_Output_ValueStore) Reset

func (x *Transaction_Output_ValueStore) Reset()

func (*Transaction_Output_ValueStore) String

func (*Transaction_Output_ValueStore) Validate

func (m *Transaction_Output_ValueStore) Validate() error

Validate checks the field values on Transaction_Output_ValueStore with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Transaction_Output_ValueStore) ValidateAll

func (m *Transaction_Output_ValueStore) ValidateAll() error

ValidateAll checks the field values on Transaction_Output_ValueStore with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Transaction_Output_ValueStoreMultiError, or nil if none found.

type Transaction_Output_ValueStoreMultiError

type Transaction_Output_ValueStoreMultiError []error

Transaction_Output_ValueStoreMultiError is an error wrapping multiple validation errors returned by Transaction_Output_ValueStore.ValidateAll() if the designated constraints aren't met.

func (Transaction_Output_ValueStoreMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (Transaction_Output_ValueStoreMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type Transaction_Output_ValueStoreValidationError

type Transaction_Output_ValueStoreValidationError struct {
	// contains filtered or unexported fields
}

Transaction_Output_ValueStoreValidationError is the validation error returned by Transaction_Output_ValueStore.Validate if the designated constraints aren't met.

func (Transaction_Output_ValueStoreValidationError) Cause

Cause function returns cause value.

func (Transaction_Output_ValueStoreValidationError) Error

Error satisfies the builtin error interface

func (Transaction_Output_ValueStoreValidationError) ErrorName

ErrorName returns error name.

func (Transaction_Output_ValueStoreValidationError) Field

Field function returns field value.

func (Transaction_Output_ValueStoreValidationError) Key

Key function returns key value.

func (Transaction_Output_ValueStoreValidationError) Reason

Reason function returns reason value.

type Transaction_Output_ValueStore_

type Transaction_Output_ValueStore_ struct {
	// A value store.
	ValueStore *Transaction_Output_ValueStore `protobuf:"bytes,2,opt,name=value_store,json=valueStore,proto3,oneof"`
}

type UnimplementedAliceServiceServer

type UnimplementedAliceServiceServer struct {
}

UnimplementedAliceServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedAliceServiceServer) GetBalance

func (UnimplementedAliceServiceServer) GetBlock

func (UnimplementedAliceServiceServer) GetStoreValue

func (UnimplementedAliceServiceServer) GetTransaction

func (UnimplementedAliceServiceServer) ListBlocks

func (UnimplementedAliceServiceServer) ListStores

func (UnimplementedAliceServiceServer) ListTransactions

type UnsafeAliceServiceServer

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

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

Jump to

Keyboard shortcuts

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