Will O'Beirne
d2ea50b296
Replace bigi with bnjs. Updated README links to tests.
7 years ago
Daniel Cousens
a5db0a4e44
sed -i 's/ var / const /', with const->let fixes
7 years ago
Daniel Cousens
91b8823aa8
sed -i 's/^var /const /'
7 years ago
Daniel Cousens
93b1ae4303
sed -i 's/^let /const /'
7 years ago
Daniel Cousens
4f089fceb4
tests: use random keys to prevent db limitations
7 years ago
Daniel Cousens
bc7ca710ed
use blockchain.info for 3PBP address example
7 years ago
Daniel Cousens
58f50e9f1c
tests: fix invalid pubKey used in testing
7 years ago
Daniel Cousens
7592a6bcc2
script: rename isCanonicalSignature to isCanonicalScriptSignature
7 years ago
Daniel Cousens
d934e543d8
rm Litecoin
7 years ago
Daniel Cousens
2fe220517f
transition ECPair to properties over getters
7 years ago
Daniel Cousens
fba0699dd3
rm ecdsa, add new ECPair using secp256k1
7 years ago
Daniel Cousens
c2a5d9dc1a
rm getAddress
7 years ago
Daniel Cousens
4ed1a49dc5
force update MTP if tests not run
7 years ago
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