public static final class LightningApi.FundingPsbtVerify.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FundingPsbtVerify.Builder> implements LightningApi.FundingPsbtVerifyOrBuilder
lnrpc.FundingPsbtVerify
Modifier and Type | Method and Description |
---|---|
LightningApi.FundingPsbtVerify |
build() |
LightningApi.FundingPsbtVerify |
buildPartial() |
LightningApi.FundingPsbtVerify.Builder |
clear() |
LightningApi.FundingPsbtVerify.Builder |
clearFundedPsbt()
The funded but not yet signed PSBT that sends the exact channel capacity
amount to the PK script returned in the open channel message in a previous
step.
|
LightningApi.FundingPsbtVerify.Builder |
clearPendingChanId()
The pending channel ID of the channel to get the PSBT for.
|
LightningApi.FundingPsbtVerify.Builder |
clearSkipFinalize()
Can only be used if the no_publish flag was set to true in the OpenChannel
call meaning that the caller is solely responsible for publishing the final
funding transaction.
|
LightningApi.FundingPsbtVerify |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getFundedPsbt()
The funded but not yet signed PSBT that sends the exact channel capacity
amount to the PK script returned in the open channel message in a previous
step.
|
com.google.protobuf.ByteString |
getPendingChanId()
The pending channel ID of the channel to get the PSBT for.
|
boolean |
getSkipFinalize()
Can only be used if the no_publish flag was set to true in the OpenChannel
call meaning that the caller is solely responsible for publishing the final
funding transaction.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.FundingPsbtVerify.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.FundingPsbtVerify.Builder |
mergeFrom(LightningApi.FundingPsbtVerify other) |
LightningApi.FundingPsbtVerify.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.FundingPsbtVerify.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.FundingPsbtVerify.Builder |
setFundedPsbt(com.google.protobuf.ByteString value)
The funded but not yet signed PSBT that sends the exact channel capacity
amount to the PK script returned in the open channel message in a previous
step.
|
LightningApi.FundingPsbtVerify.Builder |
setPendingChanId(com.google.protobuf.ByteString value)
The pending channel ID of the channel to get the PSBT for.
|
LightningApi.FundingPsbtVerify.Builder |
setSkipFinalize(boolean value)
Can only be used if the no_publish flag was set to true in the OpenChannel
call meaning that the caller is solely responsible for publishing the final
funding transaction.
|
LightningApi.FundingPsbtVerify.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FundingPsbtVerify.Builder>
public LightningApi.FundingPsbtVerify.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FundingPsbtVerify.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FundingPsbtVerify.Builder>
public LightningApi.FundingPsbtVerify getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.FundingPsbtVerify build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.FundingPsbtVerify buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.FundingPsbtVerify.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.FundingPsbtVerify.Builder>
public LightningApi.FundingPsbtVerify.Builder mergeFrom(LightningApi.FundingPsbtVerify other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FundingPsbtVerify.Builder>
public LightningApi.FundingPsbtVerify.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.FundingPsbtVerify.Builder>
java.io.IOException
public com.google.protobuf.ByteString getFundedPsbt()
The funded but not yet signed PSBT that sends the exact channel capacity amount to the PK script returned in the open channel message in a previous step.
bytes funded_psbt = 1;
getFundedPsbt
in interface LightningApi.FundingPsbtVerifyOrBuilder
public LightningApi.FundingPsbtVerify.Builder setFundedPsbt(com.google.protobuf.ByteString value)
The funded but not yet signed PSBT that sends the exact channel capacity amount to the PK script returned in the open channel message in a previous step.
bytes funded_psbt = 1;
value
- The fundedPsbt to set.public LightningApi.FundingPsbtVerify.Builder clearFundedPsbt()
The funded but not yet signed PSBT that sends the exact channel capacity amount to the PK script returned in the open channel message in a previous step.
bytes funded_psbt = 1;
public com.google.protobuf.ByteString getPendingChanId()
The pending channel ID of the channel to get the PSBT for.
bytes pending_chan_id = 2;
getPendingChanId
in interface LightningApi.FundingPsbtVerifyOrBuilder
public LightningApi.FundingPsbtVerify.Builder setPendingChanId(com.google.protobuf.ByteString value)
The pending channel ID of the channel to get the PSBT for.
bytes pending_chan_id = 2;
value
- The pendingChanId to set.public LightningApi.FundingPsbtVerify.Builder clearPendingChanId()
The pending channel ID of the channel to get the PSBT for.
bytes pending_chan_id = 2;
public boolean getSkipFinalize()
Can only be used if the no_publish flag was set to true in the OpenChannel call meaning that the caller is solely responsible for publishing the final funding transaction. If skip_finalize is set to true then lnd will not wait for a FundingPsbtFinalize state step and instead assumes that a transaction with the same TXID as the passed in PSBT will eventually confirm. IT IS ABSOLUTELY IMPERATIVE that the TXID of the transaction that is eventually published does have the _same TXID_ as the verified PSBT. That means no inputs or outputs can change, only signatures can be added. If the TXID changes between this call and the publish step then the channel will never be created and the funds will be in limbo.
bool skip_finalize = 3;
getSkipFinalize
in interface LightningApi.FundingPsbtVerifyOrBuilder
public LightningApi.FundingPsbtVerify.Builder setSkipFinalize(boolean value)
Can only be used if the no_publish flag was set to true in the OpenChannel call meaning that the caller is solely responsible for publishing the final funding transaction. If skip_finalize is set to true then lnd will not wait for a FundingPsbtFinalize state step and instead assumes that a transaction with the same TXID as the passed in PSBT will eventually confirm. IT IS ABSOLUTELY IMPERATIVE that the TXID of the transaction that is eventually published does have the _same TXID_ as the verified PSBT. That means no inputs or outputs can change, only signatures can be added. If the TXID changes between this call and the publish step then the channel will never be created and the funds will be in limbo.
bool skip_finalize = 3;
value
- The skipFinalize to set.public LightningApi.FundingPsbtVerify.Builder clearSkipFinalize()
Can only be used if the no_publish flag was set to true in the OpenChannel call meaning that the caller is solely responsible for publishing the final funding transaction. If skip_finalize is set to true then lnd will not wait for a FundingPsbtFinalize state step and instead assumes that a transaction with the same TXID as the passed in PSBT will eventually confirm. IT IS ABSOLUTELY IMPERATIVE that the TXID of the transaction that is eventually published does have the _same TXID_ as the verified PSBT. That means no inputs or outputs can change, only signatures can be added. If the TXID changes between this call and the publish step then the channel will never be created and the funds will be in limbo.
bool skip_finalize = 3;
public final LightningApi.FundingPsbtVerify.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FundingPsbtVerify.Builder>
public final LightningApi.FundingPsbtVerify.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FundingPsbtVerify.Builder>