-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
my eli5 understanding of fluffyblocks, is that the block relayed should only include missing txs / txs that the node does not already have. Making for bandwidth savings.
When testing tx_relay v2, my setup was 3 nodes.
- node A = wallet spams txs. Node A is connected exclusively to node B.
- node B = intermediate node. Connected to node A and node C.
- node C = mining. Connected exclusively to node B.
This means that node A always has every tx - they all originate on node A.
monitoring the amount of data sent / received, would look similar to
Node A = 50kb down, 5mb up
Node B = 5mb down, 5mb up
Node C = 5mb down, 50kb up
Here's where i think there is an issue:
Node C mines a block. Node B and A already have all of the txs in the block, so i'd expect the block sent to them to be small (not including the txs). But after receiving the block, the data looks like
Node A = 5mb down, 5mb up
Node B = 10mb down, 10mb up
Node C = 5mb down, 5mb up
if i understand fluffyblock correctly, the relayed block shouldnt have included the txs if the node already had them.
note: this isnt related to tx_relay v2, but is just where i first noticed it (due to my large block sizes). It is also present on stressnet. I don't think its related to fcmp.