Back to the main page
Note: regtest only
Generates blocks on demand for regression tests.
name |
type |
description |
args.amount |
number |
Amount of blocks to generate |
name |
type |
description |
blockHashes |
promise (string array) |
Returns a promise containing strings of block hashes |
Returns best block hash (hash of the chaintip)
takes no arguments
name |
type |
description |
blockHash |
promise (string) |
hash of chaintip |
Returns block hash for a given height.
name |
type |
description |
args.height |
number |
block height |
name |
type |
description |
blockHash |
promise (string) |
promise containing a string of a block hash |
needs definition
name |
type |
description |
packet |
string |
ST Packet object serialized using CBOR |
name |
type |
description |
packet |
string |
ST Packet object serialized using CBOR |