// Package db provides the database layer for the chain listener. package db