-
- All Implemented Interfaces:
-
java.lang.AutoCloseable,org.lightningdevkit.ldknode.BuilderInterface,org.lightningdevkit.ldknode.Disposable
public class Builder implements Disposable, AutoCloseable, BuilderInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBuilder.Companion
-
Method Summary
-
-
Constructor Detail
-
Builder
Builder(Pointer pointer)
-
Builder
Builder(NoPointer noPointer)
This constructor can be used to instantiate a fake object.
-
Builder
Builder()
-
-
Method Detail
-
uniffiClonePointer
final Pointer uniffiClonePointer()
-
buildWithFsStore
Node buildWithFsStore()
-
buildWithVssStore
Node buildWithVssStore(String vssUrl, String storeId, String lnurlAuthServerUrl, Map<String, String> fixedHeaders)
-
buildWithVssStoreAndFixedHeaders
Node buildWithVssStoreAndFixedHeaders(String vssUrl, String storeId, Map<String, String> fixedHeaders)
-
buildWithVssStoreAndHeaderProvider
Node buildWithVssStoreAndHeaderProvider(String vssUrl, String storeId, VssHeaderProvider headerProvider)
-
setChainSourceBitcoindRpc
Unit setChainSourceBitcoindRpc(String rpcHost, UShort rpcPort, String rpcUser, String rpcPassword)
-
setChainSourceEsplora
Unit setChainSourceEsplora(String serverUrl, EsploraSyncConfig config)
-
setEntropyBip39Mnemonic
Unit setEntropyBip39Mnemonic(String mnemonic, String passphrase)
-
setEntropySeedBytes
Unit setEntropySeedBytes(List<UByte> seedBytes)
-
setEntropySeedPath
Unit setEntropySeedPath(String seedPath)
-
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)
-
setNodeAlias
Unit setNodeAlias(String nodeAlias)
-
setStorageDirPath
Unit setStorageDirPath(String storageDirPath)
-
-
-
-