Daniel Cousens
5d2abb523e
HDNode: use typeforce.tuple for arguments
10 years ago
Daniel Cousens
f47decaa2f
HDNode: adopt new strict network list parameters
10 years ago
Daniel Cousens
ec9cea0cf1
tests: use strictEqual always
10 years ago
Daniel Cousens
ab66c983af
tests: check HDNode stores keyPair/chainCode
10 years ago
Daniel Cousens
e106d02731
standard formatting fixes
10 years ago
Daniel Cousens
4c8b0f38ea
replace ECKey/ECPubKey with ECPair
10 years ago
Daniel Cousens
57856a0a25
tests: test autodetect in networks, fixed networks in HDNode
10 years ago
Daniel Cousens
8d3686d046
remove deprecated functionality
10 years ago
Daniel Cousens
399803affa
use standardjs formatting
10 years ago
Daniel Cousens
9daf937e93
tests: add API consistency and tests for #366
10 years ago
Daniel Cousens
1ac79b8327
tests: add test for non-matching network
10 years ago
Daniel Cousens
311df7e406
HDNode: add optional network flag to import functions
10 years ago
Daniel Cousens
6b429493f8
hdnode: add deprecation message for isPrivate
11 years ago
Daniel Cousens
2fbd9449f5
tests: use neutered rather than import/export
11 years ago
Daniel Cousens
9d92b6a1a8
HDNode: add neuter functionality
11 years ago
Daniel Cousens
e69ba7ce76
HDNode: assert chain code length
11 years ago
Daniel Cousens
56d9ea6618
HDNode: fix error spelling
11 years ago
Daniel Cousens
ddcde038d0
HDNode: enforces sane seed lengths
11 years ago
Daniel Cousens
92da7975e4
Network: use capitalization
11 years ago
Daniel Cousens
f42993297c
ecurve: upgrade to 0.9.0
11 years ago
Daniel Cousens
553ade1208
network: always use lowercase
11 years ago
Daniel Cousens
4ce9015f3b
use ecurve instead of custom ec
11 years ago
Daniel Cousens
eb3a6bcb31
all: rename D to d as per SEC convention
11 years ago
Daniel Cousens
943621f466
Address/HDNode: fix test descriptions
11 years ago
Daniel Cousens
6a73bc02f5
HDNode: rename priv/pub to privKey/pubKey
11 years ago
Daniel Cousens
dca193be4e
HDNode: adds neutered test examples
11 years ago
Daniel Cousens
64e307b13f
HDWallet: rename to HDNode
11 years ago
Daniel Cousens
c340f5cf83
HDWallet: now export all information by default
11 years ago
Daniel Cousens
dca284a131
HDWallet: rename derivePrivate to deriveHardened
11 years ago
Daniel Cousens
29fbbaa58d
HDWallet: adds Public -> public tests
11 years ago
Daniel Cousens
99bb69bf20
HDWallet: moves hardened info to test data more explicitly
11 years ago
Daniel Cousens
4cec42a8d8
HDWallet: add to/fromHex tests
11 years ago
Daniel Cousens
533d61380a
HDWallet: improve testing coverage
11 years ago
Daniel Cousens
c0006c299f
HDWallet: use new constructor
11 years ago
Daniel Cousens
58dd86bda1
HDWallet: moves fromBuffer tests to data driven style
11 years ago
Daniel Cousens
799b69eb1e
HDWallet: use assert.throws
11 years ago
Daniel Cousens
749943cb4e
HDWallet: clarify test intention
11 years ago
Daniel Cousens
80da2ed2d5
HDWallet: add fromBase58 exception checks
11 years ago
Daniel Cousens
4952c5f4e7
HD/Wallet: use network objects, not strings
11 years ago
Daniel Cousens
8b3634c866
HDWallet: adds missing exception regex
11 years ago
Kyle Drake
600209b1a6
hdwallet: remove fromHex, add better tests for edge cases
11 years ago
Daniel Cousens
d2e921fce6
HDWallet: move test vectors to fixtures
11 years ago
Daniel Cousens
10fe4474d1
ECKey: remove *Buffer/*Hex functions
An ECKey is a composition of a private key (D), a public key (Q) and its
compression flag.
These functions gave the impression of serialization of this
composition, when really they only serialized `D`.
They have therefore been removed in favour of always using a sane
serialization format (WIF) that matches the needed behaviour.
If a user needs the previous functionality, simply use `privKey.D.*`
instead of `privKey.*`, as BigInteger supports `*Buffer/*Hex` functions
as expected.
11 years ago
Daniel Cousens
6c0eebe94b
tests: use filepaths directly
After a long IRC discussion, it was decided that the use of direct
filepaths instead of the module is a more pure form of testing ,
although it may provide less overall coverage than the mixed integration
style imports used previously.
This will need to be remedied by further integration testing in
/test/integration.
11 years ago
Daniel Cousens
633b8f28d2
Fixes incorrect PubKey hex constant
11 years ago
Daniel Cousens
02691098de
Stretches test for derive m/0 from xpub
11 years ago
Daniel Cousens
ff08c2eec3
Fixes #167 and adds temporary test
11 years ago
Daniel Cousens
77747241d4
Fixes exception typo
11 years ago
Daniel Cousens
b09dd73cbe
Enforces bytesToWordArray only operates on byte arrays
11 years ago
Daniel Cousens
b4f70dcdde
Migrates ECKey to stricter API
11 years ago