module Utreexo
Constants
- VERSION
Public Instance Methods
parent(left, right)
click to toggle source
Calculate parent hash @param [String] left left node hash with hex format. @param [String] right left node hash with hex format. @return [String] a parent hash with hex format.
# File lib/utreexo.rb, line 17 def parent(left, right) Blake2b.hex([left + right].pack('H*')) end