Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 969C5125C for ; Fri, 9 Feb 2018 20:10:28 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-ua0-f170.google.com (mail-ua0-f170.google.com [209.85.217.170]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 7EB3B456 for ; Fri, 9 Feb 2018 20:10:27 +0000 (UTC) Received: by mail-ua0-f170.google.com with SMTP id p12so5934483uad.0 for ; Fri, 09 Feb 2018 12:10:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=PZqfR10cpEgQQ1YN7LpxW4TRlXN+V2gM3RwZlocDYBU=; b=bhoVMolWZRQnT1sT1XXFOyXAejqSDxqoUVmp+duyQVF0CmCmWxWRT3IPF9sHa1pyDQ xZwC96v5PMI5YDJUrC8TkqtQWVUrO7dLjCkxADEN/wzZzGYka+Lryfjw2pTsyys9/Lv6 Gf5hzvdK9JDYEBwY+WLp4hDGCzgr1mmOgO74exPSAjzCDXj7o/wI7AP8z1N8Mgiwv89H N3I8mBhdybUNPRxQNHEZmuCMdzJsDAS8DuDaAhA0m9f9te4HhZlmlK3Xjf5mZmM+wPdz yty70yR4dOte73pDBm5rvfy1tcm2ZzLVT56hWdhs6mdpIo++YDSX0xSUxR63nkyMXhCr qZtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=PZqfR10cpEgQQ1YN7LpxW4TRlXN+V2gM3RwZlocDYBU=; b=MsbJpwLq/KIOPjDcZ6hJaFK2SaI4CybhPn0ltXo9NjOMBE7KZfqZW0Wvwf/xXMfGQ8 l5u54yIguXzIFXFUhpMw2yzTaVeUgpmcS4xQtfMZ/IvStmxXrVgy6/7uSOUNMAJsA5fi n+sNyIvtkIULyyjzyrza/i/uDDu1ZMpZ5apmgPhcV707qdE4dy3WHyrf8epj+U53aVs3 +1/Af20kMYDiYlhySLtmCsaXsKIe0Akr9nBE3MCSvnYF0bL9C6NB+b4QqwJhUAEtJkug IBaNwcpQX7Im0itGqrc3oc+knAowqWtISx6G29czHBE/AkGMyEtdKRZmeDkpztXEtG7c GwZw== X-Gm-Message-State: APf1xPDUwWSsW/JV4gJlGy9Qes+cdQsblk3FZOS8w19ns83oibqxqEdv MW3WLRe+WrqZXTd004vy5BKU6E47QuNwkWVQPd2obA== X-Google-Smtp-Source: AH8x226HMGu9dUF11zgAnmquPqzo9zGR3CPeFrRED7eaCmlXImLiLUIIeuVDlR3QzrAYQ/o6wOVFofyCk0B/IPwiKoI= X-Received: by 10.159.49.231 with SMTP id w36mr4005121uad.138.1518207026608; Fri, 09 Feb 2018 12:10:26 -0800 (PST) MIME-Version: 1.0 Sender: bernd.jendrissek@gmail.com Received: by 10.31.52.83 with HTTP; Fri, 9 Feb 2018 12:10:25 -0800 (PST) In-Reply-To: References: From: Bernd Jendrissek Date: Fri, 9 Feb 2018 22:10:25 +0200 X-Google-Sender-Auth: WJE5ugsoST-MXFbSTun1v5yoZeQ Message-ID: To: Maksim Solovjov , Bitcoin Protocol Discussion Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, 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 20:35:00 +0000 Subject: Re: [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 20:10:28 -0000 On 9 February 2018 at 12:55, Maksim Solovjov via bitcoin-dev wrote: > 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 setgenerate was removed in 0.13.0. See doc/release-notes/release-notes-0.13.0.md > 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) getinfo is also deprecated or already removed. (Which version did you install?) But even before that, you should probably heed the warning and note that you don't seem to have a bitcoin.conf in a place where bitcoin-cli can find it.