Versions in this module Expand all Collapse all v1 v1.0.8 Aug 25, 2017 v1.0.7 Aug 17, 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 *dcrrpcclient.Client + func ActiveHarnesses() []*Harness + func New(activeNet *chaincfg.Params, handlers *dcrrpcclient.NotificationHandlers, ...) (*Harness, error) + func (h *Harness) ConfirmedBalance() dcrutil.Amount + func (h *Harness) CreateTransaction(targetOutputs []*wire.TxOut, feeRate dcrutil.Amount) (*wire.MsgTx, error) + func (h *Harness) NewAddress() (dcrutil.Address, error) + func (h *Harness) RPCConfig() dcrrpcclient.ConnConfig + func (h *Harness) SendOutputs(targetOutputs []*wire.TxOut, feeRate dcrutil.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