Daniel Cousens
5dcf38c0c5
HDNode: clearer error for bad path type
8 years ago
Daniel Cousens
3504ccfa3c
tests: test what was removed in #460
8 years ago
Daniel Cousens
17377381c4
TransactionBuilder: if prevOutScript is defined, but not signable, try 1 last time
8 years ago
Daniel Cousens
ecc6d45a7e
types: add Satoshi
8 years ago
Daniel Cousens
9b473ca57b
tests/integration: bump timeouts to 30s each
8 years ago
Daniel Cousens
29a865788d
use varuint-bitcoin
8 years ago
Daniel Cousens
de6671ecaa
rm integration tests
9 years ago
Daniel Cousens
7cdabef954
ecdsa: remove unused functions
9 years ago
Daniel Cousens
87cb018466
rm message module
9 years ago
Daniel Cousens
fd40232147
package: remove buffer-compare/buffer-equals
8 years ago
Daniel Cousens
ed093aec69
stealth: more explicit inner variable names
8 years ago
Daniel Cousens
b91cfcf196
package: update to typeforce 1.8.7
8 years ago
Daniel Cousens
c1570f8056
script: always compile in a minimaldata compliant way
8 years ago
Daniel Cousens
76c7c77311
tests: add failing test for #633
8 years ago
Daniel Cousens
418c315c78
tests: clarify multisig edge case for easier debugging
8 years ago
Daniel Cousens
ae63ae1131
tests: change error thrown for consistency with multisig
8 years ago
Daniel Cousens
d5eec5df70
tests: fix invalid test description
8 years ago
Daniel Cousens
fdb0ceeeb5
testing: rename cltvCheckSigInput to cltvCheckSigOutput
8 years ago
Daniel Cousens
fd0be5e5b8
tests: add missing parenthesis
8 years ago
Daniel Cousens
87f0d33a01
tests: script-number, not script
8 years ago
Daniel Cousens
4cfe950403
tests: adhere to camelCase
8 years ago
Daniel Cousens
17c6ff62a0
bufferutils: fix pushDataInt output
8 years ago
Daniel Cousens
1f62235c38
tests: add failing script decode
8 years ago
Daniel Cousens
d96b7036fb
tests: add BIP62 compliance tests
8 years ago
Daniel Cousens
e74b882e54
tests: improved readability for stealth address code
9 years ago
Daniel Cousens
f2ecbeb90f
tests/integration: separate crypto tests
9 years ago
Daniel Cousens
ddea2d2296
tests/integration: separate CLTV tests, add failing expiry (in future)
9 years ago
Daniel Cousens
fa54ba4f82
tests/transaction: add test for target Buffer
9 years ago
Daniel Cousens
fcb6ac9de6
tests: avoid superfluous ECPair creation
9 years ago
Daniel Cousens
817e10513c
tests: cleanup
9 years ago
Daniel Cousens
20a026aefe
scripts/tests: add witness* scripts
9 years ago
Daniel Cousens
39fd34a947
tests/types: avoid unnecessary join
9 years ago
Daniel Cousens
6faeae397f
TxBuilder: add setVersion
9 years ago
Daniel Cousens
4898cc7b67
tests: add tests for Transaction.hashForSignature
9 years ago
Daniel Cousens
07628ff034
tests: avoid deepEqual, hex is easier to debug
9 years ago
Daniel Cousens
d58e09a3a7
Block: add checkMerkleRoot
9 years ago
Daniel Cousens
ea2a7449ad
tests: add isCoinbase tests and flags to fixtures
9 years ago
Daniel Cousens
31923197ea
tests: add more complex integration transaction
9 years ago
Daniel Cousens
9db67bb3b1
Cleanup for #540 ( #551 )
* Txbuilder: early exit as soon as possible
* Txbuilder: prefer function declaration over variable
* TxBuilder: extract extractFromOutputScript
* TxBuilder: extract buildFromInputData
9 years ago
Daniel Cousens
aae5db6a59
ECPair/HDNode: missing version from list is Unknown, not Invalid
9 years ago
Daniel Cousens
bdb0dd4a17
HDNode/tests: add testing for invalid network version from networks list
9 years ago
Daniel Cousens
9e32c892ef
ECPair/tests: always use WIF for error throwing
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
d2b43f1dfe
Validating path
Again through typeforce
9 years ago
Karel Bilek
755eac5bbd
Doubling down on the path testing
Maybe overdoing it a bit :)
9 years ago
Karel Bilek
7a61526705
Testing path derivation
I am taking description field for the path.
9 years ago
Karel Bilek
4a72001335
Typechecking indexes
As a consequence, it will not allow accidentally double-hardened indexes.
It also won't allow strings or forgotten parameters.
9 years ago
Karel Bilek
bfd294c31e
Adding tests for isNeutered
9 years ago
Karel Bilek
3df2976e2c
Using private key for testing neuterization
To test removing private information, it's probably better to start with them :)
9 years ago
Daniel Cousens
1771067dfc
tests: fix standard error, reword descriptions
9 years ago