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
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
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
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
Manuel Araoz
d862506fed
fix code style
10 years ago
Manuel Araoz
2b3ce4de12
adds a test and small fix for transaction
10 years ago
Esteban Ordano
f3663e26d6
Don't add the same input twice
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
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
ff4a6f549d
Fixed bugs in IE11
10 years ago
Esteban Ordano
f56ddb2a0a
Rename properly utxo to unspentoutput
10 years ago
Esteban Ordano
dbf47ef78f
transaction: better errors for signature methods
Closes #868
10 years ago
Esteban Ordano
9a73338c91
Add tests for changes to Transaction interface
10 years ago
Manuel Araoz
3d7b0c7474
standardize test files
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
ce8927690f
Add count for missing signatures
10 years ago
Esteban Ordano
0df165f1c7
Unskip tests
10 years ago
Manuel Araoz
4fcc048311
script interpreting working
10 years ago
Esteban Ordano
de4d2884c7
Modify Transaction to use Multisig
* Allow `Script#add` to add a Script causing concatenation of opcodes
* Add `Script#equals` to compare scripts
* Add `Script#fromAddress`
* Drop `_payTo` methods
* Add `Script.buildP2SHMultisigIn`
Greatly simplifying the internal transaction object
10 years ago
Esteban Ordano
5c974a8ef2
Refactor transaction to match new API
* Refactor transaction into a different subfolder
* Added a lot of tests for sighash and transaction serialization (from
reddit's and Ryan X. Charles' `fullnode`)
* Drop "only" from sighash tests and consolidate logs
10 years ago