Kyle Drake
|
ace3fd122c
|
Merge pull request #60 from bitcoinjs/hd-keychain-structure
HD wallet keychain structure
|
2014-03-17 17:00:18 -07:00 |
|
Wei Lu
|
a5ee07f7f6
|
Add tests to transaction deserialization
lock_time -> locktime
|
2014-03-17 16:31:35 +08:00 |
|
Wei Lu
|
9f2da415ea
|
fix script constructor array check
|
2014-03-17 16:13:49 +08:00 |
|
Wei Lu
|
31cfb11178
|
new master key resets accounts and addresses
|
2014-03-16 13:36:57 +08:00 |
|
Wei Lu
|
a7a7999e3f
|
fix Wallet default constructor
|
2014-03-15 10:18:59 +08:00 |
|
Wei Lu
|
b2f010428f
|
store accounts in closure instead of on object
|
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 |
|
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 |
|
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
|
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
|
a281a5ab53
|
migrate crypto-js to 3.1.2
|
2014-03-09 09:49:24 +08: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 |
|
Kyle Drake
|
a6706ea8be
|
fix spacing
|
2014-03-06 17:57:32 -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 |
|
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 |
|
Andreas Brekken
|
81b44ef269
|
Add RFC test vectors for convert.bytesToBase64
|
2014-03-01 18:08:52 +01:00 |
|
Wei Lu
|
2e97828379
|
throws exception if specified network is unknown
also move network type tests to hdwallet
|
2014-02-28 17:59:01 +08:00 |
|
Wei Lu
|
02b3a2b564
|
HDWallet prod -> mainnet
|
2014-02-28 17:28:03 +08:00 |
|
Wei Lu
|
eaf84c4283
|
move address versions into network
Also change address type name:
address_types -> addressVersion
p2sh_types -> p2shVersion
prod -> mainnet
|
2014-02-28 16:58:14 +08:00 |
|
Wei Lu
|
293c864f4f
|
HD wallet versions: Bitcoin -> prod, BitcoinTest -> testnet
|
2014-02-28 14:27:31 +08:00 |
|
Wei Lu
|
cc0a042f2f
|
squashed commits from #27
|
2014-02-28 12:05:48 +08:00 |
|
Wei Lu
|
09ee406106
|
Revert "Merge pull request #27 from xnova/master"
due to broken tests, moved the changes to branch hd-testnet-support
This reverts commit a4ba59e9ba , reversing
changes made to 36d3d6ebaa .
|
2014-02-28 11:52:19 +08:00 |
|
xnova
|
2ca02c47ce
|
added testcases for new logic
|
2014-02-27 12:25:28 -05:00 |
|
Wei Lu
|
36d3d6ebaa
|
use options in wallet contructor & add tests
[#26]
|
2014-02-27 11:55:35 +08:00 |
|
Michael Gooden
|
b8215dea60
|
Add testnet support to Address and ECKey, more tests.
Signed-off-by: Michael Gooden <me@michaelgooden.net>
|
2014-02-24 18:31:18 +02:00 |
|
Andreas Brekken
|
966d2ee90d
|
Remove obsolete bip32.js
|
2014-01-16 14:03:34 +07:00 |
|
Andreas Brekken
|
5f9e2624f8
|
Rewrite HD Wallet (BIP0032) with all test vectors
|
2014-01-16 14:03:09 +07:00 |
|
Andreas Brekken
|
6cc7a23bdd
|
Begin work to properly cover the test vectors from bip32 docs
|
2014-01-11 16:31:48 +07:00 |
|
Andreas Brekken
|
f591cc0111
|
Reformat all tests for more modern mocha syntax (describe, it)
|
2014-01-11 13:57:43 +07:00 |
|
Andreas Brekken
|
d6290ef5df
|
Rename test files to match what they test
|
2014-01-11 13:54:23 +07:00 |
|
Pablo Martin
|
f9cbcbeb2b
|
missing BIP32_PRIME definition in bip32 tests.
|
2013-12-12 17:46:39 +01:00 |
|
Pablo Martin
|
740a0fcb7d
|
test vectors for bip32.
|
2013-12-12 11:14:27 +01:00 |
|
Roman Shtylman
|
41f0027883
|
port message to common.js style and add tests
|
2013-03-02 12:28:13 -05:00 |
|
Roman Shtylman
|
e94636ef25
|
fix test require so browserify works for testling
|
2013-02-17 00:51:16 -05:00 |
|
Roman Shtylman
|
0faac29134
|
start to split into node commonjs style modules
- no longer is the global Bitcoin used for modules
- cleaner and more maintainable code
- add more tests
|
2013-02-17 00:40:14 -05:00 |
|
Stefan Thomas
|
50b13d2941
|
More work on split key protocol.
|
2011-09-03 19:36:45 +01:00 |
|
Stefan Thomas
|
e8fba132cf
|
Added more tests.
|
2011-08-29 12:10:11 +01:00 |
|
Stefan Thomas
|
1df76fd793
|
Add tests.
|
2011-08-26 20:47:48 +01:00 |
|