Skip to content

Allow for thread safe DaemonAsync out of the box #317

Description

@Kayanski

Today, DaemonAsync is thread safe but submitting transactions with a daemon between threads is not safe because of the account sequence not being updated accordingly when a transaction has been submitted in a block.

This represents the first step : #308

Solution

Wrap the account sequence in a mutex and update it to account for the account sequence change of possible transactions in the same block (is that even possible to have multiple txs in the same block ?)

Metadata

Metadata

Assignees

No one assigned

    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