Daniel Cousens
3a371fccec
TxBuilder: remove initialized field from signature inputs
10 years ago
Daniel Cousens
d3af28e37e
tests: fix TxBuilder fixtures to be consistent w/ compression
10 years ago
Daniel Cousens
5f761113cc
tests: if description undefined, use exception
10 years ago
Daniel Cousens
1fde0a401d
tests: move inconsistent hashType/redeemScript test
10 years ago
Daniel Cousens
ebbe1278a0
tests: add non-standard input fixture
10 years ago
Daniel Cousens
f0c4a76325
tests: add scriptHash(pubKey) test fixture
10 years ago
Daniel Cousens
3f53b528a8
tests: reduce setup-code duplication
10 years ago
Daniel Cousens
95911c5dde
tests: consistent test data names
10 years ago
Daniel Cousens
23a37fb771
TxBuilder: fix out-of-order multisignature signing
10 years ago
Daniel Cousens
4c9fd6010e
TxBuilder: fix failing test for non-standard/multisig inputs
Instead of failing in `fromTransaction`, TxBuilder will now only fail in
`sign` if you attempt to sign a non-standard input.
Transactions with non-standard inputs can only be built with
buildIncomplete() (for now).
10 years ago
Daniel Cousens
b048627a59
tests: move TxBuilder.sign tests to fixtures
10 years ago
Daniel Cousens
396e4d4235
tests: add [failing] test for nulldata signing
10 years ago
Daniel Cousens
35fa86c1f9
tests: add [failing] raw multisig fixture for TxBuilder
10 years ago
Daniel Cousens
dfe74fa0d2
TxBuilder: sign now signs inputs in known publicKey order
10 years ago
Daniel Cousens
ba97b5ee34
TxBuilder: re-order to avoid mutation in case of failure
10 years ago
Daniel Cousens
c35d4b46c5
scripts: add allowIncomplete for multisig scripts
10 years ago
Daniel Cousens
c9db90dc4d
ECSignature: enforce valid hashType in toScriptSignature
10 years ago
Daniel Cousens
234ae84b86
integration: use 'bitcoinjs-lib' as OP_RETURN constant
10 years ago
Daniel Cousens
5e1cd6e995
integration: avoid looking up all address transactions each time
10 years ago
Daniel Cousens
cbf8c6f932
tests: format JSON consistently
10 years ago
Daniel Cousens
a529b3fa0b
TxBuilder: copy version/locktime in fromTransaction
10 years ago
Daniel Cousens
6938c8f8cc
ecdsa: add default checkSig, to be removed in 2.0.0
10 years ago
Daniel Cousens
a492969ab2
tests: ecdsa test cleanup
10 years ago
Daniel Cousens
0e5c7b2a5a
tests: add bip32JPs RFC6979 test vectors and tests
10 years ago
Daniel Cousens
1e7f537f38
tests: adds ecdsa test enforcing valid signature callback
10 years ago
Daniel Cousens
e9778ae358
ecdsa: fixes edge case presented in #336
10 years ago
Daniel Cousens
0524ced984
scripts: enforce pubKeys as type ECPubKey
10 years ago
Daniel Cousens
e42c497a3c
package: use typeforce
10 years ago
Daniel Cousens
c716367f77
tests: add test for null sequence number
10 years ago
Bez Reyhan
85979a062e
remove fixture
10 years ago
Bez Reyhan
1c6d5a28a9
update fixtures and tests for merge
10 years ago
Daniel Cousens
fc690d418b
tests: rename txid to id in Transaction context
10 years ago
Daniel Cousens
ca4e64d071
tests: use ASM for fixtures, avoid JSON comparison
10 years ago
Daniel Cousens
fc7c7ce2a8
tests: remove extraneous anonymous function
10 years ago
Daniel Cousens
3a17e232ad
tests: remove unused variable
10 years ago
Daniel Cousens
50a32328ba
tests: remove unused variables
10 years ago
Daniel Cousens
3710105eef
tests/integration: add k-value derivation and private key recovery example
10 years ago
Daniel Cousens
837e0a3564
package: use cb-helloblock for integration tests
10 years ago
Daniel Cousens
de914ff8fa
tests/integration: move crypto-like tests to test/integration/crypto.js
10 years ago
Daniel Cousens
a66773b5f5
tests/integration: add HDNode private key recovery example
10 years ago
Daniel Cousens
b6017b0fae
HDNode: move isPrivate logic
10 years ago
Daniel Cousens
1ac79b8327
tests: add test for non-matching network
10 years ago
Daniel Cousens
8bdfa881c9
tests: remove unused testing data
10 years ago
Daniel Cousens
311df7e406
HDNode: add optional network flag to import functions
10 years ago
Daniel Cousens
4fca3ac196
network: add failing tests for gamerscoin, viacoin and zetacoin
10 years ago
Daniel Cousens
7fbc397141
Address: use script ASM over hex
10 years ago
Daniel Cousens
4fe0b34f27
Address: no need to check other script types
10 years ago
Daniel Cousens
254974d999
scripts: add TODO for tests for isCanonical* functions
10 years ago
Daniel Cousens
e4eb743cf9
scripts: expose is* classifiers
10 years ago
Daniel Cousens
62e86e0dc1
scripts: s/dataOutput/nullDataOutput/
10 years ago