Files
lotus/node/modules
Masih H. Derkani d044e30e12 Infer index provider topic from network name by default
Index provider integration uses a gossipsub topic to announce changes to
the advertised content. The topic name was fixed to the default topic
which is `/indexer/ingest/mainnet`.

In the case of lotus, the gossipsub validators enforce a list of topics
the instance is permitted to join by setting subscription filter option
when `PubSub` instance is constructed via DI.

Having the fixed topic name meant that any SP starting up a node on a
network other than `mainnet` would have to override the default config
to avoid the node crashing when index provider is enabled.

Instead of a fixed default, the changes here infer the allowed indexer
topic name from network name automatically if the topic configuration is
left empty.

Fixes #8510
2022-04-22 02:46:05 +02:00
..
2019-07-02 19:45:03 +02:00
2021-08-26 16:09:18 +02:00
2021-12-17 11:42:09 +02:00
2022-01-20 18:19:27 +01:00
2021-03-25 15:10:08 +01:00
2021-12-17 11:42:09 +02:00
2021-04-05 19:56:53 +02:00
2021-03-09 23:38:28 +01:00
2022-04-11 20:45:13 -04:00