No description provided.
doc: Use bitcoind in Tor documentation #12877
pull knoxcard wants to merge 1 commits into bitcoin:master from knoxcard:patch-1 changing 1 files +2 −2-
knoxcard commented at 5:33 AM on April 4, 2018: contributor
- fanquake added the label Docs on Apr 4, 2018
-
sipa commented at 5:54 AM on April 4, 2018: member
What does
-daemonhave to do with Tor? -
knoxcard commented at 5:59 AM on April 4, 2018: contributor
bitcoind -proxy=127.0.0.1:9050 -externalip=57qr3yd1nyntf5k.onion -listenThat starts the bitcoin server, but not as a background process. You are now stuck and do not return to the console, it hangs because it is running. Once you exit the terminal or hit ctrl+C, the process terminates../bitcoind -daemon -proxy=127.0.0.1:9050 -externalip=57qr3yd1nyntf5k.onion -listenNow the Bitcoin server starts, forks as a background process, then properly (exits), returns to the console. -
sipa commented at 6:03 AM on April 4, 2018: member
Sure, but there are many other options people may want to combine with the Tor specific ones (for example
-logtimestampsor-dbcacheor-txindexor-maxconnections). Some of these may be necessary in your particular setup; others may be personal preference.But this document isn't trying to give a comprehensive overview of all options; just the Tor specific ones. There are probably dozens of others that could be listed.
-
knoxcard commented at 6:05 AM on April 4, 2018: contributor
Hmmm, can't imagine someone not using -daemon. The others options mentioned, -logtimestamps or -dbcache or -txindex or -maxconnections are definitely not required. In my Debian environment, I would never have a persistent process without it.
How about the first correction I made, where it states bitcoin instead of bitcoind?
./bitcoin -proxy=127.0.0.1:9050 ./bitcoind -daemon -proxy=127.0.0.1:9050or exclude -daemon
./bitcoin -proxy=127.0.0.1:9050 ./bitcoind -proxy=127.0.0.1:9050 -
knoxcard commented at 6:08 AM on April 4, 2018: contributor
My apologies, daemon=1 can be configured in bitcoin.conf...gotchya Gonna resubmit pull request...
-
sipa commented at 6:10 AM on April 4, 2018: member
All options can be configured in bitcoin.conf or on the command line.
Yes, the first fix (bitcoind instead of bitcoin) is great. There is another instance of that at the bottom of the file, btw.
Which options you run with depend on your setup. For high performance systems, running without dbcache may be unacceptably slow for example. If you think nobody would want to run without daemon (I personally always do as well), perhaps that would be a good reason to discuss changing the default (but do so in a separate PR).
-
knoxcard commented at 6:12 AM on April 4, 2018: contributor
Updated Pull Request...
- knoxcard renamed this:
Show correct bitcoin daemon bash commands
Update Tor.md
on Apr 4, 2018 - knoxcard renamed this:
Update Tor.md
Update Tor.md Doc
on Apr 4, 2018 -
knoxcard commented at 6:26 AM on April 4, 2018: contributor
Nice catch, fixed both instances of
bitcoin replaced with bitcoind, other previous changes including-daemonwere discarded, pull request ready. -
fanquake commented at 6:59 AM on April 4, 2018: member
@knoxcard Can you please squash your commits
-
practicalswift commented at 11:15 AM on April 4, 2018: contributor
utACK on the
bitcointobitcoindchanges assuming squash into one commit - fanquake renamed this:
Update Tor.md Doc
doc: Use bitcoind in Tor documentation
on Apr 5, 2018 -
laanwj commented at 6:30 AM on April 5, 2018: member
ACK after squash
-
knoxcard commented at 6:35 AM on April 5, 2018: contributor
My apologies for not responding sooner. I've never squashed a commit, but I am committed to trying it. lol, lil Git humor for you there. I'll try to get around to this first thing tomorrow.
***Would be wonderful it GitHub could automate these kind of tasks or just create a "squash commit" button
-
practicalswift commented at 6:38 AM on April 5, 2018: contributor
$ git checkout patch-1 $ git rebase -i HEAD~3 # mark the two last commits as fixups. $ git push -f -
doc: Use bitcoind in Tor documentation a5263fb511
- laanwj force-pushed on Apr 5, 2018
-
laanwj commented at 7:42 AM on April 5, 2018: member
Looks like you have enabled maintainers pushing to your branch - pushed a squashed version. (though if you can, read up on git so you can do this yourself next time)
-
knoxcard commented at 7:47 AM on April 5, 2018: contributor
Thank You I am a super technical guy and use git all time. Getting super late over here, gonna head to sleep, but I need to know how to squash by tomorrow.
I submitted these changes using the Github web interface. Where would I have executed those commands?
If I open a new console window in Windows, then something like.. mkdir myproject git init git fetch what? Am I missing something?
- laanwj merged this on Apr 5, 2018
- laanwj closed this on Apr 5, 2018
- laanwj referenced this in commit 2b54155a45 on Apr 5, 2018
- knoxcard deleted the branch on Apr 5, 2018
-
knoxcard commented at 7:58 AM on April 5, 2018: contributor
Nice work gentlemen, may your Bitcoin be plentiful as the years pass.
-
ghost commented at 4:21 PM on April 5, 2018: none
Where would I have executed those commands? If I open a new console window in Windows, then something like.. mkdir myproject git init git fetch what?
No, you'd
git cloneyour own fork:$ git clone https://github.com/knoxcard/bitcoin $ cd bitcoinand then do the steps as practicalswift pointed out: #12877 (comment)
- MarcoFalke locked this on Sep 8, 2021