Bitcoin Forum
May 11, 2024, 07:04:11 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can someone explain the reason the core dev team is splitting rpc and bitcoind?  (Read 712 times)
gweedo (OP)
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
February 07, 2014, 06:04:12 PM
 #1

https://github.com/bitcoin/bitcoin/commit/0ad474ee276cd1bfa4e7064d5e9d099844bca207#diff-ef76fd6674f07db88c3422fdbf0bcf9fR55

I don't understand the benefit of removing the rpc from the bitcoind? Wouldn't that make the bitcoind require another bitcoin-qt instance to control? What is the reason? Is this just for more of a move to border router type functional?
1715411051
Hero Member
*
Offline Offline

Posts: 1715411051

View Profile Personal Message (Offline)

Ignore
1715411051
Reply with quote  #2

1715411051
Report to moderator
1715411051
Hero Member
*
Offline Offline

Posts: 1715411051

View Profile Personal Message (Offline)

Ignore
1715411051
Reply with quote  #2

1715411051
Report to moderator
1715411051
Hero Member
*
Offline Offline

Posts: 1715411051

View Profile Personal Message (Offline)

Ignore
1715411051
Reply with quote  #2

1715411051
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715411051
Hero Member
*
Offline Offline

Posts: 1715411051

View Profile Personal Message (Offline)

Ignore
1715411051
Reply with quote  #2

1715411051
Report to moderator
1715411051
Hero Member
*
Offline Offline

Posts: 1715411051

View Profile Personal Message (Offline)

Ignore
1715411051
Reply with quote  #2

1715411051
Report to moderator
DannyM
Sr. Member
****
Offline Offline

Activity: 275
Merit: 250



View Profile
February 09, 2014, 03:34:06 AM
 #2

Wouldn't that make the bitcoind require another bitcoin-qt instance to control?

You can control it with the "bitcoin-cli" program that is also built alongside bitcoind. It is a bitcoin json-rpc client.
maaku
Legendary
*
expert
Offline Offline

Activity: 905
Merit: 1011


View Profile
February 09, 2014, 03:41:07 AM
 #3

When you call "bitcoind <command>", it's actually using JSON-RPC to communicate with the already running bitcoind instance. This just separates the commands "bitcoind" (to launch the daemon) and "bitcoin-cli" (to interact with it over JSON-RPC). Because the old way of doing things was confusing, as you just demonstrated.

I'm an independent developer working on bitcoin-core, making my living off community donations.
If you like my work, please consider donating yourself: 13snZ4ZyCzaL7358SmgvHGC9AxskqumNxP
dserrano5
Legendary
*
Offline Offline

Activity: 1974
Merit: 1029



View Profile
February 09, 2014, 04:21:26 PM
 #4

Ok so it is just basically an reorganization of program to make it easier to follow.

And removing stuff that doesn't belong in a server.
NanoAkron
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
February 09, 2014, 10:52:38 PM
 #5

Ok so it is just basically an reorganization of program to make it easier to follow.

And removing stuff that doesn't belong in a server.

Do you know whether the new 'streamlined' version of bitcoind will be able to run a node on embedded systems such as the Raspberry Pi?
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
February 09, 2014, 11:00:36 PM
 #6

Ok so it is just basically an reorganization of program to make it easier to follow.

And removing stuff that doesn't belong in a server.

More this.

If you think of Bitcoind as the "bitcoin server" then the bitcoin server today has both the server and a client bundled together not as two seperate apps but as one app.  Calling bitcoind causes  an instance to run as a "server" calling bitcoind <command> has the same executable run as a client.

There is no reason for a sample client representation to be included in the server.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!