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
Yemel Jardi
9deec5e1c2
Use defaultNetwork in Script.toAddress
10 years ago
Esteban Ordano
f74c7f3929
Simplify script to address method
10 years ago
Esteban Ordano
ffca4cfb6f
Fixes Script test case for coverage and style
10 years ago
Esteban Ordano
c1a1571535
Fix JSDoc for script
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
Esteban Ordano
de4413745d
Fix missing disambiguation
10 years ago
Manuel Araoz
3dd86446e0
add Interpreter docs and refactor a bit
10 years ago
Esteban Ordano
5f5cf15241
Add capability to instantiate an Address from public keys and a threshold
10 years ago
Esteban Ordano
ce94626908
Move: Script and Interpreter into subfolder
10 years ago
Esteban Ordano
ed9a9f6da9
Fix wrong jsdocs
10 years ago
Manuel Araoz
3eba0bc546
address review comments
10 years ago
Manuel Araoz
c888c3baa7
adding some signature methods for script interpreting
10 years ago
Manuel Araoz
3de71f8558
refactors and fixes for script interpreter
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
1535805f1c
Add PublicKeyHashInput class
10 years ago
Braydon Fuller
b13c4fb0c9
Added inspect prototype G5
10 years ago
Manuel Araoz
d3b761fc7c
Opcode('*').toNumber() -> Opcode.*
10 years ago
Manuel Araoz
53f6a31e73
refactor script
10 years ago
Manuel Araoz
f5b7f73d09
fixing tests for new script internals 2
10 years ago
Manuel Araoz
016bc6e3ed
fixing tests for new script internals
10 years ago
Manuel Araoz
ec464681fe
add sorting to Script#buildMutlisigOut()
10 years ago
Esteban Ordano
0c28bc1786
Split buildPKH arguments, add Copy constructor on publickey
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
Manuel Araoz
b61bd6f76a
add Script#isPushOnly()
10 years ago
Esteban Ordano
fd531de123
Update opcode and script transactions
10 years ago
Manuel Araoz
58b43345c0
add docs
10 years ago
Manuel Araoz
6c5198b743
fix a browser test
10 years ago
Manuel Araoz
d19ad6f384
remove commented code
10 years ago
Manuel Araoz
eaaab5c7d0
implement Script.buildScriptHashOut()
10 years ago
Manuel Araoz
4bca5316ea
implement Script.buildDDataOut()
10 years ago
Manuel Araoz
b87e687fd9
implement Script.buildPublicKeyHashOut()
10 years ago
Manuel Araoz
163925c754
implement Script.buildMultisigOut()
10 years ago
Manuel Araoz
4fae69807d
change isOpReturn to isDataOut
10 years ago
Manuel Araoz
d05aa27bed
finish all tests
10 years ago
Manuel Araoz
ef8f1eabd2
add script.isStandard()
10 years ago
Manuel Araoz
c4cc6ba56d
fix tests with new script api
10 years ago
Manuel Araoz
87c40193b9
add pubkey in pubkey out script types
10 years ago
Manuel Araoz
3e2bcaa297
more verbose invalid script error
10 years ago
Manuel Araoz
ed0fc6298c
fix classify tests
10 years ago
Manuel Araoz
7d9151abc6
fix classify tests
10 years ago
Manuel Araoz
293a3299d4
add classify tests
10 years ago
Manuel Araoz
72b5dcc6af
add Script.isMultisigIn
10 years ago
Manuel Araoz
96e1451d28
add script.isMultisigOut
10 years ago
Manuel Araoz
4a6755d0d1
add Script#prepend()
10 years ago
Manuel Araoz
ebf97aa4bb
fix condition style again
10 years ago
Manuel Araoz
94f1afbad7
fix tests
10 years ago
Manuel Araoz
98be01b207
fix conditional format
10 years ago