owner

package
v0.18.15 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func (*Service) SignWithSecureAddress added in v0.16.1

func (svc *Service) SignWithSecureAddress(req client.SecureSignRawTxRequest, reply *client.SignRawTxResponse) error

Jump to

Keyboard shortcuts

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