mariadb relational representation of related bitcoin blockchain records