summaryrefslogtreecommitdiff
path: root/fb/cc04426249005cc937fc9cb9834f6feda7085d
blob: a3f4c64ef5cdb617fea6c4c3debac7e45ba23a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
Return-Path: <maxim.solovjov@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 9DCA512BB
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri,  9 Feb 2018 10:55:47 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-wr0-f176.google.com (mail-wr0-f176.google.com
	[209.85.128.176])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 1D2493F9
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri,  9 Feb 2018 10:55:47 +0000 (UTC)
Received: by mail-wr0-f176.google.com with SMTP id 41so7767563wrc.9
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri, 09 Feb 2018 02:55:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:from:date:message-id:subject:to;
	bh=+5OU1C/5p5FbztAV1n8aQnITRdw+DWOrJOMjeG5L0d4=;
	b=V9Qqr/LFPxECn11kl3jIhffW3kYnRQ6x2tjbEkEpGrvN22taXQcgKTtwlLkK6bjcdn
	8l9Ai+aDEVk5034GV4PFQWrtAjtLHBlbqvcMhlPUJezwGyUJql6UBC9YLp5/ICzCAl/M
	zpeoZ16pMwH5bUlV5Kb/VZBjTMYPh9sv5vkFgnYHg8QipFRL4lwosxArPmBtLXQvGE7f
	+9fgNAKaC5QHTGZCfvsi3lsJSCHJMwlC5/LASfCwsaT++AFjQNTdC+ykZXj+m320hgBx
	J0ZylYUv6ojoEGbmk9Cvs6svfANmueX6uwv6VPFnkSXdrrKZRR+j6GJwQK2XmfvMvlsH
	WtPg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
	bh=+5OU1C/5p5FbztAV1n8aQnITRdw+DWOrJOMjeG5L0d4=;
	b=HHKzhLghPQ2z9CLJNhWQ3Uc1hhb7EUpDf25mdvGQ4ZUQ4y1ra1/4DUOFmTUkY7dmtF
	YhOihNYQG8scaQ5ZmmcPQmtLvqFsKKvfIszgnzj0I54b6Vspf1q6odl0Fhtf3yrUauoV
	76shsvTMOz1w0TJAKubaHSJHvN5SYTFeRgT+9uk3qgDeM3xXdxW93q9xS3ePF0S6z82h
	wLVbora30XCSeIbCXKlmN6OebUc3LEXEiI/ktzKpWeFEOWa9V/B7GNFc7EFL9ahElksa
	mgxjPGREEpXzhopAdbTW316aECZK/mxLoKV7RjgXcqfyuwR/xihBTsTJkPnxprnHno0d
	h/ig==
X-Gm-Message-State: APf1xPBZtk/L+FiysAIPsJ6IaffSobhed8YvlEJ5sLBC/GbMB/1em3kl
	+cb69sDvwiR4RtKJKrEVOrHzzvFjifepJ9EXt8fxGn/c
X-Google-Smtp-Source: AH8x224Mdr0w5Bc1Ik2LGgeIcmvkGB3V3AN7tsHAt+LIId14zFzdPWfJ1lyQEDbKLDo2vdYbad3iDC1O7cua7BJnK/k=
X-Received: by 10.223.189.14 with SMTP id j14mr2121301wrh.178.1518173745276;
	Fri, 09 Feb 2018 02:55:45 -0800 (PST)
MIME-Version: 1.0
Received: by 10.223.209.68 with HTTP; Fri, 9 Feb 2018 02:55:44 -0800 (PST)
From: Maksim Solovjov <maxim.solovjov@gmail.com>
Date: Fri, 9 Feb 2018 12:55:44 +0200
Message-ID: <CAO11aqjxfhP_wf8Xxv=LaapTQk3YBLg6XQRd=EAsBq+Cq6SuTQ@mail.gmail.com>
To: bitcoin-dev@lists.linuxfoundation.org
Content-Type: multipart/alternative; boundary="089e082fcdb8cb6fab0564c55ead"
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE,
	RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
X-Mailman-Approved-At: Fri, 09 Feb 2018 16:31:29 +0000
Subject: [bitcoin-dev] Setting up bitcoin dev environment ( bitcoind,
	bitcoin-cli )
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Feb 2018 10:55:47 -0000

--089e082fcdb8cb6fab0564c55ead
Content-Type: text/plain; charset="UTF-8"

Hi guys,

I am trying to set up the bitcoin development environment on my Mac.

I installed the Bitcoin Core client ( bitcoin-qt ) and also downloaded the
binaries.

I face the following issues and hope you can help me to resolve these:

1) Can't open the configuration file from bitcoin-qt.
I have a configuration file $HOME/Library/Application
Support/Bitcoin/bitcoin.conf
but it's empty.
When I try to open it via bitcoin-qt ( Preferences -> Show configuration
file ) it shows me a popup with an error "Configuration file could not be
opened".
I tried to change the permissions: "chmod 600"...no luck...

2) I can launch bitcoind in -regtest regime.
But when I launch *bitcoin-cli -regtest setgenerate true 101*
I get an error:

> error code: -32601
> error message:
> Method not found


3) If I try *bitcoin-cli getinfo*
I get an error:

> error: Could not locate RPC credentials. No authentication cookie could be
> found, and no rpcpassword is set in the configuration file
> (/Users/..../Library/Application Support/Bitcoin/bitcoin.conf)


Hope you can help me!
Thanks

Best,

--089e082fcdb8cb6fab0564c55ead
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi guys,<div><br></div><div>I am trying to set up the bitc=
oin development environment on my Mac.</div><div><br></div><div>I installed=
 the Bitcoin Core client ( bitcoin-qt ) and also downloaded the binaries.</=
div><div><br></div><div>I face the following issues and hope you can help m=
e to resolve these:</div><div><br></div><div>1) Can&#39;t open the configur=
ation file from bitcoin-qt.</div><div>I have a configuration file $HOME/Lib=
rary/Application Support/Bitcoin/bitcoin.conf<br></div><div>but it&#39;s em=
pty.=C2=A0</div><div>When I try to open it via bitcoin-qt ( Preferences -&g=
t; Show configuration file ) it shows me a popup with an error &quot;Config=
uration file could not be opened&quot;.</div><div>I tried to change the per=
missions: &quot;chmod 600&quot;...no luck...</div><div><br></div><div>2) I =
can launch bitcoind in -regtest regime.</div><div>But when I launch=C2=A0<b=
>bitcoin-cli -regtest setgenerate true 101</b></div>I get an error:<br><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
:1px solid rgb(204,204,204);padding-left:1ex">error code: -32601<br>error m=
essage:<br>Method not found</blockquote><br><div>


</div><div>3) If I try=C2=A0<b>bitcoin-cli getinfo</b><br>


</div><div>I get an error:</div><blockquote class=3D"gmail_quote" style=3D"=
margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef=
t:1ex">error: Could not locate RPC credentials. No authentication cookie co=
uld be found, and no rpcpassword is set in the configuration file (/Users/.=
.../Library/Application Support/Bitcoin/bitcoin.conf)</blockquote><div><br>=
</div><div>Hope you can help me!</div><div>Thanks</div><div><br></div><div>=
Best,=C2=A0</div></div>

--089e082fcdb8cb6fab0564c55ead--