Questions tagged [protocol]

This tag should be used for questions relating to the protocols by which cryptocurrencies are transferred. This includes the network protocol and consensus rules.

21 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
540 views

What are the weakest cryptographic guarantees in Bitcoin?

I read in this Github pull that Bitcoin relies on weaker cryptographic guarantees than SHA256. What are the weaker cryptographic guarantees being referred to? Could it be that RipeMD is 160 bits? ......
2
votes
0answers
100 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 ...
2
votes
0answers
108 views

Why is the Serialization limit set to 0x02000000?

In addition to the block size limit, there is a limit on the maximum message size. Is there a rationale behind the 32MB limit set in src/serialize.h or was it picked because it's just a nice round ...
2
votes
0answers
98 views

Transaction malleability and Bitcoind

I've been trying to get my head around the process that stops transactions from being malleable on a system built using Bitcoind. I'm pretty sure, that out of the box, right now, I'm not doing ...
1
vote
0answers
43 views

How long do peers normally stay connected?

I've been experimenting with the Bitcoin protocol by trying to connect to peers and receive blocks, which has been working so far. However, often peers will close the TCP connection within a couple of ...
1
vote
0answers
37 views

When is CMPCTBLOCK message sent in High Bandwidth Relaying?

In the Compact Blocks FAQ, particularly, the High Bandwidth Relaying diagram attached below, the CMPCTBLOCK message is sent by node A when receiving block is not yet completed. The description says: ...
1
vote
0answers
43 views

Does finding neighbors in Bitcoin consider locality and hop count?

When the list of neighbors is being gathered by a new nodes in the network, does it consider the distance between the nodes to find closest possible, or it just takes some random nodes? In other words,...
1
vote
0answers
34 views

What is the behavior of the try catch statement in lines 1707-1729 in the ui.cpp in the release 0.1?

In the first public release, ui.cpp has this code on the lines in the subject: void CSendingDialog::OnReply3(CDataStream& vRecv) { int nRet; try { vRecv >> nRet; ...
1
vote
0answers
57 views

Exchange development good practices

Is there any guide or good practice rules to follow when developing a service that uses the Bitcoin and other cryptocurrencies protocols? For instance, how is the best way to know if a user deposited ...
1
vote
0answers
94 views

How can I use raw litecoin protocol to connect to nodes?

I am trying to connect to litecoin nodes using raw protocol. I follow Ken Shirriff instructions from this article . My code works perfect with bitcoin, so I just replaced bitcoin nodes connection ...
1
vote
0answers
131 views

bitcoind > 0.9 - unexpected end of data - handling of arbitrary data in tx - UPDATE

I'm working on a pretty old blockchain here which was based on codebase 0.9 and never updated since. Now getting that stuff to a proper codebase, I'm facing following situation on initial block ...
1
vote
0answers
344 views

What is the point in using Kademlia routing if there are so few nodes?

With about ~5000 full nodes, and given that this number will probably never grow too much (say, >1000000 full nodes is extremely inefficient and unlikely), then what is the point of using a Kademlia-...
1
vote
0answers
95 views

What is the correct code flow while sending a message

I have a fundamental doubt wrt boost signaling used in bitcoin. As far as I understand the following happens between main.cpp and init.cpp: StartNode() spawns a thread ThreadMessageHandler ...
1
vote
0answers
102 views

Why do transactions get verified before it is clear that the block header is valid?

When I researched for the answer on What happens in detail, when Bitcoin Core verifies a block during synchronization?, I noticed something: According to the Wiki-Entry on Protocol rules some of the ...
1
vote
0answers
287 views

wireshark packet analysis missing checksum in version msg

I'm trying to send a raw bitcoin transaction through a raw socket connection in python. To debug I'm using wireshark to sniff the packets. Wireshark figures out that the packet is for Bitcoin and ...
1
vote
1answer
259 views

Can I look for transaction in the genesis block?

I'm testing bitcoin and, as an experiment, I added a transaction after the coinbase to the genesis block. However, it appears that it can't be searched with the rpc commands. Why is that? I already ...
0
votes
1answer
66 views

What does a wallet do?

what are the actual requirements for a bitcoin transaction? Not the simple inputs, outputs, verification or amounts, but in the technical sense. what does your wallet do? every thing I read says you ...
0
votes
0answers
36 views

how do bitcoin nodes detect a transaction?

I have a number of question about bitcoin but I was ask to do specific research on two questions and I figured this would be a good place to start. The first I have answered already the second is: &...
0
votes
0answers
124 views

Bitcoin sent from one wallet to another didn't reach

looking for some help and advice here. I sent 2.27 BTC from one exchange (Coinsecure) to another (Koinex). However, the receiving exchange (Koinex) only credited 0.327 to my wallet. I have been ...
0
votes
0answers
62 views

How is a version of Bitcoin marked as 'obsolete'

I'm compiling a pre-release version of a Bitcoin based altcoin. I get a temporary connection to a current version fullnode of my own, but the connection is then rejected. When I look in the debug....
0
votes
1answer
507 views

Ripple's validation of transactions / Ripple white paper?

Is there a ripple white paper or some safe source to understand how the transactions are validated and made in the ripple network? VS Bitcoin, XRP is not mined, so how is the agreement reached? (I ...