Bitcoin/PostgreSQL bridge