Commit Graph

6 Commits

Author SHA1 Message Date
Abdul Rabbani
3a61622e01 Add ordered testing 2022-06-09 08:33:34 -04:00
Abdul Rabbani
9d8f5bc6eb Ensure we release locks properly 2022-06-08 11:54:29 -04:00
Abdul Rabbani
ebc12bd8a5 Update MhKeys in test 2022-06-08 11:14:01 -04:00
Abdul Rabbani
60855d2823 Tests + Significant Refactor
The code for historical processing has been significantly refactored to use a context to signify a shutdown.

There have also been many tests added for historical and knownGaps processing.
2022-06-08 10:26:27 -04:00
Abdul Rabbani
4d7781e2b0
Use a transaction for writing, knowngaps, and reorgs (#53)
* Use a transaction for writing, knowngaps, and reorgs

* Checkpoint - Check the DB before writing

* Ensure an error exists when writing a transaction to knowngaps

* Update unneccesary parameter
2022-06-06 09:02:43 -04:00
Abdul Rabbani
347984a547
Feature/44 read write historic slots (#46)
* Update boot to set processing type.

* Handle entries from the historic_process table.

* Update on-pr.yml

* Fix head processing Error

* Update names and debug

* Seperate checking for new entries and locking them

* Application can process historic and known gaps

Untested

* Handle genesis

* Update remove entry for knownGaps, viper

* Disregard unused code from linter
2022-05-24 16:18:55 -04:00