public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [bitcoin-dev] Setting up bitcoin dev environment ( bitcoind, bitcoin-cli )
@ 2018-02-09 10:55 Maksim Solovjov
  2018-02-09 20:10 ` Bernd Jendrissek
  0 siblings, 1 reply; 2+ messages in thread
From: Maksim Solovjov @ 2018-02-09 10:55 UTC (permalink / raw)
  To: bitcoin-dev

[-- Attachment #1: Type: text/plain, Size: 1083 bytes --]

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,

[-- Attachment #2: Type: text/html, Size: 1693 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [bitcoin-dev] Setting up bitcoin dev environment ( bitcoind, bitcoin-cli )
  2018-02-09 10:55 [bitcoin-dev] Setting up bitcoin dev environment ( bitcoind, bitcoin-cli ) Maksim Solovjov
@ 2018-02-09 20:10 ` Bernd Jendrissek
  0 siblings, 0 replies; 2+ messages in thread
From: Bernd Jendrissek @ 2018-02-09 20:10 UTC (permalink / raw)
  To: Maksim Solovjov, Bitcoin Protocol Discussion

On 9 February 2018 at 12:55, Maksim Solovjov via bitcoin-dev
<bitcoin-dev@lists.linuxfoundation.org> 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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-09 20:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-09 10:55 [bitcoin-dev] Setting up bitcoin dev environment ( bitcoind, bitcoin-cli ) Maksim Solovjov
2018-02-09 20:10 ` Bernd Jendrissek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox