Add exchange.SessionExchange interface for exchanges that support sessions.
Blockservice has an explicit dependency on bitswap so it can
call NewSession. It should rely on the exchange interfaces though, not
on specific implementations.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
Showing
Please register or sign in to comment