Skip to content

As a developer, I want to change transaction validation flow, in order to not reject transactions during nodes bootstrap #1067

@0xMimir

Description

@0xMimir

Transactions should first go into the TransactionPoolState::candidates and with TransactionPoolCandidatesState extended to support storing the libp2p received messages grouped by message id. The logic should also be extended to handle libp2p gossip as an origin. This will make it much easier to later fix the issue of us trying to validate the pool before the node is even synced.

With that approach we would still receive and store the gossip messages but wait until we are synced to validate them.

#1065 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions