Class: Bitcoin::Protocol::PartialMerkleTree::Node

Inherits:
Struct
  • Object
show all
Defined in:
lib/bitcoin/protocol/partial_merkle_tree.rb

Instance Attribute Summary collapse

Instance Attribute Details

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



5
6
7
# File 'lib/bitcoin/protocol/partial_merkle_tree.rb', line 5

def left
  @left
end

#rightObject

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



5
6
7
# File 'lib/bitcoin/protocol/partial_merkle_tree.rb', line 5

def right
  @right
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



5
6
7
# File 'lib/bitcoin/protocol/partial_merkle_tree.rb', line 5

def value
  @value
end

#width_idxObject

Returns the value of attribute width_idx

Returns:

  • (Object)

    the current value of width_idx



5
6
7
# File 'lib/bitcoin/protocol/partial_merkle_tree.rb', line 5

def width_idx
  @width_idx
end