smokesignal icon indicating copy to clipboard operation
smokesignal copied to clipboard

Build your own small (or larger) peer to peer network with node.js

Results 10 smokesignal issues
Sort by recently updated
recently updated
newest added

Error thrown when Peerlist.prototype.close is called.

In a long running application with turnover and new deploys, the seed nodes could change. I think a mechanism for updating the seeds in active modes would be useful.

enhancement

I'm setting up the smoke p2p on multiple ip addresses on my machine(Ubuntu shell on Windows 10). I'm testing the connectivity with a localhost node. I'm getting this error concerning...

I am assuming smokesignal doesn't simply connect peers directly to each other, so a single peer will not be aware of every other peer on the network. Given this assumption,...

question

There is a small probability of a network becoming exclusive (and rejecting any new nodes) if they all hit the max peer number within the current network. I hit that...

It's not yet optimized for performance: - nssocket adds a large overhead, I think, because we don't use any of it's features. - a custom/off-the-shelf binary protocol might be cleaner...

There's no authentication and encryption. Since hash(message.content) is part of the message id, all messages should survive a change of content by an adversary. Broadcasts are anonymous, so there's no...

Instead of wrapping your own stuff _around_ smokesignal, why not be able to add it to smokesignal directly?

Consider allowing people to add other transports, e.g. maybe zmq.

The underlying cause of netsplits are subnets that form because nodes automatically choose closest nodes as peers. With network stability in mind they should actually do quite the opposite: choose...

enhancement