From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 9DCA512BB for ; 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 ; Fri, 9 Feb 2018 10:55:47 +0000 (UTC) Received: by mail-wr0-f176.google.com with SMTP id 41so7767563wrc.9 for ; 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 Date: Fri, 9 Feb 2018 12:55:44 +0200 Message-ID: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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
Hi guys,

I am trying to set up the bitc= oin 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 m= e to resolve these:

1) Can't open the configur= ation file from bitcoin-qt.
I have a configuration file $HOME/Lib= rary/Application Support/Bitcoin/bitcoin.conf
but it's em= pty.=C2=A0
When I try to open it via bitcoin-qt ( Preferences -&g= t; Show configuration file ) it shows me a popup with an error "Config= uration file could not be opened".
I tried to change the per= missions: "chmod 600"...no luck...

2) I = can launch bitcoind in -regtest regime.
But when I launch=C2=A0bitcoin-cli -regtest setgenerate true 101
I get an error:
error code: -32601
error m= essage:
Method not found
3) If I try=C2=A0bitcoin-cli getinfo
I get an error:
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)

=
Hope you can help me!
Thanks

= Best,=C2=A0
--089e082fcdb8cb6fab0564c55ead--