Commit graph

1752 commits

Author SHA1 Message Date
Daniel Cousens
059f48b0c4 script_number: add impl/tests 2016-01-05 01:59:58 +11:00
Daniel Cousens
cba7252c9d Merge pull request #511 from bitcoinjs/ophodl
add OP_CHECKLOCKTIMEVERIFY and integration test example
2016-01-04 13:07:32 +11:00
Daniel Cousens
e4ba88e54f block: rename verifyPow to checkProofOfWork 2016-01-04 12:49:33 +11:00
Daniel Cousens
92b446f6a5 block: variable extraction 2016-01-04 12:49:33 +11:00
Daniel Cousens
bac700f52c block: use buffer, faster, verified 2016-01-04 12:49:33 +11:00
Daniel Cousens
86b51b2d62 add Block.calculateTarget, use Buffer comparison rather than bigi 2016-01-04 12:49:33 +11:00
Daniel Cousens
26ccb43047 block: add Block.prototype.verifyPow 2016-01-04 12:49:33 +11:00
Daniel Cousens
15227d39bf tests: add more test fixtures for blocks 2016-01-04 12:49:33 +11:00
Daniel Cousens
b077d7089d tests/integration: change hodlDate to T+2 hours 2015-12-22 14:17:41 +11:00
Daniel Cousens
b5d1b4a0da tests/integration: s/message/transaction 2015-12-22 14:13:45 +11:00
Daniel Cousens
cab3022719 add OP_CHECKLOCKTIMEVERIFY and integration tests 2015-12-22 14:13:45 +11:00
Daniel Cousens
07cf0bd057 tests/integration: use actual=expected consistently for asserts 2015-12-22 14:03:58 +11:00
JP Richardson
723c2fe37a Merge pull request #512 from bitcoinjs/2016
README: update copyright to 2016
2015-12-21 03:29:55 -06:00
Daniel Cousens
a467cde8a2 LICENSE: update copyright to 2016 2015-12-17 16:24:46 +11:00
Daniel Cousens
bdd52996e5 README: update copyright to 2016 2015-12-17 16:23:46 +11:00
Daniel Cousens
718661df2c Merge pull request #506 from bitcoinjs/clean
Basic cleanup
2015-11-26 15:58:16 +11:00
Daniel Cousens
540a6643ac txbuilder: clarify SIGHASH invalidation logic in addInput/addOutput 2015-11-26 12:46:55 +11:00
Daniel Cousens
881a23f9d5 txbuilder: rename tx.outs.length to nOutputs 2015-11-26 12:07:32 +11:00
Daniel Cousens
693e39c061 script: use Buffer.isBuffer consistently 2015-11-26 12:07:04 +11:00
Daniel Cousens
2c11316600 Merge pull request #505 from bitcoinjs/214
2.1.4
2015-11-26 10:59:45 +11:00
Daniel Cousens
b9a333c5b9 CHANGELOG: add 2.1.4 notes 2015-11-25 20:25:14 +11:00
Daniel Cousens
e25ce449dc 2.1.4 2015-11-25 20:16:52 +11:00
Daniel Cousens
40fc1b9e2e Merge pull request #481 from bitcoinjs/minimalpush
isStandard compliance [for pubKeyHash / scriptHash outputs]
2015-11-25 19:36:54 +11:00
Daniel Cousens
d48a7ab682 address: avoid unnecessary unchunking 2015-11-25 19:19:21 +11:00
Daniel Cousens
f60cb2e491 scripts: ensure isPubKeyHashOutput/isScriptHashOutput adhere to BIP62 2015-11-25 19:19:21 +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
Daniel Cousens
ce9670eab4 Merge pull request #504 from fanatid/txb/addOutput
Fix TransactionBuilder.addOutput
2015-11-25 19:04:39 +11:00
Kirill Fomichev
5de6818fcb Fix TransactionBuilder.addOutput 2015-11-24 08:18:16 +03:00
Daniel Cousens
3d43a6f681 Merge pull request #499 from bitcoinjs/changelog
CHANGELOG: add 2.1.3 notes
2015-11-19 17:14:17 +11:00
Daniel Cousens
8ea5440be2 Merge pull request #502 from alex-seville/patch-1
Remove `const` and replace with `var`
2015-11-19 17:13:43 +11:00
Alex Seville
a1da3065c4 Remove const and replace with var
To keep the project consistenly ES5.

Source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const
2015-11-18 22:04:21 -08:00
Daniel Cousens
f999947e34 CHANGELOG: add 2.1.3 notes 2015-11-10 11:16:39 +11:00
Daniel Cousens
aff56dbcb6 Merge pull request #498 from bitcoinjs/noirc
README: remove IRC channel
2015-11-10 11:06:19 +11:00
Daniel Cousens
4018beca7c README: remove IRC channel 2015-11-09 15:37:12 +11:00
Daniel Cousens
a43b024772 Merge pull request #495 from bitcoinjs/jprichardson-patch-1
readme: correct descriptions for bip38/bip38. Closes #491
2015-11-09 15:36:26 +11:00
Daniel Cousens
9ab8739652 Merge branch 'master' into jprichardson-patch-1 2015-11-06 16:23:53 +11:00
Daniel Cousens
d3083a8503 Merge pull request #496 from bitcoinjs/tf
Bump typeforce to 1.5.5
2015-11-06 16:23:04 +11:00
Daniel Cousens
74fd5ae71d tests: loop faucet until an unspent is given 2015-11-06 11:01:28 +11:00
Daniel Cousens
d338c3872d 2.1.3 2015-11-06 10:37:21 +11:00
Daniel Cousens
eca4c9ec32 package: use typeforce 1.5.5 2015-11-06 10:37:21 +11:00
Daniel Cousens
cd4146d367 Merge branch 'master' into jprichardson-patch-1 2015-11-06 08:26:09 +11:00
Daniel Cousens
a20d2680f4 Merge pull request #492 from fanatid/travis
travis, build matrix
2015-11-06 08:25:58 +11:00
Kirill Fomichev
f88294132f add matrix to .travis.yml 2015-11-05 23:37:57 +03:00
JP Richardson
57fc4bdc61 readme: correct descriptions for bip38/bip38. Closes #491 2015-11-05 09:59:38 -06:00
Daniel Cousens
b2e4016f62 Merge pull request #490 from bitcoinjs/dcousens-patch-1
README: ask for users to post examples
2015-10-27 15:52:35 +11:00
Daniel Cousens
f8068bb990 README: ask for users to post examples 2015-10-27 15:39:34 +11:00
Daniel Cousens
c8baf1e712 Merge pull request #489 from bitcoinjs/212
2.1.2
2015-10-20 21:19:23 +11:00
Daniel Cousens
6ed734ccb6 2.1.2 2015-10-20 21:07:43 +11:00
Daniel Cousens
3cacf2a2a8 CHANGELOG: add missing entry 2015-10-20 21:07:43 +11:00