tests: add into-the-future CLTV test
This commit is contained in:
parent
4ca6bf4e81
commit
31703e2e40
3 changed files with 56 additions and 40 deletions
test/integration
|
@ -19,6 +19,13 @@ function mine (count, callback) {
|
|||
}, callback)
|
||||
}
|
||||
|
||||
function height (callback) {
|
||||
dhttp({
|
||||
method: 'GET',
|
||||
url: APIURL + '/b/best/height'
|
||||
}, callback)
|
||||
}
|
||||
|
||||
function faucet (address, value, callback) {
|
||||
dhttp({
|
||||
method: 'POST',
|
||||
|
@ -69,6 +76,7 @@ module.exports = {
|
|||
broadcast: broadcast,
|
||||
faucet: faucet,
|
||||
fetch: fetch,
|
||||
height: height,
|
||||
mine: mine,
|
||||
network: bitcoin.networks.testnet,
|
||||
unspents: unspents,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue