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 GetRawBlock(hash string) ([]byte, error)
- func GetTransactionHex(txHash string) (string, error)
- func H2b(str string) []byte
- func MakeNigiriTestServices(peerUrl string, esploraUrl string, network string) (node.NodeService, scanner.Service, <-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 SetupDB() error
- func ShutdownDB() error
- func SignTransaction(p *pset.Pset, privKeys []*btcec.PrivateKey, scripts [][]byte, forWitness bool, ...) error
- func TruncateDB() 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" )
View Source
var (
DB *sql.DB
)
Functions ¶
func BlindTransaction ¶
func BlindTransactionByIndex ¶
func GenerateMasterPrivateKey ¶
func GenerateMasterPrivateKey() (*hdkeychain.ExtendedKey, error)
func GenerateToAddr ¶
func GetRawBlock ¶ added in v0.1.2
func GetTransactionHex ¶
func MakeNigiriTestServices ¶
func RunCommand ¶
func SendToAddr ¶
func ShutdownDB ¶ added in v0.1.2
func ShutdownDB() error
func SignTransaction ¶
func TruncateDB ¶ added in v0.1.2
func TruncateDB() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.