Documentation ¶
Index ¶
- Variables
- func BlindTransaction(p *pset.Pset, inBlindKeys [][]byte, outBlindKeys [][]byte, ...) error
- func BlindTransactionByIndex(p *pset.Pset, inBlindKeys [][]byte, outBlindKeysMap map[int][]byte, ...) error
- func CreateTx() (string, string, error)
- func Faucet(address string) (string, error)
- func GenerateMasterPrivateKey() (*hdkeychain.ExtendedKey, error)
- func GenerateToAddr(addr string) error
- func GetTransactionHex(txHash string) (string, error)
- func H2b(str string) []byte
- func MakeNigiriTestServices(peerUrl string, esploraUrl string, network string) (node.NodeService, scanner.ScannerService, <-chan scanner.Report)
- func OutputCommand(name string, arg ...string) ([]byte, error)
- func RunCommand(name string, arg ...string) error
- func RunCommandDetached(name string, arg ...string) (*exec.Cmd, error)
- func SendToAddr(addr string) error
- func SignTransaction(p *pset.Pset, privKeys []*btcec.PrivateKey, scripts [][]byte, forWitness bool, ...) error
- func Unspents(address string) ([]map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PeerAddrLocal = "localhost:18886" EsploraUrlLocal = "http://localhost:3001" )
Functions ¶
func BlindTransaction ¶
func BlindTransactionByIndex ¶
func GenerateMasterPrivateKey ¶
func GenerateMasterPrivateKey() (*hdkeychain.ExtendedKey, error)
func GenerateToAddr ¶
func GetTransactionHex ¶
func MakeNigiriTestServices ¶
func MakeNigiriTestServices( peerUrl string, esploraUrl string, network string, ) (node.NodeService, scanner.ScannerService, <-chan scanner.Report)
func RunCommand ¶
func SendToAddr ¶
func SignTransaction ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.