Daniel Cousens
|
29a1a839ec
|
script: exposes scriptNumber through script.number
|
9 years ago |
Daniel Cousens
|
693e39c061
|
script: use Buffer.isBuffer consistently
|
9 years ago |
Daniel Cousens
|
f60cb2e491
|
scripts: ensure isPubKeyHashOutput/isScriptHashOutput adhere to BIP62
|
10 years ago |
Alex Seville
|
a1da3065c4
|
Remove `const` and replace with `var`
To keep the project consistenly ES5.
Source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const
|
9 years ago |
Daniel Cousens
|
173994c6e0
|
script: avoid slice if n !== pubKeys.length
|
9 years ago |
Daniel Cousens
|
0ca1e40a6d
|
script: refactor isMultisigOutput for clarity
|
9 years ago |
Daniel Cousens
|
5be9b04741
|
script: isolate initialization of REVERSE_OPS
|
9 years ago |
Daniel Cousens
|
74c2f1d957
|
script: n/m must be numbers, not data
|
9 years ago |
Kirill Fomichev
|
eae8bcf676
|
fix isMultisigOutput
|
9 years ago |
Daniel Cousens
|
48dc0a9054
|
script: no need to use readUInt8
|
10 years ago |
Daniel Cousens
|
92937a8ded
|
script: rm unused ecurve
|
10 years ago |
Daniel Cousens
|
3106fc13ca
|
script: refactor isCanonicalPubKey to bitcoin-core equivalent
|
10 years ago |
Daniel Cousens
|
0ff5bd5698
|
script: add isDefinedHashType to check hashType
|
10 years ago |
Daniel Cousens
|
abac254d0d
|
script: use bip66 for signature checking
|
10 years ago |
Daniel Cousens
|
6ec687deba
|
rename scripts to script
|
10 years ago |
Daniel Cousens
|
ab1215adc1
|
scripts: refactor to/from ASM
|
10 years ago |
Daniel Cousens
|
b933c6da44
|
scripts: re-add constrained hash types to *HashOutput
|
10 years ago |
Daniel Cousens
|
e2abe2b3af
|
merge Script/scripts
|
10 years ago |
Daniel Cousens
|
151386c46d
|
scripts: remove coercion, fromASM returns Buffer
|
10 years ago |
Daniel Cousens
|
e05f8a542d
|
remove Script object
|
10 years ago |
Daniel Cousens
|
e743c58ed6
|
remove usage of instanced Scripts
|
10 years ago |
Daniel Cousens
|
e4b697a261
|
scripts: remove use of assert
|
10 years ago |
Daniel Cousens
|
254b670427
|
add types
|
10 years ago |
Daniel Cousens
|
f64df79555
|
*: adhere to standard 3
|
10 years ago |
Daniel Cousens
|
4c8b0f38ea
|
replace ECKey/ECPubKey with ECPair
|
10 years ago |
Daniel Cousens
|
d00ec9af29
|
scripts: fix isScriptHashInput classification
|
10 years ago |
Daniel Cousens
|
af3491822e
|
scripts: multisigInput only uses scriptPubKey for validation, OP_0 validation not necessary
|
10 years ago |
Daniel Cousens
|
8d3686d046
|
remove deprecated functionality
|
11 years ago |
Daniel Cousens
|
0bba21546f
|
various: more standard-format artifact fixes
|
10 years ago |
Daniel Cousens
|
399803affa
|
use standardjs formatting
|
10 years ago |
Daniel Cousens
|
c9826221fb
|
scripts: catch error in Script.fromBuffer
|
10 years ago |
Daniel Cousens
|
5f761113cc
|
tests: if description undefined, use exception
|
10 years ago |
Daniel Cousens
|
c35d4b46c5
|
scripts: add allowIncomplete for multisig scripts
|
10 years ago |
Daniel Cousens
|
0524ced984
|
scripts: enforce pubKeys as type ECPubKey
|
10 years ago |
Daniel Cousens
|
e42c497a3c
|
package: use typeforce
|
10 years ago |
Daniel Cousens
|
f8f459dda8
|
scripts: add dataOutput deprecation
|
10 years ago |
Daniel Cousens
|
e4eb743cf9
|
scripts: expose is* classifiers
|
10 years ago |
Daniel Cousens
|
62e86e0dc1
|
scripts: s/dataOutput/nullDataOutput/
|
10 years ago |
Daniel Cousens
|
ea66edeb5c
|
scripts: add dataOutput convenience function
|
10 years ago |
Daniel Cousens
|
ddb24ee615
|
scripts: check chunks length properly
|
10 years ago |
Daniel Cousens
|
b65e70b29c
|
scripts: remove explict else branch
|
10 years ago |
Daniel Cousens
|
1a20c0db39
|
scripts: avoid unnecessary this context
|
10 years ago |
Daniel Cousens
|
b7febc1bd8
|
scripts: re-order classify functions
|
10 years ago |
Daniel Cousens
|
407d15869a
|
scripts: s/opcodes/ops
|
10 years ago |
Daniel Cousens
|
bc2048dfca
|
scripts: remove out-of-date comments
|
10 years ago |
Daniel Cousens
|
35542e115d
|
types: enforce consistent type checking
|
11 years ago |
Daniel Cousens
|
e1479b6fa5
|
scripts: add error for >n signatures with multisig
|
11 years ago |
Daniel Cousens
|
886bdee947
|
scripts: remove unused 2nd argument in function call
|
11 years ago |
Daniel Cousens
|
759bba5c21
|
scripts: add falsy classifications and fix multisig
|
11 years ago |
Daniel Cousens
|
8b1e2c5e1e
|
scripts: recursive scriptHash no longer problematic
|
11 years ago |