Commit graph

1688 commits

Author SHA1 Message Date
Daniel Cousens
dc7d4fcffc Merge pull request #537 from bitcoinjs/dcousens-patch-2
README: add EI8HT wallet link
2016-02-05 15:32:27 +11:00
Daniel Cousens
1ec9e1ae88 README: add EI8HT wallet link 2016-02-05 14:44:43 +11:00
Daniel Cousens
64e45e694f Merge pull request #534 from bitcoinjs/tforce
typeforce for hash160/256 throws hard error
2016-02-05 14:30:03 +11:00
Daniel Cousens
1771067dfc tests: fix standard error, reword descriptions 2016-02-05 14:16:56 +11:00
Ruben de Vries
7c7537fc57 use typeforce >= 1.6.2 which allows us to use typeforce.TfTypeError with a custom error message. 2016-02-02 14:04:37 +01:00
Ruben de Vries
ce21c99b43 add failing test case for hash160/256 typeforce check 2016-02-02 13:31:54 +01:00
Daniel Cousens
7ba58078b1 Merge pull request #529 from blocktrail/fix-integration-test
Fixes integration tests
2016-01-29 00:10:53 +11:00
Ruben de Vries
0e1424c2cb fixed issues with integration tests that use the faucet 2016-01-28 11:27:34 +01:00
JP Richardson
7937835415 Merge pull request #531 from bitcoinjs/fix-test
fixed another test where TX was signed before locktime was set
2016-01-27 23:39:04 -06:00
Ruben de Vries
b601f50c70 fixed another test where TX was signed before locktime was set 2016-01-28 16:11:49 +11:00
JP Richardson
682ba7e549 Merge pull request #530 from bitcoinjs/lesscomp
address: fix compiled assumption for fromOutputScript
2016-01-27 22:50:05 -06:00
Daniel Cousens
67da1b30e3 address: fix compiled assumption for fromOutputScript 2016-01-28 15:35:57 +11:00
JP Richardson
4ee194e840 Merge pull request #507 from bitcoinjs/locktime
txbuilder: add setLockTime
2016-01-27 08:29:00 -06:00
Daniel Cousens
f3913516ca Merge pull request #509 from bitcoinjs/pow
Add Block proof-of-work validation function
2016-01-28 01:00:17 +11:00
Daniel Cousens
9a62ab600f tests: update integration tests to use setLockTime 2016-01-28 00:56:58 +11:00
Daniel Cousens
8a37c1193a tests: add signature invalidation test for setLockTime 2016-01-28 00:55:45 +11:00
Daniel Cousens
6c0745adce TxBuilder: add setLockTime 2016-01-28 00:55:44 +11:00
Daniel Cousens
bda2e28a8f Merge pull request #524 from blocktrail/txb-locktime-test
locktime and version were set too late in test scenario
2016-01-28 00:54:21 +11:00
Daniel Cousens
61d5e00ef1 Merge pull request #525 from bitcoinjs/license-link
README: directly link to LICENSE
2016-01-28 00:39:17 +11:00
Daniel Cousens
541e5b29dc Merge pull request #526 from bitcoinjs/https-badges
README: use https for badges
2016-01-28 00:38:51 +11:00
Daniel Cousens
2989fa783b README: use https for badges 2016-01-27 17:48:25 +11:00
Daniel Cousens
3029ebee9d README: directly link to LICENSE 2016-01-27 17:45:55 +11:00
Ruben de Vries
ccec864785 locktime and version were set too late in test scenario and not included when signing (the test scenario). 2016-01-26 17:13:07 +01:00
Daniel Cousens
96fb92feb5 Merge pull request #519 from bitcoinjs/clean
tests: rm unused fixtures
2016-01-07 12:09:44 +11:00
Daniel Cousens
35a2a6ba1e tests/integration: increase multisig timeout 2016-01-06 13:14:36 +11:00
Daniel Cousens
a5f1994f86 tests/integration: remove redundant check 2016-01-06 13:10:57 +11:00
Daniel Cousens
f9f41addda tests/integration: throw if no unspent is given 2016-01-06 13:01:43 +11:00
Daniel Cousens
755c344e16 tests/integration: re-broadcast input tx to avoid missing inputs error 2016-01-06 12:46:02 +11:00
Daniel Cousens
382409c575 tests: rm unused fixtures 2016-01-06 10:00:10 +11:00
Daniel Cousens
d47ed2c3ba Merge pull request #517 from bitcoinjs/locktimetests
tests/integration: amend lockTime examples
2016-01-05 17:49:52 +11:00
Daniel Cousens
b6d986dd10 tests/integration: amend lockTime example to allow redemption, add redepemtion examples 2016-01-05 14:52:56 +11:00
Daniel Cousens
531e6245fa Merge pull request #516 from bitcoinjs/scrnum
script_number: add impl/tests
2016-01-05 14:20:42 +11:00
Daniel Cousens
d7da292063 script_number: initialize result to 0 2016-01-05 13:11:49 +11:00
Daniel Cousens
302bbe81ba script_number: refactor to mimic bitcoin/bitcoin 2016-01-05 02:38:04 +11:00
Daniel Cousens
945bdfa747 script_number: refactor 2016-01-05 02:30:21 +11:00
Daniel Cousens
29a1a839ec script: exposes scriptNumber through script.number 2016-01-05 02:11:48 +11:00
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