Esteban Ordano
979d284567
Transaction: add `removeInput` member
10 years ago
Esteban Ordano
e568a8786c
Transaction: Fix wrong logic on input addition
10 years ago
Manuel Araoz
a80dddf45e
style fix
10 years ago
Manuel Araoz
c664f211d2
add BufferReader.readVarLengthBuffer
10 years ago
Esteban Ordano
1f45e88268
Add fee to serialization
10 years ago
Esteban Ordano
ed393dcb91
Update change on each output or input change
10 years ago
Esteban Ordano
03f794b4a3
Add shorthand method toHex to Script
10 years ago
Esteban Ordano
614a228c79
Allow satoshis to be a string on output creation
10 years ago
Esteban Ordano
da90ff8617
Use the exposed interface to sighash on tests
10 years ago
Braydon Fuller
6fa7e7603a
Networks: Added the ability to define a custom network.
10 years ago
Manuel Araoz
d862506fed
fix code style
10 years ago
Manuel Araoz
2b3ce4de12
adds a test and small fix for transaction
10 years ago
Braydon Fuller
453ad0f311
Fix jshint complaints.
10 years ago
Braydon Fuller
6aa0d14bb9
Removed magicnumber and size as properties of a block.
10 years ago
Braydon Fuller
38b8c211f3
Fix jshint complaints.
10 years ago
Esteban Ordano
b416655222
block serialization: Add option skip magic numbers
10 years ago
Braydon Fuller
b6ba5dbc5a
Added test data for blocks from bitcoin core.
10 years ago
Yemel Jardi
42e2c6c525
Implement I5 on URI
10 years ago
Esteban Ordano
94969e3e99
Drop tests for explorer
10 years ago
Esteban Ordano
456b4345f0
Drop tests for p2p
10 years ago
Esteban Ordano
f3663e26d6
Don't add the same input twice
10 years ago
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
ca1d8e9eeb
Drop payment protocol submodule
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