Two commit on top of #9919 (first adds the implementation, second adds a test). Make it possible to listen and connect to UNIX sockets for P2P. There are two main use cases for this:
- Testing without possibility of port collisions
- TOR hidden service listening with less risk of privacy leaks by not opening any internet ports
Usage: specify :unix:<path>
for bind
, whitebind
, connect
, addnode
.