core-rs-albatross icon indicating copy to clipboard operation
core-rs-albatross copied to clipboard

Publish/validate before db commit

Open paberr opened this issue 5 months ago • 2 comments

This PR adds a post-validation hook to the blockchain and uses it to publish/validate blocks before the database commit is happening. This way, the blocks are forwarded to the network without waiting for the database.

Pull request checklist

  • [x] All tests pass. The project builds and runs.
  • [x] I have resolved any merge conflicts.
  • [x] I have resolved all clippy and rustfmt warnings.

paberr avatar Aug 26 '24 17:08 paberr