Commit graph

1118 commits

Author SHA1 Message Date
Daniel Cousens
2f00c9ab35 Wallet: rework unspents to primarily work on initialization
The RegExp for the UTXO validation was removed as the errors are now
more verbose and specific to each case.
2014-08-14 11:17:10 +10:00
Daniel Cousens
7c22067f69 Wallet: clarify getPrivateKeyForAddress method structure
This does repeat the O(n) lookup several times, but that can be fixed by
using an O(1) lookup instead (and will be later).

Clarity first.
2014-08-14 11:00:29 +10:00
Daniel Cousens
abc3e6c715 Wallet: move estimatePaddedTxFee out of Wallet scope 2014-08-14 11:00:29 +10:00
Daniel Cousens
8b3470e8ca Wallet: move all free functions out of Wallet scope 2014-08-14 11:00:29 +10:00
Daniel Cousens
d618aa9822 Wallet: deprecates newMasterKey 2014-08-14 11:00:18 +10:00
Wei Lu
09455a6ad8 Merge pull request #248 from dcousens/hdnode
HDNode / BIP32 Neutering
2014-07-30 22:11:31 +08:00
Daniel Cousens
6b429493f8 hdnode: add deprecation message for isPrivate 2014-07-30 18:04:25 +10:00
Daniel Cousens
2fbd9449f5 tests: use neutered rather than import/export 2014-07-30 17:57:09 +10:00
Daniel Cousens
9d92b6a1a8 HDNode: add neuter functionality 2014-07-30 17:57:09 +10:00
Daniel Cousens
e69ba7ce76 HDNode: assert chain code length 2014-07-30 17:57:09 +10:00
Kyle Drake
5888ca5730 1.0.2
Signed-off-by: Kyle Drake <kyle@kyledrake.net>
2014-07-30 00:11:46 -07:00
Daniel Cousens
8297e1b0fc ecdsa: add further (missing) annotations from 1.4.x 2014-07-30 15:10:38 +10:00
Daniel Cousens
804c542c40 ecdsa: add SEC annotations for verify 2014-07-30 15:04:45 +10:00
Daniel Cousens
52689fc98b tests: adds r = s = -n ecdsa verify test case 2014-07-30 14:47:21 +10:00
Wei Lu
c73ab8c816 Merge pull request #250 from dcousens/negrs
Negative R,S value checking
2014-07-30 10:00:35 +08:00
Daniel Cousens
5657dcf2aa ecdsa: add improved test coverage for recoverPubKey 2014-07-29 23:45:50 +10:00
Daniel Cousens
be3ce88a3a ecdsa: enforce positive integers 2014-07-29 23:45:25 +10:00
Daniel Cousens
05237f4248 Merge pull request #249 from rapodaca/master
Fixed, added console.log output on README
2014-07-29 15:56:42 +10:00
Rich Apodaca
eda94d4fe3 Fixed, added console.log output on README 2014-07-28 21:59:42 -07:00
Daniel Cousens
04bcbadc77 transaction/ecdsa: remove unused imports 2014-07-29 02:06:17 +10:00
Daniel Cousens
a8c6f5284d tests: avoid unnecessary sha256 for hash 2014-07-29 01:01:11 +10:00
Wei Lu
6e1bbe8ebe Merge pull request #247 from dcousens/ecurve
Removal of secure-random in favour of crypto-browserify
2014-07-28 22:44:29 +08:00
Daniel Cousens
eaf8cf85af test: rephrase fail -> throw 2014-07-28 18:13:00 +10:00
Daniel Cousens
2920bb2ee1 tests: remove outdated FIXME in wallet 2014-07-28 18:11:31 +10:00
Daniel Cousens
a8d1a525e5 package: use ecurve 1.0.0 2014-07-28 13:51:50 +10:00
Daniel Cousens
75b51995e5 package: use bs58 1.2.1 2014-07-28 13:51:49 +10:00
Daniel Cousens
8e0c835919 package: use crypto-browserify 3.0.0 2014-07-28 13:51:30 +10:00
Daniel Cousens
ca0c56fa3b Merge pull request #239 from uwecerron/master
Updated README.md
2014-07-17 12:51:00 +10:00
Kyle Drake
99db4ab1ce
1.0.1 2014-07-16 10:07:46 -07:00
Daniel Cousens
c2e7840c4f Transaction: adds assert for invalid value type 2014-07-16 17:53:38 +10:00
Uwe Cerron
faa128ce56 updated url to http. 2014-07-16 00:36:58 -04:00
Wei Lu
5cbb4af7b4 package: fix coveralls scripts 2014-07-16 09:56:00 +08:00
Daniel Cousens
4dd3b003ef package: consistent path finding 2014-07-16 03:53:22 +10:00
Wei Lu
0e0e97c011 drop unnecessary binary paths 2014-07-16 01:36:11 +08:00
Wei Lu
6dbf00f7ac upgrade browserify
per security advisory: https://nodesecurity.io/advisories/syntax-error-potential-script-injection
2014-07-16 01:35:58 +08:00
Daniel Cousens
d168bbda43 HDNode: missing space in assertion message 2014-07-15 17:42:04 +10:00
Wei Lu
490b34852d Merge pull request #242 from dcousens/hdstrict
HDNode: enforces sane seed lengths and Transaction input
2014-07-11 17:53:52 +08:00
Daniel Cousens
a90a8e061e Transaction: add assertion that scriptPubKey exists 2014-07-11 19:18:27 +10:00
Daniel Cousens
56d9ea6618 HDNode: fix error spelling 2014-07-11 19:15:56 +10:00
Daniel Cousens
ddcde038d0 HDNode: enforces sane seed lengths 2014-07-11 16:34:03 +10:00
Daniel Cousens
656de37fc0 ECSignature: avoid multiple push/unshift operations 2014-07-10 14:22:33 +10:00
Daniel Cousens
dcc9ddff08 README: Add P2SH Multisig example 2014-07-10 13:48:54 +10:00
Daniel Cousens
27389d6d95 README: Updates contributing instructions 2014-07-10 13:36:27 +10:00
Uwe Cerron
750101a69b Updated README.md
added project Decentral Bank.
2014-07-03 03:41:13 -04:00
Wei Lu
7aaf6e0681 Merge pull request #238 from dcousens/bs58check
package: use bs58check
2014-07-02 13:06:27 -07:00
Daniel Cousens
13c2d377e7 package: use bs58check 2014-07-02 14:37:32 +10:00
Kyle Drake
2f7c2467fa README: Add better NPM stats image 2014-07-01 22:29:58 -05:00
Kyle Drake
ab2ee575f6 README: Add NPM stats image 2014-07-01 22:27:58 -05:00
Kyle Drake
0abc9e6316 README: Remove highlights for now, fix later 2014-07-01 22:11:33 -05:00
Kyle Drake
c394650733 README: GitHub markdown rendering fixes 2014-07-01 22:09:28 -05:00