Rewrite PatriciaLink to have both a node and hash value (using the typical HashableMixin, although the hash is actually just cached from the node). This enables backends which lookup by hash or by node, and saving of the cached hash value when constructing new links.
Rewrite PatriciaLink to have both a node and hash value (using the typical HashableMixin, although the hash is actually just cached from the node). This enables backends which lookup by hash or by node, and saving of the cached hash value when constructing new links.

monetizeio/python-bitcoin