Bitcoin Forum
May 05, 2024, 11:04:50 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Manually pinging bitcoind/bitcoin-qt peers for new blocks?  (Read 1056 times)
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
April 17, 2013, 12:47:04 PM
 #1

How does one ping a peer for new blocks?  Huh Is it TCP commands RPC what?
1714907090
Hero Member
*
Offline Offline

Posts: 1714907090

View Profile Personal Message (Offline)

Ignore
1714907090
Reply with quote  #2

1714907090
Report to moderator
1714907090
Hero Member
*
Offline Offline

Posts: 1714907090

View Profile Personal Message (Offline)

Ignore
1714907090
Reply with quote  #2

1714907090
Report to moderator
1714907090
Hero Member
*
Offline Offline

Posts: 1714907090

View Profile Personal Message (Offline)

Ignore
1714907090
Reply with quote  #2

1714907090
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714907090
Hero Member
*
Offline Offline

Posts: 1714907090

View Profile Personal Message (Offline)

Ignore
1714907090
Reply with quote  #2

1714907090
Report to moderator
1714907090
Hero Member
*
Offline Offline

Posts: 1714907090

View Profile Personal Message (Offline)

Ignore
1714907090
Reply with quote  #2

1714907090
Report to moderator
1714907090
Hero Member
*
Offline Offline

Posts: 1714907090

View Profile Personal Message (Offline)

Ignore
1714907090
Reply with quote  #2

1714907090
Report to moderator
headygains
Newbie
*
Offline Offline

Activity: 32
Merit: 0



View Profile
April 17, 2013, 04:08:36 PM
 #2

I think it's RPC but I'm not sure, I was trying to setup a ltc miner last night that had me editing conf files and rpc was the precursor in the code...
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
April 17, 2013, 04:45:32 PM
 #3

https://en.bitcoin.it/wiki/Protocol_specification#getblocks
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list (getblockhash/getblock/getblockcount)

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
April 17, 2013, 10:46:08 PM
 #4

Like how do I "ping" a peer with out username/password over a network?
I know the current Bitcoin client does it, It can't just query it self, where would the Blockchain sync download come from?
So how do I as my own Bitcoin client query BitcoinDevkit.com node for block information?
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
April 18, 2013, 01:36:17 AM
 #5

I really don't understand what you're trying to do. Are you trying to make your own custom client that communicates with other clients? If that's the case, look into how bitcoin communicates with other clients over tcp. Alternately, run your own bitcoin instance and query that.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
April 18, 2013, 03:15:46 AM
 #6

I really don't understand what you're trying to do. Are you trying to make your own custom client that communicates with other clients? If that's the case, look into how bitcoin communicates with other clients over tcp. Alternately, run your own bitcoin instance and query that.

That is it, I've been considering making my own personal client for learning and I know i've asked this before but got around 10-15 frustrated people wondering what i was talking about I believe they referred me to that page you showed me as I've seen it 1000 times and have it booked marked but I needed someone to say "This is the points of interest for what your accomplishing" instead of "Here is a full page of everything about bitcoin here ya go!", so now I know where to look and I know others were asking this question as well and seem to be in the same state of mind as me on how to go about this. thanks this is what in needed Smiley
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!