lib/sepa/response.rb
def find_nodes_to_verify(references)
        nodes = {}

        references.each do |uri, _digest_value|
          uri = uri.sub(/^#/, '')
          node = find_node_by_uri(uri)

          nodes[uri] = calculate_digest(node)
        end

        nodes
      end
# Finds nodes to verify by comparing their id's to the uris' in the references hash. Then
# calculates the hashes of those nodes and returns them in a hash
#
# @param references [Hash]
# @return [Hash] hash of calculated digests with reference uri as the key
Finds nodes to verify by comparing their id's to the uris' in the references hash. Then
calculates the hashes of those nodes and returns them in a hash
Finds nodes to verify by comparing their id ' s to the uris ' in the references hash . Then calculates the hashes of those nodes and returns them in a hash
def find_nodes_to_verify(references)
        nodes = {}
        references.each do |uri, _digest_value|
          uri = uri.sub(/^#/, '')
          node = find_node_by_uri(uri)
          nodes[uri] = calculate_digest(node)
        end
        nodes
      end
def find_nodes_to_verify ( references ) nodes = { } references . each do | uri , _digest_value | uri = uri . sub ( / ^# / , '' ) node = find_node_by_uri ( uri ) nodes [ uri ] = calculate_digest ( node ) end nodes end
Finds nodes to verify by comparing their id's to the uris' in the references hash.
Finds nodes to verify by comparing their id ' s to the uris ' in the references hash .
hash of calculated digests with reference uri as the key
hash of calculated digests with reference uri as the key
Hash
references
None