Versions in this module Expand all Collapse all v0 v0.9.3-Beta Dec 19, 2017 v0.9.0 Oct 29, 2017 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 *hcashrpcclient.Client + func ActiveHarnesses() []*Harness + func New(activeNet *chaincfg.Params, handlers *hcashrpcclient.NotificationHandlers, ...) (*Harness, error) + func (h *Harness) ConfirmedBalance() hcashutil.Amount + func (h *Harness) CreateTransaction(targetOutputs []*wire.TxOut, feeRate hcashutil.Amount) (*wire.MsgTx, error) + func (h *Harness) NewAddress() (hcashutil.Address, error) + func (h *Harness) RPCConfig() hcashrpcclient.ConnConfig + func (h *Harness) SendOutputs(targetOutputs []*wire.TxOut, feeRate hcashutil.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