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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FundingPsbtVerify.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FundingPsbtVerify.Builder>public LightningApi.FundingPsbtVerify getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.FundingPsbtVerify build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.FundingPsbtVerify buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.FundingPsbtVerify.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.FundingPsbtVerify.Builder>java.io.IOExceptionpublic 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.FundingPsbtVerifyOrBuilderpublic 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.FundingPsbtVerifyOrBuilderpublic 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.FundingPsbtVerifyOrBuilderpublic 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.BuildersetUnknownFields 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.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FundingPsbtVerify.Builder>