Commit Graph

42 Commits

Author SHA1 Message Date
Brandon Robertz a38c0c2d93 modularize network version check/tests issues/1265 2015-06-09 14:06:22 -07:00
Utente d60d8cf2bc fixed PrivateKey initialization from JSON 2015-06-03 12:23:01 -07:00
eordano 9409698e06 Fix validation error 2015-02-24 17:49:26 -03:00
Esteban Ordano bd172e7c09 Merge pull request #1110 from maraoz/fix/#1096
fix #1096: PrivateKey#toAddress(network)
2015-02-24 15:54:16 -03:00
Manuel Araoz c4666044e9 fix #1096: PrivateKey#toAddress(network) 2015-02-24 15:34:44 -03:00
eordano 575993967c Standardize optional parameters to Closure syntax 2015-02-24 15:31:13 -03:00
eordano fcc9081ddd Fix JSDocs from String to string 2015-02-24 15:31:12 -03:00
Trevin Hofmann 374e43bed2 Properly capitalize Base58Check and Base58 2015-02-13 21:40:20 -06:00
Manuel Aráoz 6e27dc3a9a Merge pull request #1043 from eordano/performance/bn
Drop inherited and modified BN class for big improvement on performance
2015-02-06 11:28:02 -03:00
Esteban Ordano 73a973359b Fix invocations to binary operations called on numbers 2015-02-05 17:28:45 -03:00
Esteban Ordano 6b05f20397 Add the new operator when BN was used without it 2015-02-05 16:46:18 -03:00
Esteban Ordano 0bae82fdf4 Add fromBuffer and toBuffer to PrivateKey 2015-02-05 15:05:47 -03:00
Braydon Fuller 39484c755e Fixed typo in docs 2015-01-28 11:10:06 -05:00
Yemel Jardi e57d02c03c Use define immutable helper 2015-01-08 10:57:46 -03:00
Yemel Jardi 9f8e2c721f fix typo 2015-01-02 18:25:08 -03:00
Yemel Jardi ff844e9935 Change PrivateKey.toString from WIF to hex format 2015-01-02 18:15:17 -03:00
Yemel Jardi d5f76e8517 Fix creation of a randomn testnet private key 2014-12-30 18:44:27 -03:00
Manuel Araoz 6c518f1f45 refactoring interpreter 2014-12-19 18:28:52 -03:00
Esteban Ordano 36e87d8822 PrivateKey, PublicKey, Network linted
* Added 100% test coverage for them also
2014-12-19 16:18:05 -03:00
Braydon Fuller 6d42e01718 Fix formatting issue with examples 2014-12-18 17:07:01 -05:00
Braydon Fuller 7d15b2bf0f Private Key: Fix bug with tests and missing "new" 2014-12-17 12:34:21 -05:00
Esteban Ordano d1a590dc89 Merge pull request #719 from yemel/refactor/remove-compressed
Remove compressed argument from PrivateKey and PublicKey constructors
2014-12-15 18:49:39 -03:00
Esteban Ordano de4d2884c7 Modify Transaction to use Multisig
* Allow `Script#add` to add a Script causing concatenation of opcodes
* Add `Script#equals` to compare scripts
* Add `Script#fromAddress`
* Drop `_payTo` methods
* Add `Script.buildP2SHMultisigIn`

Greatly simplifying the internal transaction object
2014-12-15 18:19:54 -03:00
Yemel Jardi 428bcaf4c9 Remove compressed argument from private key and public key constructors 2014-12-15 14:48:17 -03:00
Braydon Fuller 96c7812ed1 PrivateKey: Lodash to check if undefined, and made tests not random (T2) 2014-12-15 10:20:38 -05:00
Braydon Fuller 920f25b58e Tests: Added bitcoind base58 key data and tests 2014-12-13 16:10:41 -05:00
Braydon Fuller c0bbf96dc1 Keys: Added toObject method and changed toJSON to return a string 2014-12-12 18:47:15 -05:00
Braydon Fuller 0e7f5e89f2 Fixed issue with js util naming 2014-12-12 17:54:48 -05:00
Braydon Fuller 4ddf3d117c Keys: Modified and added standardized toJSON/fromJSON prototypes 2014-12-12 13:39:49 -05:00
Braydon Fuller 5b0bedee6c PrivateKey: Fixed documentation 2014-12-11 13:29:21 -05:00
Braydon Fuller d4d3d4ab4a PrivateKey: Add documentation and refactor to use network object as a parameter. 2014-12-11 13:21:09 -05:00
Esteban Ordano f8397a617e Add option to create private key from hex 2014-12-09 11:40:30 -03:00
Esteban Ordano baf6a24d23 Add ".publicKey" property to PrivateKey 2014-12-09 11:21:47 -03: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
Braydon Fuller b91b0fe4a5 PrivateKey: Use defaultNetwork if not specified 2014-12-01 18:10:18 -05:00
Braydon Fuller 4adf1fcb14 Network: Replaced all instances of mainnet with livenet for consistency 2014-12-01 17:31:39 -05:00
Braydon Fuller 3298a01498 Immutable Address, PublicKey and PrivateKey 2014-12-01 12:44:32 -05: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
Braydon Fuller 95b489c306 JSDoc: Update Address, PublicKey and PrivateKey so that they are documented. 2014-11-26 14:21:45 -05:00
Braydon Fuller 7de28610a5 Keys: Fix browser data types 2014-11-25 15:30:25 -05:00
Braydon Fuller 85ce140aeb Keys: Renamed Privkey to PrivateKey and Pubkey to PublicKey 2014-11-25 13:21:53 -05:00