Commit graph

2339 commits

Author SHA1 Message Date
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
Daniel Cousens
c729d322c2 tests: add failing staged transaction building example #901 2017-09-27 10:00:36 +10:00
Daniel Cousens
8c217a7ba7 witnessScriptHash: fixed implementation 2017-09-27 08:30:31 +10:00
Daniel Cousens
6013bf075c tests: add passing and failing tests for witness*.input.encode/decode 2017-09-27 08:30:20 +10:00
Daniel Cousens
f4a83f8aed address/txbuilder: require templates to prevent undefined exports 2017-09-27 07:08:19 +10:00
Daniel Cousens
b6a6b0a50a Merge pull request #908 from bitcoinjs/txbfix
TxBuilder: fix canSign returning true for missing witness value
2017-09-26 20:02:55 +10:00
Daniel Cousens
4f041b256f Merge pull request #907 from bitcoinjs/nocirc
rm bitcoin.script circular dependencies with templates
2017-09-26 20:02:38 +10:00
Daniel Cousens
eb6eac67b0 txbuilder: fix canSign returning true for missing witness value 2017-09-26 18:49:14 +10:00
Daniel Cousens
bae91395ef rm bscript circular dependencies 2017-09-26 14:25:30 +10:00
Daniel Cousens
7795ffd328 Merge pull request #904 from bitcoinjs/cleanup
package: rm contributors field, outdated, update wallet estimate
2017-09-25 18:06:42 +10:00
Daniel Cousens
59c9df2970 Merge pull request #903 from bitcoinjs/es5
README: add notes about ES5, Node LTS feature tracking
2017-09-25 18:05:47 +10:00
Daniel Cousens
8c408f9b2a package: rm contributors field, outdated, update wallet estimate 2017-09-25 10:02:57 +10:00
Daniel Cousens
a9434f71ec README: add notes about ES5, Node LTS feature tracking 2017-09-25 09:35:36 +10:00
Daniel Cousens
d364e65677 Merge pull request #898 from bitcoinjs/fixes
scriptHash.check should be agnostic of classification order
2017-09-23 22:25:48 +10:00
Daniel Cousens
95cc837c06 tests/fixtures: amend truncated outputHex 2017-09-22 13:51:02 +10:00
Daniel Cousens
47ee3d294e Merge pull request #900 from arik-so/classification_test_fix
Classification test fix
2017-09-22 13:48:01 +10:00
Arik Sosman
5508e26469 respond to Jonathan Underwood's comments
(cherry picked from commit 8126ca2)
2017-09-21 20:23:19 -07:00
Arik Sosman
8f9b3443d2 add fixture to verify input type classification
(cherry picked from commit 8f9d8b7)
2017-09-21 20:23:13 -07:00
Daniel Cousens
8f01e4273c match scriptHash types 1 for 1, ignore classify order 2017-09-22 12:15:10 +10:00