Commit graph

2617 commits

Author SHA1 Message Date
Daniel Cousens
4527bf9731 README: specify install means npm 2016-07-22 23:57:43 +10:00
Daniel Cousens
fcb6ac9de6 tests: avoid superfluous ECPair creation 2016-07-22 13:34:23 +10:00
Daniel Cousens
817e10513c tests: cleanup 2016-07-22 13:31:34 +10:00
Daniel Cousens
e6ab247f72 Merge pull request #605 from kristovatlas/fix-readme-typo
fix typo in README concerning bip69
2016-07-22 12:03:01 +10:00
Kristov Atlas
1ceeefda58 fix typo in README concerning bip69 2016-07-21 13:08:43 -04:00
Daniel Cousens
94cab09353 Merge pull request #602 from bitcoinjs/swscripts
SegWit - witness script templates
2016-07-14 20:16:36 +10:00
Daniel Cousens
9f1d41fc44 script: enforce PUSH_DATA codes for witness outputs 2016-07-12 12:32:29 +10:00
Daniel Cousens
20a026aefe scripts/tests: add witness* scripts 2016-07-12 12:32:29 +10:00
Daniel Cousens
39fd34a947 tests/types: avoid unnecessary join 2016-07-12 12:32:29 +10:00
Daniel Cousens
27a3f9a326 Merge pull request #598 from bitcoinjs/codesep
Add Transaction.hashForSignature tests (and OP_CODESEPARATOR)
2016-07-05 17:53:33 +10:00
Daniel Cousens
148e9fc7a8 Merge branch 'master' into codesep 2016-06-30 16:13:08 +10:00
Daniel Cousens
bb9083a90c Merge pull request #599 from bitcoinjs/txversion
TxBuilder: add setVersion
2016-06-23 11:06:41 +10:00
Daniel Cousens
6faeae397f TxBuilder: add setVersion 2016-06-22 14:57:33 +10:00
Daniel Cousens
697f2da1bc Transaction: re-work hashForSignature for readability 2016-06-22 14:46:05 +10:00
Daniel Cousens
4898cc7b67 tests: add tests for Transaction.hashForSignature 2016-06-22 14:45:49 +10:00
Daniel Cousens
07628ff034 tests: avoid deepEqual, hex is easier to debug 2016-06-22 13:58:53 +10:00
Daniel Cousens
0d0f7c9f00 Merge pull request #594 from bitcoinjs/dcousens-patch-3
README: avoid file overwrite in example
2016-06-17 13:01:25 +10:00
Daniel Cousens
c239669570 README: avoid file overwrite in example 2016-06-17 12:10:37 +10:00
JP Richardson
cd0435dfbb Merge pull request #592 from ruddell/fix-readme-example-links
fix line numbers for examples and link for Litecoin address example
2016-06-15 12:49:39 -05:00
Jonathan Ruddell
c59419027c fix line numbers for examples and link for Litecoin address example 2016-06-15 10:14:36 -07:00
Daniel Cousens
c79c9045df Merge pull request #589 from bitcoinjs/fixwebpack
Fix for Webpack
2016-06-09 08:49:08 +10:00
JP Richardson
ac8ae8f0ed opcodes: add json extension to fix Webpack JSON loader 2016-06-08 17:00:37 -05:00
Daniel Cousens
7203b7a94d Merge pull request #579 from bitcoinjs/fix/isCoinbaseHash
Update Transaction.isCoinbaseHash
2016-05-06 14:18:24 +10:00
Daniel Cousens
79ac51dbbd Merge branch 'master' into fix/isCoinbaseHash 2016-05-06 14:18:06 +10:00
Kirill Fomichev
34f4f4f275 Merge pull request #580 from bitcoinjs/merkle
Block: add checkMerkleRoot/calculateMerkleRoot
2016-05-05 10:53:48 +04:00
Daniel Cousens
d58e09a3a7 Block: add checkMerkleRoot 2016-05-05 16:51:33 +10:00
Kirill Fomichev
8ddcf737f9 Update Transaction.isCoinbaseHash
- add argument type-checking
- replace Array.every on for-loop
2016-05-03 15:47:15 +03:00
Daniel Cousens
a3ec53e2d8 Merge pull request #578 from bitcoinjs/coinbase
Add isCoinbase
2016-05-03 22:40:30 +10:00
Daniel Cousens
ea2a7449ad tests: add isCoinbase tests and flags to fixtures 2016-05-03 21:51:30 +10:00
Karel Bilek
f958dd1e86 Adding Transaction.prototype.isCoinbase 2016-05-03 21:46:35 +10:00
Daniel Cousens
8a59fc1b3b Merge pull request #574 from bitcoinjs/013
README: remove mention of 0.1.3
2016-05-03 21:07:05 +10:00
Daniel Cousens
9ff5f37509 README: emphasise warning 2016-05-03 20:46:07 +10:00
Daniel Cousens
bd41ee8de2 README: remove mention of 0.1.3 2016-05-03 20:46:01 +10:00
Daniel Cousens
d06f838796 Merge pull request #576 from bitcoinjs/feature/travis-node-v6
Add Node.js v6 to .travis.yml
2016-04-30 01:57:21 +10:00
Kirill Fomichev
c5d71a8bd8 Add Node.js v6 to .travis.yml
https://nodejs.org/en/blog/release/v6.0.0/
2016-04-29 16:03:41 +04:00
Daniel Cousens
f1a20f1ec8 Merge pull request #575 from bitcoinjs/ectypes2
ECPair cleanup
2016-04-27 19:45:28 +10:00
Daniel Cousens
ea4ce4e2a6 ECPair: no elseif needed, move default for clarity 2016-04-27 18:04:35 +10:00
Daniel Cousens
00cee340dd ECPair: don't depend on WIF error message, avoid unnecessary import 2016-04-27 17:05:33 +10:00
Daniel Cousens
e52c0d5b67 ECPair: use toBase58Check 2016-04-27 16:42:25 +10:00
Daniel Cousens
85e3cce00e Merge pull request #573 from bitcoinjs/complextx
tests: add more complex integration transaction
2016-04-22 17:34:58 +10:00
Daniel Cousens
31923197ea tests: add more complex integration transaction 2016-04-22 17:08:45 +10:00
Daniel Cousens
9db67bb3b1 Cleanup for #540 (#551)
* Txbuilder: early exit as soon as possible

* Txbuilder: prefer function declaration over variable

* TxBuilder: extract extractFromOutputScript

* TxBuilder: extract buildFromInputData
2016-04-08 12:23:32 +10:00
Daniel Cousens
93f9185628 Merge pull request #564 from bitcoinjs/dcousens-patch-2
README: clarify uglify (resolves #555)
2016-04-08 11:51:06 +10:00
Daniel Cousens
74f2e01978 README: clarify uglify (resolves #555) 2016-04-08 11:45:28 +10:00
Daniel Cousens
0cedacddc6 Merge pull request #557 from fanatid/feature/buffer-reverse
Use equal and reverse for buffer from bufferutils
2016-03-10 16:56:44 +11:00
Kirill Fomichev
bc9a95e0ae Use buffer-reverse instead [].reverse.call 2016-03-10 07:57:30 +03:00
Daniel Cousens
f999ff6382 Merge pull request #552 from bitcoinjs/popular
README: `1.0.0` is now more popular
2016-02-27 23:19:01 +11:00
Daniel Cousens
7546b2bb52 README: 1.0.0 is now more popular 2016-02-25 18:23:00 +11:00
Daniel Cousens
7d2b2dee45 Merge pull request #550 from bitcoinjs/testnet
Add network list tests for ECPair/HDNode
2016-02-25 18:20:53 +11:00
Daniel Cousens
285bbd6478 Merge pull request #540 from blocktrail/segwit-prep
Refactoring `extractInput` and `__build` to enable nested scripts
2016-02-25 13:59:47 +11:00