Commit graph

1061 commits

Author SHA1 Message Date
Wei Lu eb4e8884d9 loose instanceof: check constructor function name instead 2014-10-07 00:23:53 -07:00
Wei Lu ca098490bb Merge pull request #288 from dcousens/types
Types
2014-10-06 23:59:03 -07:00
Daniel Cousens 967e724b47 types: remove JSPerf references 2014-10-07 16:57:49 +11:00
Daniel Cousens 01a96e887c types: use the idiomatic equivalents 2014-10-07 16:50:37 +11:00
Daniel Cousens 0c380a063a tests: add tests for types 2014-10-07 16:49:20 +11:00
Daniel Cousens deaf06b350 Wallet: use enforceType where applicable 2014-10-05 15:43:14 +11:00
Daniel Cousens 35542e115d types: enforce consistent type checking 2014-10-05 15:36:25 +11:00
Daniel Cousens 166053a3e5 1.1.3 2014-10-03 19:12:56 +10:00
Daniel Cousens 756e38bc58 package: upgrade bs58check to 1.0.3 2014-10-03 19:12:46 +10:00
Daniel Cousens ed01ed5bb4 remove unused bs58 core dependency 2014-10-03 19:11:42 +10:00
Daniel Cousens c96a1bce83 Merge pull request #284 from wmcbain/master
Added Zetacoin support
2014-09-26 20:02:50 +10:00
wmcbain de1755307a Added Zetacoin support
Added support for zetacoin
2014-09-25 07:45:54 -04:00
Daniel Cousens 0631db517c 1.1.2 2014-09-25 12:46:34 +10:00
Daniel Cousens 012f95840f package: update dev-dependencies, bigi 2014-09-25 12:46:22 +10:00
Daniel Cousens faea16cadc package: use latest crypto-browserify 2014-09-25 12:43:39 +10:00
Daniel Cousens 18c3a4a856 1.1.1 2014-09-25 12:43:39 +10:00
Wei Lu 6cd8fc3fe0 Merge pull request #282 from dcousens/nobuff
Deprecate Buffer interop in preparation for 2.0.0
2014-09-22 20:50:49 +08:00
Daniel Cousens 1dad7b617b package: crypto-browserify must be specified until browserify catches up 2014-09-22 18:18:46 +10:00
Daniel Cousens 2ed8ade1e1 Merge pull request #275 from dcousens/byecjs
Remove crypto-js, https://github.com/dominictarr/crypto-browserify/pull/47 was merged.
2014-09-22 18:16:26 +10:00
Daniel Cousens a58088795f HDNode: indicate 2.x.y removal of Buffer interop 2014-09-20 11:38:18 +10:00
Daniel Cousens e82da0ca85 package: browserify now uses crypto-browserify 3.0.0 2014-09-20 11:00:34 +10:00
Daniel Cousens c96b862530 crypto: remove cryptojs 2014-09-20 11:00:34 +10:00
Daniel Cousens e3d05c6f2c 1.1.0 2014-09-20 10:47:23 +10:00
Daniel Cousens 3b60d7abf3 README: s/Bitcoin/bitcoin for namespacing 2014-09-15 18:49:13 +10:00
Daniel Cousens 0a232cdb9d tests: sign test needs to trigger ecurve.Point side effects 2014-09-15 14:25:28 +10:00
Wei Lu 32cbd02aaa Merge pull request #280 from dcousens/testprefix
Wallet test fixes
2014-09-09 18:56:31 +08:00
Daniel Cousens c3f8869386 tests: Wallet test was not comprehensive 2014-09-08 23:27:01 +10:00
Daniel Cousens 69dfd3204d Wallet: add missing variable wallet 2014-09-08 23:21:16 +10:00
Daniel Cousens f028dfffa9 Wallet: fix missing variable utxo 2014-09-08 23:15:53 +10:00
Daniel Cousens 4e04a7e883 Transaction: use isFinite over Number.isFinite 2014-09-08 23:15:53 +10:00
Daniel Cousens 6c5a68207a Transaction: use isFinite instead over typeof number 2014-09-08 18:42:47 +10:00
Daniel Cousens 07a438dd8a Merge pull request #276 from btcdrak/viacoin
Add viacoin support
2014-09-08 10:25:42 +10:00
BtcDrak c41c3bb62d Add viacoin support 2014-09-06 17:59:13 +01:00
Wei Lu cc98600154 Merge pull request #262 from dcousens/wallref
processTx considered harmful followup
2014-09-06 22:25:43 +08:00
Daniel Cousens dce269071e README: add BIP38 2014-09-05 15:48:01 +10:00
Daniel Cousens 1764d45b42 README: added Quickcoin 2014-09-05 15:45:39 +10:00
Wei Lu 8cc1f0526d Merge pull request #222 from bitcoinjs/tip4commit
Add tip4commit
2014-09-02 12:55:38 +08:00
Wei Lu 0312f7ff60 Merge pull request #270 from dcousens/txfix
TransactionBuilder to correctly handle non-zero vin in inputs
2014-08-31 12:47:23 +08:00
Daniel Cousens 1d0fd3e9a4 TxBuilder: add more failing cases and error handling 2014-08-31 14:43:35 +10:00
Daniel Cousens e1479b6fa5 scripts: add error for >n signatures with multisig 2014-08-30 13:13:12 +10:00
Daniel Cousens 8d5ef2dd06 TxBuilder: limit signatures depending on scriptType 2014-08-30 13:13:12 +10:00
Daniel Cousens e5618bb8bd TxBuilder: add test for missing redeemScript if P2SH 2014-08-30 12:52:05 +10:00
Daniel Cousens b3438c5ef2 Transaction: throw if sequence is not a number 2014-08-30 12:51:29 +10:00
Daniel Cousens aa80bde815 TxBuilder: avoid unnecessary recalculation of prevOutScript data 2014-08-30 12:47:00 +10:00
Daniel Cousens e2357c09ce TxBuilder: fix invalid txin.index usage for non-zero vin inputs 2014-08-30 12:10:02 +10:00
Daniel Cousens 1c744cfa5a TxBuilder: add failing test for non-zero vin inputs 2014-08-30 12:09:31 +10:00
Daniel Cousens 6e1517482b tests: avoid use of deprecated APIs 2014-08-27 12:37:13 +10:00
Daniel Cousens b727a65ea0 Wallet: refactor to use Array unspents solely, deprecating unspentsMap 2014-08-27 12:37:13 +10:00
Daniel Cousens 06f13db8d7 Wallet: rename outputs to unspentsMap 2014-08-27 12:37:13 +10:00
Daniel Cousens d24fdef585 Wallet: consistent variable naming 2014-08-27 12:37:13 +10:00