Daniel Cousens
|
c1570f8056
|
script: always compile in a minimaldata compliant way
|
8 years ago |
Daniel Cousens
|
a1d3e33c84
|
address/crypto/script/types: adhere to no-use-before-define
|
8 years ago |
Daniel Cousens
|
9f1d41fc44
|
script: enforce PUSH_DATA codes for witness outputs
|
9 years ago |
Daniel Cousens
|
20a026aefe
|
scripts/tests: add witness* scripts
|
9 years ago |
JP Richardson
|
ac8ae8f0ed
|
opcodes: add json extension to fix Webpack JSON loader
|
9 years ago |
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
|
9 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 |