Class: Ethereum::SPV::ProofConstructor

Inherits:
Proof show all
Defined in:
lib/ethereum/spv/proof_constructor.rb

Instance Attribute Summary

Attributes inherited from Proof

#nodes

Instance Method Summary collapse

Methods inherited from Proof

#add_exempt, #add_node, #decoded_nodes, #initialize

Constructor Details

This class inherits a constructor from Ethereum::SPV::Proof

Instance Method Details

#grabbing(node) ⇒ Object



9
10
11
# File 'lib/ethereum/spv/proof_constructor.rb', line 9

def grabbing(node)
  add_node node.dup
end

#store(node) ⇒ Object



13
14
15
# File 'lib/ethereum/spv/proof_constructor.rb', line 13

def store(node)
  add_exempt node.dup
end