Christopher Jeffrey
|
219671c620
|
pool: do not emit tx if we have a mempool.
|
2017-01-21 15:38:39 -08:00 |
|
Christopher Jeffrey
|
51a25bf15f
|
net/nodeclient: always resend bloom filter. see #119.
|
2017-01-21 15:20:03 -08:00 |
|
Christopher Jeffrey
|
f3f585defc
|
pool: cleanup.
|
2017-01-21 13:59:13 -08:00 |
|
Christopher Jeffrey
|
b212eed282
|
net: handle public ip and port better.
|
2017-01-21 13:56:41 -08:00 |
|
Christopher Jeffrey
|
dc839062bf
|
pool: minor.
|
2017-01-21 13:20:44 -08:00 |
|
Christopher Jeffrey
|
545c0004e9
|
pool: minor.
|
2017-01-21 13:07:49 -08:00 |
|
Christopher Jeffrey
|
be4145e163
|
pool/peer: fixes. cleanup.
|
2017-01-21 13:03:53 -08:00 |
|
Christopher Jeffrey
|
58f8035add
|
pool: noncelist.
|
2017-01-21 12:57:01 -08:00 |
|
Christopher Jeffrey
|
f67eeee936
|
pool: minor.
|
2017-01-21 05:22:46 -08:00 |
|
Christopher Jeffrey
|
518a113e97
|
pool: fix error.
|
2017-01-21 05:19:53 -08:00 |
|
Christopher Jeffrey
|
44201193e8
|
pool: noncelist.
|
2017-01-21 05:18:18 -08:00 |
|
Christopher Jeffrey
|
3abfdb3770
|
pool: cleanup.
|
2017-01-21 04:15:16 -08:00 |
|
Christopher Jeffrey
|
59e73b24ca
|
parser: minor.
|
2017-01-21 03:56:30 -08:00 |
|
Christopher Jeffrey
|
4008caff51
|
peer: minor.
|
2017-01-21 03:49:44 -08:00 |
|
Christopher Jeffrey
|
4692849593
|
peer: abstract all deps.
|
2017-01-21 03:43:26 -08:00 |
|
Christopher Jeffrey
|
6016d96202
|
pool: move sync method out of peer.
|
2017-01-20 22:24:45 -08:00 |
|
Christopher Jeffrey
|
b60e0e20a4
|
pool: stricter standards for requests.
|
2017-01-20 20:51:36 -08:00 |
|
Christopher Jeffrey
|
7a5f4a1928
|
pool: fix spv.
|
2017-01-20 19:20:42 -08:00 |
|
Christopher Jeffrey
|
08b41a2dc4
|
peer: throw on destroyed write.
|
2017-01-20 17:40:06 -08:00 |
|
Christopher Jeffrey
|
f0f9f798c5
|
pool: fix inv. do not hold lock for bip151 msgs.
|
2017-01-20 17:23:14 -08:00 |
|
Christopher Jeffrey
|
cdcdb7bd52
|
pool: add forceInv for getdata.
|
2017-01-20 17:09:00 -08:00 |
|
Christopher Jeffrey
|
d035eb10eb
|
pool: getblocks fix again.
|
2017-01-20 17:01:51 -08:00 |
|
Christopher Jeffrey
|
4a45290f36
|
pool: fix getblocks.
|
2017-01-20 16:58:14 -08:00 |
|
Christopher Jeffrey
|
0c055ba236
|
pool: minor.
|
2017-01-20 16:49:55 -08:00 |
|
Christopher Jeffrey
|
3fb2150dc4
|
pool: allow use of headersFirst without checkpoints.
|
2017-01-20 15:04:13 -08:00 |
|
Christopher Jeffrey
|
fe52210c5e
|
pool: fix block logs.
|
2017-01-20 13:44:20 -08:00 |
|
Christopher Jeffrey
|
18c4a83ed3
|
pool: refactor and add compact block mode 1 support.
|
2017-01-20 09:39:58 -08:00 |
|
Christopher Jeffrey
|
7543049180
|
pool: refactor packet handling.
|
2017-01-19 17:31:38 -08:00 |
|
Christopher Jeffrey
|
2d952306e6
|
net: refactor packet handling.
|
2017-01-19 15:32:18 -08:00 |
|
Christopher Jeffrey
|
8cd951c994
|
pool: fix verify error handling.
|
2017-01-19 06:29:45 -08:00 |
|
Christopher Jeffrey
|
0a756aba34
|
pool: refactor logging.
|
2017-01-19 05:05:56 -08:00 |
|
Christopher Jeffrey
|
72e4ddc2b0
|
net: cleanup after removal.
|
2017-01-19 04:45:17 -08:00 |
|
Christopher Jeffrey
|
b6593adf75
|
net: remove alert system.
|
2017-01-19 04:41:58 -08:00 |
|
Christopher Jeffrey
|
e407c08668
|
net: drop getutxos impl.
|
2017-01-19 04:39:25 -08:00 |
|
Christopher Jeffrey
|
66ec0ae36e
|
net: better headers first.
|
2017-01-19 04:35:12 -08:00 |
|
Christopher Jeffrey
|
9c352c5d2b
|
net: better locks.
|
2017-01-19 01:18:57 -08:00 |
|
Christopher Jeffrey
|
05353e0e1a
|
peer: do not flush merkle blocks early.
|
2017-01-18 21:59:46 -08:00 |
|
Christopher Jeffrey
|
2ee6cea969
|
net: better dos protection for merkleblocks.
|
2017-01-18 21:54:35 -08:00 |
|
Christopher Jeffrey
|
4cba97a0a8
|
wallet/net: ensure low FPR of bloom filters. see #118.
|
2017-01-18 20:53:01 -08:00 |
|
Christopher Jeffrey
|
cdad00944c
|
pool: minor.
|
2017-01-17 08:15:41 -08:00 |
|
Christopher Jeffrey
|
1e3cc80e2d
|
networks: update testnet slowHeight.
|
2017-01-16 19:31:59 -08:00 |
|
Christopher Jeffrey
|
e15ee2308d
|
bip152: fix size calculation.
|
2017-01-16 14:09:46 -08:00 |
|
Christopher Jeffrey
|
d840144f3e
|
hostlist/authdb: dns resolution refactor.
|
2017-01-16 12:44:02 -08:00 |
|
Christopher Jeffrey
|
120ceef984
|
peer: timeout bip150 and bip151 properly.
|
2017-01-16 11:43:45 -08:00 |
|
Christopher Jeffrey
|
f2d092f23c
|
net: add priority nodes.
|
2017-01-16 04:30:10 -08:00 |
|
Christopher Jeffrey
|
db49f44c8a
|
peer: refactor version packet handling.
|
2017-01-16 03:33:54 -08:00 |
|
Christopher Jeffrey
|
212a69697e
|
tcp: make server promise based.
|
2017-01-16 01:55:10 -08:00 |
|
Christopher Jeffrey
|
63b39cec56
|
pool: dns resolution for authdb.
|
2017-01-16 01:31:14 -08:00 |
|
Christopher Jeffrey
|
ded8097a03
|
dns: add lookup function.
|
2017-01-16 01:29:38 -08:00 |
|
Christopher Jeffrey
|
491462f551
|
bip150: add dns resolution. comments.
|
2017-01-15 23:46:19 -08:00 |
|
Christopher Jeffrey
|
1e9b7363c2
|
bip151: cleanup handshake properly.
|
2017-01-15 23:43:19 -08:00 |
|
Christopher Jeffrey
|
9affb11b22
|
bip152: comments.
|
2017-01-15 23:42:39 -08:00 |
|
Christopher Jeffrey
|
afb15787ad
|
peer: better error messages.
|
2017-01-15 18:03:31 -08:00 |
|
Christopher Jeffrey
|
fe0ea9ac76
|
pool: minor.
|
2017-01-15 17:57:17 -08:00 |
|
Christopher Jeffrey
|
6d1c918793
|
hostlist: refactor seed handling.
|
2017-01-15 13:03:57 -08:00 |
|
Christopher Jeffrey
|
fcae101c0f
|
bip151: extra assertions. refactor.
|
2017-01-14 23:19:46 -08:00 |
|
Christopher Jeffrey
|
c0031e062a
|
peer: minor.
|
2017-01-14 19:46:18 -08:00 |
|
Christopher Jeffrey
|
199699d73a
|
node: better option handling.
|
2017-01-14 19:35:59 -08:00 |
|
Christopher Jeffrey
|
a486bd3a18
|
refactor: options.
|
2017-01-14 17:59:54 -08:00 |
|
Christopher Jeffrey
|
9dbfaf3127
|
pool: rename ignoreDiscovery.
|
2017-01-14 09:11:07 -08:00 |
|
Christopher Jeffrey
|
f0e7aa9d82
|
net: handle server differently.
|
2017-01-14 07:54:07 -08:00 |
|
Christopher Jeffrey
|
e8cc724488
|
node/net: refactor node bootstrapping.
|
2017-01-14 07:21:16 -08:00 |
|
Christopher Jeffrey
|
80d01b52c3
|
net: avoid 0-len getdatas for blocks.
|
2017-01-14 06:53:51 -08:00 |
|
Christopher Jeffrey
|
fd2f158169
|
net: avoid requesting duplicate blocks. avoid reconnecting to banned peers.
|
2017-01-14 06:43:49 -08:00 |
|
Christopher Jeffrey
|
699e71d84a
|
net: send peer addr in version msg.
|
2017-01-13 16:45:05 -08:00 |
|
Christopher Jeffrey
|
b77b814be4
|
bip152: fix empty block filling.
|
2017-01-13 15:27:13 -08:00 |
|
Christopher Jeffrey
|
166fe0ad6e
|
chain: remove bestHeight tracking.
|
2017-01-13 12:50:50 -08:00 |
|
Christopher Jeffrey
|
7c021cf842
|
utils: rename locker to lock for consistency.
|
2017-01-11 21:20:26 -08:00 |
|
Christopher Jeffrey
|
65ab296d2e
|
bloom: cleanup instantiation.
|
2017-01-11 12:10:04 -08:00 |
|
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
|
d338f62078
|
protocol: constants changes.
|
2017-01-10 04:57:41 -08:00 |
|
Christopher Jeffrey
|
4c557744a2
|
refactor: address, amount, uri, errors.
|
2017-01-09 23:07:02 -08:00 |
|
Christopher Jeffrey
|
84fce9aad4
|
minor: some comments.
|
2017-01-09 15:20:56 -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
|
d396cdd0fd
|
constants: minor.
|
2017-01-06 21:14:11 -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
|
3da4542ecb
|
pool: remove failsafe.
|
2017-01-05 19:25:34 -08:00 |
|
Christopher Jeffrey
|
b3ccd8a105
|
pool: fix handle headers.
|
2017-01-05 14:37:37 -08:00 |
|
Christopher Jeffrey
|
8ca683f4f3
|
peer: add inv queue.
|
2017-01-05 14:35:29 -08:00 |
|
Christopher Jeffrey
|
5fb64e7bac
|
pool: refactor reject handling.
|
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
|
f8fa536129
|
pool: fix startSync.
|
2016-12-31 03:21:36 -08:00 |
|
Christopher Jeffrey
|
da7640cd27
|
peer: minor.
|
2016-12-29 15:35:03 -08:00 |
|
Christopher Jeffrey
|
943c5d2d12
|
net: treat services as a u32.
|
2016-12-27 15:28:19 -08:00 |
|
Christopher Jeffrey
|
dd6bd8db4a
|
net: move hostlist.
|
2016-12-27 14:38:32 -08:00 |
|
Christopher Jeffrey
|
74dbff2377
|
net: add addrman serialization.
|
2016-12-27 14:29:46 -08:00 |
|
Christopher Jeffrey
|
3ada25564e
|
chain: refactor orphan list.
|
2016-12-24 22:32:45 -08:00 |
|
Christopher Jeffrey
|
f3bd64689d
|
peer: minor.
|
2016-12-24 13:10:14 -08:00 |
|
Christopher Jeffrey
|
6ea846ee9a
|
pool: minor.
|
2016-12-22 22:27:09 -08:00 |
|
Christopher Jeffrey
|
5a0632f449
|
pool: schedule txs like blocks.
|
2016-12-22 13:26:04 -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
|
0eaa26a374
|
pool: minor.
|
2016-12-21 16:17:23 -08:00 |
|
Christopher Jeffrey
|
c10f689435
|
net: fix hosts.toArray (again).
|
2016-12-21 16:04:48 -08:00 |
|
Christopher Jeffrey
|
8ce823e31c
|
pool: minor.
|
2016-12-21 15:53:59 -08:00 |
|
Christopher Jeffrey
|
35fba9f3ae
|
pool: fix hostlist.toArray.
|
2016-12-21 15:49:46 -08:00 |
|
Christopher Jeffrey
|
1a4984d533
|
net: add hasServices method.
|
2016-12-21 15:31:55 -08:00 |
|
Christopher Jeffrey
|
14f2851929
|
pool: add ban and unban calls once again.
|
2016-12-21 15:13:01 -08:00 |
|
Christopher Jeffrey
|
cc4dd23c83
|
pool: fix potential infinite loop with addrman.
|
2016-12-21 15:05:41 -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
|
bd4bfa142f
|
pool: refactor dns discovery.
|
2016-12-19 16:58:02 -08:00 |
|
Christopher Jeffrey
|
cc2d49ea10
|
request: refactor mime types.
|
2016-12-19 16:50:32 -08:00 |
|
Christopher Jeffrey
|
b38d859382
|
pool: refactor dns discovery.
|
2016-12-19 07:32:42 -08:00 |
|
Christopher Jeffrey
|
291c7f72fe
|
pool: rediscover seeds when no hosts are available.
|
2016-12-19 07:11:09 -08:00 |
|
Christopher Jeffrey
|
3e3e4c84ba
|
network/pool: improve dns discovery.
|
2016-12-19 05:20:47 -08:00 |
|
Christopher Jeffrey
|
6617bd7d49
|
peer: lint.
|
2016-12-19 04:01:02 -08:00 |
|
Christopher Jeffrey
|
6d2659a31c
|
locker: revert to old drain behavior.
|
2016-12-19 03:58:34 -08:00 |
|
Christopher Jeffrey
|
1df11caf71
|
peer: lock fixes. dos fixes.
|
2016-12-18 22:14:50 -08:00 |
|
Christopher Jeffrey
|
3732260350
|
util: refactor locker.
|
2016-12-18 21:19:35 -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
|
dcfc19408f
|
node: minor fixes.
|
2016-12-17 00:18: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
|
5683d708dd
|
browser: add dns resolution.
|
2016-12-16 18:05:04 -08:00 |
|
Christopher Jeffrey
|
2c2ad461af
|
net: add dns.
|
2016-12-16 17:18:55 -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
|
ca9fc63309
|
net: minor.
|
2016-12-13 20:21:04 -08:00 |
|
Christopher Jeffrey
|
14c9a37cd9
|
packets: more serialization nonsense.
|
2016-12-13 02:58:49 -08:00 |
|
Christopher Jeffrey
|
dfefc7182f
|
serialization: more sizes.
|
2016-12-11 19:16:02 -08:00 |
|
Christopher Jeffrey
|
3b9e4d6c6e
|
refactor: use static writers everywhere.
|
2016-12-11 17:26:42 -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
|
4e9bec4cd3
|
refactor: lint.
|
2016-12-07 17:52:53 -08:00 |
|
Christopher Jeffrey
|
136a48b4b4
|
pool: refactor requests.
|
2016-12-06 17:12:54 -08:00 |
|
Christopher Jeffrey
|
2365355d79
|
net: getblocks handling.
|
2016-12-06 11:10:47 -08:00 |
|
Christopher Jeffrey
|
f45ce12bec
|
chaindb: minor.
|
2016-12-04 18:09:33 -08:00 |
|
Christopher Jeffrey
|
a95aba92fb
|
serialization: less polymorphism.
|
2016-12-04 00:54:50 -08:00 |
|
Christopher Jeffrey
|
c190dd2aad
|
util: refactor encoding.
|
2016-12-02 04:34:38 -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
|
0f529d5f8b
|
chain/block: reorder some consensus checks.
|
2016-11-29 20:36:23 -08:00 |
|
Christopher Jeffrey
|
71c7c3e300
|
peer: lint.
|
2016-11-29 20:35:30 -08:00 |
|
Christopher Jeffrey
|
01e7fd3902
|
pool: rename outbound/inbound. remove co.wait() in scheduleRequests.
|
2016-11-28 20:40:09 -08:00 |
|
Christopher Jeffrey
|
bc4a9b3f14
|
net: reduce request timeout to 2 min.
|
2016-11-28 17:56:15 -08:00 |
|
Christopher Jeffrey
|
fa8b4c6428
|
net: remove isBusy check from sendRequests.
|
2016-11-28 17:31:21 -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
|
cb59675b06
|
refactor: rename buffer reader/writer vars.
|
2016-11-26 10:56:50 -08:00 |
|
Christopher Jeffrey
|
c0fd199f2d
|
chain: refactor and optimize.
|
2016-11-25 19:34:25 -08:00 |
|
Christopher Jeffrey
|
0dbdf30e89
|
pool: minor.
|
2016-11-25 14:13:36 -08:00 |
|
Christopher Jeffrey
|
6c25efca89
|
net: better write handling.
|
2016-11-24 14:44:10 -08:00 |
|
Christopher Jeffrey
|
01bb0adc17
|
pool: fix typo.
|
2016-11-24 01:20:21 -08:00 |
|
Christopher Jeffrey
|
9c48cc9333
|
pool: fix destroyed race condition.
|
2016-11-23 18:54:12 -08:00 |
|
Christopher Jeffrey
|
0e40eb6491
|
tx/block: remove hashAsync.
|
2016-11-22 10:28:54 -08:00 |
|
Christopher Jeffrey
|
f376289684
|
crypto: implement subtle api for browser.
|
2016-11-21 17:50:05 -08:00 |
|
Christopher Jeffrey
|
d75b5d80cc
|
walletdb: nodeclient work.
|
2016-11-19 21:40:31 -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
|
bf34a8133d
|
btc: rename.
|
2016-11-19 11:14:38 -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
|
a1ec1bfff1
|
modules: refactor indexes.
|
2016-11-19 06:36:57 -08:00 |
|
Christopher Jeffrey
|
0631148705
|
modules: more refactoring.
|
2016-11-19 05:29:29 -08:00 |
|
Christopher Jeffrey
|
6f9ad90e07
|
modules: drop all circular deps.
|
2016-11-19 02:26:05 -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
|
cf949569ae
|
pool: do not set witness bit for FILTERED_BLOCK. see #88.
|
2016-11-10 13:42:27 -08:00 |
|
Christopher Jeffrey
|
f7be57b583
|
pool: allow segwit compact blocks in options.
|
2016-11-10 13:42:04 -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
|
5d3f15c2d8
|
net: consider alert packets to be "unknown".
|
2016-11-02 19:16:22 -07:00 |
|
Christopher Jeffrey
|
2d95e6b723
|
pool: disable alert system entirely.
|
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
|
48c65bb58b
|
node: do not listen until after wallet has loaded.
|
2016-10-24 19:37:07 -07:00 |
|
Christopher Jeffrey
|
c9b038d4e0
|
scanning: more bloom filter things.
|
2016-10-24 19:16:10 -07:00 |
|
Christopher Jeffrey
|
9e0542dba1
|
chain: improve reset. fix versionbits checkpoints.
|
2016-10-21 19:38:11 -07:00 |
|
Christopher Jeffrey
|
605874068b
|
s/bn/BN/g
|
2016-10-21 19:38:06 -07:00 |
|
Christopher Jeffrey
|
a2d6ed56e7
|
refactor: have promises resolve to undefined.
|
2016-10-21 19:38:04 -07:00 |
|
Christopher Jeffrey
|
97c89303ba
|
pool: fix broadcast items... again.
|
2016-10-06 02:07:53 -07:00 |
|
Christopher Jeffrey
|
56aca55b1e
|
pool: fix broadcasting. clean up loadrequest.
|
2016-10-06 01:58:05 -07:00 |
|
Christopher Jeffrey
|
cd0a8f2425
|
net: fix packet checksum error handling.
|
2016-10-04 15:55:10 -07:00 |
|
Christopher Jeffrey
|
0f74292082
|
refactor: style.
|
2016-10-03 07:58:12 -07:00 |
|
Christopher Jeffrey
|
5010c5588b
|
tx/block: s/32/u32/g
|
2016-10-03 05:32:39 -07:00 |
|
Christopher Jeffrey
|
3e59282c66
|
deps: browser transform.
|
2016-10-03 01:48:08 -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
|
376d6303b7
|
env: refactor how default instances work.
|
2016-10-02 23:24:10 -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
|
3f1946cd7e
|
refactor: lint. misc.
|
2016-09-24 02:41:35 -07:00 |
|
Christopher Jeffrey
|
1906034106
|
refactor: minor.
|
2016-09-23 21:36:05 -07:00 |
|
Christopher Jeffrey
|
6357795fd9
|
txdb: refactor.
|
2016-09-23 18:42:38 -07:00 |
|
Christopher Jeffrey
|
37586e5ad8
|
refactor: db.
|
2016-09-23 05:32:08 -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
|
19e5359f0f
|
pool: co.
|
2016-09-22 06:25:10 -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
|
2899219033
|
refactor: cleanup.
|
2016-09-21 11:03:48 -07:00 |
|
Christopher Jeffrey
|
b616d75128
|
refactor: db.
|
2016-09-21 00:14:16 -07:00 |
|
Christopher Jeffrey
|
d78151d3d3
|
refactor: promises.
|
2016-09-20 15:28:14 -07:00 |
|
Christopher Jeffrey
|
d18482507a
|
mempool: safer handling of wtxs.
|
2016-09-19 06:53:21 -07:00 |
|
Christopher Jeffrey
|
c0f4225b32
|
tx/mempool: fix mutated witnesses in rejects filter.
|
2016-09-19 04:41:29 -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
|
3f5c5cf603
|
parser: fix header parsing.
|
2016-09-16 19:36:02 -07:00 |
|
Christopher Jeffrey
|
2881294bf4
|
parser: minor.
|
2016-09-16 19:32:48 -07:00 |
|
Christopher Jeffrey
|
58a5372b09
|
bip151: minor.
|
2016-09-16 19:26:24 -07:00 |
|
Christopher Jeffrey
|
eb5d0cf972
|
peer: refactor.
|
2016-09-16 18:50:56 -07:00 |
|
Christopher Jeffrey
|
757aeb84c0
|
parser: minor.
|
2016-09-16 17:37:14 -07:00 |
|
Christopher Jeffrey
|
1e93d5ec7d
|
bip151: refactor.
|
2016-09-16 17:32:44 -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
|
9dd863d9f2
|
random: require random from crypto.
|
2016-09-15 13:36:18 -07:00 |
|
Christopher Jeffrey
|
0c90212f6d
|
refactor: drop all object literals.
|
2016-09-13 00:13:07 -07:00 |
|
Christopher Jeffrey
|
4e94d4a594
|
proxysocket: fix pow.
|
2016-09-07 13:52:00 -07:00 |
|
Christopher Jeffrey
|
c9ebe29e39
|
crypto: do not expose crypto module from utils.
|
2016-09-06 15:15:36 -07:00 |
|
Christopher Jeffrey
|
1edb5aa4cf
|
crypto: add random.js.
|
2016-09-05 23:33:36 -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
|
69fa80d353
|
packets: fix netaddress.setPort.
|
2016-08-27 13:20:54 -07:00 |
|
Christopher Jeffrey
|
47411fc5e2
|
proxysocket: minor. fix disconnect handling.
|
2016-08-27 12:44:12 -07:00 |
|
Christopher Jeffrey
|
df66dc1277
|
pool: logs.
|
2016-08-27 10:57:27 -07:00 |
|
Christopher Jeffrey
|
d94c143b5d
|
pool: minor fixes.
|
2016-08-27 10:23:49 -07:00 |
|
Christopher Jeffrey
|
6a2d1f639d
|
pool: fix loader disconnect handling.
|
2016-08-26 18:39:03 -07:00 |
|
Christopher Jeffrey
|
a14da39384
|
bip152: refactor siphash.
|
2016-08-26 02:29:09 -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
|
d073f87874
|
net: logs.
|
2016-08-25 23:07:03 -07:00 |
|
Christopher Jeffrey
|
902fa59ca9
|
pool: handle host+port collision between inbound and outbound.
|
2016-08-25 20:42:28 -07:00 |
|
Christopher Jeffrey
|
4fa6136ec4
|
bip152: use regular varints for lengths.
|
2016-08-25 20:40:47 -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
|
159679e5eb
|
pool: keep hostname on net addr.
|
2016-08-25 18:35:03 -07:00 |
|
Christopher Jeffrey
|
9ed67e0695
|
pool: repurpose regular peers.
|
2016-08-25 18:32:21 -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
|
7c1c2b2d15
|
pool: disable alert on main. see bitcoin/bitcoin#7692.
|
2016-08-25 03:37:33 -07:00 |
|
Christopher Jeffrey
|
455dc027ee
|
pool: alert.
|
2016-08-25 03:35:02 -07:00 |
|
Christopher Jeffrey
|
d663eef37e
|
net: refactor framer and parser.
|
2016-08-25 01:35:20 -07:00 |
|
Christopher Jeffrey
|
f7b61278d0
|
http: fix require.
|
2016-08-24 05:21:05 -07:00 |
|
Christopher Jeffrey
|
6105095379
|
refactor: more restructuring.
|
2016-08-24 04:59:06 -07:00 |
|