dao-xyz / peerbit

P2P database framework with encryption, sharding and search

Home Page:https://peerbit.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Stream`: When trying to establish direct connections try through multiple neighbours

marcus-pousette opened this issue · comments

Currently when trying to a dial a peer direction

this.maybeConnectDirectly(path).catch((e) => {

it will assume that all neighbour nodes to the target node can act like circuit relay servers. In practice the target node will only seek reservation in one of them.