ipfs / ipfs-check

A tool for checking the accessibility of your data by IPFS peers
https://check.ipfs.network
Other
40 stars 14 forks source link

feat: reuse host #59

Closed 2color closed 2 months ago

2color commented 2 months ago

Fixes #53

2color commented 2 months ago

whats the difference between the result of createTestHost and d.h ? I'm guessing the d.h is the libp2p daemon host, but what exactly is the testHost?

They're both libp2p hosts/peers.

They are configured slightly differently. For example, d.h is a DHT Client, so it connects to other peers (which helps with things like discovering your own public IPs etc.)

The test host we create is a "fresh clean" peer that is used just for the purpose of the test.

2color commented 2 months ago

Closing this for now. Need to rethink this (ideally in #53)