Yemel Jardi
f78ebeb46c
Refactor HDPrivateKey path validation
10 years ago
Yemel Jardi
884cae7349
Fix another typo
10 years ago
Yemel Jardi
bb3064d336
fix typo
10 years ago
Yemel Jardi
2aa5c65945
Add validations to derivation path
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
Esteban Ordano
ce8927690f
Add count for missing signatures
10 years ago
Esteban Ordano
ce94626908
Move: Script and Interpreter into subfolder
10 years ago
Braydon Fuller
d86e718743
Block: Updated documentation, and changed to use consistent naming.
10 years ago
Manuel Araoz
cd00b3ebe5
tx_valid tests passing!
10 years ago
Manuel Araoz
b3be9461cf
tx_valid tests passing!
10 years ago
Manuel Araoz
d56fb04575
add ScriptInterpreter#verify docs
10 years ago
Manuel Araoz
c272412df2
add sig_noncanonical.json tests
10 years ago