tx

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Name

func Name() string

Types

type Service

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

func NewService

func NewService(
	balances *balance.Store,
	router action.Router,
	accounts accounts.Wallet,
	nodeCtx node.Context,
	logger *log.Logger,
) *Service

func (*Service) ApplyValidator

func (svc *Service) ApplyValidator(args client.ApplyValidatorRequest, reply *client.ApplyValidatorReply) error

func (*Service) CreateRawSend

func (svc *Service) CreateRawSend(args client.SendTxRequest, reply *client.SendTxReply) error

func (*Service) ONS_CreateRawBuy

func (s *Service) ONS_CreateRawBuy(args client.ONSPurchaseRequest, reply *client.SendTxReply) error

func (*Service) ONS_CreateRawCreate

func (s *Service) ONS_CreateRawCreate(args client.ONSCreateRequest, reply *client.SendTxReply) error

func (*Service) ONS_CreateRawSale

func (s *Service) ONS_CreateRawSale(args client.ONSSaleRequest, reply *client.SendTxReply) error

func (*Service) ONS_CreateRawSend

func (s *Service) ONS_CreateRawSend(args client.ONSSendRequest, reply *client.SendTxReply) error

func (*Service) ONS_CreateRawUpdate

func (s *Service) ONS_CreateRawUpdate(args client.ONSUpdateRequest, reply *client.SendTxReply) error

func (*Service) SendTx

func (svc *Service) SendTx(args client.SendTxRequest, reply *client.SendTxReply) error

SendTx exists for maintaining backwards compatibility with existing olclient implementations. It returns a signed transaction TODO: deprecate this

Jump to

Keyboard shortcuts

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