Skip to content

An implementation of bakery.RootKeyStore that uses boltdb as a backend

License

Notifications You must be signed in to change notification settings

ChrisSchinnerl/boltdbrootkeystore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boltdbrootkeystore

An implementation of bakery.RootKeyStore that uses boltdb as a persistent store.

This implementation uses the dbrootkeystore.RootKeys of the bakery for generating and caching chunks by implementing the dbrootkeystore.Backing interface with boltb as a backend. To improve performance, the database uses two buckets. The keyBucket stores root keys by id and the seqBucket one stores the key ids using an auto-incremented index. For that reason it is assumed that keys are always inserted in the same order as they are created.

About

An implementation of bakery.RootKeyStore that uses boltdb as a backend

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages