[Docs] Add version footnote to tor.md #12384

pull Willtech wants to merge 1 commits into bitcoin:master from Willtech:tor.md changing 1 files +7 −11
  1. Willtech commented at 8:32 AM on February 8, 2018: contributor

    [Docs] Add version footnote to tor.md

    Added note to section 2, part -edits to /etc/tor/torrc- indicating this is only required for Tor version 0.2.7.0 and older, since section 3 states it is valid for Tor version 0.2.7.1 and newer. Added ref link from section 2 version footnote to section 3. Re-styled headings to work on GitHub -alternate heading style markup creation issue with numbered headings and thus headings and automatic heading links are broken-

    Ref: Issue# 12376

    Signed-off-by: Damian Williamson <willtech@live.com.au>

  2. Willtech renamed this:
    Docs: Edited /doc/tor.md
    Docs: Edited /doc/tor.md [Issue# 12376]
    on Feb 8, 2018
  3. fanquake added the label Docs on Feb 8, 2018
  4. laanwj commented at 10:17 AM on February 8, 2018: member

    It makes sense to mention automatic hidden service creation and the command line options configuring it, however I disagree with the wording that it is redundant. Either specifying the hidden service yourself, or allowing it to be created automatically are still valid options, even with new Tor versions.

  5. MarcoFalke commented at 11:14 PM on February 8, 2018: member

    I haven't looked at this, but you should make the title meaningful to describe what you did, potentially why in 70 chars.

  6. randolf commented at 5:34 AM on February 9, 2018: contributor

    I like that "/doc/tor.md" (as in "Doctor, MD") is the filename. :D

  7. fanquake renamed this:
    Docs: Edited /doc/tor.md [Issue# 12376]
    [Docs] Add version footnote to tor.md
    on Feb 9, 2018
  8. Willtech commented at 10:17 AM on February 9, 2018: contributor

    @laanwj I had to look up the definition of redundant again after your comment and still think the word is accurate, I might be wrong. It may be that flagging the particular entries for /etc/tor/torrc as breaks things in the specific version of Tor may be more accurate with the limited testing I have performed.

    The pull request has stemmed from the linked issue, I will follow up there.

    EDIT: I see the heading edits, I will look at /contributing.md next.

  9. laanwj commented at 10:27 AM on February 9, 2018: member

    It may be that flagging the particular entries for /etc/tor/torrc as breaks things in the specific version of Tor may be more accurate

    That would mean there is another, separate issue that is not related to auto-Tor binding: the configuration directives required for setting up a hidden service changed at some version of Tor, and the old way fails?

    FWIW I cannot corroborate this, the hidden services I've seen didn't require reconfiguration recently. But something might have changed when "new style" hidden services have been introduced, which are not supported by bitcoin's P2P network (see #9214). So maybe you need to choose to use old style explicitly.

  10. Willtech commented at 10:31 AM on February 9, 2018: contributor

    I will look into it further on my installed version. The simple coverall solution seemed to be the edits I had made.

  11. laanwj commented at 10:33 AM on February 9, 2018: member

    The simple coverall solution seemed to be the edits I had made.

    There are various subtle privacy reasons why someone would want to configure their own hidden service instead of having bitcoind generate one. We can't just say "the manual way is deprecated". The automatic way is there for user convenience (and to get more tor-listening nodes), it does not replace it.

  12. Willtech commented at 10:55 AM on February 9, 2018: contributor

    Alright, I do not take redundant to mean depreciated, I just understand redundant as not necessary. What would you suggest is a suitable edit?

    BTW I cannot fault the given edits to torrc against either the examples in the default torrc file or the detailed configuration (of/for Tor) in nyx. No additional options lending themselves as potentially of assistance exist in nyx either.

  13. Willtech force-pushed on Feb 11, 2018
  14. Willtech commented at 2:09 AM on February 11, 2018: contributor

    I have updated the commit.

  15. Willtech force-pushed on Feb 11, 2018
  16. Willtech force-pushed on Feb 11, 2018
  17. Willtech commented at 4:16 AM on February 11, 2018: contributor

    @laanwj re the linked issue #9214 you mentioned, I see plenty of lines like the following on Tor output:

    15:10:12 [WARN] Fetching v2 rendezvous descriptor failed. Retrying at another directory.
  18. in doc/tor.md:42 in 77b749f316 outdated
      38 | @@ -39,7 +39,7 @@ In a typical situation, this suffices to run behind a Tor proxy:
      39 |  
      40 |  If you configure your Tor system accordingly, it is possible to make your node also
      41 |  reachable from the Tor network. Add these lines to your /etc/tor/torrc (or equivalent
      42 | -config file):
      43 | +config file): *Needed for Tor version 0.2.7.0 and older versions of Tor only.*
    


    laanwj commented at 8:35 AM on February 15, 2018:

    This doesn't make it clear why, and implies that there is nothing to be done otherwise.

    At least link to something that describes the automatic tor listening, and specifies how to get it working. Bitcoind needs access to the tor control port -torcontrol=<ip>:<port>. Then, for authentication, it needs access to tor's auth cookie file, or alternatively a control password can be specified manually using -torpassword=<pass>.


    Willtech commented at 9:30 PM on February 16, 2018:

    I take it that it will be sufficient to refer the reader to section 3.

  19. Willtech force-pushed on Feb 16, 2018
  20. Willtech commented at 10:39 PM on February 16, 2018: contributor

    I will add an additional commit later to reformat the document, headings to work with GitHub and check the line breaks and, add in internal ref link to section 3.

  21. Willtech commented at 11:49 AM on February 22, 2018: contributor

    Additional commit added.

  22. MarcoFalke commented at 7:29 PM on April 11, 2018: member
  23. Willtech force-pushed on Apr 12, 2018
  24. Willtech commented at 11:37 AM on April 12, 2018: contributor

    You will have to excuse me a moment, that doesn't seem to be exactly the squash that I wanted. This will take some fixing.

  25. Willtech force-pushed on Apr 12, 2018
  26. Willtech commented at 11:56 AM on April 12, 2018: contributor

    Phew! All sorted.

  27. MarcoFalke commented at 3:27 AM on April 17, 2018: member

    utACK 8dcd724f4d8719a645606932e2a9289b521989a3

  28. in doc/tor.md:92 in 8dcd724f4d outdated
      88 | @@ -88,8 +89,8 @@ for normal IPv4/IPv6 communication, use:
      89 |  
      90 |  	./bitcoin -onion=127.0.0.1:9050 -externalip=57qr3yd1nyntf5k.onion -discover
      91 |  
      92 | -3. Automatically listen on Tor
      93 | ---------------------------------
      94 | +<a name="3-automatically-listen-on-tor"></a>
    


    promag commented at 11:37 AM on April 26, 2018:

    Unnecessary, remove?


    Willtech commented at 10:28 PM on April 26, 2018:

    I believe that the section titles are relevant. They have been converted in the second commit (later squashed) of the PR from the alternate style headings to the standard style headings since the alternate style doesn't work with numbered heading items. Not all MD rendering versions creates named anchors for titles so, the named anchor is included additionally, not instead.


    promag commented at 8:06 AM on April 29, 2018:

    Not all MD rendering versions creates named anchors for titles

    I don't agree in adding redundant anchors because other MD renderers don't support it. I think we review MD based on what GH supports.


    Willtech commented at 9:51 AM on April 30, 2018:

    Last time I checked GH didn't but, now certainly does. I will seek further advice and remove the anchor if conceded.

  29. MarcoFalke commented at 10:46 PM on April 26, 2018: member

    If you have a hard time finding people to review this, you might want to minimize the diff to just contain the tiny fixup.

  30. Willtech commented at 12:12 PM on April 27, 2018: contributor

    Does that mean instead of squashing the commits I should have moved the trivial fixups to a separate PR?

  31. cdecker commented at 1:18 PM on April 28, 2018: contributor

    utACK 8dcd724f4d8719a645606932e2a9289b521989a3

  32. Willtech commented at 9:53 AM on April 30, 2018: contributor

    Should the A tag be removed from the commit? #12384 (review)

  33. promag commented at 9:56 AM on April 30, 2018: member

    @Willtech yes.

  34. Willtech commented at 10:04 AM on April 30, 2018: contributor

    That is fine but, I do not know who (if anyone) has what kind of final say here. Lots of people have contributor tags. I do understand consensus.

  35. promag commented at 10:06 AM on April 30, 2018: member

    @Willtech if you feel that way just wait for more feedback.

  36. laanwj commented at 11:19 AM on April 30, 2018: member

    Agree with @MarcoFalke - In principle I'm ok with this change in the OP ("add version mention") but please make it a minimal change. Remove the unnecessary formatting changes, and the unnecessary use of an anchor tag.

    Normally something like this would be merged almost instantly. This is dragged enormously in time (and consuming needless review time) as you're seemingly trying to "rider" unrelated changes into a commit. If I may give a suggestion it is that this is not constructive - usually maintainers in open source projects will frown on this.

  37. Willtech force-pushed on May 1, 2018
  38. [Docs] Add version footnote to tor.md
    Added note to section 2, part -edits to `/etc/tor/torrc`- indicating this is only required for Tor version 0.2.7.0 and older, since section 3 states it is valid for Tor version 0.2.7.1 and newer. Added ref link from section 2 version footnote to section 3. Re-styled headings to work on GitHub -alternate heading style markup creation issue with numbered headings and thus headings and automatic heading links are broken- Ref: [Issue# 12376](https://github.com/bitcoin/bitcoin/issues/12376)
    
    Signed-off-by: Damian Williamson <willtech@live.com.au>
    39d2911918
  39. Willtech force-pushed on May 1, 2018
  40. Willtech commented at 10:49 AM on May 1, 2018: contributor

    Done, gladly. Note that the headings are still fixed - all of them for consistency - otherwise the heading link wouldn't work on GH at least but, anywhere that I know of. FWIW my position is that it makes bollocks out of MD to remove the A tag since it makes the document operate consistently across different MD versions. HTML is valid in MD and such a careful use is warranted.

    I do appreciate that I do not intend for such a simple thing to be time-consuming. This is my first interactive project on GH, my other experience working with development teams was in a company environment and admittedly a different environment in several ways.

  41. Willtech commented at 12:19 PM on May 1, 2018: contributor

    Travis: mempool_persist.py | ✖ Failed | 9 s
    on HOST=i686-pc-linux-gnu

  42. MarcoFalke commented at 1:07 PM on May 1, 2018: member

    utACK 39d2911918a90984738e90261cc272d35c60d0bc

  43. in doc/tor.md:1 in 39d2911918
       0 | @@ -1,14 +1,12 @@
       1 | -TOR SUPPORT IN BITCOIN
       2 | -======================
       3 | +# TOR SUPPORT IN BITCOIN
    


    laanwj commented at 2:30 PM on May 1, 2018:

    NACK: You're still changing the header style! Please make only the relevant change.

  44. laanwj commented at 2:42 PM on May 1, 2018: member

    Oh, I see the problem now: the ====== style cannot be used in combination with numbers in front of section titles, because it's interpreted as an enumeration. sorry - I still think this should have been a separate commit, but I won't hold this up longer: utACK 39d2911918a90984738e90261cc272d35c60d0bc

  45. laanwj merged this on May 1, 2018
  46. laanwj closed this on May 1, 2018

  47. laanwj referenced this in commit c5f7efe331 on May 1, 2018
  48. Willtech deleted the branch on May 2, 2018
  49. Willtech commented at 10:18 PM on May 2, 2018: contributor

    @laanwj The heading fixes (as well as the A tag) were originally a separate commit but, they got squashed as per requested. Generally, if I understand your reasoning, you would want to see one commit to add the text, another commit to fix the headings and, another to add the link to section 3?

  50. PastaPastaPasta referenced this in commit 40507852c4 on May 10, 2020
  51. PastaPastaPasta referenced this in commit 89a1aff693 on May 10, 2020
  52. PastaPastaPasta referenced this in commit 0e22dd1852 on May 10, 2020
  53. UdjinM6 referenced this in commit 505542663d on May 11, 2020
  54. ckti referenced this in commit fa2ea601d7 on Mar 28, 2021
  55. MarcoFalke locked this on Sep 8, 2021

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: 2026-04-13 21:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me