UNPKG

libp2p

Version:

JavaScript implementation of libp2p, a modular peer to peer network stack

9 lines (7 loc) 240 B
import type { ConnectionGater } from '@libp2p/interface' /** * Returns a default connection gater implementation that allows everything */ export function connectionGater (gater: ConnectionGater = {}): ConnectionGater { return gater }