Commit Graph

1762 Commits

Author SHA1 Message Date
Braydon Fuller 968f9936d8 Networks: Add mainnet alias 2014-12-02 10:55:25 -05:00
Braydon Fuller d5d88287cd Networks: Consistency of network reference for 'livenet', and removed hardcoded value. 2014-12-02 10:48:21 -05:00
Esteban Ordano 2b866a8460 Merge pull request #630 from braydonf/feature/immutable
Immutable Address, PublicKey and PrivateKey
2014-12-02 12:17:03 -03:00
Esteban Ordano 3d56ed3b4d Merge pull request #637 from braydonf/feature/public-key-to-address
PublicKey: Added toAddress prototype. Closes #599
2014-12-02 12:16:29 -03:00
Esteban Ordano 7682cfa359 Merge pull request #644 from braydonf/ref/default-network
Default the network, if not specified, to `networks.defaultNetwork`. Closes #559
2014-12-02 12:16:11 -03:00
Manuel Aráoz 430b175d6e Merge pull request #588 from yemel/refactor/bip21
Add support for bitcoin URIs (BIP21)
2014-12-01 22:11:33 -03:00
Braydon Fuller 4ba53fcb92 Tests: Check that PrivateKey is using the defaultNetwork 2014-12-01 18:22:51 -05:00
Braydon Fuller 2cbcf7da1c Tests: Check that an Address is using the defaultNetwork 2014-12-01 18:19:17 -05:00
Braydon Fuller b91b0fe4a5 PrivateKey: Use defaultNetwork if not specified 2014-12-01 18:10:18 -05:00
Braydon Fuller eb72310a62 Address: Use defaultNetwork if network is not specified 2014-12-01 18:07:39 -05:00
Braydon Fuller 6e36baebc6 Tests: Enable tests for network, include defaultNetwork, check each constant, build browser tests before running to make sure it's up-to-date 2014-12-01 17:55:57 -05:00
Braydon Fuller 4adf1fcb14 Network: Replaced all instances of mainnet with livenet for consistency 2014-12-01 17:31:39 -05:00
Yemel Jardi 9cd9eeba1f convert amout to satoshis 2014-12-01 17:36:52 -03:00
Yemel Jardi db4561f834 Add documentation 2014-12-01 17:18:10 -03:00
Yemel Jardi c9951be2dc Base URI class and tests 2014-12-01 17:18:10 -03:00
Yemel Jardi 80937362be Address constructor allows an address instance 2014-12-01 17:17:10 -03:00
Manuel Aráoz 1175c475a2 Merge pull request #627 from yemel/feature/unit-util
Utility for unit conversion
2014-12-01 16:17:17 -03:00
Braydon Fuller b06866f86f PublicKey: Added toAddress prototype. Closes #599 2014-12-01 14:15:59 -05:00
Yemel Jardi 1ae88eed7a Add new test for string values 2014-12-01 16:05:01 -03:00
Yemel Jardi ab517cae9c refactor double quote 2014-12-01 16:02:28 -03:00
Yemel Jardi 3208ca2a44 Allow creating instance without new 2014-12-01 16:02:06 -03:00
Yemel Jardi 69aec2fd4d sort requires on index 2014-12-01 15:50:03 -03:00
Manuel Aráoz 6519888f7b Merge pull request #626 from braydonf/ref/crypto-point
Crypto/Point: Added test coverage and documentation, and refactors validation.
2014-12-01 14:56:13 -03:00
Braydon Fuller 3298a01498 Immutable Address, PublicKey and PrivateKey 2014-12-01 12:44:32 -05:00
Yemel Jardi d978160ddb Utility for unit conversion 2014-12-01 12:33:45 -03:00
Braydon Fuller 9a76bf30ff Crypto/Point: Added test coverage and documentation, and refactored validation 2014-12-01 10:14:36 -05:00
Esteban Ordano 756cec6e17 Merge pull request #577 from eordano/feature/hdprivate
Refactor BIP32 -> HDPrivateKey and HDPublicKey
2014-12-01 10:14:38 -03:00
Esteban Ordano 865a69f6f2 add testing for key cache 2014-12-01 10:00:46 -03:00
Esteban Ordano 13fd2592fc Add autogenerated errors 2014-11-30 09:47:44 -03:00
Esteban Ordano 803027353a Change errors 2014-11-30 09:47:44 -03:00
Esteban Ordano 94f3f02210 Add missing javadocs 2014-11-30 09:47:44 -03:00
Esteban Ordano a2a51ecc0c Fix style: move each static function to an appropiate namespace 2014-11-30 09:47:44 -03:00
Esteban Ordano 53900f3196 Add cache to derivation 2014-11-30 09:47:44 -03:00
Esteban Ordano 4c0769fa09 100% test coverage on hdpublickey 2014-11-30 09:47:44 -03:00
Esteban Ordano edc5b24d69 100% test coverage for HDPrivateKey 2014-11-30 09:47:44 -03:00
Esteban Ordano 950ea6ed1a Add public key 2014-11-30 09:47:44 -03:00
Esteban Ordano ad74b549a1 Fixes interfaces 2014-11-30 09:47:44 -03:00
Esteban Ordano 5728c30371 Add tests 2014-11-30 09:47:44 -03:00
Esteban Ordano b89bdd19f8 Add HDPrivateKey class 2014-11-30 09:47:44 -03:00
Yemel Jardi bb0ec0ff73 Merge pull request #624 from maraoz/move/signature
move Signature to crypto/
2014-11-27 18:33:19 -03:00
Manuel Araoz 1f3d7d9872 move Signature to crypto/ 2014-11-27 16:42:44 -03:00
Manuel Aráoz 9e34dfe3dd Merge pull request #587 from braydonf/feature/karma
Tests: Add karma config and dependencies
2014-11-27 10:45:32 -03:00
Braydon Fuller c6a0803df2 Tests: Fix browser-test build 2014-11-26 18:13:03 -05:00
Braydon Fuller 6af3559a97 Merge pull request #3 from maraoz/feature/karma
add npm install hook for browserify
2014-11-26 18:09:11 -05:00
Manuel Araoz 115c581bd0 simplify gulpfile for watch:browser 2014-11-26 19:48:28 -03:00
Manuel Araoz 4fb0ddd8f2 use local gulp 2014-11-26 19:36:59 -03:00
Manuel Araoz 433cd81543 add npm install hook for browserify 2014-11-26 19:33:50 -03:00
Braydon Fuller 089744f645 Tests: Add firefox launcher to package.json for karma tests 2014-11-26 17:20:58 -05:00
Braydon Fuller a1efd60842 Merge pull request #2 from maraoz/feature/karma
make travis run all tests
2014-11-26 17:19:00 -05:00
Manuel Araoz 25651813e8 make travis run all tests 2014-11-26 18:50:53 -03:00