blockchain db interface rev 1 mocked up