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 |
|
Wei Lu
|
9a921ad181
|
poll address summary until balance non-zero or timeout
|
2015-05-30 21:19:57 +08:00 |
|
Wei Lu
|
70d423f596
|
update faucet url
|
2015-05-30 20:20:04 +08:00 |
|
Wei Lu
|
713f038583
|
poll address unspent until non-empty or timeout
|
2015-05-30 19:17:42 +08:00 |
|
Wei Lu
|
a2b4558a0b
|
replace helloblock with insight and blockr
|
2015-05-30 18:58:07 +08:00 |
|
Ruben de Vries
|
d2bee4d67f
|
fix txb.sign having issues when an incomplete TX contains OP_0s, but not enough
|
2015-05-28 22:47:01 +02:00 |
|
Daniel Cousens
|
f64df79555
|
*: adhere to standard 3
|
2015-05-21 00:46:36 +10:00 |
|
Daniel Cousens
|
ec9cea0cf1
|
tests: use strictEqual always
|
2015-05-07 11:29:20 +10:00 |
|
Daniel Cousens
|
ab66c983af
|
tests: check HDNode stores keyPair/chainCode
|
2015-05-07 11:24:53 +10:00 |
|
Daniel Cousens
|
7b0060d4a5
|
Merge pull request #400 from bitcoinjs/hashfor
Add non SIGHASH_ALL flag support
|
2015-05-03 19:24:46 +10:00 |
|
Daniel Cousens
|
4c030be343
|
ecdsa: remove unused verifyRaw
|
2015-04-28 16:51:20 +10:00 |
|
Daniel Cousens
|
7ce286654c
|
tests: enable all core SIGHASH_* tests
|
2015-04-28 11:04:05 +10:00 |
|
Daniel Cousens
|
ab83f8ffe4
|
tests: no need to specify 'correctly'
|
2015-04-28 11:03:31 +10:00 |
|
Daniel Cousens
|
6d224f6910
|
tests: core tests to use bufferutils.reverse
|
2015-04-28 11:03:26 +10:00 |
|
Daniel Cousens
|
225cee8522
|
Merge pull request #395 from jprichardson/master
Add Example on Generating a Random Address and WIF for Alternative Network
|
2015-04-27 12:16:09 +10:00 |
|
Daniel Cousens
|
11bba2a8e7
|
tests: remove bufferutils.equal tests
|
2015-04-27 12:06:01 +10:00 |
|
JP Richardson
|
b0e1d0d9c3
|
test/integration/basic: added litecoin example
|
2015-04-15 23:22:35 -05:00 |
|
Daniel Cousens
|
e106d02731
|
standard formatting fixes
|
2015-03-19 14:06:36 +11:00 |
|
Daniel Cousens
|
4c8b0f38ea
|
replace ECKey/ECPubKey with ECPair
|
2015-03-19 13:33:28 +11:00 |
|
Daniel Cousens
|
7559ee880d
|
add ECPair module
|
2015-03-19 13:33:28 +11:00 |
|
Daniel Cousens
|
b55874718a
|
integration: use an rng for the example over mocking
|
2015-03-19 11:15:51 +11:00 |
|
Daniel Cousens
|
689f444bdf
|
tests: fix standard format adherence
|
2015-03-19 11:08:57 +11:00 |
|
Wei Lu
|
64e206ca7a
|
crypto: fix test randomBytes stub
|
2015-03-18 23:30:04 +08:00 |
|
Daniel Cousens
|
bd464d7cb5
|
networks: remove estimateFee entirely
|
2015-03-17 08:23:14 +11:00 |
|
Daniel Cousens
|
7d2e1cd3ba
|
networks: remove exhaustive non-top 5 networks
|
2015-03-17 08:23:13 +11:00 |
|
Daniel Cousens
|
607b3b7983
|
networks: use byteLength over toBuffer
|
2015-03-16 11:34:51 +11:00 |
|
Daniel Cousens
|
886d38ebee
|
tests: rename network->networks
|
2015-03-16 11:34:36 +11:00 |
|
Daniel Cousens
|
281ecdc06e
|
networks: remove failing tests, cannot be supported anyway
|
2015-03-16 11:33:56 +11:00 |
|
Daniel Cousens
|
57856a0a25
|
tests: test autodetect in networks, fixed networks in HDNode
|
2015-03-16 11:28:41 +11:00 |
|
Daniel Cousens
|
a29761cc8c
|
tests: fix standard styling
|
2015-03-11 12:42:56 +11:00 |
|
Daniel Cousens
|
69eb58c783
|
tests: ignore txHexIncomplete, instead check scriptSig after each signature
|
2015-03-11 12:37:11 +11:00 |
|
Daniel Cousens
|
e80f4803d9
|
tests: refactor multisig test construction
|
2015-03-11 12:12:50 +11:00 |
|
Daniel Cousens
|
7cd60aaba3
|
tests: remove unnecessary script tests from TxBuilder
|
2015-03-11 11:33:25 +11:00 |
|
Daniel Cousens
|
4d08ae5a8a
|
tests: clean up unused variables
|
2015-03-10 20:17:11 +11:00 |
|
Ruben de Vries
|
745eace950
|
add tests for various PS2H multisig signing scenarios
redid P2SH multisig tests to use fixtures
|
2015-03-05 10:21:40 +01:00 |
|
Daniel Cousens
|
29b93b8a5c
|
integration: change 2-of-3 to 2-of-4 and update README
|
2015-03-05 19:16:22 +11:00 |
|
Daniel Cousens
|
87a3803082
|
Merge pull request #370 from blocktrail/2of3-failing-test
Change 2-of-2 integration test to 2-of-3
|
2015-03-05 19:09:49 +11:00 |
|
Daniel Cousens
|
7a469f6620
|
Merge pull request #372 from bitcoinjs/op0fix
TransactionBuilder multisig OP_0 fix
|
2015-03-05 18:46:16 +11:00 |
|
Daniel Cousens
|
6a86f22e45
|
Merge pull request #375 from bitcoinjs/pushdatafix
Scripts, fix invalid push data int parsing
|
2015-03-05 18:45:23 +11:00 |
|
Daniel Cousens
|
837424ed16
|
tests: add bitcoin core block fixtures
Data from
https://github.com/bitcoin/bitcoin/blob/master/src/test/bloom_tests.cpp
|
2015-03-05 01:16:58 +11:00 |
|
Daniel Cousens
|
4333217bdd
|
tests: add example non-standard scripthash
|
2015-03-04 21:30:31 +11:00 |
|
Daniel Cousens
|
d904e4424c
|
tests: add failing scripts by cross-verifying ASM/Hex
|
2015-03-04 21:26:42 +11:00 |
|
Daniel Cousens
|
d00ec9af29
|
scripts: fix isScriptHashInput classification
|
2015-03-04 21:00:07 +11:00 |
|
Daniel Cousens
|
2f100e0eae
|
tests: add failing pushDataInt fixtures
|
2015-03-04 20:47:52 +11:00 |
|
Ruben de Vries
|
c52420a003
|
change 2of2 integration test to 2of3
|
2015-03-03 11:22:42 +01:00 |
|
Daniel Cousens
|
cdcbb2ccb4
|
tests: fix inconsistent key compression
|
2015-03-03 10:43:37 +11:00 |
|
Daniel Cousens
|
c79fecffa3
|
tests: add failing test for transaction builder multisig
|
2015-03-03 09:54:55 +11:00 |
|
Daniel Cousens
|
af3491822e
|
scripts: multisigInput only uses scriptPubKey for validation, OP_0 validation not necessary
|
2015-03-03 09:53:57 +11:00 |
|
Wei Lu
|
b13271477c
|
Merge pull request #317 from bitcoinjs/2.0.0
pre-2.0.0, deprecations
|
2015-03-03 01:25:51 +08:00 |
|
Daniel Cousens
|
3a15f0c6ba
|
tests: add scriptHash(pubKeyHash) test fixture
|
2015-03-02 18:32:24 +11:00 |
|
Daniel Cousens
|
7f3b4c93ba
|
TxBuilder: move param coercion from Transaction to TxBuilder
|
2015-03-02 17:51:14 +11:00 |
|
Daniel Cousens
|
5beee20038
|
bufferutils: add equal
|
2015-03-02 17:32:20 +11:00 |
|
Daniel Cousens
|
8d3686d046
|
remove deprecated functionality
|
2015-03-02 17:27:16 +11:00 |
|
Daniel Cousens
|
08cc8f8621
|
crypto: remove Hmac* exposure in API
|
2015-03-02 15:33:39 +11:00 |
|
Daniel Cousens
|
bdb372da7d
|
rename Message to message
|
2015-03-02 14:09:19 +11:00 |
|