Investigating mempool behavior with similar transactions #1148
Labels
Consensus
Module - Changes that affect the consensus protocol or internal verification logic
Discussion
Initial issue state - proposed but not yet accepted
Enhancement
Type - Changes that may affect performance, usability or add new features to existing modules.
Ledger
Module - The ledger is our 'database', this is used to tag changes about how we store information
P2P
Module - peer-to-peer message exchange and network optimisations, at TCP or UDP level (not HTTP).
Summary
As previously reported by @belane and @shargon, currently, it was wondered if someone could possibly spam different speakers with similar
txs
, which would make backups reject such block and deteriorate performance, among others...@belane and @shargon, could you please double check. I am not sure if this problem actually exists, because
OnTransaction
event ofConsensusService
looks independent from theOnNewTransaction
(which will probably discard the transaction herepublic virtual bool Reverify(Snapshot snapshot, IEnumerable<Transaction> mempool)
). What do you think, @erikzhang?Do you have any solution you want to propose?
Most would happen due to a transaction becoming invalid in terms of
network
andsystem
fees
.In this sense, we need to track
senders
and theirGAS
. By doing that we could still accept transactions proposed by `Speaker.This feature could be implemented together with the possible PR of #1140.
Where in the software does this update applies to?
The text was updated successfully, but these errors were encountered: