Skip to content

Include BlockInfo in TransactionValidationOutcome #18383

@mattsse

Description

@mattsse

Describe the feature

with lower blocktimes it's more likely that there's a delay during validation and insert, e.g.

validation in block N
N + 1 mined
pool updated
insert in N + 1

pub enum TransactionValidationOutcome<T: PoolTransaction> {

we could use the block context (NumHash) during validation in case we need to enforce things like non-noncegap transactions (7702)

TODO

  • add block_info: NumHash to validationoutcome

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-tx-poolRelated to the transaction mempoolC-enhancementNew feature or requestD-good-first-issueNice and easy! A great choice to get started

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions