Daniel Cousens
4aaf295cd5
fix standard 11 issues
7 years ago
Daniel Cousens
ab1fba987a
add BIP68/BIP112 CSV tests
7 years ago
Daniel Cousens
4d7b5167ae
txbuilder: isolate Invalid script test from Non-standard test
7 years ago
Daniel Cousens
581f57ff6f
script/tx: decompile returns maybe chunks
7 years ago
Daniel Cousens
a463c41fb0
tests/txb: fix bad BIP66 encoding (R = 0)
7 years ago
Daniel Cousens
6c4977983d
ECPair/script_signature: switch to 64-byte RS buffers only
7 years ago
Daniel Cousens
b267a9e606
rm potential race conditions in non-final mixed test
7 years ago
Daniel Cousens
884f3fd57d
rm HDNode, use bip32 module
7 years ago
Daniel Cousens
dd9455c0df
rm unused bscript
7 years ago
Daniel Cousens
90a73e195e
use safe-buffer
7 years ago
Daniel Cousens
c16847434c
add toRSBuffer for less breaking changes
7 years ago
Daniel Cousens
c58ada362e
rm ECSignature, add script.signature instead
8 years ago
Daniel Cousens
6344be50ae
integration: adhere to new nullData API
7 years ago
Prahalad Belavadi
b177050069
add warning for generating addresses from sha256 hash example
7 years ago
Daniel Cousens
647f06e629
amend test fixtures and add default test case
7 years ago
Daniel Cousens
41885bfab2
nulldata: change data to array
7 years ago
Daniel Cousens
5af87c0c49
privatise internals for TxBuilder
7 years ago
Daniel Cousens
549b36bf1a
rm deprecated bufferutils
7 years ago
Daniel Cousens
04c628e9f1
add hoodwink dependency
7 years ago
Daniel Cousens
7c9c6ed204
rm sinon, sinon-test
7 years ago
Dave Kerr
504b6c24bc
fix failing address test by error-thrown assertion
7 years ago
Dave Kerr
b000377fd5
upgrade test dependencies
7 years ago
Daniel Cousens
e57d0a8fdf
fix standard issue
7 years ago
junderw
e6f3aaf5b1
Add use strict
7 years ago
Daniel Cousens
6fc1273b7e
fix ES6 issue, and actually verify the TXO
7 years ago
Daniel Cousens
31703e2e40
tests: add into-the-future CLTV test
7 years ago
Daniel Cousens
4ca6bf4e81
use https://api.dcousens.cloud reg-test server instead of testnet
7 years ago
BRAMILLE Sébastien
919b7cec60
Update transactions.js
7 years ago
Daniel Cousens
00bbab1a93
txb: fix redeemScript/witnessScript is undefined when throwing
unsupported
7 years ago
Daniel Cousens
39a681d2d3
tests: add failing test for #981
7 years ago
Daniel Cousens
9a31b894c1
tests: add inconsistent redeem/witness script hash signing tests
7 years ago
Daniel Cousens
098188dd3a
tests: add independent error message for missing witnessScript
7 years ago
Daniel Cousens
5e500910df
tests: use P2* acronyms, not full-length text
7 years ago
Pavel 'PK' Kaminsky
f46ae7d731
crypto.sha256 should receive a Buffer as an input rather than a string
checked and it works with buffers.
if you wanted to use string implicitly, the function parameter should be renamed from buffer to string.
f4caaf42e7/src/crypto.js (L11)
7 years ago
Daniel Cousens
8bd95bd498
redeemScript, not witnessScript
7 years ago
Daniel Cousens
d5a2a68ea2
add integration tests for block height decoding
7 years ago
Daniel Cousens
4267527997
tests: actual expected form
7 years ago
Daniel Cousens
ed732d5caf
add Transaction signature verify example
7 years ago
Daniel Cousens
34df503421
tests: fix should warn fee fail
7 years ago
Daniel Cousens
02b38695cc
tests: txb for TxBuilder, Tx for Transaction
7 years ago
Daniel Cousens
a868d27407
TxBuilder: add support for RSBuffer type keyPairs and .publicKey
7 years ago
Daniel Cousens
b94da10e6c
ECSignature: add toRSBuffer/fromRSBuffer
7 years ago
Daniel Cousens
c729d322c2
tests: add failing staged transaction building example #901
7 years ago
Daniel Cousens
6013bf075c
tests: add passing and failing tests for witness*.input.encode/decode
7 years ago
Daniel Cousens
f4a83f8aed
address/txbuilder: require templates to prevent undefined exports
7 years ago
Daniel Cousens
bae91395ef
rm bscript circular dependencies
7 years ago
Daniel Cousens
95cc837c06
tests/fixtures: amend truncated outputHex
7 years ago
Arik Sosman
5508e26469
respond to Jonathan Underwood's comments
(cherry picked from commit 8126ca2)
7 years ago
Arik Sosman
8f9b3443d2
add fixture to verify input type classification
(cherry picked from commit 8f9d8b7)
7 years ago
Daniel Cousens
8f01e4273c
match scriptHash types 1 for 1, ignore classify order
7 years ago