Files
nyc3/src
Wladimir J. van der Laan 8f4e67f152 net: Automatically create hidden service, listen on Tor
Starting with Tor version 0.2.7.1 it is possible, through Tor's control socket
API, to create and destroy 'ephemeral' hidden services programmatically.
https://stem.torproject.org/api/control.html#stem.control.Controller.create_ephemeral_hidden_service

This means that if Tor is running (and proper authorization is available),
bitcoin automatically creates a hidden service to listen on, without user
manual configuration. This will positively affect the number of available
.onion nodes.

- When the node is started, connect to Tor through control socket
- Send `ADD_ONION` command
- First time:
    - Make it create a hidden service key
    - Save the key in the data directory for later usage
- Make it redirect port 8333 to the local port 8333 (or whatever port we're listening on).
- Keep control socket connection open for as long node is running. The hidden service will
  (by default) automatically go away when the connection is closed.
2015-11-10 17:29:56 +01:00
..
2015-03-06 15:54:53 +01:00
2015-11-04 23:46:47 +01:00
2015-11-10 16:44:53 +01:00
2015-10-23 13:33:13 +02:00
2015-04-22 14:03:10 -07:00
2015-11-10 15:48:23 +01:00
2015-11-10 15:32:03 +01:00
2015-07-23 21:10:22 +02:00
2015-06-04 19:34:18 +02:00
2015-08-03 22:58:30 +01:00
2015-10-13 01:04:39 -07:00
2015-10-27 17:39:42 +01:00
2015-10-27 17:39:42 +01:00
2015-10-27 17:39:42 +01:00
2015-05-02 15:23:59 +00:00
2015-10-20 17:06:28 +02:00
2015-10-20 17:06:28 +02:00
2015-07-23 21:10:22 +02:00
2015-05-01 11:21:27 +00:00
2015-10-22 17:57:48 +00:00
2015-07-30 19:56:00 -04:00
2015-10-27 17:39:42 +01:00
2015-09-03 10:59:18 +02:00
2015-09-03 10:59:18 +02:00
2015-05-06 18:37:49 +02:00
2015-05-06 18:37:49 +02:00
2015-08-17 12:15:32 -04:00
2015-11-10 15:58:00 +01:00
2015-05-01 11:21:27 +00:00
2015-11-03 17:12:36 +00:00
2015-10-26 15:37:30 +01:00
2015-11-10 15:32:03 +01:00
2015-10-23 12:47:19 +02:00
2015-10-29 13:30:42 +01:00
2015-09-03 10:59:18 +02:00
2015-05-16 17:59:23 -04:00
2015-05-14 01:02:01 -04:00
2015-08-10 22:06:27 +01:00
2015-10-28 02:25:06 +01:00