flatironinstitute / kachery-p2p

Peer-to-peer content-addressable file sharing using kachery
4 stars 4 forks source link

detect if connected to the wrong daemon #22

Open magland opened 3 years ago

magland commented 3 years ago

daemon should write its ID to the kachery storage directory. Then when the client connects, it should verify that it is looking at the same storage directory. That way we can give a more helpful error message: 'you are connecting to daemon X, but your storage is node Y'