Esteban Ordano
41191a285f
Add alternative to create an Address
* When by error one has two instances of an address, an address
can't be instantiated from the other
10 years ago
Esteban Ordano
4fba2bc86c
Drop all rpc code/docs
10 years ago
Esteban Ordano
bdeac4e67d
Add inspect method to output
10 years ago
Esteban Ordano
26e688ae06
Add .toScriptHashOut() to scripts
- Also sort gulpfile dependencies
10 years ago
Braydon Fuller
84cc1a0042
Indicate internal use of getID with an underscore.
10 years ago
Braydon Fuller
b38f7fa319
Added getID to PublicKey
- Tests in BloomFilter in [bitcoin core](https://github.com/bitcoin/bitcoin/blob/master/src/test/bloom_tests.cpp#L85 ) use the CPubKey.GetID as input into the BloomFilter
- The hash is calculated when generating an Address however the hash itself is not currently available
10 years ago
Esteban Ordano
0f73c3f7a3
Throw error if dust amount is detected
10 years ago
Esteban Ordano
d99d1c9cc2
Add tests for serialization roundtrip of inputs
10 years ago
Esteban Ordano
d053599fd2
Improve test coverage
10 years ago
Esteban Ordano
fe86abc093
Add `change` when serializing transaction
10 years ago
Manuel Araoz
9d40564494
adding zuul
10 years ago
Braydon Fuller
8b505f0cfa
Fixed tests to handle a `defaultNetwork` change
- Updated tests to work for both 'testnet' and 'livenet' as the default network.
- Fixed a bug in Address where the network property was being set as a string.
- Fixed a bug in HDKeys to handle serialized keys when the defaultNetwork changed.
10 years ago
Braydon Fuller
bce28cd227
Fixed bug in IE11 that would cause MAX_MONEY verification test to fail.
10 years ago
Yemel Jardi
0beed6efa4
Refactor HDPublicKey path validation
10 years ago
Yemel Jardi
f78ebeb46c
Refactor HDPrivateKey path validation
10 years ago
Yemel Jardi
884cae7349
Fix another typo
10 years ago
Yemel Jardi
d369154162
Script: remember network when creating from address or pubkey
10 years ago
Braydon Fuller
ff4a6f549d
Fixed bugs in IE11
10 years ago
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
d2a2be7a93
Upgraded bn.js to fix public key calculation problem, restored crypto/point.js, and added additional tests.
10 years ago
Braydon Fuller
3de6acc176
Add tests that reveals incorrect public key calculation
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
bb3064d336
fix typo
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
Yemel Jardi
2aa5c65945
Add validations to derivation path
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
Yemel Jardi
9deec5e1c2
Use defaultNetwork in Script.toAddress
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