Commit graph

2157 commits

Author SHA1 Message Date
Daniel Cousens
fdcd7aaf98
Merge pull request #1001 from bitcoinjs/regtest
Use our own RegTest network server
2018-02-01 14:09:44 +11:00
Daniel Cousens
e57d0a8fdf fix standard issue 2018-02-01 13:33:23 +11:00
junderw
e6f3aaf5b1
Add use strict 2018-02-01 11:24:19 +09:00
Daniel Cousens
6fc1273b7e fix ES6 issue, and actually verify the TXO 2018-02-01 13:14:34 +11:00
Daniel Cousens
31703e2e40 tests: add into-the-future CLTV test 2018-02-01 12:56:50 +11:00
Daniel Cousens
4ca6bf4e81 use https://api.dcousens.cloud reg-test server instead of testnet 2018-02-01 12:56:33 +11:00
Jonathan Underwood
f3cc30de87
Merge pull request #994 from oktapodia/fix/transacion-test-comment
Fix integration comment into the test
2018-01-22 20:30:28 +09:00
BRAMILLE Sébastien
919b7cec60
Update transactions.js 2018-01-22 11:20:41 +00:00
Dabura667
413495b101
Merge pull request #987 from bitcoinjs/tests
Reject any uncompressed keys in P2WSH and P2WPKH (as per BIP143)
2018-01-17 23:00:55 +09:00
Daniel Cousens
00bbab1a93 txb: fix redeemScript/witnessScript is undefined when throwing
unsupported
2018-01-17 14:57:24 +11:00
Daniel Cousens
7be698b5a1 txb: add fixes for P2SH(P2WSH(...)) and P2WSH(...) in BIP143 compliance 2018-01-17 14:49:19 +11:00
Daniel Cousens
39a681d2d3 tests: add failing test for #981 2018-01-17 14:48:56 +11:00
Daniel Cousens
9a31b894c1 tests: add inconsistent redeem/witness script hash signing tests 2018-01-17 14:41:54 +11:00
Daniel Cousens
098188dd3a tests: add independent error message for missing witnessScript 2018-01-17 14:25:06 +11:00
Daniel Cousens
5e500910df tests: use P2* acronyms, not full-length text 2018-01-17 14:20:04 +11:00
Daniel Cousens
8939326aff
Merge pull request #956 from bitcoinjs/bip34
add example for BIP34 block height decoding
2018-01-17 12:17:45 +11:00
Dabura667
84aefc3330
Merge pull request #980 from bitcoinjs/fix-comment-bech32
Update comment
2018-01-11 03:33:37 +09:00
Dabura667
64d9f72f77
Update comment
fixes #979
2018-01-10 23:54:38 +09:00
Daniel Cousens
e0f24fdd46
Merge pull request #970 from kaminskypavel/patch-1
crypto.sha256 should receive a Buffer as an input rather than a string
2018-01-01 09:59:45 +11:00
Daniel Cousens
e9def6fe1c
Merge pull request #974 from bitcoinjs/patchlicensedate
Update license date
2018-01-01 09:55:11 +11:00
Dabura667
89caa1eba1
update license date and not be a bot 2018-01-01 01:47:13 +09:00
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)
2017-12-29 00:55:16 +02:00
Daniel Cousens
f4caaf42e7 3.3.2 2017-12-23 22:56:53 +11:00
Daniel Cousens
8bd95bd498
redeemScript, not witnessScript 2017-12-18 10:18:12 +11:00
Daniel Cousens
30ffd78881
Merge pull request #962 from bitcoinjs/updatebech32
Update bech32
2017-12-18 09:48:18 +11:00
junderw
0886bf09e1
Fix README browserify explanation 2017-12-17 10:46:43 +09:00
junderw
22e1a321be
Update bech32 dependency 2017-12-17 10:41:39 +09:00
Daniel Cousens
d5a2a68ea2 add integration tests for block height decoding 2017-12-10 16:37:54 +11:00
Daniel Cousens
4267527997 tests: actual expected form 2017-12-09 10:05:12 +11:00
Daniel Cousens
2081b9148e
Merge pull request #941 from bitcoinjs/verr
add Transaction signature verify example
2017-12-09 09:58:08 +11:00
Daniel Cousens
ed732d5caf add Transaction signature verify example 2017-12-09 09:57:48 +11:00
Daniel Cousens
42407e2c41
Merge pull request #942 from bitcoinjs/stackme
enforce decodeStack receives a stack array
2017-12-01 13:08:09 +11:00
Daniel Cousens
412fe0784e
Merge pull request #943 from bitcoinjs/dcousens-patch-1
README: add BIP68 (re #923)
2017-12-01 13:07:06 +11:00
Daniel Cousens
34df503421 tests: fix should warn fee fail 2017-12-01 13:06:35 +11:00
Daniel Cousens
d8287aadaa
README: add BIP68 (re #923) 2017-11-30 20:14:15 +11:00
Daniel Cousens
8d688c39a6 enforce decodeStack receives a stack array 2017-11-30 15:34:30 +11:00
Daniel Cousens
1662a391e3 3.3.1 2017-11-23 10:11:24 +11:00
Daniel Cousens
86cd4a44a1
Merge pull request #931 from Melvillian/bump-max-fee-rate-sanity-check
increase max feerate sanity check from 1000 to 2500
2017-11-23 10:10:38 +11:00
Melvillian
f4caa54d9e
increase max feerate sanity check from 1000 to 2500 2017-11-22 10:48:20 -08:00
Daniel Cousens
9c8503cab0
Merge pull request #926 from bitcoinjs/dcousens-patch-1
tests: txb for TxBuilder, Tx for Transaction
2017-11-14 09:51:39 +11:00
Daniel Cousens
02b38695cc
tests: txb for TxBuilder, Tx for Transaction 2017-11-13 10:19:04 +11:00
Daniel Cousens
2f8da778a2 3.3.0 2017-10-30 14:16:10 +11:00
Daniel Cousens
337e6a737a
Merge pull request #915 from bitcoinjs/bip32400
BIP32/secp256k1/keyPair preparation
2017-10-30 12:28:32 +11:00
Daniel Cousens
a868d27407 TxBuilder: add support for RSBuffer type keyPairs and .publicKey 2017-10-19 13:41:57 +11:00
Daniel Cousens
b94da10e6c ECSignature: add toRSBuffer/fromRSBuffer 2017-10-19 13:41:35 +11:00
Daniel Cousens
a301aa8d3c 3.2.1 2017-10-19 12:18:10 +11:00
Daniel Cousens
e0b227e4ef s/checkP2shInput/checkP2SHInput 2017-10-19 10:52:21 +11:00
Daniel Cousens
1157856ab0 Merge pull request #911 from bitcoinjs/segwittests
Add tests for scripts.witness*.input and fixes
2017-09-28 00:03:11 +10:00
Daniel Cousens
ace2b551bd Merge pull request #910 from bitcoinjs/txbfix
Fixes for issue 901 continued
2017-09-27 23:17:30 +10:00
Daniel Cousens
41378f9648 txbuilder: apply input.value before prepareInput 2017-09-27 10:00:36 +10:00