Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
2 answers
453 views

What is an inv message?

I was reviewing the PR #25720. This is part of description for the PR: However, if an INV for a block is received before our headers chain is caught up, we'll then start to sync headers from each ...
Amir reza Riahi's user avatar
2 votes
0 answers
132 views

Version message C++

I learn bitcoin and I am trying to send a version message and get response, respectevily, by using C++. I can not find any examples or articles how to do it in C++. I'm forming request and send it by ...
recei's user avatar
  • 21
0 votes
1 answer
171 views

Does bitcoind send message headers and payload separately in P2P protocol?

I am connecting to my local bitcoind using TCP and observed the following behavior: I see many messages where only header is given or only part of the payload is attached. Of course, it could be a ...
Jus12's user avatar
  • 1,365
4 votes
1 answer
1k views

Inv message structure

I am reading the Bitcoin wiki, and I see the inv message structure. I see it has a counter field for the objects and an inventory field. This inventory field has a list of objects (transactions or ...
angel limneos's user avatar
0 votes
1 answer
414 views

Sending getblocks message but not getting inv message response

I am building my own bitcoin client, and I have most of the protocol working from https://en.bitcoin.it/wiki/Protocol_Specification. I successfully make a connection with the version and verack ...
yzernik's user avatar
  • 223
4 votes
1 answer
219 views

How does Bitcoin decide which Alert messages to forward?

The Bitcoin protocol lists an Alert message that in the Standard Client is displayed to all users. How does the Standard Client decide which messages to forward and display, and which to ignore? Does ...
ThePiachu's user avatar
  • 43.2k