Daniel Cousens
706f5d7a9c
scripts: adds tests for *HashOutput
10 years ago
Daniel Cousens
e2abe2b3af
merge Script/scripts
10 years ago
Daniel Cousens
fd7f0b0ef8
address: use input first errors, easier detection
10 years ago
Daniel Cousens
d85df4a6d6
TransactionBuilder: remove use of assert
10 years ago
Daniel Cousens
254b670427
add types
10 years ago
Daniel Cousens
7a6936674e
tests: add explicit test for inconsistent network exception
10 years ago
Daniel Cousens
f47decaa2f
HDNode: adopt new strict network list parameters
10 years ago
Daniel Cousens
6443e4c2b6
ECPair: support strict network syntax
10 years ago
Daniel Cousens
bdf92f73b4
HDNode: use throw over assert
10 years ago
Daniel Cousens
1a4000cc98
address: throw Invalid address instead of hash/version for fromBase58Check
10 years ago
Daniel Cousens
13f414c122
remove Address constructor
10 years ago
Daniel Cousens
e42bd133fe
tests: clearer length bytes
10 years ago
Daniel Cousens
e8fd3887da
ECSignature: account for SIGHASH being ignored
10 years ago
Daniel Cousens
92f9342c69
adhere more closely to BIP66
10 years ago
Daniel Cousens
2ffa041afa
fixtures: ECDSA, fix r=s=-n to be accurate
10 years ago
Daniel Cousens
b5ff9db8fd
fixtures: ECDSA signatures should be DER encoded if possible
10 years ago
Daniel Cousens
5b95fd6ae3
fixtures: ECDSA, fixtures were mixed decimal/hex
10 years ago
Daniel Cousens
4c030be343
ecdsa: remove unused verifyRaw
10 years ago
Daniel Cousens
4c8b0f38ea
replace ECKey/ECPubKey with ECPair
10 years ago
Daniel Cousens
7559ee880d
add ECPair module
10 years ago
Daniel Cousens
bd464d7cb5
networks: remove estimateFee entirely
10 years ago
Daniel Cousens
7d2e1cd3ba
networks: remove exhaustive non-top 5 networks
10 years ago
Daniel Cousens
281ecdc06e
networks: remove failing tests, cannot be supported anyway
10 years ago
Daniel Cousens
69eb58c783
tests: ignore txHexIncomplete, instead check scriptSig after each signature
10 years ago
Daniel Cousens
e80f4803d9
tests: refactor multisig test construction
10 years ago
Daniel Cousens
7cd60aaba3
tests: remove unnecessary script tests from TxBuilder
10 years ago
Ruben de Vries
745eace950
add tests for various PS2H multisig signing scenarios
redid P2SH multisig tests to use fixtures
10 years ago
Daniel Cousens
837424ed16
tests: add bitcoin core block fixtures
Data from
https://github.com/bitcoin/bitcoin/blob/master/src/test/bloom_tests.cpp
10 years ago
Daniel Cousens
4333217bdd
tests: add example non-standard scripthash
10 years ago
Daniel Cousens
d00ec9af29
scripts: fix isScriptHashInput classification
10 years ago
Daniel Cousens
2f100e0eae
tests: add failing pushDataInt fixtures
10 years ago
Daniel Cousens
cdcbb2ccb4
tests: fix inconsistent key compression
10 years ago
Daniel Cousens
c79fecffa3
tests: add failing test for transaction builder multisig
10 years ago
Daniel Cousens
af3491822e
scripts: multisigInput only uses scriptPubKey for validation, OP_0 validation not necessary
10 years ago
Daniel Cousens
3a15f0c6ba
tests: add scriptHash(pubKeyHash) test fixture
10 years ago
Daniel Cousens
8d3686d046
remove deprecated functionality
10 years ago
Daniel Cousens
08cc8f8621
crypto: remove Hmac* exposure in API
10 years ago
Daniel Cousens
f87ac58df0
tests: add reverse order multisig 2-of-2
10 years ago
Daniel Cousens
445eb260c0
tests: add failing Coinbase transaction fixture
10 years ago
Daniel Cousens
c9826221fb
scripts: catch error in Script.fromBuffer
10 years ago
Daniel Cousens
d68eb496a9
tests: use fffff... unless txHash is actually useful
10 years ago
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
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
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