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


2
3
4
# File 'lib/bitcoin/protocol/partial_merkle_tree.rb', line 2

def left
  @left
end

#rightObject

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right


2
3
4
# File 'lib/bitcoin/protocol/partial_merkle_tree.rb', line 2

def right
  @right
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value


2
3
4
# File 'lib/bitcoin/protocol/partial_merkle_tree.rb', line 2

def value
  @value
end

#width_idxObject

Returns the value of attribute width_idx

Returns:

  • (Object)

    the current value of width_idx


2
3
4
# File 'lib/bitcoin/protocol/partial_merkle_tree.rb', line 2

def width_idx
  @width_idx
end