Documentation ¶
Index ¶
- Variables
- func NewLwdStreamer(client *rpcclient.Client, cache *common.BlockCache, log *logrus.Entry) (walletrpc.CompactTxStreamerServer, error)
- func NewZRPCFromConf(confPath string) (*rpcclient.Client, error)
- type LwdStreamer
- func (s *LwdStreamer) GetAddressTxids(addressBlockFilter *walletrpc.TransparentAddressBlockFilter, ...) error
- func (s *LwdStreamer) GetBlock(ctx context.Context, id *walletrpc.BlockID) (*walletrpc.CompactBlock, error)
- func (s *LwdStreamer) GetBlockRange(span *walletrpc.BlockRange, ...) error
- func (s *LwdStreamer) GetCache() *common.BlockCache
- func (s *LwdStreamer) GetLatestBlock(ctx context.Context, placeholder *walletrpc.ChainSpec) (*walletrpc.BlockID, error)
- func (s *LwdStreamer) GetLightdInfo(ctx context.Context, in *walletrpc.Empty) (*walletrpc.LightdInfo, error)
- func (s *LwdStreamer) GetTransaction(ctx context.Context, txf *walletrpc.TxFilter) (*walletrpc.RawTransaction, error)
- func (s *LwdStreamer) SendTransaction(ctx context.Context, rawtx *walletrpc.RawTransaction) (*walletrpc.SendResponse, error)
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)
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 (s *LwdStreamer) GetAddressTxids(addressBlockFilter *walletrpc.TransparentAddressBlockFilter, resp walletrpc.CompactTxStreamer_GetAddressTxidsServer) error
func (*LwdStreamer) GetBlock ¶ added in v0.3.0
func (s *LwdStreamer) GetBlock(ctx context.Context, id *walletrpc.BlockID) (*walletrpc.CompactBlock, error)
func (*LwdStreamer) GetBlockRange ¶ added in v0.3.0
func (s *LwdStreamer) GetBlockRange(span *walletrpc.BlockRange, resp walletrpc.CompactTxStreamer_GetBlockRangeServer) error
func (*LwdStreamer) GetCache ¶ added in v0.3.0
func (s *LwdStreamer) GetCache() *common.BlockCache
func (*LwdStreamer) GetLatestBlock ¶ added in v0.3.0
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
Click to show internal directories.
Click to hide internal directories.