Skip to content

Conversation

GChuf
Copy link
Contributor

@GChuf GChuf commented Aug 15, 2019

Added default bitcoin.conf data directories and paths

@fanquake fanquake added the Docs label Aug 15, 2019
Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK

Copy link
Contributor

@practicalswift practicalswift left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK

@GChuf
Copy link
Contributor Author

GChuf commented Aug 15, 2019

Updated - dropped italics and changed mac OSX

@cvengler
Copy link
Contributor

Concept ACK.
Please take a look at this for a better markdown table syntax

@hebasto
Copy link
Member

hebasto commented Aug 15, 2019

s/Mac OSX/macOS/

@Gapeman

... and changed mac OSX

Sorry for being misunderstood. I mean use macOS name only. See: release notes 0.18.

@GChuf
Copy link
Contributor Author

GChuf commented Aug 15, 2019

Updated the table and macOS name.
Having troubles with squashing commits.

If it's possible to squash when merging, please do.

Copy link
Contributor

@promag promag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is partially documented in https://github.com/bitcoin/bitcoin/blob/master/doc/init.md, I think it's fine repeating it here.

@practicalswift
Copy link
Contributor

Please squash to one commit :-)

$ git checkout patch-2
$ git rebase -i HEAD~7
# mark all except first as "fixup"
$ git push -f

@GChuf GChuf closed this Aug 16, 2019
@GChuf GChuf deleted the patch-2 branch August 16, 2019 13:08
@GChuf GChuf restored the patch-2 branch August 16, 2019 13:28
@GChuf GChuf reopened this Aug 16, 2019
@GChuf
Copy link
Contributor Author

GChuf commented Aug 16, 2019

I had all sorts of problems when squashing. Following @practicalswift instructions did not go well.
head~7 was giving me last 12 commits or so, local branch was different from remote branch.
Anyway, i'm new to git so sorry for all the mess. All should be fine now.

@GChuf
Copy link
Contributor Author

GChuf commented Aug 18, 2019

I think everything was addressed and this is ready to be merged, unless people have more proposals.

@egp
Copy link

egp commented Aug 19, 2019

LGTM

@GChuf
Copy link
Contributor Author

GChuf commented Aug 19, 2019

I took the liberty of adding one more line to the end of the file in the latest commit.
I myself was struggling to find example bitcoin.conf file, so I think adding one more link to it might benefit someone.

Added default bitcoin.conf data directories and paths
Added example bitcoin.conf link
@DrahtBot
Copy link
Contributor

DrahtBot commented Aug 24, 2019

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

No conflicts as of last run.

@GChuf
Copy link
Contributor Author

GChuf commented Aug 25, 2019

Kindly asking for this PR to be merged, only 10 lines were changed. Thanks

Copy link
Contributor

@ryanofsky ryanofsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 1373fa7

@practicalswift
Copy link
Contributor

ACK 1373fa7

@promag
Copy link
Contributor

promag commented Aug 26, 2019

ACK

@hebasto
Copy link
Member

hebasto commented Aug 26, 2019

To achieve consistency between docs and the code base, may I suggest to remove Windows XP (< Vista) datadir path from this comment:

bitcoin/src/util/system.cpp

Lines 686 to 690 in adff8fe

fs::path GetDefaultDataDir()
{
// Windows < Vista: C:\Documents and Settings\Username\Application Data\Bitcoin
// Windows >= Vista: C:\Users\Username\AppData\Roaming\Bitcoin
// Mac: ~/Library/Application Support/Bitcoin
?

It could be just

// Windows: C:\Users\username\AppData\Roaming\Bitcoin
// macOS: ~/Library/Application Support/Bitcoin
...

@GChuf
Copy link
Contributor Author

GChuf commented Aug 27, 2019

Not sure about the Windows XP comment, I'll let the others chime in if they will.

@GChuf
Copy link
Contributor Author

GChuf commented Aug 28, 2019

I suppose we should merge the PR as it is.

Copy link
Member

@fanquake fanquake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 1373fa7 - Already three ACKs and lots of discussion here, so I'm going to merge, and the other comment

bitcoin/src/util/system.cpp

Lines 686 to 690 in adff8fe

fs::path GetDefaultDataDir()
{
// Windows < Vista: C:\Documents and Settings\Username\Application Data\Bitcoin
// Windows >= Vista: C:\Users\Username\AppData\Roaming\Bitcoin
// Mac: ~/Library/Application Support/Bitcoin

can be fixed later.

fanquake added a commit that referenced this pull request Aug 29, 2019
1373fa7 doc: add default bitcoin.conf locations (Chuf)

Pull request description:

  Added default bitcoin.conf data directories and paths

ACKs for top commit:
  practicalswift:
    ACK 1373fa7
  ryanofsky:
    ACK 1373fa7
  fanquake:
    ACK 1373fa7 - Already three ACKs and lots of discussion here, so I'm going to merge, and the other comment

Tree-SHA512: 8bb1ed9868c5d171b6791bd6dc9598eddfdf64977d327ff4f333323cef8e3e76b1a67da21e4199f008a12f5610ac6dc6f34f4a13235e8846754eb6d6e5075da4
@fanquake fanquake merged commit 1373fa7 into bitcoin:master Aug 29, 2019
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Aug 29, 2019
1373fa7 doc: add default bitcoin.conf locations (Chuf)

Pull request description:

  Added default bitcoin.conf data directories and paths

ACKs for top commit:
  practicalswift:
    ACK 1373fa7
  ryanofsky:
    ACK 1373fa7
  fanquake:
    ACK 1373fa7 - Already three ACKs and lots of discussion here, so I'm going to merge, and the other comment

Tree-SHA512: 8bb1ed9868c5d171b6791bd6dc9598eddfdf64977d327ff4f333323cef8e3e76b1a67da21e4199f008a12f5610ac6dc6f34f4a13235e8846754eb6d6e5075da4
@GChuf GChuf deleted the patch-2 branch September 5, 2019 18:32
jasonbcox pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Oct 15, 2020
Summary:
Added default bitcoin.conf data directories and paths
Added example bitcoin.conf link

Backport of Core [[bitcoin/bitcoin#16621 | PR16621]]

Test Plan: Proofreading and testing link to example works

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, jasonbcox

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D7919
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 27, 2021
1373fa7 doc: add default bitcoin.conf locations (Chuf)

Pull request description:

  Added default bitcoin.conf data directories and paths

ACKs for top commit:
  practicalswift:
    ACK 1373fa7
  ryanofsky:
    ACK 1373fa7
  fanquake:
    ACK 1373fa7 - Already three ACKs and lots of discussion here, so I'm going to merge, and the other comment

Tree-SHA512: 8bb1ed9868c5d171b6791bd6dc9598eddfdf64977d327ff4f333323cef8e3e76b1a67da21e4199f008a12f5610ac6dc6f34f4a13235e8846754eb6d6e5075da4
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 28, 2021
1373fa7 doc: add default bitcoin.conf locations (Chuf)

Pull request description:

  Added default bitcoin.conf data directories and paths

ACKs for top commit:
  practicalswift:
    ACK 1373fa7
  ryanofsky:
    ACK 1373fa7
  fanquake:
    ACK 1373fa7 - Already three ACKs and lots of discussion here, so I'm going to merge, and the other comment

Tree-SHA512: 8bb1ed9868c5d171b6791bd6dc9598eddfdf64977d327ff4f333323cef8e3e76b1a67da21e4199f008a12f5610ac6dc6f34f4a13235e8846754eb6d6e5075da4
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 29, 2021
1373fa7 doc: add default bitcoin.conf locations (Chuf)

Pull request description:

  Added default bitcoin.conf data directories and paths

ACKs for top commit:
  practicalswift:
    ACK 1373fa7
  ryanofsky:
    ACK 1373fa7
  fanquake:
    ACK 1373fa7 - Already three ACKs and lots of discussion here, so I'm going to merge, and the other comment

Tree-SHA512: 8bb1ed9868c5d171b6791bd6dc9598eddfdf64977d327ff4f333323cef8e3e76b1a67da21e4199f008a12f5610ac6dc6f34f4a13235e8846754eb6d6e5075da4
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jul 1, 2021
1373fa7 doc: add default bitcoin.conf locations (Chuf)

Pull request description:

  Added default bitcoin.conf data directories and paths

ACKs for top commit:
  practicalswift:
    ACK 1373fa7
  ryanofsky:
    ACK 1373fa7
  fanquake:
    ACK 1373fa7 - Already three ACKs and lots of discussion here, so I'm going to merge, and the other comment

Tree-SHA512: 8bb1ed9868c5d171b6791bd6dc9598eddfdf64977d327ff4f333323cef8e3e76b1a67da21e4199f008a12f5610ac6dc6f34f4a13235e8846754eb6d6e5075da4
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jul 1, 2021
1373fa7 doc: add default bitcoin.conf locations (Chuf)

Pull request description:

  Added default bitcoin.conf data directories and paths

ACKs for top commit:
  practicalswift:
    ACK 1373fa7
  ryanofsky:
    ACK 1373fa7
  fanquake:
    ACK 1373fa7 - Already three ACKs and lots of discussion here, so I'm going to merge, and the other comment

Tree-SHA512: 8bb1ed9868c5d171b6791bd6dc9598eddfdf64977d327ff4f333323cef8e3e76b1a67da21e4199f008a12f5610ac6dc6f34f4a13235e8846754eb6d6e5075da4
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jul 12, 2021
1373fa7 doc: add default bitcoin.conf locations (Chuf)

Pull request description:

  Added default bitcoin.conf data directories and paths

ACKs for top commit:
  practicalswift:
    ACK 1373fa7
  ryanofsky:
    ACK 1373fa7
  fanquake:
    ACK 1373fa7 - Already three ACKs and lots of discussion here, so I'm going to merge, and the other comment

Tree-SHA512: 8bb1ed9868c5d171b6791bd6dc9598eddfdf64977d327ff4f333323cef8e3e76b1a67da21e4199f008a12f5610ac6dc6f34f4a13235e8846754eb6d6e5075da4
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jul 13, 2021
1373fa7 doc: add default bitcoin.conf locations (Chuf)

Pull request description:

  Added default bitcoin.conf data directories and paths

ACKs for top commit:
  practicalswift:
    ACK 1373fa7
  ryanofsky:
    ACK 1373fa7
  fanquake:
    ACK 1373fa7 - Already three ACKs and lots of discussion here, so I'm going to merge, and the other comment

Tree-SHA512: 8bb1ed9868c5d171b6791bd6dc9598eddfdf64977d327ff4f333323cef8e3e76b1a67da21e4199f008a12f5610ac6dc6f34f4a13235e8846754eb6d6e5075da4
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants