# Functions
AllHarnesses func get all Harness instances.
AssertBlockOrderAndHeight will verify the current block order, total block number and current main-chain height of the appointed test harness and assert it ok or cause the test failed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TODO, order and height not work for the SerializedBlock.
No description provided by the author
Spend amount from the wallet of the test harness and return tx hash.
No description provided by the author
Dial connects to a JSON-RPC server at the specified url, return a new client which can perform rpc Call.
GenerateBlock will generate a number of blocks by the input number for the appointed test harness.
NewHarness func creates an new instance of test harness with provided network params.
convert the serialized private key into the p2pkh address.
No description provided by the author
No description provided by the author
No description provided by the author
Spend amount from the wallet of the test harness and return tx hash.
Spend amount from the wallet of the test harness and return tx hash.
TearDownAll func teardown all Harness Instances.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Client represents a connection to an RPC server.
No description provided by the author
No description provided by the author
Harness manage an embedded qitmeer node process for running the rpc driven integration tests.
A dummy service for integrated-test of the rpc client with the test Harness.