docs: def _hash_and_save(self, node):
          """
          Saves a node into the database and returns its hash
          """
          validate_is_bin_node(node)
  
          node_hash = keccak(node)
          self.db[node_hash] = node
          return node_hash