Daniel Cousens
bdb0dd4a17
HDNode/tests: add testing for invalid network version from networks list
9 years ago
Karel Bilek
6a74eb6993
Renaming Path to Bip32Path, invalid to fixtures
Only thing I haven't been able to do is to add "undefined" to fixtures. So I could not properly test
that node.derivePath() properly fails as it should. However, I added "null" there, and "null" and "undefined"
behave in similar way in JavaScript, so that should catch that.
9 years ago
Karel Bilek
7a61526705
Testing path derivation
I am taking description field for the path.
9 years ago
Daniel Cousens
f47decaa2f
HDNode: adopt new strict network list parameters
10 years ago
Daniel Cousens
bdf92f73b4
HDNode: use throw over assert
10 years ago
Daniel Cousens
b6017b0fae
HDNode: move isPrivate logic
10 years ago
Daniel Cousens
1ac79b8327
tests: add test for non-matching network
10 years ago
Daniel Cousens
8bdfa881c9
tests: remove unused testing data
10 years ago
Daniel Cousens
311df7e406
HDNode: add optional network flag to import functions
10 years ago
Daniel Cousens
6dc3b4cc1e
tests: add unknown network HDNode version fixture
10 years ago
Daniel Cousens
64e307b13f
HDWallet: rename to HDNode
11 years ago
Daniel Cousens
99bb69bf20
HDWallet: moves hardened info to test data more explicitly
11 years ago
Daniel Cousens
938c43649d
HDWallet: remove unnecessary Base58 context on fromBuffer tests
11 years ago
Daniel Cousens
260705a24a
HDWallet: consistent test data ordering
Also adds network parameter for later moving the network specific tests
to be data driven.
11 years ago
Daniel Cousens
0e61f41a52
HDWallet: fix test data descriptions
11 years ago
Daniel Cousens
e8e862f632
HDWallet: adds PubKey validation
11 years ago
Daniel Cousens
759aeb9abc
HDWallet: remove repeated assertion
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
80da2ed2d5
HDWallet: add fromBase58 exception checks
11 years ago
Daniel Cousens
d2e921fce6
HDWallet: move test vectors to fixtures
11 years ago