lotus/node/modules
Masih H. Derkani 2ebc111b70 Use the same host and datatransfer as markets for index provider
Remove the bespoke instantiation of libp2p host and datatransfer manager
for index provider and reuse the existing instances used by markets.

The rationale for reuse is the following:
 1. Separation of host introduces a discovery problem, where without
    gossipsub the index provider endpoint will not be discoverable.
    Using the same host as markets would mean the chain can be used to
    discover addresses, putting less empassis on criticality of
    gossipsub considering its set-up cost and lack of message delivery
    guarantees.

 2. Only a single instance of graphsync/datatransfer can be instantiated
    per libp2p host; therefore, if the host is shared, so should
    datatransfer manager.

 3. it is not clear if the assumptions under which separation was
    decided still hold.
2022-02-16 13:46:44 +00:00
..
dtypes feat(storageminer): add api for transfer diagnostics 2021-12-22 13:41:29 -08:00
helpers more lint fixes 2019-07-02 19:45:03 +02:00
lp2p change scoring based on review 2022-02-10 10:53:07 -08:00
testing fix: truncate genesis file before generating 2020-11-13 17:30:12 +01:00
alerts.go alerting: Address review 2021-08-26 16:09:18 +02:00
blockstore.go use functional options for hotstore gc, rename MovingGC to FullGC 2021-07-27 09:53:22 +03:00
chain.go plumb more contexts 2021-12-17 11:42:09 +02:00
client.go feat(deps): update markets stack 2022-01-14 17:21:04 -08:00
core.go Merge apistruct with the api package 2021-03-25 15:10:08 +01:00
genesis.go plumb more contexts 2021-12-17 11:42:09 +02:00
graphsync.go Gather graphsync metrics on provider side as well 2021-10-19 19:45:25 +02:00
ipfs.go integrate DAG store and CARv2 in deal-making (#6671) 2021-08-16 23:34:32 +01:00
mpoolnonceapi.go More tweaking of context handling in the messagepool 2021-05-31 18:13:23 -04:00
paych.go Propagate StateMsg api changes 2021-04-05 19:56:53 +02:00
services.go Service creation takes interface, not implementation 2022-02-10 08:41:18 -08:00
stmgr.go Fix Drand fetching around null tipsets 2021-09-29 11:57:59 -04:00
storage.go fix lint 2021-03-09 23:38:28 +01:00
storageminer_dagstore.go Merge remote-tracking branch 'origin/master' into feat/cid-to-piece-idx 2022-01-20 16:21:48 +04:00
storageminer_idxprov.go Use the same host and datatransfer as markets for index provider 2022-02-16 13:46:44 +00:00
storageminer_svc.go fix log.Error; rename RemoteStore 2021-06-09 13:05:54 +02:00
storageminer.go fixup 2022-02-03 15:53:46 +01:00