Christopher Jeffrey
|
c81770c2b1
|
move some deps around. drop inherits.
|
2016-02-21 06:31:15 -08:00 |
|
Christopher Jeffrey
|
e7478372cf
|
use level-js in the browser instead of memdown.
|
2016-02-20 21:33:58 -08:00 |
|
Christopher Jeffrey
|
6e2eb039ac
|
add spv node. add .bcoin dir. add file storage for wallet.
|
2016-02-20 16:53:10 -08:00 |
|
Christopher Jeffrey
|
e2759707f2
|
package.json and Makefile.
|
2016-02-19 22:29:33 -08:00 |
|
Christopher Jeffrey
|
7a66a2717e
|
minor
|
2016-02-19 22:11:46 -08:00 |
|
Christopher Jeffrey
|
06d6d74081
|
more renaming.
|
2016-02-19 22:10:38 -08:00 |
|
Christopher Jeffrey
|
d48d9d44ee
|
more renaming.
|
2016-02-19 22:06:47 -08:00 |
|
Christopher Jeffrey
|
3c29e20df2
|
refactor pool.search.
|
2016-02-19 22:04:33 -08:00 |
|
Christopher Jeffrey
|
48d7b95d61
|
minor refactor.
|
2016-02-19 21:48:06 -08:00 |
|
Christopher Jeffrey
|
28274cdba4
|
rename methods.
|
2016-02-19 21:42:44 -08:00 |
|
Christopher Jeffrey
|
9eb90dd821
|
show pending jobs.
|
2016-02-19 19:53:24 -08:00 |
|
Christopher Jeffrey
|
e9a847e8e2
|
remove old functions.
|
2016-02-19 11:20:34 -08:00 |
|
Christopher Jeffrey
|
3c3e9a496a
|
more chain improvements.
|
2016-02-19 11:10:45 -08:00 |
|
Christopher Jeffrey
|
3a63da5735
|
async work.
|
2016-02-19 08:07:50 -08:00 |
|
Christopher Jeffrey
|
cefeaf779b
|
better block sync.
|
2016-02-19 07:49:14 -08:00 |
|
Christopher Jeffrey
|
7c3191aee8
|
fix chaindb queue system.
|
2016-02-19 06:30:10 -08:00 |
|
Christopher Jeffrey
|
9bc3e44a7f
|
misc method improvements.
|
2016-02-19 03:08:50 -08:00 |
|
Christopher Jeffrey
|
71557ba95c
|
more chain improvements.
|
2016-02-19 02:14:10 -08:00 |
|
Christopher Jeffrey
|
5f67f78170
|
chain fixes.
|
2016-02-19 01:42:59 -08:00 |
|
Christopher Jeffrey
|
42f5ece282
|
refactor mempool events from chain.
|
2016-02-18 17:30:15 -08:00 |
|
Christopher Jeffrey
|
050d801849
|
standardness. chain. pool.
|
2016-02-18 15:26:03 -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
|
0139e1340c
|
minor pool changes.
|
2016-02-17 18:00:54 -08:00 |
|
Christopher Jeffrey
|
6ef09f39ec
|
better events.
|
2016-02-17 17:07:12 -08:00 |
|
Christopher Jeffrey
|
f7ac99d24d
|
minor refactoring.
|
2016-02-17 16:02:11 -08:00 |
|
Christopher Jeffrey
|
5d9f106e2a
|
event based system for chain error handling.
|
2016-02-17 15:30:33 -08:00 |
|
Christopher Jeffrey
|
7a04ac25d0
|
add queue back to handleBlock.
|
2016-02-17 13:04:26 -08:00 |
|
Christopher Jeffrey
|
2b84c16f0a
|
drop bip37 emulation.
|
2016-02-17 12:54:42 -08:00 |
|
Christopher Jeffrey
|
a485a1d334
|
move queue to the chain.
|
2016-02-17 12:52:22 -08:00 |
|
Christopher Jeffrey
|
9b1effdc66
|
pool improvements.
|
2016-02-17 05:08:19 -08:00 |
|
Christopher Jeffrey
|
8e81b8914d
|
bad bufferpool. misc.
|
2016-02-17 04:59:12 -08:00 |
|
Christopher Jeffrey
|
f17575f864
|
queue
|
2016-02-17 02:53:43 -08:00 |
|
Christopher Jeffrey
|
90b3c16837
|
debugging.
|
2016-02-17 01:16:01 -08:00 |
|
Christopher Jeffrey
|
7b14c3b72b
|
debugging.
|
2016-02-17 00:14:25 -08:00 |
|
Christopher Jeffrey
|
d0d0378f3e
|
queue. fixes.
|
2016-02-16 21:01:31 -08:00 |
|
Christopher Jeffrey
|
997f0acbb0
|
more refactoring.
|
2016-02-16 16:13:34 -08:00 |
|
Christopher Jeffrey
|
e912f78814
|
async chain.
|
2016-02-16 03:03:11 -08:00 |
|
Christopher Jeffrey
|
24cc9c85ef
|
options. misc.
|
2016-02-15 23:48:23 -08:00 |
|
Christopher Jeffrey
|
dbba098190
|
remove calls to getTip().
|
2016-02-12 16:38:26 -08:00 |
|
Christopher Jeffrey
|
05d4eab0d8
|
add preload option. better errors.
|
2016-02-08 21:05:27 -08:00 |
|
Christopher Jeffrey
|
6cab97b265
|
listen on server socket for leech peers.
|
2016-02-08 18:46:09 -08:00 |
|
Christopher Jeffrey
|
72b7adc800
|
get bcoin working in the browser again.
|
2016-02-08 18:06:39 -08:00 |
|
Christopher Jeffrey
|
2ec7989b6a
|
no more dynamic heights.
|
2016-02-06 21:51:38 -08:00 |
|
Christopher Jeffrey
|
1761266ba9
|
improve tx-pool.
|
2016-02-06 19:10:40 -08:00 |
|
Christopher Jeffrey
|
18f0a55779
|
refactor tx.
|
2016-02-05 22:46:04 -08:00 |
|
Christopher Jeffrey
|
84551e17e2
|
paths. scanning. unspents.
|
2016-02-05 03:44:42 -08:00 |
|
Christopher Jeffrey
|
e0ab0ab88d
|
minor changes/fixes.
|
2016-02-03 02:09:03 -08:00 |
|
Christopher Jeffrey
|
42e17bc0f2
|
rewrite wallet. allow multiple addresses. utilize hd.
|
2016-02-01 21:37:06 -08:00 |
|
Christopher Jeffrey
|
6ad621cace
|
api: rename methods, properties. add legacy support.
|
2016-02-01 11:50:09 -08:00 |
|
Christopher Jeffrey
|
999cfefe54
|
more pool work. wallet.fill().
|
2016-02-01 10:54:52 -08:00 |
|
Christopher Jeffrey
|
1e027220c3
|
pool: refactor.
|
2016-01-31 00:57:34 -08:00 |
|
Christopher Jeffrey
|
b0ee614432
|
misc sync fixes.
|
2016-01-31 00:50:13 -08:00 |
|
Christopher Jeffrey
|
5ab48378cc
|
fix addTX.
|
2016-01-30 02:34:35 -08:00 |
|
Christopher Jeffrey
|
a99725f8ff
|
pool: remove old functions.
|
2016-01-30 02:31:15 -08:00 |
|
Christopher Jeffrey
|
8447790a84
|
remove peer backoff system.
|
2016-01-30 02:21:00 -08:00 |
|
Christopher Jeffrey
|
f59a1f887b
|
increase requestTimeout.
|
2016-01-30 02:13:28 -08:00 |
|
Christopher Jeffrey
|
60c3db7cb9
|
better request handling.
|
2016-01-29 18:58:41 -08:00 |
|
Christopher Jeffrey
|
e8cb2102a3
|
work
|
2016-01-29 17:38:31 -08:00 |
|
Christopher Jeffrey
|
41516b4866
|
better system for avoiding duplicate txs.
|
2016-01-29 16:08:33 -08:00 |
|
Christopher Jeffrey
|
3959b9cf5d
|
only emit new transactions.
|
2016-01-29 16:00:40 -08:00 |
|
Christopher Jeffrey
|
1115468f05
|
fix typos.
|
2016-01-29 15:56:22 -08:00 |
|
Christopher Jeffrey
|
e8815f3e6b
|
version packet: minor.
|
2016-01-29 15:35:09 -08:00 |
|
Christopher Jeffrey
|
c6f91ddd69
|
minor fixes for tx requesting.
|
2016-01-29 15:32:41 -08:00 |
|
Christopher Jeffrey
|
e880dc5a5c
|
pool._addTX to prevent duplicate requests.
|
2016-01-29 14:51:36 -08:00 |
|
Christopher Jeffrey
|
7ce5348cd9
|
debug messages.
|
2016-01-29 14:45:08 -08:00 |
|
Christopher Jeffrey
|
32c0f8ce3c
|
do not request duplicate txs.
|
2016-01-29 14:44:43 -08:00 |
|
Christopher Jeffrey
|
b4abeceac3
|
handle requesting directly by peer.
|
2016-01-29 13:53:51 -08:00 |
|
Christopher Jeffrey
|
294e5a5b37
|
mark txs as in-flight.
|
2016-01-29 13:10:06 -08:00 |
|
Christopher Jeffrey
|
9ada551b28
|
auto request txs.
|
2016-01-29 13:00:29 -08:00 |
|
Christopher Jeffrey
|
3fc7272780
|
fix typo.
|
2016-01-29 12:46:25 -08:00 |
|
Christopher Jeffrey
|
07ddae9d33
|
misc fixes and improvements.
|
2016-01-27 19:43:24 -08:00 |
|
Christopher Jeffrey
|
5dce1427ba
|
raw blocks. pool fixes.
|
2016-01-25 15:40:53 -08:00 |
|
Christopher Jeffrey
|
9a60ae8e50
|
add back old peer seed code.
|
2016-01-22 18:35:13 -08:00 |
|
Christopher Jeffrey
|
ef09a776fe
|
cleanup old tries code.
|
2016-01-22 18:11:40 -08:00 |
|
Christopher Jeffrey
|
9476f7f70a
|
remove peer "tries" system.
|
2016-01-22 18:09:26 -08:00 |
|
Christopher Jeffrey
|
8f3667b866
|
check range for search.
|
2016-01-21 04:22:37 -08:00 |
|
Christopher Jeffrey
|
34a44fe391
|
chaindb: async loading.
|
2016-01-21 04:10:21 -08:00 |
|
Christopher Jeffrey
|
dd4660eb15
|
chaindb: cleanup. remove old functionality.
|
2016-01-21 01:40:40 -08:00 |
|
Christopher Jeffrey
|
92619d408e
|
chaindb/pool: fixes. work.
|
2016-01-21 01:28:59 -08:00 |
|
Christopher Jeffrey
|
ef44bf44f0
|
more debugging.
|
2016-01-20 13:35:16 -08:00 |
|
Christopher Jeffrey
|
271ca1aa52
|
better fork handling for peers.
|
2016-01-20 12:48:31 -08:00 |
|
Christopher Jeffrey
|
f6dc42924b
|
global debugging. script.isEncoded.
|
2016-01-20 12:25:19 -08:00 |
|
Christopher Jeffrey
|
03c117b009
|
more DOS protection.
|
2016-01-20 12:04:38 -08:00 |
|
Christopher Jeffrey
|
ddbb7894fa
|
potentially clean up misbehaving peers.
|
2016-01-20 02:54:52 -08:00 |
|
Christopher Jeffrey
|
009f4f9f72
|
debug messages for dos prevention.
|
2016-01-20 02:48:42 -08:00 |
|
Christopher Jeffrey
|
47af5987ae
|
better system to prevent DOSing.
|
2016-01-20 02:46:25 -08:00 |
|
Christopher Jeffrey
|
c11a651e9d
|
better loader management.
|
2016-01-19 20:32:59 -08:00 |
|
Christopher Jeffrey
|
575843acef
|
work on chain. check for low der sigs.
|
2016-01-17 19:57:34 -08:00 |
|
Christopher Jeffrey
|
6f4609792f
|
regtest support. tx methods.
|
2016-01-16 23:48:18 -08:00 |
|
Christopher Jeffrey
|
b1d46206a8
|
script fixes.
|
2016-01-15 19:28:17 -08:00 |
|
Christopher Jeffrey
|
e5a82c7195
|
sighash. tx signing. testnet.
|
2016-01-15 15:53:57 -08:00 |
|
Christopher Jeffrey
|
4f8d24ba36
|
more int and packet work.
|
2016-01-13 18:31:07 -08:00 |
|
Christopher Jeffrey
|
de455fa3e9
|
improve int functions and usage in parser and framer.
|
2016-01-12 18:13:32 -08:00 |
|
Christopher Jeffrey
|
f17f3b5bee
|
pool: add startSync and stopSync.
|
2016-01-12 00:39:39 -08:00 |
|
Christopher Jeffrey
|
d316b1c640
|
pool: move common listeners to createPeer.
|
2016-01-11 22:27:59 -08:00 |
|
Christopher Jeffrey
|
24f8bc69c5
|
refactor pool and tx.
|
2016-01-11 22:15:06 -08:00 |
|
Christopher Jeffrey
|
442c984c12
|
improve p2sh building. change wallet key/redeem methods.
|
2016-01-10 21:43:52 -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
|
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
|
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
|
6df8319871
|
fix pool peers.
|
2016-01-06 00:35:01 -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
|
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
|
10fce032b7
|
improve locatorHashes. fix utils ref in tx-pool. add utils.hash.
|
2016-01-04 15:12:50 -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
|
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
|
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
|
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
|
8b546a85e0
|
check for fullNode in handleBlock and handleMerkle.
|
2016-01-01 19:14:34 -08:00 |
|
Christopher Jeffrey
|
4c1a3761af
|
set relay to false on spv.
|
2016-01-01 18:07:18 -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
|
350ca9c875
|
move all block sync logic to pool.
|
2015-12-29 18:40:31 -08:00 |
|
Christopher Jeffrey
|
43b0533a18
|
minor improvements and fixes.
|
2015-12-27 23:54:53 -08:00 |
|
Christopher Jeffrey
|
52b653083c
|
add features potentially useful for blockchain explorers.
|
2015-12-21 20:00:13 -08:00 |
|
Christopher Jeffrey
|
a96f27682f
|
style. fix addr timestamp.
|
2015-12-19 02:17:01 -08:00 |
|
Christopher Jeffrey
|
d3811acc28
|
move chain.on("fork") somewhere sane.
|
2015-12-19 02:08:42 -08:00 |
|
Christopher Jeffrey
|
1e802c152f
|
comments. more style consistency.
|
2015-12-18 22:53:31 -08:00 |
|
Christopher Jeffrey
|
5ece45091b
|
style consistency.
|
2015-12-18 22:37:02 -08:00 |
|
Christopher Jeffrey
|
9fe8afa7d3
|
emit orphan event.
|
2015-12-18 20:33:19 -08:00 |
|
Christopher Jeffrey
|
7cabdcfda5
|
fix getOrphanRoot and usage.
|
2015-12-18 17:31:45 -08:00 |
|
Christopher Jeffrey
|
e735249d0d
|
try to choose from at least 5 potential peers when syncing.
|
2015-12-18 16:52:32 -08:00 |
|
Christopher Jeffrey
|
086b32cb73
|
minor: initialize syncPeer.
|
2015-12-18 16:39:29 -08:00 |
|
Christopher Jeffrey
|
cf502913b6
|
check to see if chain is synced.
|
2015-12-18 16:35:00 -08:00 |
|
Christopher Jeffrey
|
34e90c6baa
|
handle chain forks from checkpoints. enforce one syncPeer.
|
2015-12-18 16:30:58 -08:00 |
|