Manuel Araoz
ee6f8d35ef
increase script test coverage
10 years ago
Kirill Fomichev
116024a7cb
fix Script.isPublicKeyHashOut
10 years ago
Manuel Araoz
ef7eafbb0c
increase test coverage and fix some bugs
10 years ago
Manuel Araoz
e0b1ca0e10
move some script logic from Address to Script
10 years ago
Manuel Araoz
3619c7c9e2
fix problematic cases
10 years ago
Manuel Araoz
62ea45a524
refactor Address<->Script relation
10 years ago
eordano
575993967c
Standardize optional parameters to Closure syntax
10 years ago
eordano
1a5780e35e
Script/Address: Add check for valid number of threshold needed
10 years ago
eordano
0bbde0c9de
Script: Update max length for standard opreturn to 80
10 years ago
Manuel Araoz
c664f211d2
add BufferReader.readVarLengthBuffer
10 years ago
Esteban Ordano
03f794b4a3
Add shorthand method toHex to Script
10 years ago
Esteban Ordano
26e688ae06
Add .toScriptHashOut() to scripts
- Also sort gulpfile dependencies
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
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