zcash2cwtch

package module
v0.0.0-...-5b12555 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2019 License: MIT Imports: 8 Imported by: 0

README

zcash2cwtch

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction

type Transaction struct {
	Time int `json:"time"`
}

type ZcashClient

type ZcashClient interface {
	ListReceivedTransactionsByAddress(string) ([]ZcashTransaction, error)
	GetTransaction(string) (Transaction, error)
}

func NewClient

func NewClient(onion string, username, password string, acn connectivity.ACN) ZcashClient

NewClient creates a new Zcash rpc client over an onion address

type ZcashResult

type ZcashResult struct {
	Result interface{} `json:"result"`
}

type ZcashTransaction

type ZcashTransaction struct {
	TransactionID string  `json:"txid"`
	Amount        float64 `json:"amount"`
	Memo          string  `json:"memo"`
	Change        bool    `json:"change"`
	OutIndex      int     `json:"outindex"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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