Proof of concept implementation of the biton protocol. Please do not use as this is still under heavy development.
Available env vars:
KEYPAIRx25519 KeyPair in base58 format, will generate new one if empty.UTP_HOSTUTP host to advertise on mainline, defaults to0.0.0.0.UTP_PORTUTP port to advertise on mainline, defaults to0.MAINLINE_HOSTUDP port to use for mainline, defaults to0.0.0.0.MAINLINE_PORTUDP port to use for mainline, defaults to6881.
BITON_UTP_PORT=9999 go run cmd/swarm/main.go- Currently using noise's XX pattern. Not sure if that's the right one to use.
- Had to fork
noisesocketto allow wrappingnet.Connandnet.Listener. Thego.modreplace should be removed in order to allow importing the lib.