timeMachine
timeMachine copied to clipboard
Update bolt data source with test and dht with tests and enhancements
- added some comments to datastore_bolt.go
- added bolt data store tests in datastore_bolt_test.go
- this updates the dht with a number of enhancements
- the code has more test coverage
- there is a very small number of backwards compatibility breaks that I think were necessary because dht was exported as a return type, this has been changed to DHT
I do not think GetSlotVsNodes is a great but I think it should be ok for now. It can be refactored to something better.
I would like to work on the consensus section and fsm stuff next, to cover with tests and add more functionality. Happy to refactor this pr if needed.
Sure. You can create a separate PR for the same. I will review this PR by tomorrow.