Christopher Jeffrey
|
9c2b0015d1
|
checkmultisig fixes. misc.
|
2016-01-11 00:40:16 -08:00 |
|
Christopher Jeffrey
|
cf5a117a3e
|
fixes and improvements. allow arbitrary redeem scripts for wallet.
|
2016-01-11 00:10:31 -08:00 |
|
Christopher Jeffrey
|
442c984c12
|
improve p2sh building. change wallet key/redeem methods.
|
2016-01-10 21:43:52 -08:00 |
|
Christopher Jeffrey
|
871e36c426
|
tx.scriptOutput
|
2016-01-10 20:28:28 -08:00 |
|
Christopher Jeffrey
|
bf3906b4d4
|
more fee estimation.
|
2016-01-10 20:15:14 -08:00 |
|
Christopher Jeffrey
|
eb1a3ea6d2
|
transaction improvements.
|
2016-01-10 04:58:03 -08:00 |
|
Christopher Jeffrey
|
0b7ca266ee
|
tx/script refactor and improvements.
|
2016-01-09 19:02:19 -08:00 |
|
Christopher Jeffrey
|
0658444eb5
|
chain improvements.
|
2016-01-09 14:24:36 -08:00 |
|
Christopher Jeffrey
|
314c14f422
|
input/output consistency. misc.
|
2016-01-09 13:22:08 -08:00 |
|
Christopher Jeffrey
|
6b10fabc5f
|
tx refactor. etc.
|
2016-01-08 19:27:00 -08:00 |
|
Christopher Jeffrey
|
8087601a7f
|
work
|
2016-01-08 16:59:03 -08:00 |
|
Christopher Jeffrey
|
d56f7a3733
|
even more bufffer work.
|
2016-01-08 04:11:46 -08:00 |
|
Christopher Jeffrey
|
465b23013d
|
temporarily use buffers. coinbase fixes. script/tx fixes.
|
2016-01-08 03:34:55 -08:00 |
|
Christopher Jeffrey
|
df420a4a8b
|
refactor. work.
|
2016-01-08 02:22:35 -08:00 |
|
Christopher Jeffrey
|
42fbef82ed
|
misc
|
2016-01-07 03:28:58 -08:00 |
|
Christopher Jeffrey
|
c56640a433
|
various fixes for our miner.
|
2016-01-07 01:22:06 -08:00 |
|
Christopher Jeffrey
|
8d120a4fd6
|
more block verification.
|
2016-01-06 19:15:41 -08:00 |
|
Christopher Jeffrey
|
e1ec89fe7d
|
sigops
|
2016-01-06 01:41:06 -08:00 |
|
Christopher Jeffrey
|
6df8319871
|
fix pool peers.
|
2016-01-06 00:35:01 -08:00 |
|
Christopher Jeffrey
|
ee97c7ed12
|
handle chain forks better.
|
2016-01-06 00:14:51 -08:00 |
|
Christopher Jeffrey
|
680bf01e98
|
add tx.isFinal. refactor chain usage.
|
2016-01-05 21:32:31 -08:00 |
|
Christopher Jeffrey
|
c6c75d509b
|
optimize chain.size()
|
2016-01-05 16:07:11 -08:00 |
|
Christopher Jeffrey
|
8e698673a0
|
fix typo. emit resolved entries.
|
2016-01-05 14:25:14 -08:00 |
|
Christopher Jeffrey
|
d0d5ab2c3b
|
add mempool packet. miner refactor.
|
2016-01-05 12:46:30 -08:00 |
|
Christopher Jeffrey
|
ff08f73fa9
|
check orphan size. misc.
|
2016-01-05 03:25:53 -08:00 |
|
Christopher Jeffrey
|
60e01b261c
|
rename fullchain.js to chain.js.
|
2016-01-05 02:48:53 -08:00 |
|
Christopher Jeffrey
|
32220fcc4f
|
remove old spv chain.
|
2016-01-05 02:48:17 -08:00 |
|
Christopher Jeffrey
|
8a930ac037
|
drop missing event. fix for spv chain. pool.search improvements.
|
2016-01-05 02:45:57 -08:00 |
|
Christopher Jeffrey
|
2f618c961b
|
fixes. peer improvements.
|
2016-01-05 02:28:06 -08:00 |
|
Christopher Jeffrey
|
019ecf4f2a
|
switch to fullchain for both spv and fullnode.
|
2016-01-04 20:13:06 -08:00 |
|
Christopher Jeffrey
|
582a21fd5a
|
getblocks failing for spv.
|
2016-01-04 18:31:27 -08:00 |
|
Christopher Jeffrey
|
0a97cebf25
|
improve getblocks download, spv chain, and events.
|
2016-01-04 18:22:42 -08:00 |
|
Christopher Jeffrey
|
2c3edd50aa
|
chain: improve locatorHashes.
|
2016-01-04 16:33:52 -08:00 |
|
Christopher Jeffrey
|
74b1562a87
|
network: fix checkpoints.
|
2016-01-04 16:33:11 -08:00 |
|
Christopher Jeffrey
|
6da3fbac3a
|
add utils.hash test.
|
2016-01-04 16:03:04 -08:00 |
|
Christopher Jeffrey
|
10fce032b7
|
improve locatorHashes. fix utils ref in tx-pool. add utils.hash.
|
2016-01-04 15:12:50 -08:00 |
|
Christopher Jeffrey
|
d0cbc8f358
|
do not push unknown hash onto locators.
|
2016-01-04 13:39:40 -08:00 |
|
Christopher Jeffrey
|
d1595c0ec4
|
use getheaders by default. fix header parsing and handling.
|
2016-01-04 13:14:09 -08:00 |
|
Christopher Jeffrey
|
50e606f625
|
fix pool.isWatched.
|
2016-01-04 10:37:58 -08:00 |
|
Christopher Jeffrey
|
eef4103296
|
miner: status event.
|
2016-01-04 05:07:53 -08:00 |
|
Christopher Jeffrey
|
61da977a3f
|
miner: try to verify txs.
|
2016-01-04 05:03:24 -08:00 |
|
Christopher Jeffrey
|
20f8c82c7f
|
add tip event to chain.
|
2016-01-04 04:59:55 -08:00 |
|
Christopher Jeffrey
|
0350b93a0a
|
add a simple miner because we can.
|
2016-01-04 04:48:25 -08:00 |
|
Christopher Jeffrey
|
6758d4fe8a
|
chain and search fixes. options.
|
2016-01-04 04:33:49 -08:00 |
|
Christopher Jeffrey
|
0f8819c78e
|
minor fixes. refactor timestamps.
|
2016-01-04 04:12:26 -08:00 |
|
Christopher Jeffrey
|
a20cd7edbe
|
refactor pool. improve chains.
|
2016-01-04 03:04:09 -08:00 |
|
Christopher Jeffrey
|
484b1f2817
|
use getheaders.
|
2016-01-03 06:47:27 -08:00 |
|
Christopher Jeffrey
|
3e5995f741
|
fix tx pool addition and tx verification.
|
2016-01-03 01:34:50 -08:00 |
|
Christopher Jeffrey
|
73262b74ba
|
pool.searchWallet failsafe for fullnode.
|
2016-01-02 05:19:19 -08:00 |
|
Christopher Jeffrey
|
9c904f7b4f
|
fix potential uncatchable error.
|
2016-01-02 05:16:58 -08:00 |
|
Christopher Jeffrey
|
bdc546edbc
|
fix chain.index.lastTs.
|
2016-01-02 05:09:44 -08:00 |
|
Christopher Jeffrey
|
a7a8eb11bb
|
add orphanRoot to spv chain.
|
2016-01-02 05:04:10 -08:00 |
|
Christopher Jeffrey
|
fc45025131
|
add chain.compact. orphan failsafe.
|
2016-01-02 04:48:20 -08:00 |
|
Christopher Jeffrey
|
35ba5a5de5
|
refactor chain methods. check for orphans during fullnode sync.
|
2016-01-02 04:32:04 -08:00 |
|
Christopher Jeffrey
|
7a8a7a5a2b
|
better wallet searching for spv. pool methods.
|
2016-01-02 03:44:25 -08:00 |
|
Christopher Jeffrey
|
ff16271c1a
|
comments. remove useless variable.
|
2016-01-02 00:26:19 -08:00 |
|
Christopher Jeffrey
|
9976208d0d
|
comments. misc.
|
2016-01-02 00:16:36 -08:00 |
|
Christopher Jeffrey
|
e04aed96d0
|
remove throwing assert for now.
|
2016-01-01 23:54:48 -08:00 |
|
Christopher Jeffrey
|
440933c27d
|
move pow target methods.
|
2016-01-01 19:58:35 -08:00 |
|
Christopher Jeffrey
|
0e5d7c41f2
|
refactor chain.has.
|
2016-01-01 19:54:22 -08:00 |
|
Christopher Jeffrey
|
5a26b7b71e
|
add pow retargeting to full chain.
|
2016-01-01 19:53:57 -08:00 |
|
Christopher Jeffrey
|
8b546a85e0
|
check for fullNode in handleBlock and handleMerkle.
|
2016-01-01 19:14:34 -08:00 |
|
Christopher Jeffrey
|
1be3a74c70
|
more chain method improvements.
|
2016-01-01 18:46:46 -08:00 |
|
Christopher Jeffrey
|
a4084d8252
|
more chain methods.
|
2016-01-01 18:32:15 -08:00 |
|
Christopher Jeffrey
|
4c1a3761af
|
set relay to false on spv.
|
2016-01-01 18:07:18 -08:00 |
|
Christopher Jeffrey
|
08320fd3fb
|
update preload.js.
|
2016-01-01 17:58:54 -08:00 |
|
Christopher Jeffrey
|
eee2ef5d34
|
improve pool/chain options.
|
2016-01-01 17:54:22 -08:00 |
|
Christopher Jeffrey
|
90856a8f5b
|
add size method.
|
2016-01-01 17:42:02 -08:00 |
|
Christopher Jeffrey
|
3c5a823445
|
allow watch() to be used on a full node.
|
2016-01-01 17:42:02 -08:00 |
|
Christopher Jeffrey
|
146e50dc68
|
add fullnode chain. improve pool.
|
2016-01-01 17:41:13 -08:00 |
|
Christopher Jeffrey
|
65dd1727be
|
push wallet in pool.addWallet.
|
2016-01-01 14:21:10 -08:00 |
|
Christopher Jeffrey
|
3625a4f4c9
|
minor fixes.
|
2015-12-30 14:34:16 -08:00 |
|
Christopher Jeffrey
|
350ca9c875
|
move all block sync logic to pool.
|
2015-12-29 18:40:31 -08:00 |
|
Christopher Jeffrey
|
22427fe78f
|
stop saving block height on blocks.
|
2015-12-29 18:35:30 -08:00 |
|
Christopher Jeffrey
|
67d1405c15
|
handle compact mantissa numbers.
|
2015-12-29 13:13:51 -08:00 |
|
Christopher Jeffrey
|
43b0533a18
|
minor improvements and fixes.
|
2015-12-27 23:54:53 -08:00 |
|
Christopher Jeffrey
|
afcb89f76f
|
block and tx getters. coinbase height. multisig input test.
|
2015-12-24 13:19:29 -08:00 |
|
Christopher Jeffrey
|
1f8bf8c377
|
input and output getters.
|
2015-12-24 12:18:00 -08:00 |
|
Christopher Jeffrey
|
6ceeb6800b
|
remove useless line.
|
2015-12-24 03:27:34 -08:00 |
|
Christopher Jeffrey
|
42d872b268
|
calculate block reward.
|
2015-12-24 00:34:31 -08:00 |
|
Christopher Jeffrey
|
1fb6cb04b4
|
clean up input and output schema.
|
2015-12-23 23:44:59 -08:00 |
|
Christopher Jeffrey
|
207d9e1a30
|
refactor input and output data.
|
2015-12-23 23:12:54 -08:00 |
|
Christopher Jeffrey
|
0ccf67aef6
|
more input and output data work.
|
2015-12-23 21:55:25 -08:00 |
|
Christopher Jeffrey
|
cf9e11e356
|
add ids to inputs and outputs without addresses.
|
2015-12-23 20:09:14 -08:00 |
|
Christopher Jeffrey
|
f3ae1c517a
|
send block and merkleblock packets correctly.
|
2015-12-23 19:56:33 -08:00 |
|
Christopher Jeffrey
|
b77c34789e
|
refactor getData for inputs and outputs.
|
2015-12-23 19:55:27 -08:00 |
|
Christopher Jeffrey
|
b14c4daee0
|
refactor tx.utxos().
|
2015-12-23 18:31:31 -08:00 |
|
Christopher Jeffrey
|
389ee296b0
|
improve tx building. minor style fixes. utils.uniq.
|
2015-12-23 16:24:29 -08:00 |
|
Christopher Jeffrey
|
d32a951f37
|
fix isMultisig: compare to n value.
|
2015-12-23 11:45:43 -08:00 |
|
Christopher Jeffrey
|
2299ee757e
|
minor refactor.
|
2015-12-23 11:35:57 -08:00 |
|
Christopher Jeffrey
|
dddd6b0b49
|
minor: inspect methods.
|
2015-12-23 05:45:33 -08:00 |
|
Christopher Jeffrey
|
f68750991d
|
add block.reward. add coinbase data to into. failsafe for getFee.
|
2015-12-23 05:33:48 -08:00 |
|
Christopher Jeffrey
|
fdc11b76b2
|
start checking for height coinbases earlier.
|
2015-12-23 04:44:21 -08:00 |
|
Christopher Jeffrey
|
58d8e3ce53
|
fix coinbase parsing.
|
2015-12-23 04:14:51 -08:00 |
|
Christopher Jeffrey
|
2f6f3e11b1
|
Revert "use big numbers when calculating fee."
This reverts commit a057dc4064.
|
2015-12-23 02:42:57 -08:00 |
|
Christopher Jeffrey
|
a057dc4064
|
use big numbers when calculating fee.
|
2015-12-23 02:42:36 -08:00 |
|
Christopher Jeffrey
|
d54a532a66
|
fix error thrown in output.inspect.
|
2015-12-23 02:35:32 -08:00 |
|
Christopher Jeffrey
|
b3f457ee31
|
improve locktime checks and coinbase parsing.
|
2015-12-23 02:34:51 -08:00 |
|
Christopher Jeffrey
|
4ac398e41b
|
add tx to prev output data.
|
2015-12-22 22:50:13 -08:00 |
|
Christopher Jeffrey
|
47618898c7
|
minor.
|
2015-12-22 20:11:09 -08:00 |
|