Daniel Cousens
|
29a1a839ec
|
script: exposes scriptNumber through script.number
|
2016-01-05 02:11:48 +11:00 |
|
Daniel Cousens
|
693e39c061
|
script: use Buffer.isBuffer consistently
|
2015-11-26 12:07:04 +11:00 |
|
Daniel Cousens
|
f60cb2e491
|
scripts: ensure isPubKeyHashOutput/isScriptHashOutput adhere to BIP62
|
2015-11-25 19:19:21 +11:00 |
|
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
|
2015-11-18 22:04:21 -08:00 |
|
Daniel Cousens
|
173994c6e0
|
script: avoid slice if n !== pubKeys.length
|
2015-10-02 13:03:33 +10:00 |
|
Daniel Cousens
|
0ca1e40a6d
|
script: refactor isMultisigOutput for clarity
|
2015-10-02 13:03:33 +10:00 |
|
Daniel Cousens
|
5be9b04741
|
script: isolate initialization of REVERSE_OPS
|
2015-10-02 12:59:30 +10:00 |
|
Daniel Cousens
|
74c2f1d957
|
script: n/m must be numbers, not data
|
2015-10-02 12:51:34 +10:00 |
|
Kirill Fomichev
|
eae8bcf676
|
fix isMultisigOutput
|
2015-10-01 23:12:38 +03:00 |
|
Daniel Cousens
|
48dc0a9054
|
script: no need to use readUInt8
|
2015-09-05 14:27:53 +10:00 |
|
Daniel Cousens
|
92937a8ded
|
script: rm unused ecurve
|
2015-08-22 12:37:17 +10:00 |
|
Daniel Cousens
|
3106fc13ca
|
script: refactor isCanonicalPubKey to bitcoin-core equivalent
|
2015-08-22 12:32:03 +10:00 |
|
Daniel Cousens
|
0ff5bd5698
|
script: add isDefinedHashType to check hashType
|
2015-08-22 12:32:03 +10:00 |
|
Daniel Cousens
|
abac254d0d
|
script: use bip66 for signature checking
|
2015-08-22 11:54:00 +10:00 |
|
Daniel Cousens
|
6ec687deba
|
rename scripts to script
|
2015-08-20 13:55:13 +10:00 |
|
Daniel Cousens
|
e2abe2b3af
|
merge Script/scripts
|
2015-08-18 14:44:30 +10:00 |
|
Daniel Cousens
|
151386c46d
|
scripts: remove coercion, fromASM returns Buffer
|
2015-08-18 14:44:30 +10:00 |
|
Daniel Cousens
|
812d74aa0a
|
coerce wherever necessary for now
|
2015-08-18 14:44:29 +10:00 |
|
Daniel Cousens
|
e05f8a542d
|
remove Script object
|
2015-08-18 14:44:29 +10:00 |
|
Daniel Cousens
|
d85df4a6d6
|
TransactionBuilder: remove use of assert
|
2015-08-14 10:56:31 +10:00 |
|
Daniel Cousens
|
1d4a71852f
|
Script: remove use of assert
|
2015-08-14 10:56:31 +10:00 |
|
Daniel Cousens
|
254b670427
|
add types
|
2015-08-14 10:56:30 +10:00 |
|
Daniel Cousens
|
b6622b4cff
|
script: return malformed script if returned pushDataOut out of range
|
2015-03-04 21:28:48 +11:00 |
|
Daniel Cousens
|
ec66ca9b1a
|
bufferutils/script: allow for invalid pushDatInts, fixes #367
|
2015-03-04 20:48:28 +11:00 |
|
Daniel Cousens
|
399803affa
|
use standardjs formatting
|
2015-02-24 12:45:38 +11:00 |
|
Daniel Cousens
|
c9826221fb
|
scripts: catch error in Script.fromBuffer
|
2015-02-16 02:39:57 +11:00 |
|
Daniel Cousens
|
c13f1df9bf
|
doc: no section headers
|
2015-02-05 16:29:37 +11:00 |
|
Daniel Cousens
|
e42c497a3c
|
package: use typeforce
|
2014-12-23 15:08:20 +11:00 |
|
Daniel Cousens
|
35542e115d
|
types: enforce consistent type checking
|
2014-10-05 15:36:25 +11:00 |
|
Daniel Cousens
|
13d41f67e9
|
Script: adds toASM/fromASM
|
2014-06-25 15:44:15 +10:00 |
|
Daniel Cousens
|
5a96df1ec1
|
Script: stop jshint complaining about missing-assignment
|
2014-06-13 11:09:21 +10:00 |
|
Daniel Cousens
|
8929c51d98
|
Script: remove clone
|
2014-06-13 10:52:07 +10:00 |
|
Daniel Cousens
|
de1571647a
|
Script: early exit in chunk.reduce
|
2014-06-13 10:52:07 +10:00 |
|
Daniel Cousens
|
00cec9ce64
|
Script: move all templates to templates.js
|
2014-06-13 10:52:07 +10:00 |
|
Daniel Cousens
|
91bb25c00c
|
Script: re-order functions to project order
Removes Script.parseChunks and merges it into Script.fromBuffer
|
2014-06-13 10:52:04 +10:00 |
|
Daniel Cousens
|
3521584b3a
|
Script: parseChunks now uses bufferutils
|
2014-06-13 10:49:54 +10:00 |
|
Daniel Cousens
|
4e04eea436
|
Script: use fromChunks internally for all Script templates
|
2014-06-13 10:49:52 +10:00 |
|
Daniel Cousens
|
9a72c7437b
|
Script: adds Script.EMPTY constant
|
2014-06-13 10:49:08 +10:00 |
|
Daniel Cousens
|
6f3d829be0
|
all: Expected T, got PARAM
|
2014-05-29 16:09:47 +10:00 |
|
Daniel Cousens
|
7d94d1b068
|
Script: add fromChunks and without
|
2014-05-29 16:06:19 +10:00 |
|
John Russell
|
343289229e
|
ensures that pubKey length is greater than m
ensure that pubKey length is greater than m
use Array.isArray over instanceof
error message
|
2014-05-28 01:48:17 -07:00 |
|
Daniel Cousens
|
08951be66f
|
Script: add createPubKeyScriptPubKey
|
2014-05-25 10:21:06 +10:00 |
|
Kyle Drake
|
f545ed1279
|
remove crypto hash transition code
|
2014-05-25 09:46:06 +10:00 |
|
Daniel Cousens
|
55681e7e5d
|
Script: use PubKey objects not prebuilt Buffers
|
2014-05-17 00:09:13 +10:00 |
|
Daniel Cousens
|
54cc123d31
|
Address/Script: consistent function ordering
|
2014-05-17 00:09:13 +10:00 |
|
Daniel Cousens
|
b99ed46796
|
opcodes: rename to opcodes
|
2014-05-13 23:14:07 +10:00 |
|
Daniel Cousens
|
f9782b7c17
|
opcodes: remove unused reverseMap
|
2014-05-13 23:12:30 +10:00 |
|
Daniel Cousens
|
1fe8282eda
|
Script: remove redundant opcode.map access
|
2014-05-13 18:53:30 +10:00 |
|
Daniel Cousens
|
da36003d09
|
Script: remove sort requirement for multisig
|
2014-05-09 18:03:41 +10:00 |
|
Daniel Cousens
|
de343b2093
|
Script: remove Address requirement
|
2014-05-09 18:03:22 +10:00 |
|