Commit Graph

269 Commits

Author SHA1 Message Date
Christopher Jeffrey
a4f0807c50
strict scripting. 2016-04-17 19:34:03 -07:00
Christopher Jeffrey
d5bfb124cf
bloom filter. network. 2016-04-17 13:30:32 -07:00
Christopher Jeffrey
4960e48b48
disabled opcodes fixes. 2016-04-17 08:45:37 -07:00
Christopher Jeffrey
0a621238ba
refactor: rename constants. 2016-04-17 08:45:22 -07:00
Christopher Jeffrey
ad11d33038
more accurate script interpretation. 2016-04-17 06:39:31 -07:00
Christopher Jeffrey
e96e09493d
comments. 2016-04-17 03:32:52 -07:00
Christopher Jeffrey
fbc8af9d94
fix docs. 2016-04-15 08:01:03 -07:00
Christopher Jeffrey
67f35296b2
docs fixes. 2016-04-15 07:32:44 -07:00
Christopher Jeffrey
72e907f81e
more fixes. cleanup. 2016-04-15 06:44:38 -07:00
Christopher Jeffrey
e3595906c9
no one can say i didn't write docs now. 2016-04-15 06:43:44 -07:00
Christopher Jeffrey
096f71ba1a
cleanup. 2016-04-09 03:48:28 -07:00
Christopher Jeffrey
c33a88fb9e
more accurate sigop counting. 2016-04-09 03:36:29 -07:00
Christopher Jeffrey
646b3c3028
improve block.getVirtualSize. 2016-04-09 00:55:22 -07:00
Christopher Jeffrey
407782122c
fix getInputType. 2016-04-08 15:32:28 -07:00
Christopher Jeffrey
0a7f118528
add environment. 2016-04-06 18:55:55 -07:00
Christopher Jeffrey
6062f1ce94 more refactoring. 2016-04-04 16:39:02 -07:00
Christopher Jeffrey
79aa613662 refactor. 2016-04-04 02:53:55 -07:00
Christopher Jeffrey
c5bcd44606 miner. network. serve blocks and mempool txs. 2016-04-03 21:43:50 -07:00
Christopher Jeffrey
ecaec7b5d9 fix script.array. 2016-04-03 05:47:06 -07:00
Christopher Jeffrey
f3b8b4cd80 fix createCommitment. 2016-04-03 05:23:30 -07:00
Christopher Jeffrey
ec5175ec9e minor. 2016-04-02 14:27:11 -07:00
Christopher Jeffrey
47160c1cfe parsing and serialization. 2016-04-02 04:12:50 -07:00
Christopher Jeffrey
fb370eda1c mempool. fix sigop counting. 2016-03-31 03:38:28 -07:00
Christopher Jeffrey
a110ddab27 script json. 2016-03-31 02:55:19 -07:00
Christopher Jeffrey
d158918a14 script parsing. 2016-03-31 02:44:59 -07:00
Christopher Jeffrey
b084913680 refactor. script encoding checks. 2016-03-31 02:31:09 -07:00
Christopher Jeffrey
2b5c1369da refactor. strict isscripthash. 2016-03-31 02:08:11 -07:00
Christopher Jeffrey
7b1af73c46 address parsing. 2016-03-31 01:54:07 -07:00
Christopher Jeffrey
1dc15922f6 segwit mining. 2016-03-31 00:30:46 -07:00
Christopher Jeffrey
0720c6c64a accurate hasStandardInputs. 2016-03-30 14:22:02 -07:00
Christopher Jeffrey
d2767e4e34 refactoring. 2016-03-30 04:13:26 -07:00
Christopher Jeffrey
359cef93a0 refactor. framer sizes. 2016-03-29 20:47:21 -07:00
Christopher Jeffrey
86efd59261 fixes. 2016-03-29 17:47:12 -07:00
Christopher Jeffrey
00e7fcc1ad script parsing. 2016-03-29 15:21:48 -07:00
Christopher Jeffrey
caf52c0579 refactor. close methods. 2016-03-29 13:25:03 -07:00
Christopher Jeffrey
ea4d0dee03 opcodes. 2016-03-28 19:45:22 -07:00
Christopher Jeffrey
484db3568a add getSmall. 2016-03-28 18:37:38 -07:00
Christopher Jeffrey
a598a4850c no strings in scripting. 2016-03-28 16:50:59 -07:00
Christopher Jeffrey
af6ac736bf consistent naming. 2016-03-28 13:22:31 -07:00
Christopher Jeffrey
96a92ae29b witness parsing. 2016-03-28 12:29:00 -07:00
Christopher Jeffrey
aff7c0e360 check sequence locks in mempool. 2016-03-28 03:18:44 -07:00
Christopher Jeffrey
e89ed67843 script errors. 2016-03-27 19:18:39 -07:00
Christopher Jeffrey
19f2af16d4 script: pushdata. 2016-03-26 05:27:05 -07:00
Christopher Jeffrey
63421ec411 only asign hidden values for nonstandard pushes. 2016-03-26 04:21:01 -07:00
Christopher Jeffrey
e5c353f083 script hashes. 2016-03-26 03:57:56 -07:00
Christopher Jeffrey
c91cf7571b refactor. 2016-03-25 02:07:47 -07:00
Christopher Jeffrey
6ce950d081 duck typing. 2016-03-24 14:18:24 -07:00
Christopher Jeffrey
43923e3201 use bn.toBuffer. 2016-03-21 21:57:20 -07:00
Christopher Jeffrey
59777baf71 fixes for script and tx. 2016-03-21 05:54:34 -07:00
Christopher Jeffrey
93efe376a6 refactor. isSigned. 2016-03-21 02:16:56 -07:00
Christopher Jeffrey
6136434959 refactor. 2016-03-20 09:19:43 -07:00
Christopher Jeffrey
b356790136 move reader and writer. 2016-03-15 13:48:36 -07:00
Christopher Jeffrey
5fb16d29e6 refactor. 2016-03-15 13:31:54 -07:00
Christopher Jeffrey
5da21fd6e8 new script.js. 2016-03-15 05:00:15 -07:00
Christopher Jeffrey
f0edd2c944 remove old script.js. 2016-03-15 04:59:52 -07:00
Christopher Jeffrey
c445fcd1bd more linting. 2016-03-15 04:59:39 -07:00
Christopher Jeffrey
bf8475afe1 buffer writer. buffer reader. 2016-03-14 16:04:28 -07:00
Christopher Jeffrey
adeee1eb67 checksequenceverify. scripting improvements. 2016-03-07 23:08:47 -08:00
Christopher Jeffrey
3dc0f4d412 checksequenceverify. 2016-03-07 21:55:26 -08:00
Christopher Jeffrey
6b54897b57 refactor. 2016-02-28 20:26:10 -08:00
Christopher Jeffrey
8a8b664061 more fixes. cleanup debugging. 2016-02-28 06:07:04 -08:00
Christopher Jeffrey
0e3aa32677 correct segwit signing. 2016-02-28 05:44:41 -08:00
Christopher Jeffrey
3fcc7d5b07 segwit wallet support. segwit chain improvements. 2016-02-28 04:12:51 -08:00
Christopher Jeffrey
bd868cda7a segwit things 2016-02-27 05:51:48 -08:00
Christopher Jeffrey
77c9348824 get segnet working. 2016-02-26 21:53:39 -08:00
Christopher Jeffrey
8467f339c1 segwit. misc. 2016-02-26 18:06:08 -08:00
Christopher Jeffrey
5d1f6089ed blockdb, segwit, and input fixes. 2016-02-26 04:32:31 -08:00
Christopher Jeffrey
4c653683b7 segregated - goddamn - witness... and docs update. 2016-02-26 03:54:26 -08:00
Christopher Jeffrey
a84f087e2e script optimization. 2016-02-23 04:58:19 -08:00
Christopher Jeffrey
b473ca7d18 coin method for framer and parser. 2016-02-23 00:14:09 -08:00
Christopher Jeffrey
1ced7af7b4 handle minimal data better. 2016-02-22 23:13:46 -08:00
Christopher Jeffrey
4cc5d73959 use zero for op_0. fix signed ints. 2016-02-22 21:59:52 -08:00
Christopher Jeffrey
9e36ecd62e isScript 2016-02-22 21:33:33 -08:00
Christopher Jeffrey
73d3291ee9 more buffer work. 2016-02-22 21:25:01 -08:00
Christopher Jeffrey
78e9be11c3 switch to buffers. 2016-02-22 20:37:15 -08:00
Christopher Jeffrey
10804959d5 add wrapper for elliptic vs secp256k1. see #52. 2016-02-21 04:37:50 -08:00
Christopher Jeffrey
9ff7e93c71 move sigop counting to checkInputs. 2016-02-19 04:16:29 -08:00
Christopher Jeffrey
29576c7bcc fix checkmultisig for nonstandard scripts. 2016-02-18 22:53:13 -08:00
Christopher Jeffrey
050d801849 standardness. chain. pool. 2016-02-18 15:26:03 -08:00
Christopher Jeffrey
83c5a6f906 minor. 2016-02-18 02:25:37 -08:00
Christopher Jeffrey
a6b1e8bdb0 recover keys. 2016-02-18 02:22:54 -08:00
Christopher Jeffrey
e68bab4ab3 make scripthash input test less insane. 2016-02-18 01:53:37 -08:00
Christopher Jeffrey
4b672d6337 fix sigops counting. 2016-02-18 01:45:47 -08:00
Christopher Jeffrey
ff467afaff minor. 2016-02-18 01:12:39 -08:00
Christopher Jeffrey
1f2e1fb6d5 add an extra failsafe check to checksig before normalizing DER sig length. 2016-02-17 21:32:29 -08:00
Christopher Jeffrey
86cebb7e3b normalize DER signature length. 2016-02-17 21:10:46 -08:00
Christopher Jeffrey
d22dc02e8f wait for flush. 2016-02-17 19:40:56 -08:00
Christopher Jeffrey
7b14c3b72b debugging. 2016-02-17 00:14:25 -08:00
Christopher Jeffrey
997f0acbb0 more refactoring. 2016-02-16 16:13:34 -08:00
Christopher Jeffrey
9d727cebae wallet tests. fixes. 2016-02-12 22:32:54 -08:00
Christopher Jeffrey
a3fc9159a0 add more extractor functions. 2016-02-12 16:10:36 -08:00
Christopher Jeffrey
6cc4c866dc wallet refactor. fixes. 2016-02-10 16:42:02 -08:00
Christopher Jeffrey
2ec7989b6a no more dynamic heights. 2016-02-06 21:51:38 -08:00
Christopher Jeffrey
274c6e6864 use utxo object instead of tx refs. 2016-02-06 04:54:38 -08:00
Christopher Jeffrey
18f0a55779 refactor tx. 2016-02-05 22:46:04 -08:00
Christopher Jeffrey
a367674584 more keypair stuff. 2016-02-04 03:33:15 -08:00
Christopher Jeffrey
fa22c79dbe hd and wallet work. 2016-02-04 02:44:16 -08:00
Christopher Jeffrey
2deccde29e wallet work. consistency. 2016-02-02 16:09:48 -08:00
Christopher Jeffrey
156601e40a createTX. hd fixes. 2016-02-02 02:50:36 -08:00
Christopher Jeffrey
f9d960ca23 api: more method renames. legacy support. docs. 2016-02-01 11:57:40 -08:00