Christopher Jeffrey
|
3e608c2cc6
|
script and standard transaction types. prefixes.
|
2015-12-17 16:06:08 -08:00 |
|
Christopher Jeffrey
|
07a6788831
|
optimize block and tx rendering. script maxes. sync.
|
2015-12-17 16:06:08 -08:00 |
|
Christopher Jeffrey
|
88ddb3620c
|
get blockchain sync working. fix pushdata ops.
|
2015-12-17 16:05:48 -08:00 |
|
Christopher Jeffrey
|
5e5507f668
|
optimize checkmultisig.
|
2015-12-15 01:48:21 -08:00 |
|
Christopher Jeffrey
|
c44ea0090f
|
implement sighash_single bug.
|
2015-12-15 01:41:44 -08:00 |
|
Christopher Jeffrey
|
1b07d6e906
|
minor cleanup.
|
2015-12-15 01:23:49 -08:00 |
|
Christopher Jeffrey
|
c68ab4ee7d
|
implement all sighash types. add hasUnspent().
|
2015-12-15 01:22:24 -08:00 |
|
Christopher Jeffrey
|
b0a3a0e853
|
utils. minor fixes. wallet functions.
|
2015-12-14 14:00:06 -08:00 |
|
Christopher Jeffrey
|
5c1606985a
|
outputScript() consistency.
|
2015-12-10 18:02:47 -08:00 |
|
Christopher Jeffrey
|
1caa0804d9
|
add getKey functions to TX.
|
2015-12-10 17:54:34 -08:00 |
|
Christopher Jeffrey
|
bb9974b818
|
add master key reference to hd keys.
|
2015-12-10 17:54:15 -08:00 |
|
Christopher Jeffrey
|
243d3fd69f
|
fill checkmultisig scripts with 0s if not enough keys are available. add format function.
|
2015-12-10 17:53:42 -08:00 |
|
Christopher Jeffrey
|
c251def27c
|
wallet: multisig key handling. prefixes. to/fromJSON.
|
2015-12-10 17:45:56 -08:00 |
|
Christopher Jeffrey
|
d7eea0941e
|
add less-than-dust to fee. recalculate fee after input scripts are templated.
|
2015-12-10 13:52:34 -08:00 |
|
Christopher Jeffrey
|
3f44538b46
|
remove commented code. error consistency.
|
2015-12-10 02:28:57 -08:00 |
|
Christopher Jeffrey
|
3dec18c2c7
|
wallet/tx/script: n limit. refactor multisig options.
|
2015-12-10 02:25:44 -08:00 |
|
Christopher Jeffrey
|
14f08e891c
|
improve toBTC and fromBTC while ensuring safety.
|
2015-12-09 17:31:45 -08:00 |
|
Christopher Jeffrey
|
ef1244442f
|
check for network on fromJSON.
|
2015-12-09 16:32:01 -08:00 |
|
Christopher Jeffrey
|
57491aaadc
|
add network.js and testnet support. see #40.
|
2015-12-09 16:25:55 -08:00 |
|
Christopher Jeffrey
|
26035c3b41
|
minor fix for disabled op_eval.
|
2015-12-09 14:40:40 -08:00 |
|
Christopher Jeffrey
|
f9186d785a
|
ensure p2sh inputs have only push ops (do the same for raw multisig?).
|
2015-12-09 14:35:47 -08:00 |
|
Christopher Jeffrey
|
72d9a93773
|
fix and test if statements. fix comparisons.
|
2015-12-09 14:35:23 -08:00 |
|
Christopher Jeffrey
|
690fe7163a
|
better handling of [] when it is OP_0.
|
2015-12-09 12:42:45 -08:00 |
|
Christopher Jeffrey
|
2fd1d171f2
|
handle op_1negate.
|
2015-12-09 12:15:02 -08:00 |
|
Christopher Jeffrey
|
79a594716a
|
reorder opcode handlers. move op_eval (disabled).
|
2015-12-09 12:02:39 -08:00 |
|
Christopher Jeffrey
|
d45350ede9
|
refactor script.execute order of opcodes.
|
2015-12-09 12:00:35 -08:00 |
|
Christopher Jeffrey
|
e605fe5388
|
whitespace.
|
2015-12-09 11:57:54 -08:00 |
|
Christopher Jeffrey
|
2412c0999b
|
potential tx.verify fix.
|
2015-12-09 11:56:08 -08:00 |
|
Christopher Jeffrey
|
a0a391e89e
|
add if/notif/else/endif opcodes.
|
2015-12-09 11:55:05 -08:00 |
|
Christopher Jeffrey
|
d1ac6e914d
|
refactor script.execute.
|
2015-12-09 10:57:18 -08:00 |
|
Christopher Jeffrey
|
c869578009
|
script: cleanup.
|
2015-12-09 10:44:44 -08:00 |
|
Christopher Jeffrey
|
89f2a0dcc3
|
formatting. make use of helpers in hd.
|
2015-12-09 10:40:33 -08:00 |
|
Christopher Jeffrey
|
8a33f2efa1
|
add getFullPublicKey/getOwnPublicKey and use appropriately.
|
2015-12-08 19:42:12 -08:00 |
|
Christopher Jeffrey
|
71ea61e467
|
update elliptic. remove ec.curve.n workaround.
|
2015-12-08 17:34:36 -08:00 |
|
Christopher Jeffrey
|
22e092d6b8
|
fix and test hd keys.
|
2015-12-08 16:36:47 -08:00 |
|
Christopher Jeffrey
|
e4cfa878f1
|
multisig options.
|
2015-12-08 15:02:32 -08:00 |
|
Christopher Jeffrey
|
5f8ad78e4d
|
have tx.verify handle p2sh correctly.
|
2015-12-08 14:54:21 -08:00 |
|
Christopher Jeffrey
|
a9a9cf0879
|
add more opcodes to script.execute. handle codesep properly.
|
2015-12-08 14:06:10 -08:00 |
|
Christopher Jeffrey
|
fd7d20be9c
|
enforce strict ordering with checkmultisig.
|
2015-12-08 11:46:14 -08:00 |
|
Christopher Jeffrey
|
3c0bf360e2
|
add bip66 strict der sig checking.
|
2015-12-08 11:35:42 -08:00 |
|
Christopher Jeffrey
|
adbb0099a1
|
add checklocktimeverify. pass in tx and input to execute() instead of using hasher callback.
|
2015-12-08 11:24:22 -08:00 |
|
Christopher Jeffrey
|
7016991366
|
order keys and signatures for multisig correctly.
|
2015-12-07 19:18:37 -08:00 |
|
Christopher Jeffrey
|
77623bb8d6
|
remove useless code.
|
2015-12-07 16:34:44 -08:00 |
|
Christopher Jeffrey
|
58d8881e46
|
add hd tests.
|
2015-12-07 16:17:09 -08:00 |
|
Christopher Jeffrey
|
a1fea2bd65
|
scriptOutput: move "p2shify".
|
2015-12-07 15:55:31 -08:00 |
|
Christopher Jeffrey
|
37e1c8a2ef
|
formatting changes.
|
2015-12-07 15:51:15 -08:00 |
|
Christopher Jeffrey
|
b1e7cde3dd
|
improve script functionality and usage.
|
2015-12-07 15:39:18 -08:00 |
|
Christopher Jeffrey
|
cf20326e98
|
verify sighash types other than all.
|
2015-12-07 14:22:25 -08:00 |
|
Christopher Jeffrey
|
1804acc77c
|
tests passing.
|
2015-12-07 14:02:25 -08:00 |
|
Christopher Jeffrey
|
3d9d6be23c
|
use this.m for nsigs.
|
2015-12-07 11:04:23 -08:00 |
|