Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix file location of .cookie when on testnet #234

Merged
merged 1 commit into from
Jun 3, 2023
Merged

Fix file location of .cookie when on testnet #234

merged 1 commit into from
Jun 3, 2023

Conversation

JSwambo
Copy link
Contributor

@JSwambo JSwambo commented Mar 9, 2020

The data directory for the cookie file used for authentication should be ~/.bitcoin/testnet3 when connecting to bitcoin core testnet through RPC.

@dgpv
Copy link
Contributor

dgpv commented Mar 9, 2020

Note that #219 also fixes this, along with handling of sections in config files.

@Titan-C
Copy link

Titan-C commented Jan 2, 2021

I think

1 file changed, 1 insertion(+), 1 deletion(-)
bitcoin/core/__init__.py | 2 +-

modified   bitcoin/core/__init__.py
@@ -749,7 +749,7 @@ class CoreMainParams(CoreChainParams):
     PROOF_OF_WORK_LIMIT = 2**256-1 >> 32
 
 class CoreTestNetParams(CoreMainParams):
-    NAME = 'testnet'
+    NAME = 'testnet3'
     GENESIS_BLOCK = 

Would be a simpler answer.

Titan-C added a commit to Titan-C/python-bitcoinlib that referenced this pull request Jan 2, 2021
Titan-C added a commit to Titan-C/python-bitcoinlib that referenced this pull request Jul 21, 2022
Titan-C added a commit to Titan-C/python-bitcoinlib that referenced this pull request May 7, 2023
@petertodd petertodd merged commit 0f6cc9c into petertodd:master Jun 3, 2023
@petertodd
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants