Interface UtxoLookup.UtxoLookupInterface

  • Enclosing class:
    UtxoLookup

    public static interface UtxoLookup.UtxoLookupInterface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      UtxoResult get_utxo​(byte[] genesis_hash, long short_channel_id)
      Returns the transaction output of a funding transaction encoded by [`short_channel_id`].
    • Method Detail

      • get_utxo

        UtxoResult get_utxo​(byte[] genesis_hash,
                            long short_channel_id)
        Returns the transaction output of a funding transaction encoded by [`short_channel_id`]. Returns an error if `genesis_hash` is for a different chain or if such a transaction output is unknown. [`short_channel_id`]: https://github.com/lightning/bolts/blob/master/07-routing-gossip.md#definition-of-short_channel_id