Add interface for bolt database logic
Created by: mtlynch
Add interfaces to wrap boltdb types to facilitate testing.
Replace boltdb types with interfaces in validHeader function.
Created by: mtlynch
Add interfaces to wrap boltdb types to facilitate testing.
Replace boltdb types with interfaces in validHeader function.