essential-contributions / essential-builder

Reference implementation of a block builder for the Essential Protocol.
Apache License 2.0
2 stars 0 forks source link

Builder DB #4

Closed freesig closed 2 months ago

freesig commented 2 months ago

A sqlite database that stores a Solution pool. Very similar to the solutions pool on the server except we will add more advanced logic around which order solutions are returned in.

This database contains nothing else and solutions are removed if they are added to a block or found to be invalid. Care must be taken to account for the fact that an identical solution might be submitted multiple times so could be included multiple times (although this is unlikely due to signatures extra).

Potentially failed solutions could be stored to give users an outcome for their solution.