Versions in this module Expand all Collapse all v0 v0.1.0 Jul 19, 2018 Changes in this version + const BlockVersion + func ConnectNode(from *Harness, to *Harness) error + func JoinNodes(nodes []*Harness, joinType JoinType) error + func TearDownAll() error + type Harness struct + ActiveNet *chaincfg.Params + Node *hcrpcclient.Client + func ActiveHarnesses() []*Harness + func New(activeNet *chaincfg.Params, handlers *hcrpcclient.NotificationHandlers, ...) (*Harness, error) + func (h *Harness) ConfirmedBalance() hcutil.Amount + func (h *Harness) CreateTransaction(targetOutputs []*wire.TxOut, feeRate hcutil.Amount) (*wire.MsgTx, error) + func (h *Harness) NewAddress() (hcutil.Address, error) + func (h *Harness) RPCConfig() hcrpcclient.ConnConfig + func (h *Harness) SendOutputs(targetOutputs []*wire.TxOut, feeRate hcutil.Amount) (*chainhash.Hash, error) + func (h *Harness) SetUp(createTestChain bool, numMatureOutputs uint32) error + func (h *Harness) TearDown() error + func (h *Harness) UnlockOutputs(inputs []*wire.TxIn) + type HarnessTestCase func(r *Harness, t *testing.T) + type JoinType uint8 + const Blocks + const Mempools