Ryan X. Charles
97b6e8b989
add deterministicK test vectors
These vectors were produced by @bip32JP and tested against a similar
implementation of the "badrs" approach to RFC 6979 in python-ecdsa as described
in this related bitcoinjs-lib PR:
https://github.com/bitcoinjs/bitcoinjs-lib/pull/337
10 years ago
Braydon Fuller
a1ee393dce
JSUtil: Return result quicker for isValidJSON and add additional tests.
10 years ago
Braydon Fuller
c20a0eabed
Check type of parsed JSON to determine it's an object and not a number.
10 years ago
Braydon Fuller
5449ad7bff
Add test case that incorrectly handles hexa string as json
10 years ago
Yemel Jardi
5e292490e8
update tests
10 years ago
Yemel Jardi
98cfd646e7
Allow creating a new random testnet HDPrivate key
10 years ago
Esteban Ordano
f56ddb2a0a
Rename properly utxo to unspentoutput
10 years ago
Esteban Ordano
7fe17e1699
Move explorers inside transport
10 years ago
Esteban Ordano
11975bc0df
Rename UTXO to Transaction.UnspentOutput
10 years ago
Esteban Ordano
1cf108ab47
Add tests for UTXO
10 years ago
Esteban Ordano
9362927b43
Add test coverage for Insight
10 years ago
bip32JP
bc6f592daa
fix tests
fix tests to match python-ecdsa
10 years ago
Esteban Ordano
901d836231
Add default network to PublicKey
Closes #871
10 years ago
Esteban Ordano
dbf47ef78f
transaction: better errors for signature methods
Closes #868
10 years ago
Yemel Jardi
dfc32e6712
Fix typo and remove unnecessary test
10 years ago
Yemel Jardi
d5f76e8517
Fix creation of a randomn testnet private key
10 years ago
Esteban Ordano
ffca4cfb6f
Fixes Script test case for coverage and style
10 years ago
Esteban Ordano
d688222769
Add toAddress(network) functionality to scripts
10 years ago
Esteban Ordano
dc92bdd474
Add getData functionality to script
10 years ago
Yemel Jardi
d922a625b9
Rename toFiat() to atRate()
10 years ago
Yemel Jardi
e7839d9ba2
Add from/to Fiat methods to Unit class
10 years ago
Esteban Ordano
c3a178061c
Adding G7 methods to HDPrivateKEy
10 years ago
Esteban Ordano
2006b3aae2
Add G7 methods to HDPublicKey
10 years ago
Manuel Araoz
4e775264fe
lint random.js
10 years ago
Manuel Araoz
aa6ecfd79b
hash 100% coverage
10 years ago
Manuel Araoz
fb57a60666
fix all tests
10 years ago
Manuel Araoz
6c518f1f45
refactoring interpreter
10 years ago
Manuel Araoz
370f69df88
refactor BN and ECDSA
10 years ago
Esteban Ordano
4980f7a646
Test coverage: last branch untested from PublicKey
10 years ago
Esteban Ordano
2a084e641c
Coverage for block and blockheader
* JSDocs where already good, written by @braydonf
10 years ago
Esteban Ordano
36e87d8822
PrivateKey, PublicKey, Network linted
* Added 100% test coverage for them also
10 years ago
Esteban Ordano
1ec4c7f512
Minor improvements on Address
* Update JSDocs
* Branch coverage 100%
* Removed duplicated test
* Updated names of tests
10 years ago
Esteban Ordano
b5f8188a1f
Lint and cover URI completely
10 years ago
Esteban Ordano
be599e5a1b
Review Unit class
* Add 100% code coverage
* Add custom error code
* Linted source and test
* More descriptive test messages
10 years ago
Esteban Ordano
99db72ba90
Add `uncheckedAddInput` function
* For internal usage: for example, testing Script.Interpreter
10 years ago
Esteban Ordano
9a73338c91
Add tests for changes to Transaction interface
10 years ago
Esteban Ordano
e5631b1a69
Modify transaction interface
* Add checks when serializing
* Add default _estimateSize to generic inputs
* Fix multisig size estimation
* Change _addOutput to addOutput
* Add addInput and using that internally
* Split `getFee` out from `_updateChangeOutput`
10 years ago
Esteban Ordano
3f1ddd68f2
Update transaction test data
10 years ago
Manuel Araoz
3d7b0c7474
standardize test files
10 years ago
Manuel Araoz
3dd86446e0
add Interpreter docs and refactor a bit
10 years ago
Braydon Fuller
7d15b2bf0f
Private Key: Fix bug with tests and missing "new"
10 years ago
Esteban Ordano
afb5b6971f
Add tests for bufferutils
10 years ago
Manuel Araoz
0387dffd70
remove outdated test
10 years ago
Yemel Jardi
d7b8b370f1
RPC: Refactor, documentation and tests
10 years ago
Braydon Fuller
bf5f770a67
Payment Protocol: Added tests and misc formatting
10 years ago
Yemel Jardi
4173f4b49e
include old files
10 years ago
Manuel Araoz
84deec297a
add tx_invalid tests
10 years ago
Esteban Ordano
c3ff63f041
Add P2SH change address test
10 years ago
Esteban Ordano
f7f7d147c6
Add change features
10 years ago
Esteban Ordano
5f5cf15241
Add capability to instantiate an Address from public keys and a threshold
10 years ago