frontend

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnspecified = errors.New("request for unspecified identifier")
)

Functions

func NewLwdStreamer added in v0.3.0

func NewLwdStreamer(client *rpcclient.Client, cache *common.BlockCache, log *logrus.Entry) (walletrpc.CompactTxStreamerServer, error)

func NewZRPCFromConf

func NewZRPCFromConf(confPath string) (*rpcclient.Client, error)

Types

type LwdStreamer added in v0.3.0

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

the service type

func (*LwdStreamer) GetAddressTxids added in v0.3.0

func (*LwdStreamer) GetBlock added in v0.3.0

func (*LwdStreamer) GetBlockRange added in v0.3.0

func (*LwdStreamer) GetCache added in v0.3.0

func (s *LwdStreamer) GetCache() *common.BlockCache

func (*LwdStreamer) GetLatestBlock added in v0.3.0

func (s *LwdStreamer) GetLatestBlock(ctx context.Context, placeholder *walletrpc.ChainSpec) (*walletrpc.BlockID, error)

func (*LwdStreamer) GetLightdInfo added in v0.3.0

func (s *LwdStreamer) GetLightdInfo(ctx context.Context, in *walletrpc.Empty) (*walletrpc.LightdInfo, error)

GetLightdInfo gets the LightWalletD (this server) info

func (*LwdStreamer) GetTransaction added in v0.3.0

func (s *LwdStreamer) GetTransaction(ctx context.Context, txf *walletrpc.TxFilter) (*walletrpc.RawTransaction, error)

func (*LwdStreamer) SendTransaction added in v0.3.0

func (s *LwdStreamer) SendTransaction(ctx context.Context, rawtx *walletrpc.RawTransaction) (*walletrpc.SendResponse, error)

SendTransaction forwards raw transaction bytes to a zcashd instance over JSON-RPC

Jump to

Keyboard shortcuts

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