-
The comment in -- NOTE: we are tracing the transactions we retrieved from the Mempool,
-- not the transactions actually /in the block/. They should always
-- match, if they don't, that would be a bug. Is this comment correct? It seems to contradict the fact that all transactions that we get from a snapshot are added up to the maximum block size. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Perhaps I'm missing something but I don't see the contradiction. In the absence of bugs these are the same thing. Note that it's tracing this
where you might expect that
As the comment says, in the absence of bugs these will be the same thing. |
Beta Was this translation helpful? Give feedback.
Suppose the
newBlock
does not contain all of thetxs
, what is the consequence?The main thing that the
txs
is used for is tracing, so that would cause some confusion but not any behaviour changes.It's also used in an exceptional case: