-
vikstrous commented at 4:39 am on October 2, 2014: noneDoes bitcoind support unix domain sockets? I don’t see any mention of it. If not, I would like to be able to use them for RPC instead of regular sockets. This will reduce the attack surface when there is not Internet communication needed.
-
laanwj added the label RPC on Oct 2, 2014
-
laanwj commented at 7:01 am on October 2, 2014: memberboost::asio (the networking library used by RPC) supports “local” sockets, see http://www.boost.org/doc/libs/1_56_0/doc/html/boost_asio/overview/posix/local.html , that may be a place to start
-
laanwj added the label Feature on Feb 16, 2016
-
pinheadmz assigned pinheadmz on Jul 2, 2024
-
pinheadmz commented at 3:03 pm on July 2, 2024: member
Update: I attempted this but had an issue with libevent. There is a patch on libevent master now but looks like they don’t ship releases any more, and outside of depends builds, we can’t guarantee the user has the patched version installed. I’m not even sure how we update our depends builds to pull libevent master branch instead of a release.
There seems to be some core dev support for replacing libevent entirely, and so I am working on that.
The plan is to implement our own HTTP server using our cross-platform socket handlers in
netbase.cpp
and then write a loop similar toThreadSocketHandler
inCConnman
to handle connections.
Labels
Feature
RPC/REST/ZMQ
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-10-04 13:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-10-04 13:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me