Questions tagged [compact-blocks]

9 questions
10
votes
1 answer

Improvements that could be made to how bitcoin propagates its transactions and blocks?

As of 2018 what are the known improvements that could be made to how bitcoin propagates its transactions and blocks?
G. Maxwell
  • 7,676
  • 2
  • 19
  • 46
9
votes
1 answer

Block messages with transactions hashes instead of full transactions

When a bitcoin node has the blockchain in sync, most transactions in incoming block messages may have been already received as standalone tx messages before. With a block message with only transaction hashes, the receiving node could try to…
5
votes
2 answers

Is selfish mining still an option with compact blocks and FIBRE?

The selfish mining strategy relies on withholding a block to build on it in private. When the honest chain publishes a block, the attacker immediately broadcasts its own withheld block in order to try to replace it. Today, most miners are connected…
Murch
  • 71,155
  • 33
  • 180
  • 600
3
votes
4 answers

Why miners need to broadcast blocks that contains full transactions in Bitcoin?

Does anyone know why Bitcoin requires miners to broadcast blocks that contains full transactions? When a user want to make a payment on Bitcion, he/she needs to broadcast a signed transaction, and miners will gather all transactions in a transaction…
Jan Leo
3
votes
1 answer

In Bitcoin Core, are compact blocks pre-filled with more than just the coinbase?

In the "How are expected missing transactions chosen to immediately forward?" section of https://bitcoincore.org/en/2016/06/07/compact-blocks-faq/ it states that "To reduce the number of things that need to be reviewed in the initial implementation,…
1
vote
0 answers

Not receiving Compact Block even after 'sendcompact' message

I have setup a regtest net locally with 2 nodes. One of nodes generates blocks using 'bitcoin-cli generatetoaddress 10 ', sendcompact message was sent from other node yet it gets normal block(NetMsgType::BLOCK) instead of compact…
Genie
  • 11
  • 1
1
vote
0 answers

Which transactions get into blockreconstructionextratxn?

Bitcoin Core has a cache for transactions that aren't in the node's mempool but could be in other mempools, and so are cached for improved compact block reconstruction. This cache holds up to 100 transactions by default and this number can be…
Vojtěch Strnad
  • 5,623
  • 1
  • 8
  • 31
1
vote
0 answers

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: When a new block arrives, Node A performs some…
Muoi Tran
  • 397
  • 1
  • 9
0
votes
1 answer

Is the compact block protocol faster than normal blocks when it has to do getblocktxn/blocktxn round trip?

When a compact block fails to rebuild a block from the mempool the node sends a getblocktxn message to learn about the missing transactions. Does requesting for the missing transactions make the compact block protocol as slow as the normal block…
Nabeel
  • 37
  • 4