Commit graph

496 commits

Author SHA1 Message Date
Wei Lu
b2f010428f store accounts in closure instead of on object 2014-03-14 10:35:01 +08:00
Wei Lu
d4f3398d91 remove keys array and usage 2014-03-14 10:35:01 +08:00
Wei Lu
207163704b return private key rather than HD wallet node 2014-03-14 10:35:01 +08:00
Wei Lu
9200479159 getPrivateKey derives key on the fly
also added getPrivateKeyFromAddress
2014-03-14 10:35:01 +08:00
Wei Lu
ab9e782d14 private a method to generate change addresses 2014-03-14 10:35:00 +08:00
Wei Lu
1212099bfc Wallet address derivation follows bip32/bitcoinj keychain structure
Also wallet accepts bytes in constructor

[#60]
2014-03-14 10:34:37 +08:00
Wei Lu
44012b47b5 change hd wallet constructor to take bytes
original constructor -> fromSeedString, fromMasterHex -> fromSeedHex

[#60]
2014-03-14 10:03:56 +08:00
Wei Lu
142b847968 HD wallet fromMaterHex allows specifying network
[#60]
2014-03-14 10:03:56 +08:00
Kyle Drake
4b1b9d9cb6
fix compile script #65 2014-03-13 18:41:42 -07:00
Kyle Drake
ac895ca9f9
Travis image, remove 0.6 test 2014-03-12 16:39:44 -07:00
Kyle Drake
aaf037aff7
add newline to README 2014-03-12 16:31:56 -07:00
Kyle Drake
e9fab62f33 Merge pull request #63 from coinpunk/coverage
cleanup runners, add coverage script, fix typo
2014-03-11 18:11:12 -07:00
Kyle Drake
0d9c78fd74 Merge pull request #64 from coinpunk/removeendiancode
remove endian code in index.js nothing is using
2014-03-11 18:10:56 -07:00
Kyle Drake
eb4da5f5c5
remove endian code in index.js nothing is using 2014-03-11 12:26:59 -07:00
Kyle Drake
c277fed4e1
cleanup runners, add coverage script, fix typo 2014-03-11 12:23:37 -07:00
Kyle Drake
7219c27413 Merge pull request #62 from bitcoinjs/compressed-sign
Fix sign/verify for with compressed keys
2014-03-11 12:12:52 -07:00
Kyle Drake
b6f6a10b36 Merge pull request #59 from bitcoinjs/remove-demo
remove demo
2014-03-11 12:12:40 -07:00
Andreas Brekken
08e75a82c9 Add whether pubkey recovered from sig is compressed. close #61 2014-03-11 18:28:04 +01:00
Andreas Brekken
f09890fed1 Determine whether key is compressed from the key itself. ref #61 2014-03-11 18:26:40 +01:00
Andreas Brekken
29ad6b692e Message signing does not work with compressed keys. ref #61 2014-03-11 18:25:36 +01:00
Wei Lu
3d6b66e811 move convert methods from util to convert 2014-03-11 09:52:48 +08:00
Wei Lu
227fa97500 remove old crypto-js 2014-03-11 09:32:06 +08:00
Wei Lu
9c15fa0cbf Merge pull request #57 from bitcoinjs/upgrade-crypto-js
Use crypto-js as a module from npm
2014-03-11 09:14:49 +08:00
Wei Lu
45e55a07b0 fix transaction serialization/deserialization
[closes #58]
2014-03-09 13:46:20 +08:00
Wei Lu
d2b790fef9 throw error when input to script constructor is not an array
[#58]
2014-03-09 13:43:36 +08:00
Wei Lu
56e37e744b remove demo 2014-03-09 10:11:57 +08:00
Wei Lu
a281a5ab53 migrate crypto-js to 3.1.2 2014-03-09 09:49:24 +08:00
Kyle Drake
8a2a9cb4e7
note for more projects 2014-03-08 15:12:18 -06:00
Kyle Drake
36cd938fef
order project usage by popularity 2014-03-08 15:10:39 -06:00
Kyle Drake
e4c25ba0cc
updates to the README 2014-03-08 15:08:08 -06:00
Wei Lu
33857437db add tests for bytes and words conversion 2014-03-07 22:44:49 +08:00
Wei Lu
bf1be94fe3 add tests for checkEncode and checkDecode 2014-03-07 22:44:41 +08:00
Wei Lu
78c257ff9b Merge pull request #55 from coinpunk/opcodecleanups
new Opcode() is not used
2014-03-07 15:26:37 +08:00
Wei Lu
ef1a4017f8 Merge pull request #54 from coinpunk/moreaddresstesting
More address testing
2014-03-07 15:17:03 +08:00
Wei Lu
ad9f1ddfd5 Merge pull request #53 from coinpunk/base58cleanup
Remove unused hex helpers
2014-03-07 15:03:23 +08:00
Kyle Drake
6f04743081
new Opcode() is not used 2014-03-06 18:14:28 -06:00
Kyle Drake
a6706ea8be
fix spacing 2014-03-06 17:57:32 -06:00
Kyle Drake
8471df7317
remove unused hex helpers 2014-03-06 17:54:36 -06:00
Kyle Drake
09925cff5a
cleanup throw tests, add case for bad input 2014-03-06 17:27:40 -06:00
Kyle Drake
fdc78dad2e
merge weilu's changes 2014-03-06 17:21:42 -06:00
Wei Lu
2f3e597596 reorganize address tests #50 2014-03-06 09:45:56 +08:00
xnova
786198f130 * Fixes address.js to be able to deal with testnet P2SH addresses
* Enhanced address.js testsuite...now also verifies address versions
* Enhances README to show how to run test suite
2014-03-05 16:53:29 -05:00
Wei Lu
db8b38803c update testling config & add badge to readme
[#48]
2014-03-03 12:07:30 +08:00
Wei Lu
bde9b13b15 remove isArray shim
[closes #40]
2014-03-03 11:27:19 +08:00
Kyle Drake
a8d9708caa Merge pull request #46 from xnova/master
include 'network' in the library exports
2014-03-01 18:16:46 -08:00
xnova
f50c1a91f7 include 'network' in the library exports 2014-03-01 21:10:02 -05:00
Kyle Drake
e7de3540d1 Merge pull request #44 from justcoin/tidy-scripts
Tidy up script.js
2014-03-01 15:26:24 -08:00
Kyle Drake
f4b819e1af Merge pull request #43 from justcoin/remove-event-emitter
Remove event emitter
2014-03-01 15:21:51 -08:00
Kyle Drake
9f74a13864 Merge pull request #42 from justcoin/remove-txdb
Remove txdb.js
2014-03-01 15:21:41 -08:00
Kyle Drake
b9de999434 Merge pull request #28 from bitcoinjs/hd-testnet-support
HD testnet support (#27) + unify network names
2014-03-01 15:21:08 -08:00