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 |
Ruben de Vries
|
7c7537fc57
|
use typeforce >= 1.6.2 which allows us to use `typeforce.TfTypeError` with a custom error message.
|
9 years ago |
Ruben de Vries
|
ce21c99b43
|
add failing test case for hash160/256 typeforce check
|
9 years ago |
Ruben de Vries
|
0e1424c2cb
|
fixed issues with integration tests that use the faucet
|
9 years ago |
Ruben de Vries
|
b601f50c70
|
fixed another test where TX was signed before locktime was set
|
9 years ago |
Daniel Cousens
|
67da1b30e3
|
address: fix compiled assumption for fromOutputScript
|
9 years ago |
Daniel Cousens
|
9a62ab600f
|
tests: update integration tests to use setLockTime
|
9 years ago |
Daniel Cousens
|
8a37c1193a
|
tests: add signature invalidation test for setLockTime
|
9 years ago |
Daniel Cousens
|
6c0745adce
|
TxBuilder: add setLockTime
|
9 years ago |
Ruben de Vries
|
ccec864785
|
locktime and version were set too late in test scenario and not included when signing (the test scenario).
|
9 years ago |
Daniel Cousens
|
35a2a6ba1e
|
tests/integration: increase multisig timeout
|
9 years ago |
Daniel Cousens
|
a5f1994f86
|
tests/integration: remove redundant check
|
9 years ago |
Daniel Cousens
|
f9f41addda
|
tests/integration: throw if no unspent is given
|
9 years ago |
Daniel Cousens
|
755c344e16
|
tests/integration: re-broadcast input tx to avoid missing inputs error
|
9 years ago |
Daniel Cousens
|
382409c575
|
tests: rm unused fixtures
|
9 years ago |
Daniel Cousens
|
b6d986dd10
|
tests/integration: amend lockTime example to allow redemption, add redepemtion examples
|
9 years ago |
Daniel Cousens
|
059f48b0c4
|
script_number: add impl/tests
|
9 years ago |
Daniel Cousens
|
e4ba88e54f
|
block: rename verifyPow to checkProofOfWork
|
9 years ago |
Daniel Cousens
|
bac700f52c
|
block: use buffer, faster, verified
|
9 years ago |
Daniel Cousens
|
86b51b2d62
|
add Block.calculateTarget, use Buffer comparison rather than bigi
|
9 years ago |
Daniel Cousens
|
26ccb43047
|
block: add Block.prototype.verifyPow
|
9 years ago |
Daniel Cousens
|
15227d39bf
|
tests: add more test fixtures for blocks
|
9 years ago |
Daniel Cousens
|
b077d7089d
|
tests/integration: change hodlDate to T+2 hours
|
9 years ago |
Daniel Cousens
|
b5d1b4a0da
|
tests/integration: s/message/transaction
|
9 years ago |
Daniel Cousens
|
cab3022719
|
add OP_CHECKLOCKTIMEVERIFY and integration tests
|
9 years ago |
Daniel Cousens
|
07cf0bd057
|
tests/integration: use actual=expected consistently for asserts
|
9 years ago |
Daniel Cousens
|
50f381fb5c
|
tests: add non-BIP62 compliant is*Output fixtures
|
9 years ago |
Daniel Cousens
|
dca7a38362
|
tests: remove unnecessary branch, fix bscript.fromHex undefined
|
9 years ago |
Kirill Fomichev
|
5de6818fcb
|
Fix TransactionBuilder.addOutput
|
9 years ago |
Daniel Cousens
|
74fd5ae71d
|
tests: loop faucet until an unspent is given
|
9 years ago |
Daniel Cousens
|
a686817f3c
|
tests: add m/n is data failing tests
|
9 years ago |
Kirill Fomichev
|
eae8bcf676
|
fix isMultisigOutput
|
9 years ago |
Daniel Cousens
|
0b4c67406f
|
use [].reverse over prototype
|
9 years ago |
Daniel Cousens
|
5c1c4589c0
|
remove use of buffer-reverse
|
9 years ago |
Daniel Cousens
|
731a31ecba
|
use buffer-reverse
|
9 years ago |
Daniel Cousens
|
daafb9794e
|
ECPair/HDNode: adds getNetwork
|
9 years ago |
Daniel Cousens
|
57d0ea84a2
|
HDNode: adds getPublicKeyBuffer
|
9 years ago |
Daniel Cousens
|
923266672b
|
HDNode: add sign/verify
|
9 years ago |
Daniel Cousens
|
888393fa8f
|
tests: add HDNode fromSeed throwing tests
|
9 years ago |
Daniel Cousens
|
36fce53408
|
integration: check all unspents, not just this one
|
9 years ago |
Daniel Cousens
|
05cfdf6a6a
|
docs: remove inline endian-ness notes, no endianness
|
9 years ago |
Daniel Cousens
|
945276fbef
|
ECPair: move throwing constructor tests to fixtures
|
9 years ago |
Daniel Cousens
|
322ade58e4
|
revert 4b825bf
|
9 years ago |
Daniel Cousens
|
f11cce0710
|
tests: verify ECPair loops until within interval
|
9 years ago |
Daniel Cousens
|
610f342707
|
tests: fix ECPair wrapper tests
|
9 years ago |
Daniel Cousens
|
74e7d1edbc
|
tests: add further tests for #404
|
9 years ago |
Daniel Cousens
|
0f9af83aa0
|
tests: add 2-of-3 multisig fixture
|
9 years ago |