Commit Graph

988 Commits

Author SHA1 Message Date
Ryan X. Charles 76804bef45 Fix checksum comparison error. Closes #402 2014-07-03 09:17:54 -07:00
Ryan X. Charles 0722ce46d7 comment typo 2014-07-02 11:51:15 -07:00
Ryan X. Charles 0bea06f785 add BIP70 protobuf features in new PayPro lib file
...and add to the "main" bundle, but not the "all" bundle, since it adds
hundreds of kilobytes to the bundle.
2014-07-02 11:39:21 -07:00
Ryan X. Charles 3842ed69cb Merge pull request #400 from petrosagg/remove-dead-code
Remove dead code in Script.js
2014-07-01 21:06:05 -07:00
Petros Angelatos d2ce401f84 remove dead code 2014-07-02 01:22:18 +01:00
Devrandom efb62b08b7 add check function for BIP39
fixes #393
2014-07-01 14:00:08 -07:00
Ryan X. Charles 1cfa302c35 Merge pull request #397 from ryanxcharles/feature/confirm-message-works-with-buffer
add tests that confirm Message works with buffers
2014-06-27 13:49:14 -07:00
Ryan X. Charles 15d0d1a333 add tests that confirm Message works with buffers 2014-06-25 14:30:28 -07:00
Gabe 6fac03527f Updated readme.md
-removed old examples
 -added link to new examples.md

 Do not forget to run "gulp" everytime you make changes in examples folder.
2014-06-25 22:30:29 +08:00
yangit 11b391820d Added gulp task to concat /examples/*.js into ./examples.md 2014-06-25 22:30:29 +08:00
Manuel Aráoz 12e7101ffa Merge pull request #394 from ryanxcharles/feature/beautify
ran js-beautify on all bitcore source
2014-06-24 11:49:45 -03:00
Ryan X. Charles ca67786a77 ran js-beautify on all bitcore source
js-beautify -s 2 -r *.js

...did not run on bundles, only on source.
2014-06-23 10:57:02 -07:00
Ryan X. Charles bba0945581 add explanation of building the browser bundle to README 2014-06-20 19:38:56 -07:00
Ryan X. Charles ad5e83f9ff Merge branch 'bip39'
Conflicts:
	browser/bundle.js
2014-06-20 19:35:24 -07:00
Ryan X. Charles 266759ff60 Merge remote-tracking branch 'devrandom/bip39'
Conflicts:
	test/index.html
2014-06-20 19:34:21 -07:00
Ryan X. Charles 4a59418c82 add concept of "main" bundle and remove BIP39
Some features of bitcore will be too large to be included in the browser bundle
by default. Since BIP39 pretty much requires the giant list of words to be
used, I am excluding it by default. The ability to exclude some features by
default will become useful with some particularly large features to come,
particularly BIP70.
2014-06-20 19:31:01 -07:00
Ryan X. Charles 54c8e04738 remove unbuilding c code, and ...
* Remove c code that didn't compile on my machine
* Replace with sjcl code
* Minor modifications to mnemonic interface more bitcoreish
2014-06-20 19:09:21 -07:00
Ryan X. Charles cfd90927bc Merge pull request #392 from yangit/master
Removed duplicate dependency declaration.
2014-06-20 16:21:25 -07:00
yangit a3d945f0f1 Removed duplicate dependency declaration. 2014-06-20 13:50:43 +08:00
Ryan X. Charles a7270282d3 Merge pull request #384 from manan19/move-scriptForAddress
Move TransactionBuilder.scriptForAddress to Address.getScriptPubKey. Resolves #373
2014-06-19 20:33:36 -07:00
Ryan X. Charles 690768e3ce Merge pull request #391 from rxl/grammar-fix
fix grammar in 'not enough unspent tx outputs' error in tx builder
2014-06-19 18:07:35 -07:00
rxl 1170923f86 fix grammar in 'not enough unspent tx outputs' error in tx builder 2014-06-19 17:52:54 -07:00
Manuel Aráoz 43c4db3219 Merge pull request #389 from yemel/fix/notify-only-failure-0
fix indentation
2014-06-19 15:37:16 -03:00
Yemel Jardi d73a3076ae fix indentation 2014-06-19 15:32:58 -03:00
Ryan X. Charles fb21de907f Merge pull request #388 from yemel/fix/notify-only-failure
notify only on failure
2014-06-19 11:26:23 -07:00
Yemel Jardi 8a2a0818ab notify only on failure 2014-06-19 15:11:56 -03:00
Ryan X. Charles bc58966760 Merge pull request #387 from yemel/feature/travis-hipchat-notification
add hipchat notification config
2014-06-19 09:58:46 -07:00
Yemel Jardi bd5669409e add hipchat notification config 2014-06-19 13:42:18 -03:00
Manan Patel d83fc6e4b5 Resolves #373
Move TransactionBuilder.scriptForAddress to Address#getScriptPubKey (instance method)
2014-06-19 08:40:30 -07:00
Manuel Aráoz 6ac5154934 Merge pull request #385 from manan19/patch-1
Updating links in README.md
2014-06-19 10:37:22 -03:00
Manuel Aráoz d7f31bf785 Merge pull request #386 from manan19/peer-tests
adding few tests for Peer.js
2014-06-19 10:31:29 -03:00
Manan Patel 0d9317e2d4 adding few tests for Peer.js 2014-06-19 01:07:45 -07:00
Manan Patel 8a91fa272a Updating links in README.md 2014-06-18 23:14:22 -07:00
Ryan X. Charles 83aada8648 Merge pull request #379 from ryanxcharles/feature/address-throw-error
throw error when using invalid length hash in Address constructor
2014-06-13 08:17:18 -07:00
Ryan X. Charles c94d278958 up version to 0.1.24 2014-06-12 15:09:09 -07:00
Ryan X. Charles 8fb098e5dd Merge pull request #374 from maraoz/add/problematic-example
fix eckey.cc to handle private keys starting with 0 correctly
2014-06-12 14:49:27 -07:00
Manuel Araoz 1878c57ab4 remove failsearch 2014-06-12 16:56:07 -03:00
Manuel Araoz 0d670ff979 suggestions by ryan 2014-06-12 16:54:59 -03:00
Manuel Araoz b402bbfa6c fixing copay problems 2014-06-12 16:28:00 -03:00
Manuel Araoz 5c11ac3e87 malloc -> calloc, to fix linux version 2014-06-12 13:56:29 -03:00
Manuel Araoz d313ed037e trying to fix 2014-06-12 12:29:51 -03:00
Manuel Araoz 2c7c2d85b3 breaking 2014-06-12 12:29:51 -03:00
Manuel Araoz a15962da88 fixing 2014-06-12 12:29:51 -03:00
Manuel Araoz a57191c66f working on fixing the wierd test 2014-06-12 12:29:51 -03:00
Manuel Araoz a2b8bb0f51 even weirder fix 2014-06-12 12:29:51 -03:00
Manuel Araoz 7b3c6d5bcd remove console.log 2014-06-12 12:29:51 -03:00
Manuel Araoz d9a91e89c3 attempt to fix in linux 2014-06-12 12:29:51 -03:00
Manuel Araoz 9e46334d27 wierdest way of fixing the problem 2014-06-12 12:29:51 -03:00
Manuel Araoz 5428b1109e add problematic test 2014-06-12 12:29:50 -03:00
Ryan X. Charles c2e5a14eed throw error when using invalid length hash in Address
I have often made the error of using a public key rather than the hash of the
public key when creating an address, leading to invalid addresses. I'm sure I'm
not the only one. This commit follows the principle of "fail early, fail often"
and simply throws an error if you try to insert something other than 20 bytes
long when creating an address, which would be the case when using a public key.
This way that common mistake should be reduced.
2014-06-11 18:13:39 -07:00