This is the original version
Merge branch 'sqlite_version' of https://github.com/vtrubets/galaxy.consensus