Package org.ldk.structs
Interface Filter.FilterInterface
-
- Enclosing class:
- Filter
public static interface Filter.FilterInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Option_C2Tuple_usizeTransactionZZ
register_output(WatchedOutput output)
Registers interest in spends of a transaction output.void
register_tx(byte[] txid, byte[] script_pubkey)
Registers interest in a transaction with `txid` and having an output with `script_pubkey` as a spending condition.
-
-
-
Method Detail
-
register_tx
void register_tx(byte[] txid, byte[] script_pubkey)
Registers interest in a transaction with `txid` and having an output with `script_pubkey` as a spending condition.
-
register_output
Option_C2Tuple_usizeTransactionZZ register_output(WatchedOutput output)
Registers interest in spends of a transaction output. Optionally, when `output.block_hash` is set, should return any transaction spending the output that is found in the corresponding block along with its index. This return value is useful for Electrum clients in order to supply in-block descendant transactions which otherwise were not included. This is not necessary for other clients if such descendant transactions were already included (e.g., when a BIP 157 client provides the full block).
-
-