Manuel Araoz
8ca396c34f
refactor transaction input deserializtion
10 years ago
Manuel Araoz
a7fdcc13a0
weird -> anyone can spend
10 years ago
Manuel Araoz
eae1638b32
add coverage
10 years ago
Manuel Araoz
0f17927fde
fix 0 fee error
10 years ago
Manuel Araoz
aa1158097d
fix bug in change calculation
10 years ago
Manuel Araoz
986264e181
add locktime docs and Transaction#getLockTime
10 years ago
Esteban Ordano
f8974b383a
transaction: Change variable name from time to height
10 years ago
Esteban Ordano
7cf3b6eb91
Split setLockTime in two methods
10 years ago
Esteban Ordano
78189f61d9
Rewrite of Transaction doc
10 years ago
Esteban Ordano
d136715322
Dust: Add test: OP_RETURN is not dust
10 years ago
Esteban Ordano
73a973359b
Fix invocations to binary operations called on numbers
10 years ago
Esteban Ordano
6b05f20397
Add the new operator when BN was used without it
10 years ago
Esteban Ordano
7a73f582b4
HDKeys: add toBuffer/fromBuffer to HDPublicKey
10 years ago
Esteban Ordano
28a1eae0be
HDKeys: add toBuffer/fromBuffer to HDPrivateKey
10 years ago
Esteban Ordano
0bae82fdf4
Add fromBuffer and toBuffer to PrivateKey
10 years ago
Esteban Ordano
7975c59ba7
UnspentOutput: Fix issue when 0 being feed as amount
10 years ago
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