Daniel Cousens
|
07cf0bd057
|
tests/integration: use actual=expected consistently for asserts
|
2015-12-22 14:03:58 +11:00 |
|
Daniel Cousens
|
50f381fb5c
|
tests: add non-BIP62 compliant is*Output fixtures
|
2015-11-25 19:19:21 +11:00 |
|
Daniel Cousens
|
dca7a38362
|
tests: remove unnecessary branch, fix bscript.fromHex undefined
|
2015-11-25 19:19:21 +11:00 |
|
Kirill Fomichev
|
5de6818fcb
|
Fix TransactionBuilder.addOutput
|
2015-11-24 08:18:16 +03:00 |
|
Daniel Cousens
|
74fd5ae71d
|
tests: loop faucet until an unspent is given
|
2015-11-06 11:01:28 +11:00 |
|
Daniel Cousens
|
a686817f3c
|
tests: add m/n is data failing tests
|
2015-10-02 12:36:51 +10:00 |
|
Kirill Fomichev
|
eae8bcf676
|
fix isMultisigOutput
|
2015-10-01 23:12:38 +03:00 |
|
Daniel Cousens
|
0b4c67406f
|
use [].reverse over prototype
|
2015-09-27 23:49:29 +10:00 |
|
Daniel Cousens
|
5c1c4589c0
|
remove use of buffer-reverse
|
2015-09-27 23:30:06 +10:00 |
|
Daniel Cousens
|
731a31ecba
|
use buffer-reverse
|
2015-09-25 17:49:05 +10:00 |
|
Daniel Cousens
|
daafb9794e
|
ECPair/HDNode: adds getNetwork
|
2015-09-21 17:37:21 +10:00 |
|
Daniel Cousens
|
57d0ea84a2
|
HDNode: adds getPublicKeyBuffer
|
2015-09-21 17:37:09 +10:00 |
|
Daniel Cousens
|
923266672b
|
HDNode: add sign/verify
|
2015-09-21 16:42:22 +10:00 |
|
Daniel Cousens
|
888393fa8f
|
tests: add HDNode fromSeed throwing tests
|
2015-09-14 17:50:38 +10:00 |
|
Daniel Cousens
|
36fce53408
|
integration: check all unspents, not just this one
|
2015-09-14 17:28:17 +10:00 |
|
Daniel Cousens
|
05cfdf6a6a
|
docs: remove inline endian-ness notes, no endianness
|
2015-09-14 15:03:36 +10:00 |
|
Daniel Cousens
|
945276fbef
|
ECPair: move throwing constructor tests to fixtures
|
2015-09-12 15:17:45 +10:00 |
|
Daniel Cousens
|
322ade58e4
|
revert 4b825bf
|
2015-09-09 12:32:12 +10:00 |
|
Daniel Cousens
|
f11cce0710
|
tests: verify ECPair loops until within interval
|
2015-09-09 00:48:06 +10:00 |
|
Daniel Cousens
|
610f342707
|
tests: fix ECPair wrapper tests
|
2015-09-09 00:48:06 +10:00 |
|
Daniel Cousens
|
74e7d1edbc
|
tests: add further tests for #404
|
2015-09-08 22:48:54 +10:00 |
|
Daniel Cousens
|
0f9af83aa0
|
tests: add 2-of-3 multisig fixture
|
2015-09-08 21:45:43 +10:00 |
|
Daniel Cousens
|
18c8261cef
|
integration: fix HDNode search space
|
2015-09-08 16:29:41 +10:00 |
|
Daniel Cousens
|
262be17976
|
tests: simplify crypto fixtures
|
2015-09-08 16:03:49 +10:00 |
|
Daniel Cousens
|
b252924517
|
types: remove ECCurve
|
2015-09-05 15:42:25 +10:00 |
|
Daniel Cousens
|
4b825bf2a8
|
HDNode: stop exposing constants
|
2015-09-05 14:27:53 +10:00 |
|
Daniel Cousens
|
ccfaaf0b6f
|
ecdsa: remove curve parameter
|
2015-09-05 14:27:53 +10:00 |
|
Daniel Cousens
|
2d75b7e7ff
|
standard: remove padded Blocks
|
2015-09-05 14:10:32 +10:00 |
|
Daniel Cousens
|
ec1195bcee
|
Merge pull request #448 from bitcoinjs/bip66
Extract BIP66 module
|
2015-08-25 14:17:44 +10:00 |
|
Daniel Cousens
|
3be5dc88a1
|
integration: throw meaningful errors if no unspent is found
|
2015-08-25 14:11:49 +10:00 |
|
Daniel Cousens
|
845c1dc199
|
integration: fix stealth tests
|
2015-08-25 13:59:19 +10:00 |
|
Daniel Cousens
|
97ecb313c2
|
tests: add type tests
|
2015-08-25 13:52:24 +10:00 |
|
Daniel Cousens
|
e9762b14c7
|
integration: return sharedQ too
|
2015-08-25 13:45:35 +10:00 |
|
Daniel Cousens
|
86b2cf75ce
|
tests: add failing test for undefined hashType
|
2015-08-22 12:32:03 +10:00 |
|
Daniel Cousens
|
4be502a1bd
|
tests: add non-canonical pubkey fixtures
|
2015-08-22 12:32:01 +10:00 |
|
Daniel Cousens
|
e1cb5e6152
|
amend ECSignature tests to reflect BIP66 module
|
2015-08-21 21:22:33 +10:00 |
|
Daniel Cousens
|
efacd387be
|
ECPair: extract WIF to 3rd party module
|
2015-08-20 20:16:57 +10:00 |
|
Daniel Cousens
|
e5e24256fd
|
integration: mimic HDNode speedup
|
2015-08-20 18:25:54 +10:00 |
|
Daniel Cousens
|
8934de591c
|
use baddress/bcrypto/bscript for ambuigities
|
2015-08-20 13:55:13 +10:00 |
|
Daniel Cousens
|
6ec687deba
|
rename scripts to script
|
2015-08-20 13:55:13 +10:00 |
|
Daniel Cousens
|
18e9cdcc02
|
rename Address to address
|
2015-08-20 13:55:13 +10:00 |
|
Daniel Cousens
|
8f9d59fb18
|
ECPair: stop exposing ECDSA curve
|
2015-08-20 13:55:13 +10:00 |
|
Daniel Cousens
|
b95223adcd
|
tests: clean up core test imports
|
2015-08-20 13:32:00 +10:00 |
|
Daniel Cousens
|
b62dd19f0d
|
tests: clean up TxBuilder beforeEach constants
|
2015-08-20 13:32:00 +10:00 |
|
Daniel Cousens
|
bfb7289cf2
|
Merge pull request #438 from bitcoinjs/noscript
No Script
|
2015-08-19 15:03:40 +10:00 |
|
Daniel Cousens
|
00dad84880
|
integration: annotate the shared secret
|
2015-08-19 15:00:06 +10:00 |
|
Daniel Cousens
|
b56bbce472
|
integration: nonce is not shared
|
2015-08-18 16:13:12 +10:00 |
|
Daniel Cousens
|
2ccf00f4be
|
integration: clean up single-key stealth derivation
|
2015-08-18 15:40:53 +10:00 |
|
Daniel Cousens
|
706f5d7a9c
|
scripts: adds tests for *HashOutput
|
2015-08-18 14:44:30 +10:00 |
|
Daniel Cousens
|
1c92cfb373
|
integration: fix script usage in integration tests
|
2015-08-18 14:44:30 +10:00 |
|
Daniel Cousens
|
e2abe2b3af
|
merge Script/scripts
|
2015-08-18 14:44:30 +10:00 |
|
Daniel Cousens
|
151386c46d
|
scripts: remove coercion, fromASM returns Buffer
|
2015-08-18 14:44:30 +10:00 |
|
Daniel Cousens
|
2aff7bd899
|
tests: add more tests for Script compile/decompile
|
2015-08-18 14:44:29 +10:00 |
|
Daniel Cousens
|
e05f8a542d
|
remove Script object
|
2015-08-18 14:44:29 +10:00 |
|
Daniel Cousens
|
e743c58ed6
|
remove usage of instanced Scripts
|
2015-08-18 14:44:29 +10:00 |
|
Daniel Cousens
|
5d2abb523e
|
HDNode: use typeforce.tuple for arguments
|
2015-08-18 14:21:38 +10:00 |
|
Daniel Cousens
|
eb752f8316
|
tests: fix bitcoin core address tests
|
2015-08-18 10:20:51 +10:00 |
|
Daniel Cousens
|
fd7f0b0ef8
|
address: use input first errors, easier detection
|
2015-08-18 09:27:55 +10:00 |
|
Daniel Cousens
|
d85df4a6d6
|
TransactionBuilder: remove use of assert
|
2015-08-14 10:56:31 +10:00 |
|
Daniel Cousens
|
254b670427
|
add types
|
2015-08-14 10:56:30 +10:00 |
|
Daniel Cousens
|
6b484f481b
|
tests: remove unnecessary toString
|
2015-08-14 10:09:12 +10:00 |
|
Daniel Cousens
|
e97389ed08
|
tests: scriptSigFiltered shouldn't be reassigned
|
2015-08-13 14:17:25 +10:00 |
|
Daniel Cousens
|
aa3e5faad2
|
use cb-http-client with BlockTrail
|
2015-08-07 21:12:31 +10:00 |
|
Daniel Cousens
|
b6fa347214
|
integration: wait for duplicate R value recovery to finish
|
2015-08-07 20:52:07 +10:00 |
|
Daniel Cousens
|
006c798faf
|
integration: pass network through to TxBuilder
|
2015-08-07 20:40:16 +10:00 |
|
Daniel Cousens
|
7a6936674e
|
tests: add explicit test for inconsistent network exception
|
2015-08-07 17:01:31 +10:00 |
|
Daniel Cousens
|
a4eb58f103
|
TxBuilder: pass network through fromTransaction, fixes failing tests
|
2015-08-07 16:56:27 +10:00 |
|
Daniel Cousens
|
2971816588
|
TxBuilder: pass network through to fromTransaction
|
2015-08-07 16:41:24 +10:00 |
|
Wei Lu
|
cdce4b6189
|
test: pass network to integtest TransactionBuilder init
|
2015-08-07 16:37:09 +10:00 |
|
Daniel Cousens
|
649c4d79f9
|
rm network auto-detection
|
2015-08-07 16:36:10 +10:00 |
|
Daniel Cousens
|
f47decaa2f
|
HDNode: adopt new strict network list parameters
|
2015-08-07 16:36:10 +10:00 |
|
Daniel Cousens
|
307b7f036a
|
integration: pass network through to fromWIF
|
2015-08-07 16:36:10 +10:00 |
|
Daniel Cousens
|
9513b26e8c
|
tests: supply TransactionBuilder with network from fixtures
|
2015-08-07 16:36:10 +10:00 |
|
Daniel Cousens
|
6443e4c2b6
|
ECPair: support strict network syntax
|
2015-08-07 16:36:10 +10:00 |
|
Daniel Cousens
|
f5d99d8f8a
|
address: remove network detection
|
2015-08-07 16:36:10 +10:00 |
|
Daniel Cousens
|
b67a3dcf9e
|
TxBuilder: specify missing network information for TxBuilder
|
2015-08-07 16:36:10 +10:00 |
|
Daniel Cousens
|
bdf92f73b4
|
HDNode: use throw over assert
|
2015-07-28 17:42:10 +10:00 |
|
Daniel Cousens
|
430cdde766
|
utils: extract BLOCKTRAIL_API_KEY to be configurable
|
2015-07-28 10:49:23 +10:00 |
|
Daniel Cousens
|
64f7fa097c
|
Merge pull request #401 from bitcoinjs/noaddr
Remove instantiable Address
|
2015-07-28 10:46:14 +10:00 |
|
Daniel Cousens
|
c3a3f17ef0
|
use BlockTrail for testnet faucet
|
2015-07-24 13:54:43 +10:00 |
|
Daniel Cousens
|
1a4000cc98
|
address: throw Invalid address instead of hash/version for fromBase58Check
|
2015-07-24 12:18:00 +10:00 |
|
Daniel Cousens
|
20a17cc915
|
tests: invert core test to use toBase58Check instead
|
2015-07-24 12:18:00 +10:00 |
|
Daniel Cousens
|
13f414c122
|
remove Address constructor
|
2015-07-24 12:18:00 +10:00 |
|
Daniel Cousens
|
340e7fb917
|
tests: fix spelling error
|
2015-07-24 12:18:00 +10:00 |
|
Daniel Cousens
|
abd27dd2be
|
TxBuilder: disable Address object as valid input
|
2015-07-24 12:18:00 +10:00 |
|
Daniel Cousens
|
e9193df290
|
message: cease accepting an Address object
|
2015-07-24 12:18:00 +10:00 |
|
Daniel Cousens
|
588b346f5d
|
ECPair: cease using Address for address encoding
|
2015-07-24 12:18:00 +10:00 |
|
Daniel Cousens
|
a8f36ba515
|
Merge pull request #423 from bitcoinjs/bip66adherance
adhere more closely to BIP66
|
2015-07-20 09:20:40 +10:00 |
|
Daniel Cousens
|
1209d5960a
|
tests: better test descriptions
|
2015-07-08 12:36:27 +10:00 |
|
Daniel Cousens
|
df2bd19033
|
tests: simplify OP_* regex
|
2015-07-08 12:33:36 +10:00 |
|
Daniel Cousens
|
2392ce0a49
|
tests: verify bitcoin core ASM
|
2015-07-07 18:39:22 +10:00 |
|
Daniel Cousens
|
e42bd133fe
|
tests: clearer length bytes
|
2015-07-07 17:59:46 +10:00 |
|
Daniel Cousens
|
e8fd3887da
|
ECSignature: account for SIGHASH being ignored
|
2015-07-07 17:47:29 +10:00 |
|
Daniel Cousens
|
92f9342c69
|
adhere more closely to BIP66
|
2015-07-07 17:42:01 +10:00 |
|
Daniel Cousens
|
2ffa041afa
|
fixtures: ECDSA, fix r=s=-n to be accurate
|
2015-06-23 16:11:34 +10:00 |
|
Daniel Cousens
|
b5ff9db8fd
|
fixtures: ECDSA signatures should be DER encoded if possible
|
2015-06-23 16:11:34 +10:00 |
|
Daniel Cousens
|
5b95fd6ae3
|
fixtures: ECDSA, fixtures were mixed decimal/hex
|
2015-06-23 16:11:34 +10:00 |
|
Daniel Cousens
|
e43d1764de
|
tests: fix standard issues, s/"/'/ for non-escaping strings
|
2015-06-23 16:09:16 +10:00 |
|
Daniel Cousens
|
eb5508565a
|
Merge pull request #411 from blocktrail/sign-incorrect-op0s-master
fix txb.sign having issues when an incomplete TX contains OP_0s, but not enough
|
2015-06-01 12:01:36 +10:00 |
|
Wei Lu
|
4028bd50f2
|
comply with project coding style
|
2015-05-30 21:30:37 +08:00 |
|