Christopher Jeffrey
|
dbaae30700
|
net: only add timeouts for outbound peers.
|
2017-01-10 18:03:19 -08:00 |
|
Christopher Jeffrey
|
eabbfbf98b
|
net: fix getdata bug.
|
2017-01-10 16:12:42 -08:00 |
|
Christopher Jeffrey
|
c605638daf
|
pool: some request refactoring.
|
2017-01-10 16:10:55 -08:00 |
|
Christopher Jeffrey
|
4c557744a2
|
refactor: address, amount, uri, errors.
|
2017-01-09 23:07:02 -08:00 |
|
Christopher Jeffrey
|
cd4a0cc964
|
network: remove segnet3 support.
|
2017-01-08 22:38:41 -08:00 |
|
Christopher Jeffrey
|
c7ce8c778b
|
peer: some comments. do not kill on late pong.
|
2017-01-08 22:29:57 -08:00 |
|
Christopher Jeffrey
|
fb0b2b53d7
|
net: use Map object for requested items.
|
2017-01-07 00:19:40 -08:00 |
|
Christopher Jeffrey
|
5caf6210b9
|
refactor: move constants around.
|
2017-01-06 09:57:55 -08:00 |
|
Christopher Jeffrey
|
d1a4e53896
|
bloom/net: move bloom constants. net services, move inv types.
|
2017-01-06 01:57:49 -08:00 |
|
Christopher Jeffrey
|
8ca683f4f3
|
peer: add inv queue.
|
2017-01-05 14:35:29 -08:00 |
|
Christopher Jeffrey
|
94d4e80373
|
co: stop using co.wrap.
|
2017-01-05 14:35:29 -08:00 |
|
Christopher Jeffrey
|
cca763ca95
|
peer: avoid compactblock dos.
|
2017-01-05 14:35:28 -08:00 |
|
Christopher Jeffrey
|
cd8e464079
|
net: redesign stall behavior and block management.
|
2017-01-05 14:35:28 -08:00 |
|
Christopher Jeffrey
|
eb12b0e608
|
net: misc.
|
2017-01-05 14:35:28 -08:00 |
|
Christopher Jeffrey
|
da7640cd27
|
peer: minor.
|
2016-12-29 15:35:03 -08:00 |
|
Christopher Jeffrey
|
f3bd64689d
|
peer: minor.
|
2016-12-24 13:10:14 -08:00 |
|
Christopher Jeffrey
|
8b8a65868b
|
peer: fix getutxos handler.
|
2016-12-22 05:16:04 -08:00 |
|
Christopher Jeffrey
|
4f8e401dbc
|
peer: cleanup events after connect timeout.
|
2016-12-22 04:01:49 -08:00 |
|
Christopher Jeffrey
|
14f2851929
|
pool: add ban and unban calls once again.
|
2016-12-21 15:13:01 -08:00 |
|
Christopher Jeffrey
|
24e6ed7a26
|
net: rewrite hostlist. bitcoind-style management.
|
2016-12-21 13:18:03 -08:00 |
|
Christopher Jeffrey
|
25101f1784
|
net: refactor host and peer list.
|
2016-12-20 15:45:12 -08:00 |
|
Christopher Jeffrey
|
127a52aaf1
|
refactor: rename network address.
|
2016-12-20 12:47:19 -08:00 |
|
Christopher Jeffrey
|
6617bd7d49
|
peer: lint.
|
2016-12-19 04:01:02 -08:00 |
|
Christopher Jeffrey
|
1df11caf71
|
peer: lock fixes. dos fixes.
|
2016-12-18 22:14:50 -08:00 |
|
Christopher Jeffrey
|
856957eee9
|
peer: fix witness checking for inbound.
|
2016-12-18 03:35:16 -08:00 |
|
Christopher Jeffrey
|
82d1345311
|
net: refactor inv type handling.
|
2016-12-18 01:44:04 -08:00 |
|
Christopher Jeffrey
|
514e735a96
|
net: refactor reject msg. broadcast orphans.
|
2016-12-17 14:08:43 -08:00 |
|
Christopher Jeffrey
|
9036ea263d
|
peer: less spammy logs.
|
2016-12-17 02:50:03 -08:00 |
|
Christopher Jeffrey
|
6a87a9588b
|
peer: refactor ack handling.
|
2016-12-17 02:10:28 -08:00 |
|
Christopher Jeffrey
|
1365d0ff1d
|
net: refactor peer.pending.
|
2016-12-16 22:48:16 -08:00 |
|
Christopher Jeffrey
|
edf47d67c8
|
primitives: refresh call.
|
2016-12-16 22:02:05 -08:00 |
|
Christopher Jeffrey
|
a23a5437a4
|
net: fix peer error handling.
|
2016-12-16 20:48:47 -08:00 |
|
Christopher Jeffrey
|
af8194112e
|
net: refactor pool.
|
2016-12-16 17:18:20 -08:00 |
|
Christopher Jeffrey
|
8ccefb8e71
|
peer: refactor.
|
2016-12-16 15:08:59 -08:00 |
|
Christopher Jeffrey
|
4269d16fee
|
refactor: lint.
|
2016-12-16 14:49:35 -08:00 |
|
Christopher Jeffrey
|
7971e56765
|
peer: use list for request queue.
|
2016-12-16 14:40:30 -08:00 |
|
Christopher Jeffrey
|
463ebd9bd3
|
pool: misc refactor.
|
2016-12-16 13:53:05 -08:00 |
|
Christopher Jeffrey
|
761b6d6636
|
net: refactor host management.
|
2016-12-16 13:50:45 -08:00 |
|
Christopher Jeffrey
|
dc58c99ba2
|
net: refactor sending and announcing.
|
2016-12-16 04:10:02 -08:00 |
|
Christopher Jeffrey
|
69a9b5873f
|
net: use linked lists.
|
2016-12-16 03:18:08 -08:00 |
|
Christopher Jeffrey
|
72d5eec710
|
block/bip152/merkleblock: refactor some block things.
|
2016-12-11 10:10:00 -08:00 |
|
Christopher Jeffrey
|
59645ac3ec
|
refactor: remove extra properties from tx and block.
|
2016-12-11 05:35:31 -08:00 |
|
Christopher Jeffrey
|
ded3bc34f3
|
refactor: start moving away from getters.
|
2016-11-30 21:31:52 -08:00 |
|
Christopher Jeffrey
|
0e234c7c3a
|
net: fix destroy check.
|
2016-11-30 21:00:40 -08:00 |
|
Christopher Jeffrey
|
71c7c3e300
|
peer: lint.
|
2016-11-29 20:35:30 -08:00 |
|
Christopher Jeffrey
|
bc4a9b3f14
|
net: reduce request timeout to 2 min.
|
2016-11-28 17:56:15 -08:00 |
|
Christopher Jeffrey
|
507fd89948
|
timedata: move time to network object.
|
2016-11-28 16:58:48 -08:00 |
|
Christopher Jeffrey
|
c7b7678f8a
|
peer: fix tryAnnounce.
|
2016-11-27 23:54:08 -08:00 |
|
Christopher Jeffrey
|
7fd2c409ae
|
peer: error on finishDrain.
|
2016-11-27 16:09:23 -08:00 |
|
Christopher Jeffrey
|
c0fd199f2d
|
chain: refactor and optimize.
|
2016-11-25 19:34:25 -08:00 |
|
Christopher Jeffrey
|
6c25efca89
|
net: better write handling.
|
2016-11-24 14:44:10 -08:00 |
|
Christopher Jeffrey
|
9c48cc9333
|
pool: fix destroyed race condition.
|
2016-11-23 18:54:12 -08:00 |
|
Christopher Jeffrey
|
f376289684
|
crypto: implement subtle api for browser.
|
2016-11-21 17:50:05 -08:00 |
|
Christopher Jeffrey
|
1827b945dd
|
walletdb: new client api.
|
2016-11-19 18:26:27 -08:00 |
|
Christopher Jeffrey
|
8f743b6e7d
|
peer: handle drains better.
|
2016-11-19 14:33:40 -08:00 |
|
Christopher Jeffrey
|
b754973511
|
utils/btc: rename.
|
2016-11-19 10:45:31 -08:00 |
|
Christopher Jeffrey
|
7f3c265085
|
net: rename timedata.
|
2016-11-19 06:53:59 -08:00 |
|
Christopher Jeffrey
|
67a00bfe50
|
modules: remove all conditional requires. see #105.
|
2016-11-18 23:05:04 -08:00 |
|
Christopher Jeffrey
|
814c18437d
|
miner: options.
|
2016-11-18 06:53:55 -08:00 |
|
Christopher Jeffrey
|
d96a579665
|
peer: refactor cmpctblock handling.
|
2016-11-17 16:51:21 -08:00 |
|
Christopher Jeffrey
|
39a4df7b02
|
peer: improve sendcmpct handling.
|
2016-11-17 05:02:31 -08:00 |
|
Christopher Jeffrey
|
c18bb98b3c
|
peer: better options handling and logs.
|
2016-11-12 22:01:15 -08:00 |
|
Christopher Jeffrey
|
b2c02a7052
|
chain: cleanup function names.
|
2016-11-09 18:25:33 -08:00 |
|
Christopher Jeffrey
|
c3a9b7378f
|
net: enable segwit compact blocks.
|
2016-11-06 22:50:08 -08:00 |
|
Christopher Jeffrey
|
62ef5ea7f4
|
bip152: implement segwit compact blocks.
|
2016-11-06 22:34:05 -08:00 |
|
Christopher Jeffrey
|
60c64a6eba
|
peer: kill unresponsive peers.
|
2016-11-05 09:11:16 -07:00 |
|
Christopher Jeffrey
|
2bd3ac4618
|
pool: fix deadlock in block sync.
|
2016-11-02 19:16:22 -07:00 |
|
Christopher Jeffrey
|
889f796748
|
peer: fix race condition - open emitted after peer.close().
|
2016-11-02 19:16:22 -07:00 |
|
Christopher Jeffrey
|
ef387f969f
|
peer: minor - fix peer.sync().
|
2016-10-24 20:49:18 -07:00 |
|
Christopher Jeffrey
|
9e0542dba1
|
chain: improve reset. fix versionbits checkpoints.
|
2016-10-21 19:38:11 -07:00 |
|
Christopher Jeffrey
|
a2d6ed56e7
|
refactor: have promises resolve to undefined.
|
2016-10-21 19:38:04 -07:00 |
|
Christopher Jeffrey
|
0f74292082
|
refactor: style.
|
2016-10-03 07:58:12 -07:00 |
|
Christopher Jeffrey
|
6dfa47e7f4
|
refactor: rename constructors.
|
2016-10-02 23:24:12 -07:00 |
|
Christopher Jeffrey
|
1a8657d131
|
spawn: rename to co.
|
2016-10-02 23:24:11 -07:00 |
|
Christopher Jeffrey
|
f0223146af
|
deps: massive refactor.
|
2016-10-02 23:24:11 -07:00 |
|
Christopher Jeffrey
|
c0d47baa08
|
net: minor.
|
2016-10-02 23:24:08 -07:00 |
|
Christopher Jeffrey
|
f5a8cb3ec0
|
locker: more refactoring.
|
2016-10-02 23:24:08 -07:00 |
|
Christopher Jeffrey
|
144beb343a
|
mempool: remove confusing fee nonsense.
|
2016-10-02 23:24:07 -07:00 |
|
Christopher Jeffrey
|
99ef1fbc7b
|
test: update tx tests.
|
2016-10-02 23:24:07 -07:00 |
|
Christopher Jeffrey
|
37de8bf2a7
|
net: always pause socket when handling a packet.
|
2016-10-02 23:24:07 -07:00 |
|
Christopher Jeffrey
|
9aaf5ea2a0
|
peer.
|
2016-10-02 23:24:06 -07:00 |
|
Christopher Jeffrey
|
661a8f2f20
|
peer: flush data to socket.
|
2016-10-02 23:24:06 -07:00 |
|
Christopher Jeffrey
|
a467b4e475
|
refactor: misc.
|
2016-10-02 23:24:06 -07:00 |
|
Christopher Jeffrey
|
f0a37f3e5e
|
refactor: replace callback comments.
|
2016-09-23 01:05:06 -07:00 |
|
Christopher Jeffrey
|
3b14525d17
|
refactor: lint. misc.
|
2016-09-23 00:56:53 -07:00 |
|
Christopher Jeffrey
|
c2e1e4bfc9
|
refactor: chain. txdb. wallet.
|
2016-09-22 23:58:19 -07:00 |
|
Christopher Jeffrey
|
63a9dc61f6
|
refactor: peer. etc.
|
2016-09-22 16:05:22 -07:00 |
|
Christopher Jeffrey
|
4e11bbbf9f
|
refactor: locks.
|
2016-09-22 05:24:18 -07:00 |
|
Christopher Jeffrey
|
ae83aa6fba
|
refactor: more work.
|
2016-09-22 00:24:59 -07:00 |
|
Christopher Jeffrey
|
60d162eb20
|
refactor: s/spawn.co/co/g
|
2016-09-21 22:59:48 -07:00 |
|
Christopher Jeffrey
|
ec0d50d506
|
refactor: improve generator perf.
|
2016-09-21 22:58:27 -07:00 |
|
Christopher Jeffrey
|
d78151d3d3
|
refactor: promises.
|
2016-09-20 15:28:14 -07:00 |
|
Christopher Jeffrey
|
5dadb224ca
|
rpc: lint.
|
2016-09-17 19:23:45 -07:00 |
|
Christopher Jeffrey
|
1096cd0bd9
|
peer: fix checksum optimization for spv serving.
|
2016-09-17 18:25:52 -07:00 |
|
Christopher Jeffrey
|
eb5d0cf972
|
peer: refactor.
|
2016-09-16 18:50:56 -07:00 |
|
Christopher Jeffrey
|
5da0aceb38
|
packets
|
2016-09-16 17:03:56 -07:00 |
|
Christopher Jeffrey
|
7aa2ecb24b
|
peer: fix serving broadcasted txs.
|
2016-09-16 00:03:55 -07:00 |
|
Christopher Jeffrey
|
97e0122b8b
|
peer: do not fire events for unknown packets (bad).
|
2016-08-27 18:41:32 -07:00 |
|
Christopher Jeffrey
|
dd53e43958
|
pool: repurpose regular peers if no loader is available.
|
2016-08-27 15:53:04 -07:00 |
|
Christopher Jeffrey
|
a143c78369
|
config: add querystring parsing.
|
2016-08-27 14:31:50 -07:00 |
|
Christopher Jeffrey
|
59d4e39a84
|
refactor: lint.
|
2016-08-26 01:46:52 -07:00 |
|
Christopher Jeffrey
|
09d699109e
|
pool: even more refactoring.
|
2016-08-26 01:13:46 -07:00 |
|
Christopher Jeffrey
|
54dd7c4eb3
|
pool: more refactoring.
|
2016-08-26 00:57:07 -07:00 |
|
Christopher Jeffrey
|
d21aadf6b3
|
peer: refactor.
|
2016-08-26 00:24:01 -07:00 |
|
Christopher Jeffrey
|
fa366e56fd
|
pool: more peer management.
|
2016-08-25 19:48:34 -07:00 |
|
Christopher Jeffrey
|
0ff93dc705
|
pool: refactor host and peer list.
|
2016-08-25 19:30:56 -07:00 |
|
Christopher Jeffrey
|
aa7f105f38
|
net: bip150 - do not attempt handshake if bip151 handshake failed.
|
2016-08-25 17:35:45 -07:00 |
|
Christopher Jeffrey
|
d663eef37e
|
net: refactor framer and parser.
|
2016-08-25 01:35:20 -07:00 |
|
Christopher Jeffrey
|
6105095379
|
refactor: more restructuring.
|
2016-08-24 04:59:06 -07:00 |
|