-
- All Implemented Interfaces:
-
java.lang.AutoCloseable,org.lightningdevkit.ldknode.BuilderInterface,org.lightningdevkit.ldknode.Disposable
public class Builder extends FFIObject implements BuilderInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBuilder.Companion
-
Method Summary
Modifier and Type Method Description PointeruniffiClonePointer()Nodebuild()NodebuildWithFsStore()UnitsetEntropyBip39Mnemonic(String mnemonic, String passphrase)UnitsetEntropySeedBytes(List<UByte> seedBytes)UnitsetEntropySeedPath(String seedPath)UnitsetEsploraServer(String esploraServerUrl)UnitsetGossipSourceP2p()UnitsetGossipSourceRgs(String rgsServerUrl)UnitsetLiquiditySourceLsps2(String address, String nodeId, String token)UnitsetListeningAddresses(List<String> listeningAddresses)UnitsetNetwork(Network network)UnitsetStorageDirPath(String storageDirPath)-
-
Constructor Detail
-
Builder
Builder(Pointer pointer)
-
Builder
Builder(NoPointer noPointer)
This constructor can be used to instantiate a fake object.- Parameters:
noPointer- Placeholder value so we can have a constructor separate from the default empty one that may be implemented for classes extending FFIObject.
-
Builder
Builder()
-
-
Method Detail
-
uniffiClonePointer
Pointer uniffiClonePointer()
-
buildWithFsStore
Node buildWithFsStore()
-
setEntropyBip39Mnemonic
Unit setEntropyBip39Mnemonic(String mnemonic, String passphrase)
-
setEntropySeedBytes
Unit setEntropySeedBytes(List<UByte> seedBytes)
-
setEntropySeedPath
Unit setEntropySeedPath(String seedPath)
-
setEsploraServer
Unit setEsploraServer(String esploraServerUrl)
-
setGossipSourceP2p
Unit setGossipSourceP2p()
-
setGossipSourceRgs
Unit setGossipSourceRgs(String rgsServerUrl)
-
setLiquiditySourceLsps2
Unit setLiquiditySourceLsps2(String address, String nodeId, String token)
-
setListeningAddresses
Unit setListeningAddresses(List<String> listeningAddresses)
-
setNetwork
Unit setNetwork(Network network)
-
setStorageDirPath
Unit setStorageDirPath(String storageDirPath)
-
-
-
-