Package net.osslabz.lnd.dto
Class LnrpcPsbtShim
java.lang.Object
net.osslabz.lnd.dto.LnrpcPsbtShim
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcPsbtShim
extends Object
LnrpcPsbtShim
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbasePsbt(byte[] basePsbt) booleanbyte[]An optional base PSBT the new channel output will be added to.If a channel should be part of a batch (multiple channel openings in one transaction), it can be dangerous if the whole batch transaction is published too early before all channel opening negotiations are completed.byte[]A unique identifier of 32 random bytes that will be used as the pending channel ID to identify the PSBT state machine when interacting with it and on the wire protocol to initiate the funding request.inthashCode()pendingChanId(byte[] pendingChanId) voidsetBasePsbt(byte[] basePsbt) voidsetNoPublish(Boolean noPublish) voidsetPendingChanId(byte[] pendingChanId) toString()
-
Field Details
-
SERIALIZED_NAME_PENDING_CHAN_ID
- See Also:
-
SERIALIZED_NAME_BASE_PSBT
- See Also:
-
SERIALIZED_NAME_NO_PUBLISH
- See Also:
-
-
Constructor Details
-
LnrpcPsbtShim
public LnrpcPsbtShim()
-
-
Method Details
-
pendingChanId
-
getPendingChanId
@Nullable public byte[] getPendingChanId()A unique identifier of 32 random bytes that will be used as the pending channel ID to identify the PSBT state machine when interacting with it and on the wire protocol to initiate the funding request.- Returns:
- pendingChanId
-
setPendingChanId
public void setPendingChanId(byte[] pendingChanId) -
basePsbt
-
getBasePsbt
@Nullable public byte[] getBasePsbt()An optional base PSBT the new channel output will be added to. If this is non-empty, it must be a binary serialized PSBT.- Returns:
- basePsbt
-
setBasePsbt
public void setBasePsbt(byte[] basePsbt) -
noPublish
-
getNoPublish
If a channel should be part of a batch (multiple channel openings in one transaction), it can be dangerous if the whole batch transaction is published too early before all channel opening negotiations are completed. This flag prevents this particular channel from broadcasting the transaction after the negotiation with the remote peer. In a batch of channel openings this flag should be set to true for every channel but the very last.- Returns:
- noPublish
-
setNoPublish
-
equals
-
hashCode
public int hashCode() -
toString
-