owner

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: Apache-2.0 Imports: 8 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(accts accounts.Wallet, logger *log.Logger) *Service

func (*Service) AddAccount

func (svc *Service) AddAccount(acc client.AddAccountRequest, reply *client.AddAccountReply) error

AddAccount adds an account to the local accounts store of the node

func (*Service) DeleteAccount

func (svc *Service) DeleteAccount(req client.DeleteAccountRequest, reply *client.DeleteAccountReply) error

DeleteAccount deletes an account from the local store

func (*Service) GenerateNewAccount

func (svc *Service) GenerateNewAccount(req client.GenerateAccountRequest, reply *client.AddAccountReply) error

AddAccount adds an account to the local accounts store of the node

func (*Service) ListAccountAddresses

func (svc *Service) ListAccountAddresses(req client.ListAccountsRequest, reply *client.ListAccountAddressesReply) error

ListAccountAddresses lists all accounts available in the local store

func (*Service) ListAccounts

func (svc *Service) ListAccounts(req client.ListAccountsRequest, reply *client.ListAccountsReply) error

ListAccounts lists all accounts available in the local store

func (*Service) NewAccount

func (svc *Service) NewAccount(req client.NewAccountRequest, reply *client.NewAccountReply) error

func (*Service) SignWithAddress

func (svc *Service) SignWithAddress(req client.SignRawTxRequest, reply *client.SignRawTxResponse) error

Jump to

Keyboard shortcuts

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