Questions tagged [compact-blocks]
The compact-blocks tag has no usage guidance.
15
questions
3
votes
1
answer
90
views
Can a BIP152 compact block be sent before validation by a node that doesn't know all transactions?
A new block is being relayed from node A to B to C using BIP152 compact block's high-bandwidth mode, which allows relaying a block after only validating its header proof-of-work. When node B receives ...
1
vote
0
answers
49
views
sendcmpct message
I'm trying to connect to a local testnet3 node with a custom Rust code.
After handshake, node sends a sendcmpct message as per BIP152.
The message I receive is
[11, 17, 9, 7, 115, 101, 110, 100, 99, ...
16
votes
1
answer
1k
views
How does block synchronization work in Bitcoin Core today?
When a Bitcoin (full) node connects to the network, it has to synchronize its blockchain with its peers, i.e. learn about the best chain the network knows.
There are many aspects to this (learning ...
1
vote
1
answer
51
views
What is pchCommand?
BIP152 and BIP130 are using this term. What does it mean? Command name in message header?
0
votes
0
answers
51
views
Where does Bitcoin Core implement announcement of blocks optionally by `cmpctblock` or `inv` messages?
In BIP152 implementation note
Nodes MAY impose additional requirements on when they announce new
blocks by sending cmpctblock messages. For example, nodes with limited
outbound bandwidth MAY choose ...
3
votes
0
answers
68
views
the switching timing between high-bandwidth mode and low-bandwidth mode in CompactBlockReray
If the Compact Block transmission node is bandwidth-limited, there is a statement in bip152 implemention Note that an 'inv/headers' is sent. Are there specific thresholds or settings for this in the ...
2
votes
0
answers
69
views
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 ...
2
votes
0
answers
94
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: ...
3
votes
1
answer
120
views
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 ...
1
vote
0
answers
69
views
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(...
10
votes
1
answer
390
views
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?
3
votes
4
answers
487
views
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 ...
0
votes
1
answer
74
views
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 ...
5
votes
2
answers
309
views
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 ...
9
votes
1
answer
303
views
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 ...