lotus/node
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
..
config Merge remote-tracking branch 'origin/master' into feat/cid-to-piece-idx 2022-02-08 12:37:57 +04:00
hello Plumb contexts through 2021-12-11 17:04:00 -05:00
impl Merge remote-tracking branch 'origin/master' into feat/cid-to-piece-idx 2022-02-08 12:37:57 +04:00
modules Use the same host and datatransfer as markets for index provider 2022-02-16 13:46:44 +00:00
repo Remove FS, MEM, GAS leftover test anotations. 2021-12-20 17:00:01 +01:00
builder_chain.go Lotus chain nodes relay indexer pubsub messages 2022-02-03 14:56:21 -08:00
builder_miner.go Use the same host and datatransfer as markets for index provider 2022-02-16 13:46:44 +00:00
builder.go Merge pull request #8026 from gammazero/feat/cid-to-piece-idx 2022-02-04 12:05:46 +04:00
fxlog.go Update go-log to v2 2020-01-08 20:22:31 +01:00
options.go chain: Cleanup consensus logic 2021-09-02 18:09:37 +02:00
rpc.go retrieval: REST export endpoint 2021-11-22 12:46:17 +01:00
shutdown_test.go Fix bad annotations 2021-12-13 13:41:04 +01:00
shutdown.go decouple rpc server and shutdown logic from cmd. 2021-05-21 21:34:17 +01:00
testopts.go enable libp2p options 2021-06-30 12:55:43 +02:00