public static interface ChainNotifierOuterClass.SpendRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getHeightHint()
The earliest height in the chain for which the outpoint/output script could
have been spent.
|
ChainNotifierOuterClass.Outpoint |
getOutpoint()
The outpoint for which we should request a spend notification for.
|
ChainNotifierOuterClass.OutpointOrBuilder |
getOutpointOrBuilder()
The outpoint for which we should request a spend notification for.
|
com.google.protobuf.ByteString |
getScript()
The output script for the outpoint above.
|
boolean |
hasOutpoint()
The outpoint for which we should request a spend notification for.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasOutpoint()
The outpoint for which we should request a spend notification for. If set to a zero outpoint, then the spend notification will be requested for the script instead. A zero or nil outpoint is not supported for Taproot spends because the output script cannot reliably be computed from the witness alone and the spent output script is not always available in the rescan context. So an outpoint must _always_ be specified when registering a spend notification for a Taproot output.
.chainrpc.Outpoint outpoint = 1;
ChainNotifierOuterClass.Outpoint getOutpoint()
The outpoint for which we should request a spend notification for. If set to a zero outpoint, then the spend notification will be requested for the script instead. A zero or nil outpoint is not supported for Taproot spends because the output script cannot reliably be computed from the witness alone and the spent output script is not always available in the rescan context. So an outpoint must _always_ be specified when registering a spend notification for a Taproot output.
.chainrpc.Outpoint outpoint = 1;
ChainNotifierOuterClass.OutpointOrBuilder getOutpointOrBuilder()
The outpoint for which we should request a spend notification for. If set to a zero outpoint, then the spend notification will be requested for the script instead. A zero or nil outpoint is not supported for Taproot spends because the output script cannot reliably be computed from the witness alone and the spent output script is not always available in the rescan context. So an outpoint must _always_ be specified when registering a spend notification for a Taproot output.
.chainrpc.Outpoint outpoint = 1;
com.google.protobuf.ByteString getScript()
The output script for the outpoint above. This will be used by light clients to match block filters. If the outpoint is set to a zero outpoint, then a spend notification will be requested for this script instead.
bytes script = 2;
int getHeightHint()
The earliest height in the chain for which the outpoint/output script could have been spent. This should in most cases be set to the broadcast height of the outpoint/output script.
uint32 height_hint = 3;