15

Someone wrote a Bitcoin protocol decoder for Wireshark, several years ago. I assume it was included in the Wireshark distribution. Wireshark simply knows about the Bitcoin protocol. There is no magic involved.


7

This question might be considered too broad and too opinion based according to the rules of this forum. However, tackling it from a technical standpoint based on facts rather than opinions might be on-topic and I will try my best to deep dive on that. Let's try to hit the five most important aspects that people might be interested in: security, ...


5

Because unlike addresses, hex raw transactions aren't meant to be seen or used by end-users. Hex is easy to encode and decode (every two character in hex represents one byte*, whereas in base64 one character is 3/4 byte and Base58 is log(58)/log(256) = 0.7322476244 bytes) so it is convenient if you want to debug your implementation. *: which means if you ...


3

Do full-nodes process all txs before broadcasting the new blockheader? It depends. For nodes having protocol version 70015 and higher, the peer will announce the compact block even before full validation of the transactions contained in the block. However, the header has to be conform with the difficulty requirement. For nodes using protocol version 70015 ...


3

You would be wasting your energy, because the network will simply ignore your blocks. The rule in Bitcoin is that the best(*) valid chain is to be accepted by nodes in the network. If you add a block that contains an invalid transaction, nodes will discard your block (and any potential successors built on top of that block, even if those contain only valid ...


2

For example, every month you and every other wallet would pay 20% of their bitcoin evenly to everybody else. There is a technical issue with this, and a social issue: Technical: How is it decided where the 20% gets paid to? How do we determine that each actual human being is being paid, and only being paid once? If you agree to centralize the control of ...


2

Why raw Bitcoin transaction are in hex format? They are not. So far as I know and have read. Bitcoin raw format According to https://bitcoin.org/en/developer-reference Bitcoin transactions are broadcast between peers in a serialized byte format, called raw format. It is this form of a transaction which is SHA256(SHA256()) hashed to create the TXID ...


2

it will be less and less rewarding to keep adding hashing power for the miners to protect the network and more and more tempting to try a 51% attack even if it just for breaking the confidence in the network. This is a pretty weak assumption. We don't make any calls for necessity in the Bitcoin hashrate growing, there's no security assumption around that, ...


1

how do we ascertain that the bitcoin network [...] is one connected graph Problems paying people. The senders and recipients in transactions are people who make contact using non-bitcoin protocols - for example HTTP websites, SMTP email, chat, in-person, by phone. Therefore if the Bitcoin network were fragmented we should expect that pretty soon a person ...


1

I'll start with explaining the confusing documentation. BIP34 says it activates when 950 out of 1000 blocks signal for Version 2. It is not clear if this includes the current block or refers to previous blocks It refers to previous blocks. To determine whether the rules are active for the block at height n, we check whether 950 of the blocks from n-1001 ...


1

For set up the dns seed node, the parameter can be directly specified in chainparam.cpp if you are using bitcoin source in line that reads as " vSeeds.push_back(CDNSSeedData("someaddress.com or IP addy", "someaddress.com")); And you need to add all the seed node IP address to the A records where you have your domain name from. You might need to do it on ...


1

After 6 years, Now I want to tell you what is Replace by Fee :) This feature was proposed in BIP125 and implemented in Bitcoin Core 0.12.0. In simple words, by enabling (Replace By Fee) RBF in a transaction, if a transaction doesn't get mined, it can be resent by the sender with a higher mining fee with keeping the input data of the UTXO(Unspent ...


1

scriptSig = <sig> <pubKey> What is the sig part of scriptSig? It is the signature, made by A with his private key, of the content of the transaction he is creating, except for the scriptSig part (to not be recursive). It is made of <hash of the transaction from which an output is being used> <the index of this output in that ...


1

A block can only have one coinbase transaction. You could however send the reward+fees of the coinbase transaction to multiple addresses (of any type) just like any other transaction. is there a limit to the number of signatures that a multi-sig wallet can require? https://bitcoin.stackexchange.com/a/28092/87716


1

Assuming two miners have a (1/x) chance of finding a block over some time period, is the probability of both miners finding a block within that period simply (1/x^2)? More generally, would n miners with equal hash rates have a (1/x^n) chance of all finding blocks within some time period of each other? I believe these are both correct assuming the ...


Only top voted, non community-wiki answers of a minimum length are eligible