Skip to content

Class BSV::Overlay::AdmittanceInstructions

Inherits: Object

Instructs the Overlay Services Engine about which outputs to admit and which previous outputs to retain. Returned by a Topic Manager.

Attributes

coins_removed [R]

  • @return [Array, nil] indices of inputs spending previously-admitted outputs that are now considered spent and removed from the topic (optional)

coins_to_retain [R]

  • @return [Array] indices of inputs spending previously-admitted outputs to retain

outputs_to_admit [R]

  • @return [Array] indices of admissible outputs in the managed topic

Public Instance Methods

initialize(outputs_to_admit:, coins_to_retain:, coins_removed: = nil)

  • @param outputs_to_admit [Array]
  • @param coins_to_retain [Array]
  • @param coins_removed [Array, nil]
  • @return [AdmittanceInstructions] a new instance of AdmittanceInstructions