From 1b46ff1d7a2a0b04fa698a6cc574a048b5e399df Mon Sep 17 00:00:00 2001 From: pm47 Date: Mon, 28 Oct 2024 14:23:17 +0100 Subject: [PATCH] make root module the 'core' child module --- build.gradle.kts => core/build.gradle.kts | 24 ++++--------------- .../kotlin/fr/acinq/lightning/CltvExpiry.kt | 0 .../fr/acinq/lightning/EncodedNodeId.kt | 0 .../kotlin/fr/acinq/lightning/Features.kt | 0 .../kotlin/fr/acinq/lightning/MilliSatoshi.kt | 0 .../kotlin/fr/acinq/lightning/NodeEvents.kt | 0 .../kotlin/fr/acinq/lightning/NodeParams.kt | 0 .../fr/acinq/lightning/ShortChannelId.kt | 0 .../fr/acinq/lightning/blockchain/IClient.kt | 0 .../fr/acinq/lightning/blockchain/IWatcher.kt | 0 .../lightning/blockchain/WatcherTypes.kt | 0 .../blockchain/electrum/ElectrumClient.kt | 0 .../blockchain/electrum/ElectrumDataTypes.kt | 0 .../blockchain/electrum/ElectrumMiniWallet.kt | 0 .../blockchain/electrum/ElectrumWatcher.kt | 0 .../blockchain/electrum/FinalWallet.kt | 0 .../blockchain/electrum/IElectrumClient.kt | 0 .../blockchain/electrum/SwapInManager.kt | 0 .../blockchain/electrum/SwapInWallet.kt | 0 .../blockchain/fee/ConstantFeeEstimator.kt | 0 .../lightning/blockchain/fee/FeeEstimator.kt | 0 .../blockchain/mempool/MempoolSpaceClient.kt | 0 .../blockchain/mempool/MempoolSpaceWatcher.kt | 0 .../acinq/lightning/channel/ChannelAction.kt | 0 .../acinq/lightning/channel/ChannelCommand.kt | 0 .../acinq/lightning/channel/ChannelConfig.kt | 0 .../fr/acinq/lightning/channel/ChannelData.kt | 0 .../lightning/channel/ChannelException.kt | 0 .../lightning/channel/ChannelFeatures.kt | 0 .../fr/acinq/lightning/channel/Commitments.kt | 0 .../fr/acinq/lightning/channel/Helpers.kt | 0 .../acinq/lightning/channel/InteractiveTx.kt | 0 .../acinq/lightning/channel/states/Aborted.kt | 0 .../acinq/lightning/channel/states/Channel.kt | 0 .../acinq/lightning/channel/states/Closed.kt | 0 .../acinq/lightning/channel/states/Closing.kt | 0 .../states/LegacyWaitForFundingConfirmed.kt | 0 .../states/LegacyWaitForFundingLocked.kt | 0 .../lightning/channel/states/Negotiating.kt | 0 .../acinq/lightning/channel/states/Normal.kt | 0 .../acinq/lightning/channel/states/Offline.kt | 0 .../lightning/channel/states/ShuttingDown.kt | 0 .../acinq/lightning/channel/states/Syncing.kt | 0 .../channel/states/WaitForAcceptChannel.kt | 0 .../channel/states/WaitForChannelReady.kt | 0 .../channel/states/WaitForFundingConfirmed.kt | 0 .../channel/states/WaitForFundingCreated.kt | 0 .../channel/states/WaitForFundingSigned.kt | 0 .../lightning/channel/states/WaitForInit.kt | 0 .../channel/states/WaitForOpenChannel.kt | 0 .../WaitForRemotePublishFutureCommitment.kt | 0 .../acinq/lightning/crypto/Bolt3Derivation.kt | 0 .../fr/acinq/lightning/crypto/ChaCha20.kt | 0 .../lightning/crypto/Chacha20Poly1305.kt | 0 .../fr/acinq/lightning/crypto/KeyManager.kt | 0 .../acinq/lightning/crypto/LocalKeyManager.kt | 0 .../fr/acinq/lightning/crypto/Poly1305.kt | 0 .../acinq/lightning/crypto/RouteBlinding.kt | 0 .../fr/acinq/lightning/crypto/ShaChain.kt | 0 .../noise/Chacha20Poly1305CipherFunctions.kt | 0 .../crypto/noise/ExtendedCipherState.kt | 0 .../fr/acinq/lightning/crypto/noise/Noise.kt | 0 .../crypto/noise/SHA256HashFunctions.kt | 0 .../crypto/noise/Secp256k1DHFunctions.kt | 0 .../acinq/lightning/crypto/sphinx/Sphinx.kt | 0 .../fr/acinq/lightning/db/ChannelsDb.kt | 0 .../kotlin/fr/acinq/lightning/db/Databases.kt | 0 .../fr/acinq/lightning/db/PaymentsDb.kt | 0 .../kotlin/fr/acinq/lightning/eclair.kt | 0 .../fr/acinq/lightning/io/LightningSession.kt | 0 .../kotlin/fr/acinq/lightning/io/Peer.kt | 0 .../kotlin/fr/acinq/lightning/io/TcpSocket.kt | 0 .../acinq/lightning/json/JsonSerializers.kt | 0 .../lightning/logging/LoggerExtensions.kt | 0 .../acinq/lightning/logging/LoggerFactory.kt | 0 .../fr/acinq/lightning/logging/MDCLogger.kt | 0 .../acinq/lightning/message/OnionMessages.kt | 0 .../acinq/lightning/payment/Bolt11Invoice.kt | 0 .../acinq/lightning/payment/Bolt12Invoice.kt | 0 .../payment/IncomingPaymentHandler.kt | 0 .../payment/IncomingPaymentPacket.kt | 0 .../lightning/payment/LiquidityPolicy.kt | 0 .../acinq/lightning/payment/OfferManager.kt | 0 .../lightning/payment/OfferPaymentMetadata.kt | 0 .../payment/OutgoingPaymentFailure.kt | 0 .../payment/OutgoingPaymentHandler.kt | 0 .../payment/OutgoingPaymentPacket.kt | 0 .../acinq/lightning/payment/PaymentRequest.kt | 0 .../acinq/lightning/router/Announcements.kt | 0 .../fr/acinq/lightning/router/Router.kt | 0 .../lightning/serialization/Encryption.kt | 0 .../lightning/serialization/Serialization.kt | 0 .../serialization/v2/ChannelState.kt | 0 .../serialization/v2/Serialization.kt | 0 .../serialization/v2/bitcoinKSerializers.kt | 0 .../serialization/v3/ChannelState.kt | 0 .../serialization/v3/Serialization.kt | 0 .../serialization/v3/bitcoinKSerializers.kt | 0 .../serialization/v4/Deserialization.kt | 0 .../serialization/v4/Serialization.kt | 0 .../lightning/transactions/CommitmentSpec.kt | 0 .../acinq/lightning/transactions/Scripts.kt | 0 .../lightning/transactions/SwapInProtocol.kt | 0 .../lightning/transactions/Transactions.kt | 0 .../fr/acinq/lightning/utils/BitField.kt | 0 .../fr/acinq/lightning/utils/Connection.kt | 0 .../fr/acinq/lightning/utils/SecureRandom.kt | 0 .../kotlin/fr/acinq/lightning/utils/UUID.kt | 0 .../lightning/utils/breakpointWorkaround.kt | 0 .../fr/acinq/lightning/utils/byteArrays.kt | 0 .../fr/acinq/lightning/utils/channels.kt | 0 .../fr/acinq/lightning/utils/collections.kt | 0 .../fr/acinq/lightning/utils/coroutines.kt | 0 .../fr/acinq/lightning/utils/jsonrpc.kt | 0 .../fr/acinq/lightning/utils/satoshis.kt | 0 .../fr/acinq/lightning/utils/strings.kt | 0 .../kotlin/fr/acinq/lightning/utils/time.kt | 0 .../fr/acinq/lightning/wire/ChannelTlv.kt | 0 .../fr/acinq/lightning/wire/FailureMessage.kt | 0 .../kotlin/fr/acinq/lightning/wire/HtlcTlv.kt | 0 .../kotlin/fr/acinq/lightning/wire/InitTlv.kt | 0 .../acinq/lightning/wire/InteractiveTxTlv.kt | 0 .../acinq/lightning/wire/LightningCodecs.kt | 0 .../acinq/lightning/wire/LightningMessages.kt | 0 .../fr/acinq/lightning/wire/LiquidityAds.kt | 0 .../fr/acinq/lightning/wire/MessageOnion.kt | 0 .../fr/acinq/lightning/wire/OfferTypes.kt | 0 .../fr/acinq/lightning/wire/OnionRouting.kt | 0 .../fr/acinq/lightning/wire/PaymentOnion.kt | 0 .../lightning/wire/RecommendedFeeratesTlv.kt | 0 .../fr/acinq/lightning/wire/RouteBlinding.kt | 0 .../fr/acinq/lightning/wire/TlvCodecs.kt | 0 .../fr/acinq/lightning/FeaturesTestsCommon.kt | 0 .../fr/acinq/lightning/HexTestsCommon.kt | 0 .../lightning/MilliSatoshiTestsCommon.kt | 0 .../fr/acinq/lightning/SeedTestsCommon.kt | 0 .../lightning/ShortChannelIdTestsCommon.kt | 0 .../blockchain/electrum/ElectrumClientTest.kt | 0 .../electrum/ElectrumMiniWalletTest.kt | 0 .../electrum/ElectrumRequestTest.kt | 0 .../blockchain/electrum/ElectrumUtils.kt | 0 .../ElectrumWatcherIntegrationTest.kt | 0 .../electrum/SwapInManagerTestsCommon.kt | 0 .../electrum/SwapInWalletTestsCommon.kt | 0 .../blockchain/fee/FeeEstimatorTestsCommon.kt | 0 .../mempool/MempoolSpaceClientTest.kt | 0 .../mempool/MempoolSpaceWatcherTest.kt | 0 .../channel/ChannelConfigTestsCommon.kt | 0 .../channel/ChannelDataTestsCommon.kt | 0 .../channel/ChannelFeaturesTestsCommon.kt | 0 .../channel/CommitmentsTestsCommon.kt | 0 .../lightning/channel/HelpersTestsCommon.kt | 0 .../channel/InteractiveTxTestsCommon.kt | 0 .../lightning/channel/RecoveryTestsCommon.kt | 0 .../fr/acinq/lightning/channel/TestsHelper.kt | 0 .../channel/states/ClosingTestsCommon.kt | 0 ...egacyWaitForFundingConfirmedTestsCommon.kt | 0 .../LegacyWaitForFundingLockedTestsCommon.kt | 0 .../channel/states/NegotiatingTestsCommon.kt | 0 .../channel/states/NormalTestsCommon.kt | 0 .../channel/states/OfflineTestsCommon.kt | 0 .../channel/states/QuiescenceTestsCommon.kt | 0 .../channel/states/ShutdownTestsCommon.kt | 0 .../channel/states/SpliceTestsCommon.kt | 0 .../channel/states/SyncingTestsCommon.kt | 0 .../states/WaitForAcceptChannelTestsCommon.kt | 0 .../states/WaitForChannelReadyTestsCommon.kt | 0 .../WaitForFundingConfirmedTestsCommon.kt | 0 .../WaitForFundingCreatedTestsCommon.kt | 0 .../states/WaitForFundingSignedTestsCommon.kt | 0 .../states/WaitForOpenChannelTestsCommon.kt | 0 .../crypto/ChaCha20Poly1305TestsCommon.kt | 0 .../crypto/LocalKeyManagerTestsCommon.kt | 0 .../lightning/crypto/SchaChainTestsCommon.kt | 0 .../crypto/noise/NoiseTestsCommon.kt | 0 .../crypto/sphinx/SphinxTestsCommon.kt | 0 .../acinq/lightning/db/InMemoryChannelsDb.kt | 0 .../acinq/lightning/db/InMemoryDatabases.kt | 0 .../acinq/lightning/db/InMemoryPaymentsDb.kt | 0 .../lightning/db/PaymentsDbTestsCommon.kt | 0 .../lightning/io/TcpSocketIntegrationTest.kt | 0 .../acinq/lightning/io/peer/ConnectionTest.kt | 0 .../fr/acinq/lightning/io/peer/PeerTest.kt | 0 .../acinq/lightning/json/JsonTestsCommon.kt | 0 .../message/OnionMessagesTestsCommon.kt | 0 .../payment/Bolt11InvoiceTestsCommon.kt | 0 .../payment/Bolt12InvoiceTestsCommon.kt | 0 .../IncomingPaymentHandlerTestsCommon.kt | 0 .../payment/LiquidityPolicyTestsCommon.kt | 0 .../payment/OfferManagerTestsCommon.kt | 0 .../OfferPaymentMetadataTestsCommon.kt | 0 .../OutgoingPaymentFailureTestsCommon.kt | 0 .../OutgoingPaymentHandlerTestsCommon.kt | 0 .../payment/PaymentPacketTestsCommon.kt | 0 .../serialization/CompatibilityTestsCommon.kt | 0 .../StateSerializationNonRegTestsCommon.kt | 0 .../StateSerializationTestsCommon.kt | 0 .../fr/acinq/lightning/tests/TestConstants.kt | 0 .../tests/bitcoind/BitcoinJsonRPCClient.kt | 0 .../tests/bitcoind/BitcoindService.kt | 0 .../fr/acinq/lightning/tests/bitcoind/data.kt | 0 .../acinq/lightning/tests/io/peer/builders.kt | 0 .../acinq/lightning/tests/io/peer/helpers.kt | 0 .../tests/utils/LightningTestSuite.kt | 0 .../acinq/lightning/tests/utils/TestLogger.kt | 0 .../fr/acinq/lightning/tests/utils/runTest.kt | 0 .../transactions/AnchorOutputsTestsCommon.kt | 0 .../transactions/CommitmentSpecTestsCommon.kt | 0 .../transactions/TransactionsTestsCommon.kt | 0 .../acinq/lightning/utils/BitFieldsCommon.kt | 0 .../acinq/lightning/utils/ByteArraysCommon.kt | 0 .../fr/acinq/lightning/utils/Extensions.kt | 0 .../wire/FailureMessageTestsCommon.kt | 0 .../lightning/wire/InitTlvTestsCommon.kt | 0 .../wire/LightningCodecsTestsCommon.kt | 0 .../lightning/wire/LiquidityAdsTestsCommon.kt | 0 .../lightning/wire/OfferTypesTestsCommon.kt | 0 .../lightning/wire/OpenTlvTestsCommon.kt | 0 .../lightning/wire/PaymentOnionTestsCommon.kt | 0 .../wire/RouteBlindingTestsCommon.kt | 0 .../fr/acinq/lightning/wire/TlvTestsCommon.kt | 0 .../bolt3_anchor_outputs_test_vectors.json | 0 .../nonreg/v2/Closing_0ba41d17/data.bin | 0 .../nonreg/v2/Closing_0ba41d17/data.json | 0 .../nonreg/v2/Closing_0ed6ff68/data.bin | 0 .../nonreg/v2/Closing_0ed6ff68/data.json | 0 .../nonreg/v2/Closing_0efffae3/data.bin | 0 .../nonreg/v2/Closing_0efffae3/data.json | 0 .../nonreg/v2/Closing_2fd2a3fa/data.bin | 0 .../nonreg/v2/Closing_2fd2a3fa/data.json | 0 .../nonreg/v2/Closing_3bb07fb6/data.bin | 0 .../nonreg/v2/Closing_3bb07fb6/data.json | 0 .../nonreg/v2/Closing_8f1a524e/data.bin | 0 .../nonreg/v2/Closing_8f1a524e/data.json | 0 .../nonreg/v2/Closing_ef682e2e/data.bin | 0 .../nonreg/v2/Closing_ef682e2e/data.json | 0 .../nonreg/v2/Negotiating_c8d15808/data.bin | 0 .../nonreg/v2/Negotiating_c8d15808/data.json | 0 .../nonreg/v2/Negotiating_d9b4cd96/data.bin | 0 .../nonreg/v2/Negotiating_d9b4cd96/data.json | 0 .../nonreg/v2/Negotiating_ee10091c/data.bin | 0 .../nonreg/v2/Negotiating_ee10091c/data.json | 0 .../nonreg/v2/Negotiating_f52b19b8/data.bin | 0 .../nonreg/v2/Negotiating_f52b19b8/data.json | 0 .../nonreg/v2/Normal_748a735b/data.bin | 0 .../nonreg/v2/Normal_748a735b/data.json | 0 .../nonreg/v2/Normal_e2253ddd/data.bin | 0 .../nonreg/v2/Normal_e2253ddd/data.json | 0 .../nonreg/v2/Normal_ff248f8d/data.bin | 0 .../nonreg/v2/Normal_ff248f8d/data.json | 0 .../nonreg/v2/Normal_ff4a71b6/data.bin | 0 .../nonreg/v2/Normal_ff4a71b6/data.json | 0 .../nonreg/v2/Normal_ffd9f5db/data.bin | 0 .../nonreg/v2/Normal_ffd9f5db/data.json | 0 .../nonreg/v2/ShuttingDown_c321b947/data.bin | 0 .../nonreg/v2/ShuttingDown_c321b947/data.json | 0 .../nonreg/v2/ShuttingDown_f89ecd50/data.bin | 0 .../nonreg/v2/ShuttingDown_f89ecd50/data.json | 0 .../WaitForFundingConfirmed_f7421b49/data.bin | 0 .../data.json | 0 .../WaitForFundingConfirmed_fe3c5978/data.bin | 0 .../data.json | 0 .../WaitForFundingConfirmed_ff74dd33/data.bin | 0 .../data.json | 0 .../v2/WaitForFundingLocked_f3437082/data.bin | 0 .../WaitForFundingLocked_f3437082/data.json | 0 .../data.bin | 0 .../data.json | 0 .../data.bin | 0 .../data.json | 0 .../nonreg/v3/Closing_029bf8f3/data.bin | 0 .../nonreg/v3/Closing_029bf8f3/data.json | 0 .../nonreg/v3/Closing_0ba41d17/data.bin | 0 .../nonreg/v3/Closing_0ba41d17/data.json | 0 .../nonreg/v3/Closing_0ed6ff68/data.bin | 0 .../nonreg/v3/Closing_0ed6ff68/data.json | 0 .../nonreg/v3/Closing_0efffae3/data.bin | 0 .../nonreg/v3/Closing_0efffae3/data.json | 0 .../nonreg/v3/Closing_ebbd24bc/data.bin | 0 .../nonreg/v3/Closing_ebbd24bc/data.json | 0 .../nonreg/v3/Closing_f137669f/data.bin | 0 .../nonreg/v3/Closing_f137669f/data.json | 0 .../nonreg/v3/Negotiating_da44c6e2/data.bin | 0 .../nonreg/v3/Negotiating_da44c6e2/data.json | 0 .../nonreg/v3/Negotiating_dabbed55/data.bin | 0 .../nonreg/v3/Negotiating_dabbed55/data.json | 0 .../nonreg/v3/Negotiating_fadb50c1/data.bin | 0 .../nonreg/v3/Negotiating_fadb50c1/data.json | 0 .../nonreg/v3/Normal_fd10d3cc/data.bin | 0 .../nonreg/v3/Normal_fd10d3cc/data.json | 0 .../nonreg/v3/Normal_fe897b64/data.bin | 0 .../nonreg/v3/Normal_fe897b64/data.json | 0 .../nonreg/v3/Normal_ff248f8d/data.bin | 0 .../nonreg/v3/Normal_ff248f8d/data.json | 0 .../nonreg/v3/Normal_ff4a71b6/data.bin | 0 .../nonreg/v3/Normal_ff4a71b6/data.json | 0 .../nonreg/v3/ShuttingDown_ef41a1a5/data.bin | 0 .../nonreg/v3/ShuttingDown_ef41a1a5/data.json | 0 .../nonreg/v3/ShuttingDown_ef7081a1/data.bin | 0 .../nonreg/v3/ShuttingDown_ef7081a1/data.json | 0 .../WaitForFundingConfirmed_fe3c5978/data.bin | 0 .../data.json | 0 .../WaitForFundingConfirmed_ff74dd33/data.bin | 0 .../data.json | 0 .../v3/WaitForFundingLocked_f3437082/data.bin | 0 .../WaitForFundingLocked_f3437082/data.json | 0 .../data.bin | 0 .../data.json | 0 .../data.bin | 0 .../data.json | 0 .../noise/Chacha20Poly1305CipherFunctions.kt | 0 .../fr/acinq/lightning/io/IosTcpSocket.kt | 0 .../fr/acinq/lightning/utils/AtomicOnce.kt | 0 .../acinq/lightning/utils/FoundationUtils.kt | 0 .../acinq/lightning/tests/utils/runTestIos.kt | 0 .../noise/Chacha20Poly1305CipherFunctions.kt | 0 .../fr/acinq/lightning/io/JvmTcpSocket.kt | 0 .../acinq/lightning/utils/SecureRandomJvm.kt | 0 .../lightning/crypto/Poly1305TestsJvm.kt | 0 .../lightning/crypto/ShaChainTestsJvm.kt | 0 .../lightning/crypto/noise/Curve25519.kt | 0 .../lightning/crypto/noise/NoiseTestsJvm.kt | 0 .../lightning/db/sqlite/SqliteChannelsDb.kt | 0 .../db/sqlite/SqliteChannelsDbTestsJvm.kt | 0 .../acinq/lightning/io/JvmTcpSocketTests.kt | 0 .../acinq/lightning/tests/util/runTestJvm.kt | 0 .../lightning/tests/utils/TestLogger.jvm.kt | 0 .../src}/jvmTest/resources/logback-test.xml | 0 .../noise/Chacha20Poly1305CipherFunctions.kt | 0 .../fr/acinq/lightning/io/TcpSocket.linux.kt | 0 .../lightning/tests/utils/runTestLinux.kt | 0 .../Chacha20Poly1305CipherFunctions.macos.kt | 0 .../fr/acinq/lightning/io/TcpSocket.macos.kt | 0 .../lightning/tests/utils/runTest.macos.kt | 0 .../nativeInterop/cinterop/PhoenixCrypto.def | 0 .../acinq/lightning/io/KtorNoTlsTcpSocket.kt | 0 .../lightning/utils/SecureRandomPosix.kt | 0 .../fr/acinq/lightning/utils/timePosix.kt | 0 .../tests/utils/TestLogger.native.kt | 0 gradle.properties | 2 ++ settings.gradle.kts | 23 ++++++++++++++---- {docker-local-test => testing}/TESTING.md | 0 .../bitcoind-cli.sh | 0 {docker-local-test => testing}/cmd.inc.sh | 0 {docker-local-test => testing}/eclair-cli.sh | 0 .../eclair/gui.Dockerfile | 0 .../eclair/node.Dockerfile | 0 .../eclair/nodeA/eclair.conf | 0 .../eclair/nodeA/seed.dat | 0 .../eclair/nodeB/eclair.conf | 0 .../eclair/nodeB/seed.dat | 0 {docker-local-test => testing}/env.sh | 0 {docker-local-test => testing}/gen-blocks.sh | 0 .../open-channel.sh | 0 .../readme.macos.txt | 0 355 files changed, 25 insertions(+), 24 deletions(-) rename build.gradle.kts => core/build.gradle.kts (93%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/CltvExpiry.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/EncodedNodeId.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/Features.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/MilliSatoshi.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/NodeEvents.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/NodeParams.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/ShortChannelId.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/blockchain/IClient.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/blockchain/IWatcher.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/blockchain/WatcherTypes.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumClient.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumDataTypes.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumMiniWallet.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumWatcher.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/FinalWallet.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/IElectrumClient.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInManager.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInWallet.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/blockchain/fee/ConstantFeeEstimator.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/blockchain/fee/FeeEstimator.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceClient.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceWatcher.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/ChannelAction.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/ChannelCommand.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/ChannelConfig.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/ChannelData.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/ChannelException.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/ChannelFeatures.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/Commitments.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/Helpers.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/InteractiveTx.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/Aborted.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/Channel.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/Closed.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/Closing.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingConfirmed.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingLocked.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/Negotiating.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/Normal.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/Offline.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/ShuttingDown.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/Syncing.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForAcceptChannel.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForChannelReady.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForFundingConfirmed.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForFundingCreated.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForFundingSigned.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForInit.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForOpenChannel.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForRemotePublishFutureCommitment.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/crypto/Bolt3Derivation.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/crypto/ChaCha20.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/crypto/Chacha20Poly1305.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/crypto/KeyManager.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/crypto/LocalKeyManager.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/crypto/Poly1305.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/crypto/RouteBlinding.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/crypto/ShaChain.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/crypto/noise/ExtendedCipherState.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/crypto/noise/Noise.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/crypto/noise/SHA256HashFunctions.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/crypto/noise/Secp256k1DHFunctions.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/crypto/sphinx/Sphinx.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/db/ChannelsDb.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/db/Databases.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/db/PaymentsDb.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/eclair.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/io/LightningSession.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/io/Peer.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/io/TcpSocket.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/json/JsonSerializers.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/logging/LoggerExtensions.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/logging/LoggerFactory.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/logging/MDCLogger.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/message/OnionMessages.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/payment/Bolt11Invoice.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/payment/Bolt12Invoice.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/payment/IncomingPaymentHandler.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/payment/IncomingPaymentPacket.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/payment/LiquidityPolicy.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/payment/OfferManager.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/payment/OfferPaymentMetadata.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/payment/OutgoingPaymentFailure.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/payment/OutgoingPaymentHandler.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/payment/OutgoingPaymentPacket.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/payment/PaymentRequest.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/router/Announcements.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/router/Router.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/serialization/Encryption.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/serialization/Serialization.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/serialization/v2/ChannelState.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/serialization/v2/Serialization.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/serialization/v2/bitcoinKSerializers.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/serialization/v3/ChannelState.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/serialization/v3/Serialization.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/serialization/v3/bitcoinKSerializers.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/serialization/v4/Deserialization.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/serialization/v4/Serialization.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/transactions/CommitmentSpec.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/transactions/Scripts.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/transactions/SwapInProtocol.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/transactions/Transactions.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/utils/BitField.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/utils/Connection.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/utils/SecureRandom.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/utils/UUID.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/utils/breakpointWorkaround.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/utils/byteArrays.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/utils/channels.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/utils/collections.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/utils/coroutines.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/utils/jsonrpc.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/utils/satoshis.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/utils/strings.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/utils/time.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/wire/ChannelTlv.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/wire/FailureMessage.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/wire/HtlcTlv.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/wire/InitTlv.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/wire/InteractiveTxTlv.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/wire/LightningCodecs.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/wire/LightningMessages.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/wire/LiquidityAds.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/wire/MessageOnion.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/wire/OfferTypes.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/wire/OnionRouting.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/wire/PaymentOnion.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/wire/RecommendedFeeratesTlv.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/wire/RouteBlinding.kt (100%) rename {src => core/src}/commonMain/kotlin/fr/acinq/lightning/wire/TlvCodecs.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/FeaturesTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/HexTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/MilliSatoshiTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/SeedTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/ShortChannelIdTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumClientTest.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumMiniWalletTest.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumRequestTest.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumUtils.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumWatcherIntegrationTest.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInManagerTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInWalletTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/blockchain/fee/FeeEstimatorTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceClientTest.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceWatcherTest.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/ChannelConfigTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/ChannelDataTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/ChannelFeaturesTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/CommitmentsTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/HelpersTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/InteractiveTxTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/RecoveryTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/TestsHelper.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/ClosingTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingConfirmedTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingLockedTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/NegotiatingTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/NormalTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/OfflineTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/QuiescenceTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/ShutdownTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/SpliceTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/SyncingTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForAcceptChannelTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForChannelReadyTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingConfirmedTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingCreatedTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingSignedTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForOpenChannelTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/crypto/ChaCha20Poly1305TestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/crypto/LocalKeyManagerTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/crypto/SchaChainTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/crypto/noise/NoiseTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/crypto/sphinx/SphinxTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/db/InMemoryChannelsDb.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/db/InMemoryDatabases.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/db/InMemoryPaymentsDb.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/db/PaymentsDbTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/io/TcpSocketIntegrationTest.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/io/peer/ConnectionTest.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/io/peer/PeerTest.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/json/JsonTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/message/OnionMessagesTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/payment/Bolt11InvoiceTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/payment/Bolt12InvoiceTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/payment/IncomingPaymentHandlerTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/payment/LiquidityPolicyTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/payment/OfferManagerTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/payment/OfferPaymentMetadataTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/payment/OutgoingPaymentFailureTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/payment/OutgoingPaymentHandlerTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/payment/PaymentPacketTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/serialization/CompatibilityTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/serialization/StateSerializationNonRegTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/serialization/StateSerializationTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/tests/TestConstants.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/tests/bitcoind/BitcoinJsonRPCClient.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/tests/bitcoind/BitcoindService.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/tests/bitcoind/data.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/tests/io/peer/builders.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/tests/io/peer/helpers.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/tests/utils/LightningTestSuite.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/tests/utils/TestLogger.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/tests/utils/runTest.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/transactions/AnchorOutputsTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/transactions/CommitmentSpecTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/transactions/TransactionsTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/utils/BitFieldsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/utils/ByteArraysCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/utils/Extensions.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/wire/FailureMessageTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/wire/InitTlvTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/wire/LightningCodecsTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/wire/LiquidityAdsTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/wire/OfferTypesTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/wire/OpenTlvTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/wire/PaymentOnionTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/wire/RouteBlindingTestsCommon.kt (100%) rename {src => core/src}/commonTest/kotlin/fr/acinq/lightning/wire/TlvTestsCommon.kt (100%) rename {src => core/src}/commonTest/resources/bolt3_anchor_outputs_test_vectors.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Closing_0ba41d17/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Closing_0ba41d17/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Closing_0ed6ff68/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Closing_0ed6ff68/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Closing_0efffae3/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Closing_0efffae3/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Closing_2fd2a3fa/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Closing_2fd2a3fa/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Closing_3bb07fb6/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Closing_3bb07fb6/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Closing_8f1a524e/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Closing_8f1a524e/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Closing_ef682e2e/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Closing_ef682e2e/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Negotiating_c8d15808/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Negotiating_c8d15808/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Negotiating_d9b4cd96/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Negotiating_d9b4cd96/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Negotiating_ee10091c/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Negotiating_ee10091c/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Negotiating_f52b19b8/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Negotiating_f52b19b8/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Normal_748a735b/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Normal_748a735b/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Normal_e2253ddd/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Normal_e2253ddd/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Normal_ff248f8d/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Normal_ff248f8d/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Normal_ff4a71b6/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Normal_ff4a71b6/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Normal_ffd9f5db/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/Normal_ffd9f5db/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/ShuttingDown_c321b947/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/ShuttingDown_c321b947/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/ShuttingDown_f89ecd50/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/ShuttingDown_f89ecd50/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_f7421b49/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_f7421b49/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_fe3c5978/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_fe3c5978/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_ff74dd33/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_ff74dd33/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/WaitForFundingLocked_f3437082/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/WaitForFundingLocked_f3437082/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_ae47fde9/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_ae47fde9/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_d803549f/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_d803549f/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Closing_029bf8f3/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Closing_029bf8f3/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Closing_0ba41d17/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Closing_0ba41d17/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Closing_0ed6ff68/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Closing_0ed6ff68/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Closing_0efffae3/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Closing_0efffae3/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Closing_ebbd24bc/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Closing_ebbd24bc/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Closing_f137669f/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Closing_f137669f/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Negotiating_da44c6e2/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Negotiating_da44c6e2/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Negotiating_dabbed55/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Negotiating_dabbed55/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Negotiating_fadb50c1/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Negotiating_fadb50c1/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Normal_fd10d3cc/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Normal_fd10d3cc/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Normal_fe897b64/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Normal_fe897b64/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Normal_ff248f8d/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Normal_ff248f8d/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Normal_ff4a71b6/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/Normal_ff4a71b6/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/ShuttingDown_ef41a1a5/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/ShuttingDown_ef41a1a5/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/ShuttingDown_ef7081a1/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/ShuttingDown_ef7081a1/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_fe3c5978/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_fe3c5978/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_ff74dd33/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_ff74dd33/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/WaitForFundingLocked_f3437082/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/WaitForFundingLocked_f3437082/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_ae47fde9/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_ae47fde9/data.json (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_d803549f/data.bin (100%) rename {src => core/src}/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_d803549f/data.json (100%) rename {src => core/src}/iosMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt (100%) rename {src => core/src}/iosMain/kotlin/fr/acinq/lightning/io/IosTcpSocket.kt (100%) rename {src => core/src}/iosMain/kotlin/fr/acinq/lightning/utils/AtomicOnce.kt (100%) rename {src => core/src}/iosMain/kotlin/fr/acinq/lightning/utils/FoundationUtils.kt (100%) rename {src => core/src}/iosTest/kotlin/fr/acinq/lightning/tests/utils/runTestIos.kt (100%) rename {src => core/src}/jvmMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt (100%) rename {src => core/src}/jvmMain/kotlin/fr/acinq/lightning/io/JvmTcpSocket.kt (100%) rename {src => core/src}/jvmMain/kotlin/fr/acinq/lightning/utils/SecureRandomJvm.kt (100%) rename {src => core/src}/jvmTest/kotlin/fr/acinq/lightning/crypto/Poly1305TestsJvm.kt (100%) rename {src => core/src}/jvmTest/kotlin/fr/acinq/lightning/crypto/ShaChainTestsJvm.kt (100%) rename {src => core/src}/jvmTest/kotlin/fr/acinq/lightning/crypto/noise/Curve25519.kt (100%) rename {src => core/src}/jvmTest/kotlin/fr/acinq/lightning/crypto/noise/NoiseTestsJvm.kt (100%) rename {src => core/src}/jvmTest/kotlin/fr/acinq/lightning/db/sqlite/SqliteChannelsDb.kt (100%) rename {src => core/src}/jvmTest/kotlin/fr/acinq/lightning/db/sqlite/SqliteChannelsDbTestsJvm.kt (100%) rename {src => core/src}/jvmTest/kotlin/fr/acinq/lightning/io/JvmTcpSocketTests.kt (100%) rename {src => core/src}/jvmTest/kotlin/fr/acinq/lightning/tests/util/runTestJvm.kt (100%) rename {src => core/src}/jvmTest/kotlin/fr/acinq/lightning/tests/utils/TestLogger.jvm.kt (100%) rename {src => core/src}/jvmTest/resources/logback-test.xml (100%) rename {src => core/src}/linuxMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt (100%) rename {src => core/src}/linuxMain/kotlin/fr/acinq/lightning/io/TcpSocket.linux.kt (100%) rename {src => core/src}/linuxTest/kotlin/fr/acinq/lightning/tests/utils/runTestLinux.kt (100%) rename {src => core/src}/macosMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.macos.kt (100%) rename {src => core/src}/macosMain/kotlin/fr/acinq/lightning/io/TcpSocket.macos.kt (100%) rename {src => core/src}/macosTest/kotlin/fr/acinq/lightning/tests/utils/runTest.macos.kt (100%) rename {src => core/src}/nativeInterop/cinterop/PhoenixCrypto.def (100%) rename {src => core/src}/nativeMain/kotlin/fr/acinq/lightning/io/KtorNoTlsTcpSocket.kt (100%) rename {src => core/src}/nativeMain/kotlin/fr/acinq/lightning/utils/SecureRandomPosix.kt (100%) rename {src => core/src}/nativeMain/kotlin/fr/acinq/lightning/utils/timePosix.kt (100%) rename {src => core/src}/nativeTest/kotlin/fr/acinq/lightning/tests/utils/TestLogger.native.kt (100%) rename {docker-local-test => testing}/TESTING.md (100%) rename {docker-local-test => testing}/bitcoind-cli.sh (100%) rename {docker-local-test => testing}/cmd.inc.sh (100%) rename {docker-local-test => testing}/eclair-cli.sh (100%) rename {docker-local-test => testing}/eclair/gui.Dockerfile (100%) rename {docker-local-test => testing}/eclair/node.Dockerfile (100%) rename {docker-local-test => testing}/eclair/nodeA/eclair.conf (100%) rename {docker-local-test => testing}/eclair/nodeA/seed.dat (100%) rename {docker-local-test => testing}/eclair/nodeB/eclair.conf (100%) rename {docker-local-test => testing}/eclair/nodeB/seed.dat (100%) rename {docker-local-test => testing}/env.sh (100%) rename {docker-local-test => testing}/gen-blocks.sh (100%) rename {docker-local-test => testing}/open-channel.sh (100%) rename {docker-local-test => testing}/readme.macos.txt (100%) diff --git a/build.gradle.kts b/core/build.gradle.kts similarity index 93% rename from build.gradle.kts rename to core/build.gradle.kts index f8b70e66d..13058216a 100644 --- a/build.gradle.kts +++ b/core/build.gradle.kts @@ -9,20 +9,6 @@ plugins { `maven-publish` } -allprojects { - group = "fr.acinq.lightning" - version = "1.8.5-SNAPSHOT" - - repositories { - // using the local maven repository with Kotlin Multi Platform can lead to build errors that are hard to diagnose. - // uncomment this only if you need to experiment with snapshot dependencies that have not yet be published. - // mavenLocal() - maven("https://oss.sonatype.org/content/repositories/snapshots") - mavenCentral() - google() - } -} - val currentOs = org.gradle.internal.os.OperatingSystem.current() kotlin { @@ -54,7 +40,7 @@ kotlin { compilations["main"].cinterops.create("PhoenixCrypto") { val platform = "Iphonesimulator" val interopTask = tasks[interopProcessingTaskName] - interopTask.dependsOn(":PhoenixCrypto:buildCrypto$platform") + interopTask.dependsOn(":lightning-kmp-ios-crypto:buildCrypto$platform") includeDirs.headerFilterOnly("$rootDir/PhoenixCrypto/build/Release-${platform.lowercase()}/include") } } @@ -63,7 +49,7 @@ kotlin { compilations["main"].cinterops.create("PhoenixCrypto") { val platform = "Iphoneos" val interopTask = tasks[interopProcessingTaskName] - interopTask.dependsOn(":PhoenixCrypto:buildCrypto$platform") + interopTask.dependsOn(":lightning-kmp-ios-crypto:buildCrypto$platform") includeDirs.headerFilterOnly("$rootDir/PhoenixCrypto/build/Release-${platform.lowercase()}/include") } } @@ -72,7 +58,7 @@ kotlin { compilations["main"].cinterops.create("PhoenixCrypto") { val platform = "Iphonesimulator" val interopTask = tasks[interopProcessingTaskName] - interopTask.dependsOn(":PhoenixCrypto:buildCrypto$platform") + interopTask.dependsOn(":lightning-kmp-ios-crypto:buildCrypto$platform") includeDirs.headerFilterOnly("$rootDir/PhoenixCrypto/build/Release-${platform.lowercase()}/include") } } @@ -281,12 +267,12 @@ afterEvaluate { /** Electrum integration test environment + tasks configuration */ val dockerTestEnv by tasks.creating(Exec::class) { - workingDir = projectDir.resolve("docker-local-test") + workingDir = rootDir.resolve("testing") commandLine("bash", "env.sh", "remove", "net-create", "btc-create", "elx-create", "btc-start", "elx-start") } val dockerCleanup by tasks.creating(Exec::class) { - workingDir = projectDir.resolve("docker-local-test") + workingDir = rootDir.resolve("testing") commandLine("bash", "env.sh", "elx-stop", "btc-stop", "remove") } diff --git a/src/commonMain/kotlin/fr/acinq/lightning/CltvExpiry.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/CltvExpiry.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/CltvExpiry.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/CltvExpiry.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/EncodedNodeId.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/EncodedNodeId.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/EncodedNodeId.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/EncodedNodeId.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/Features.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/Features.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/Features.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/Features.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/MilliSatoshi.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/MilliSatoshi.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/MilliSatoshi.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/MilliSatoshi.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/NodeEvents.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/NodeEvents.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/NodeEvents.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/NodeEvents.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/NodeParams.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/NodeParams.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/NodeParams.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/NodeParams.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/ShortChannelId.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/ShortChannelId.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/ShortChannelId.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/ShortChannelId.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/blockchain/IClient.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/IClient.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/blockchain/IClient.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/IClient.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/blockchain/IWatcher.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/IWatcher.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/blockchain/IWatcher.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/IWatcher.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/blockchain/WatcherTypes.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/WatcherTypes.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/blockchain/WatcherTypes.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/WatcherTypes.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumClient.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumClient.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumClient.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumClient.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumDataTypes.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumDataTypes.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumDataTypes.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumDataTypes.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumMiniWallet.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumMiniWallet.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumMiniWallet.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumMiniWallet.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumWatcher.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumWatcher.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumWatcher.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumWatcher.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/FinalWallet.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/FinalWallet.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/FinalWallet.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/FinalWallet.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/IElectrumClient.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/IElectrumClient.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/IElectrumClient.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/IElectrumClient.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInManager.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInManager.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInManager.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInManager.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInWallet.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInWallet.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInWallet.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInWallet.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/blockchain/fee/ConstantFeeEstimator.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/fee/ConstantFeeEstimator.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/blockchain/fee/ConstantFeeEstimator.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/fee/ConstantFeeEstimator.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/blockchain/fee/FeeEstimator.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/fee/FeeEstimator.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/blockchain/fee/FeeEstimator.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/fee/FeeEstimator.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceClient.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceClient.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceClient.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceClient.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceWatcher.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceWatcher.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceWatcher.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceWatcher.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelAction.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelAction.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelAction.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelAction.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelCommand.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelCommand.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelCommand.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelCommand.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelConfig.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelConfig.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelConfig.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelConfig.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelData.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelData.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelData.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelData.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelException.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelException.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelException.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelException.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelFeatures.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelFeatures.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelFeatures.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelFeatures.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/Commitments.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/Commitments.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/Commitments.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/Commitments.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/Helpers.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/Helpers.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/Helpers.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/Helpers.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/InteractiveTx.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/InteractiveTx.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/InteractiveTx.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/InteractiveTx.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Aborted.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Aborted.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/Aborted.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Aborted.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Channel.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Channel.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/Channel.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Channel.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Closed.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Closed.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/Closed.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Closed.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Closing.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Closing.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/Closing.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Closing.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingConfirmed.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingConfirmed.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingConfirmed.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingConfirmed.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingLocked.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingLocked.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingLocked.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingLocked.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Negotiating.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Negotiating.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/Negotiating.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Negotiating.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Normal.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Normal.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/Normal.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Normal.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Offline.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Offline.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/Offline.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Offline.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/ShuttingDown.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/ShuttingDown.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/ShuttingDown.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/ShuttingDown.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Syncing.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Syncing.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/Syncing.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/Syncing.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForAcceptChannel.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForAcceptChannel.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForAcceptChannel.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForAcceptChannel.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForChannelReady.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForChannelReady.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForChannelReady.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForChannelReady.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForFundingConfirmed.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForFundingConfirmed.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForFundingConfirmed.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForFundingConfirmed.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForFundingCreated.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForFundingCreated.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForFundingCreated.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForFundingCreated.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForFundingSigned.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForFundingSigned.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForFundingSigned.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForFundingSigned.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForInit.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForInit.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForInit.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForInit.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForOpenChannel.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForOpenChannel.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForOpenChannel.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForOpenChannel.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForRemotePublishFutureCommitment.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForRemotePublishFutureCommitment.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForRemotePublishFutureCommitment.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/channel/states/WaitForRemotePublishFutureCommitment.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/crypto/Bolt3Derivation.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/crypto/Bolt3Derivation.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/crypto/Bolt3Derivation.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/crypto/Bolt3Derivation.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/crypto/ChaCha20.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/crypto/ChaCha20.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/crypto/ChaCha20.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/crypto/ChaCha20.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/crypto/Chacha20Poly1305.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/crypto/Chacha20Poly1305.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/crypto/Chacha20Poly1305.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/crypto/Chacha20Poly1305.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/crypto/KeyManager.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/crypto/KeyManager.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/crypto/KeyManager.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/crypto/KeyManager.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/crypto/LocalKeyManager.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/crypto/LocalKeyManager.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/crypto/LocalKeyManager.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/crypto/LocalKeyManager.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/crypto/Poly1305.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/crypto/Poly1305.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/crypto/Poly1305.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/crypto/Poly1305.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/crypto/RouteBlinding.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/crypto/RouteBlinding.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/crypto/RouteBlinding.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/crypto/RouteBlinding.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/crypto/ShaChain.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/crypto/ShaChain.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/crypto/ShaChain.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/crypto/ShaChain.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/ExtendedCipherState.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/ExtendedCipherState.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/ExtendedCipherState.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/ExtendedCipherState.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/Noise.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/Noise.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/Noise.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/Noise.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/SHA256HashFunctions.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/SHA256HashFunctions.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/SHA256HashFunctions.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/SHA256HashFunctions.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/Secp256k1DHFunctions.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/Secp256k1DHFunctions.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/Secp256k1DHFunctions.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/crypto/noise/Secp256k1DHFunctions.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/crypto/sphinx/Sphinx.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/crypto/sphinx/Sphinx.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/crypto/sphinx/Sphinx.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/crypto/sphinx/Sphinx.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/db/ChannelsDb.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/db/ChannelsDb.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/db/ChannelsDb.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/db/ChannelsDb.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/db/Databases.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/db/Databases.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/db/Databases.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/db/Databases.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/db/PaymentsDb.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/db/PaymentsDb.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/db/PaymentsDb.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/db/PaymentsDb.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/eclair.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/eclair.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/eclair.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/eclair.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/io/LightningSession.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/io/LightningSession.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/io/LightningSession.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/io/LightningSession.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/io/Peer.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/io/Peer.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/io/Peer.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/io/Peer.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/io/TcpSocket.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/io/TcpSocket.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/io/TcpSocket.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/io/TcpSocket.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/json/JsonSerializers.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/json/JsonSerializers.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/json/JsonSerializers.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/json/JsonSerializers.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/logging/LoggerExtensions.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/logging/LoggerExtensions.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/logging/LoggerExtensions.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/logging/LoggerExtensions.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/logging/LoggerFactory.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/logging/LoggerFactory.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/logging/LoggerFactory.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/logging/LoggerFactory.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/logging/MDCLogger.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/logging/MDCLogger.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/logging/MDCLogger.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/logging/MDCLogger.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/message/OnionMessages.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/message/OnionMessages.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/message/OnionMessages.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/message/OnionMessages.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/payment/Bolt11Invoice.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/payment/Bolt11Invoice.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/payment/Bolt11Invoice.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/payment/Bolt11Invoice.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/payment/Bolt12Invoice.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/payment/Bolt12Invoice.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/payment/Bolt12Invoice.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/payment/Bolt12Invoice.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/payment/IncomingPaymentHandler.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/payment/IncomingPaymentHandler.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/payment/IncomingPaymentHandler.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/payment/IncomingPaymentHandler.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/payment/IncomingPaymentPacket.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/payment/IncomingPaymentPacket.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/payment/IncomingPaymentPacket.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/payment/IncomingPaymentPacket.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/payment/LiquidityPolicy.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/payment/LiquidityPolicy.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/payment/LiquidityPolicy.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/payment/LiquidityPolicy.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/payment/OfferManager.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/payment/OfferManager.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/payment/OfferManager.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/payment/OfferManager.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/payment/OfferPaymentMetadata.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/payment/OfferPaymentMetadata.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/payment/OfferPaymentMetadata.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/payment/OfferPaymentMetadata.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/payment/OutgoingPaymentFailure.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/payment/OutgoingPaymentFailure.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/payment/OutgoingPaymentFailure.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/payment/OutgoingPaymentFailure.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/payment/OutgoingPaymentHandler.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/payment/OutgoingPaymentHandler.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/payment/OutgoingPaymentHandler.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/payment/OutgoingPaymentHandler.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/payment/OutgoingPaymentPacket.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/payment/OutgoingPaymentPacket.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/payment/OutgoingPaymentPacket.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/payment/OutgoingPaymentPacket.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/payment/PaymentRequest.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/payment/PaymentRequest.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/payment/PaymentRequest.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/payment/PaymentRequest.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/router/Announcements.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/router/Announcements.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/router/Announcements.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/router/Announcements.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/router/Router.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/router/Router.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/router/Router.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/router/Router.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/serialization/Encryption.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/serialization/Encryption.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/serialization/Encryption.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/serialization/Encryption.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/serialization/Serialization.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/serialization/Serialization.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/serialization/Serialization.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/serialization/Serialization.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/serialization/v2/ChannelState.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v2/ChannelState.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/serialization/v2/ChannelState.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v2/ChannelState.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/serialization/v2/Serialization.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v2/Serialization.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/serialization/v2/Serialization.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v2/Serialization.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/serialization/v2/bitcoinKSerializers.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v2/bitcoinKSerializers.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/serialization/v2/bitcoinKSerializers.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v2/bitcoinKSerializers.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/serialization/v3/ChannelState.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v3/ChannelState.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/serialization/v3/ChannelState.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v3/ChannelState.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/serialization/v3/Serialization.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v3/Serialization.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/serialization/v3/Serialization.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v3/Serialization.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/serialization/v3/bitcoinKSerializers.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v3/bitcoinKSerializers.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/serialization/v3/bitcoinKSerializers.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v3/bitcoinKSerializers.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/serialization/v4/Deserialization.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v4/Deserialization.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/serialization/v4/Deserialization.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v4/Deserialization.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/serialization/v4/Serialization.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v4/Serialization.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/serialization/v4/Serialization.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/serialization/v4/Serialization.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/transactions/CommitmentSpec.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/transactions/CommitmentSpec.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/transactions/CommitmentSpec.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/transactions/CommitmentSpec.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/transactions/Scripts.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/transactions/Scripts.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/transactions/Scripts.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/transactions/Scripts.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/transactions/SwapInProtocol.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/transactions/SwapInProtocol.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/transactions/SwapInProtocol.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/transactions/SwapInProtocol.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/transactions/Transactions.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/transactions/Transactions.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/transactions/Transactions.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/transactions/Transactions.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/utils/BitField.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/utils/BitField.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/utils/BitField.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/utils/BitField.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/utils/Connection.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/utils/Connection.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/utils/Connection.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/utils/Connection.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/utils/SecureRandom.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/utils/SecureRandom.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/utils/SecureRandom.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/utils/SecureRandom.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/utils/UUID.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/utils/UUID.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/utils/UUID.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/utils/UUID.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/utils/breakpointWorkaround.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/utils/breakpointWorkaround.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/utils/breakpointWorkaround.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/utils/breakpointWorkaround.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/utils/byteArrays.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/utils/byteArrays.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/utils/byteArrays.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/utils/byteArrays.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/utils/channels.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/utils/channels.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/utils/channels.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/utils/channels.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/utils/collections.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/utils/collections.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/utils/collections.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/utils/collections.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/utils/coroutines.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/utils/coroutines.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/utils/coroutines.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/utils/coroutines.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/utils/jsonrpc.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/utils/jsonrpc.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/utils/jsonrpc.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/utils/jsonrpc.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/utils/satoshis.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/utils/satoshis.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/utils/satoshis.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/utils/satoshis.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/utils/strings.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/utils/strings.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/utils/strings.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/utils/strings.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/utils/time.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/utils/time.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/utils/time.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/utils/time.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/wire/ChannelTlv.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/wire/ChannelTlv.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/wire/ChannelTlv.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/wire/ChannelTlv.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/wire/FailureMessage.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/wire/FailureMessage.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/wire/FailureMessage.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/wire/FailureMessage.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/wire/HtlcTlv.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/wire/HtlcTlv.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/wire/HtlcTlv.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/wire/HtlcTlv.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/wire/InitTlv.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/wire/InitTlv.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/wire/InitTlv.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/wire/InitTlv.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/wire/InteractiveTxTlv.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/wire/InteractiveTxTlv.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/wire/InteractiveTxTlv.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/wire/InteractiveTxTlv.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/wire/LightningCodecs.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/wire/LightningCodecs.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/wire/LightningCodecs.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/wire/LightningCodecs.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/wire/LightningMessages.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/wire/LightningMessages.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/wire/LightningMessages.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/wire/LightningMessages.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/wire/LiquidityAds.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/wire/LiquidityAds.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/wire/LiquidityAds.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/wire/LiquidityAds.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/wire/MessageOnion.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/wire/MessageOnion.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/wire/MessageOnion.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/wire/MessageOnion.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/wire/OfferTypes.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/wire/OfferTypes.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/wire/OfferTypes.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/wire/OfferTypes.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/wire/OnionRouting.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/wire/OnionRouting.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/wire/OnionRouting.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/wire/OnionRouting.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/wire/PaymentOnion.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/wire/PaymentOnion.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/wire/PaymentOnion.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/wire/PaymentOnion.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/wire/RecommendedFeeratesTlv.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/wire/RecommendedFeeratesTlv.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/wire/RecommendedFeeratesTlv.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/wire/RecommendedFeeratesTlv.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/wire/RouteBlinding.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/wire/RouteBlinding.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/wire/RouteBlinding.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/wire/RouteBlinding.kt diff --git a/src/commonMain/kotlin/fr/acinq/lightning/wire/TlvCodecs.kt b/core/src/commonMain/kotlin/fr/acinq/lightning/wire/TlvCodecs.kt similarity index 100% rename from src/commonMain/kotlin/fr/acinq/lightning/wire/TlvCodecs.kt rename to core/src/commonMain/kotlin/fr/acinq/lightning/wire/TlvCodecs.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/FeaturesTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/FeaturesTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/FeaturesTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/FeaturesTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/HexTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/HexTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/HexTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/HexTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/MilliSatoshiTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/MilliSatoshiTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/MilliSatoshiTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/MilliSatoshiTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/SeedTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/SeedTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/SeedTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/SeedTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/ShortChannelIdTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/ShortChannelIdTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/ShortChannelIdTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/ShortChannelIdTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumClientTest.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumClientTest.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumClientTest.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumClientTest.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumMiniWalletTest.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumMiniWalletTest.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumMiniWalletTest.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumMiniWalletTest.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumRequestTest.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumRequestTest.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumRequestTest.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumRequestTest.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumUtils.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumUtils.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumUtils.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumUtils.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumWatcherIntegrationTest.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumWatcherIntegrationTest.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumWatcherIntegrationTest.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/ElectrumWatcherIntegrationTest.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInManagerTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInManagerTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInManagerTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInManagerTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInWalletTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInWalletTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInWalletTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/electrum/SwapInWalletTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/blockchain/fee/FeeEstimatorTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/fee/FeeEstimatorTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/blockchain/fee/FeeEstimatorTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/fee/FeeEstimatorTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceClientTest.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceClientTest.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceClientTest.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceClientTest.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceWatcherTest.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceWatcherTest.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceWatcherTest.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/blockchain/mempool/MempoolSpaceWatcherTest.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/ChannelConfigTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/ChannelConfigTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/ChannelConfigTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/ChannelConfigTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/ChannelDataTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/ChannelDataTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/ChannelDataTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/ChannelDataTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/ChannelFeaturesTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/ChannelFeaturesTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/ChannelFeaturesTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/ChannelFeaturesTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/CommitmentsTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/CommitmentsTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/CommitmentsTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/CommitmentsTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/HelpersTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/HelpersTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/HelpersTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/HelpersTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/InteractiveTxTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/InteractiveTxTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/InteractiveTxTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/InteractiveTxTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/RecoveryTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/RecoveryTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/RecoveryTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/RecoveryTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/TestsHelper.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/TestsHelper.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/TestsHelper.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/TestsHelper.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/ClosingTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/ClosingTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/ClosingTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/ClosingTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingConfirmedTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingConfirmedTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingConfirmedTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingConfirmedTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingLockedTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingLockedTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingLockedTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingLockedTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/NegotiatingTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/NegotiatingTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/NegotiatingTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/NegotiatingTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/NormalTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/NormalTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/NormalTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/NormalTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/OfflineTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/OfflineTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/OfflineTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/OfflineTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/QuiescenceTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/QuiescenceTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/QuiescenceTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/QuiescenceTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/ShutdownTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/ShutdownTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/ShutdownTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/ShutdownTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/SpliceTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/SpliceTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/SpliceTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/SpliceTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/SyncingTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/SyncingTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/SyncingTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/SyncingTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForAcceptChannelTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForAcceptChannelTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForAcceptChannelTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForAcceptChannelTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForChannelReadyTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForChannelReadyTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForChannelReadyTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForChannelReadyTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingConfirmedTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingConfirmedTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingConfirmedTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingConfirmedTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingCreatedTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingCreatedTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingCreatedTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingCreatedTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingSignedTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingSignedTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingSignedTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingSignedTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForOpenChannelTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForOpenChannelTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForOpenChannelTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForOpenChannelTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/crypto/ChaCha20Poly1305TestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/crypto/ChaCha20Poly1305TestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/crypto/ChaCha20Poly1305TestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/crypto/ChaCha20Poly1305TestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/crypto/LocalKeyManagerTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/crypto/LocalKeyManagerTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/crypto/LocalKeyManagerTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/crypto/LocalKeyManagerTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/crypto/SchaChainTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/crypto/SchaChainTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/crypto/SchaChainTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/crypto/SchaChainTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/crypto/noise/NoiseTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/crypto/noise/NoiseTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/crypto/noise/NoiseTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/crypto/noise/NoiseTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/crypto/sphinx/SphinxTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/crypto/sphinx/SphinxTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/crypto/sphinx/SphinxTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/crypto/sphinx/SphinxTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/db/InMemoryChannelsDb.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/db/InMemoryChannelsDb.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/db/InMemoryChannelsDb.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/db/InMemoryChannelsDb.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/db/InMemoryDatabases.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/db/InMemoryDatabases.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/db/InMemoryDatabases.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/db/InMemoryDatabases.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/db/InMemoryPaymentsDb.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/db/InMemoryPaymentsDb.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/db/InMemoryPaymentsDb.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/db/InMemoryPaymentsDb.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/db/PaymentsDbTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/db/PaymentsDbTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/db/PaymentsDbTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/db/PaymentsDbTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/io/TcpSocketIntegrationTest.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/io/TcpSocketIntegrationTest.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/io/TcpSocketIntegrationTest.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/io/TcpSocketIntegrationTest.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/io/peer/ConnectionTest.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/io/peer/ConnectionTest.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/io/peer/ConnectionTest.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/io/peer/ConnectionTest.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/io/peer/PeerTest.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/io/peer/PeerTest.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/io/peer/PeerTest.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/io/peer/PeerTest.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/json/JsonTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/json/JsonTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/json/JsonTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/json/JsonTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/message/OnionMessagesTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/message/OnionMessagesTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/message/OnionMessagesTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/message/OnionMessagesTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/payment/Bolt11InvoiceTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/payment/Bolt11InvoiceTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/payment/Bolt11InvoiceTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/payment/Bolt11InvoiceTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/payment/Bolt12InvoiceTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/payment/Bolt12InvoiceTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/payment/Bolt12InvoiceTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/payment/Bolt12InvoiceTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/payment/IncomingPaymentHandlerTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/payment/IncomingPaymentHandlerTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/payment/IncomingPaymentHandlerTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/payment/IncomingPaymentHandlerTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/payment/LiquidityPolicyTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/payment/LiquidityPolicyTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/payment/LiquidityPolicyTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/payment/LiquidityPolicyTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/payment/OfferManagerTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/payment/OfferManagerTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/payment/OfferManagerTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/payment/OfferManagerTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/payment/OfferPaymentMetadataTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/payment/OfferPaymentMetadataTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/payment/OfferPaymentMetadataTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/payment/OfferPaymentMetadataTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/payment/OutgoingPaymentFailureTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/payment/OutgoingPaymentFailureTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/payment/OutgoingPaymentFailureTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/payment/OutgoingPaymentFailureTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/payment/OutgoingPaymentHandlerTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/payment/OutgoingPaymentHandlerTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/payment/OutgoingPaymentHandlerTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/payment/OutgoingPaymentHandlerTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/payment/PaymentPacketTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/payment/PaymentPacketTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/payment/PaymentPacketTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/payment/PaymentPacketTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/serialization/CompatibilityTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/serialization/CompatibilityTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/serialization/CompatibilityTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/serialization/CompatibilityTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/serialization/StateSerializationNonRegTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/serialization/StateSerializationNonRegTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/serialization/StateSerializationNonRegTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/serialization/StateSerializationNonRegTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/serialization/StateSerializationTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/serialization/StateSerializationTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/serialization/StateSerializationTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/serialization/StateSerializationTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/tests/TestConstants.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/tests/TestConstants.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/tests/TestConstants.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/tests/TestConstants.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/tests/bitcoind/BitcoinJsonRPCClient.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/tests/bitcoind/BitcoinJsonRPCClient.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/tests/bitcoind/BitcoinJsonRPCClient.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/tests/bitcoind/BitcoinJsonRPCClient.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/tests/bitcoind/BitcoindService.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/tests/bitcoind/BitcoindService.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/tests/bitcoind/BitcoindService.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/tests/bitcoind/BitcoindService.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/tests/bitcoind/data.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/tests/bitcoind/data.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/tests/bitcoind/data.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/tests/bitcoind/data.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/tests/io/peer/builders.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/tests/io/peer/builders.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/tests/io/peer/builders.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/tests/io/peer/builders.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/tests/io/peer/helpers.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/tests/io/peer/helpers.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/tests/io/peer/helpers.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/tests/io/peer/helpers.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/tests/utils/LightningTestSuite.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/tests/utils/LightningTestSuite.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/tests/utils/LightningTestSuite.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/tests/utils/LightningTestSuite.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/tests/utils/TestLogger.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/tests/utils/TestLogger.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/tests/utils/TestLogger.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/tests/utils/TestLogger.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/tests/utils/runTest.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/tests/utils/runTest.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/tests/utils/runTest.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/tests/utils/runTest.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/transactions/AnchorOutputsTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/transactions/AnchorOutputsTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/transactions/AnchorOutputsTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/transactions/AnchorOutputsTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/transactions/CommitmentSpecTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/transactions/CommitmentSpecTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/transactions/CommitmentSpecTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/transactions/CommitmentSpecTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/transactions/TransactionsTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/transactions/TransactionsTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/transactions/TransactionsTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/transactions/TransactionsTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/utils/BitFieldsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/utils/BitFieldsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/utils/BitFieldsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/utils/BitFieldsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/utils/ByteArraysCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/utils/ByteArraysCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/utils/ByteArraysCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/utils/ByteArraysCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/utils/Extensions.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/utils/Extensions.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/utils/Extensions.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/utils/Extensions.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/wire/FailureMessageTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/wire/FailureMessageTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/wire/FailureMessageTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/wire/FailureMessageTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/wire/InitTlvTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/wire/InitTlvTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/wire/InitTlvTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/wire/InitTlvTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/wire/LightningCodecsTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/wire/LightningCodecsTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/wire/LightningCodecsTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/wire/LightningCodecsTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/wire/LiquidityAdsTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/wire/LiquidityAdsTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/wire/LiquidityAdsTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/wire/LiquidityAdsTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/wire/OfferTypesTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/wire/OfferTypesTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/wire/OfferTypesTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/wire/OfferTypesTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/wire/OpenTlvTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/wire/OpenTlvTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/wire/OpenTlvTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/wire/OpenTlvTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/wire/PaymentOnionTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/wire/PaymentOnionTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/wire/PaymentOnionTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/wire/PaymentOnionTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/wire/RouteBlindingTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/wire/RouteBlindingTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/wire/RouteBlindingTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/wire/RouteBlindingTestsCommon.kt diff --git a/src/commonTest/kotlin/fr/acinq/lightning/wire/TlvTestsCommon.kt b/core/src/commonTest/kotlin/fr/acinq/lightning/wire/TlvTestsCommon.kt similarity index 100% rename from src/commonTest/kotlin/fr/acinq/lightning/wire/TlvTestsCommon.kt rename to core/src/commonTest/kotlin/fr/acinq/lightning/wire/TlvTestsCommon.kt diff --git a/src/commonTest/resources/bolt3_anchor_outputs_test_vectors.json b/core/src/commonTest/resources/bolt3_anchor_outputs_test_vectors.json similarity index 100% rename from src/commonTest/resources/bolt3_anchor_outputs_test_vectors.json rename to core/src/commonTest/resources/bolt3_anchor_outputs_test_vectors.json diff --git a/src/commonTest/resources/nonreg/v2/Closing_0ba41d17/data.bin b/core/src/commonTest/resources/nonreg/v2/Closing_0ba41d17/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Closing_0ba41d17/data.bin rename to core/src/commonTest/resources/nonreg/v2/Closing_0ba41d17/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Closing_0ba41d17/data.json b/core/src/commonTest/resources/nonreg/v2/Closing_0ba41d17/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Closing_0ba41d17/data.json rename to core/src/commonTest/resources/nonreg/v2/Closing_0ba41d17/data.json diff --git a/src/commonTest/resources/nonreg/v2/Closing_0ed6ff68/data.bin b/core/src/commonTest/resources/nonreg/v2/Closing_0ed6ff68/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Closing_0ed6ff68/data.bin rename to core/src/commonTest/resources/nonreg/v2/Closing_0ed6ff68/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Closing_0ed6ff68/data.json b/core/src/commonTest/resources/nonreg/v2/Closing_0ed6ff68/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Closing_0ed6ff68/data.json rename to core/src/commonTest/resources/nonreg/v2/Closing_0ed6ff68/data.json diff --git a/src/commonTest/resources/nonreg/v2/Closing_0efffae3/data.bin b/core/src/commonTest/resources/nonreg/v2/Closing_0efffae3/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Closing_0efffae3/data.bin rename to core/src/commonTest/resources/nonreg/v2/Closing_0efffae3/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Closing_0efffae3/data.json b/core/src/commonTest/resources/nonreg/v2/Closing_0efffae3/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Closing_0efffae3/data.json rename to core/src/commonTest/resources/nonreg/v2/Closing_0efffae3/data.json diff --git a/src/commonTest/resources/nonreg/v2/Closing_2fd2a3fa/data.bin b/core/src/commonTest/resources/nonreg/v2/Closing_2fd2a3fa/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Closing_2fd2a3fa/data.bin rename to core/src/commonTest/resources/nonreg/v2/Closing_2fd2a3fa/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Closing_2fd2a3fa/data.json b/core/src/commonTest/resources/nonreg/v2/Closing_2fd2a3fa/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Closing_2fd2a3fa/data.json rename to core/src/commonTest/resources/nonreg/v2/Closing_2fd2a3fa/data.json diff --git a/src/commonTest/resources/nonreg/v2/Closing_3bb07fb6/data.bin b/core/src/commonTest/resources/nonreg/v2/Closing_3bb07fb6/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Closing_3bb07fb6/data.bin rename to core/src/commonTest/resources/nonreg/v2/Closing_3bb07fb6/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Closing_3bb07fb6/data.json b/core/src/commonTest/resources/nonreg/v2/Closing_3bb07fb6/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Closing_3bb07fb6/data.json rename to core/src/commonTest/resources/nonreg/v2/Closing_3bb07fb6/data.json diff --git a/src/commonTest/resources/nonreg/v2/Closing_8f1a524e/data.bin b/core/src/commonTest/resources/nonreg/v2/Closing_8f1a524e/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Closing_8f1a524e/data.bin rename to core/src/commonTest/resources/nonreg/v2/Closing_8f1a524e/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Closing_8f1a524e/data.json b/core/src/commonTest/resources/nonreg/v2/Closing_8f1a524e/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Closing_8f1a524e/data.json rename to core/src/commonTest/resources/nonreg/v2/Closing_8f1a524e/data.json diff --git a/src/commonTest/resources/nonreg/v2/Closing_ef682e2e/data.bin b/core/src/commonTest/resources/nonreg/v2/Closing_ef682e2e/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Closing_ef682e2e/data.bin rename to core/src/commonTest/resources/nonreg/v2/Closing_ef682e2e/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Closing_ef682e2e/data.json b/core/src/commonTest/resources/nonreg/v2/Closing_ef682e2e/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Closing_ef682e2e/data.json rename to core/src/commonTest/resources/nonreg/v2/Closing_ef682e2e/data.json diff --git a/src/commonTest/resources/nonreg/v2/Negotiating_c8d15808/data.bin b/core/src/commonTest/resources/nonreg/v2/Negotiating_c8d15808/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Negotiating_c8d15808/data.bin rename to core/src/commonTest/resources/nonreg/v2/Negotiating_c8d15808/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Negotiating_c8d15808/data.json b/core/src/commonTest/resources/nonreg/v2/Negotiating_c8d15808/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Negotiating_c8d15808/data.json rename to core/src/commonTest/resources/nonreg/v2/Negotiating_c8d15808/data.json diff --git a/src/commonTest/resources/nonreg/v2/Negotiating_d9b4cd96/data.bin b/core/src/commonTest/resources/nonreg/v2/Negotiating_d9b4cd96/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Negotiating_d9b4cd96/data.bin rename to core/src/commonTest/resources/nonreg/v2/Negotiating_d9b4cd96/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Negotiating_d9b4cd96/data.json b/core/src/commonTest/resources/nonreg/v2/Negotiating_d9b4cd96/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Negotiating_d9b4cd96/data.json rename to core/src/commonTest/resources/nonreg/v2/Negotiating_d9b4cd96/data.json diff --git a/src/commonTest/resources/nonreg/v2/Negotiating_ee10091c/data.bin b/core/src/commonTest/resources/nonreg/v2/Negotiating_ee10091c/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Negotiating_ee10091c/data.bin rename to core/src/commonTest/resources/nonreg/v2/Negotiating_ee10091c/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Negotiating_ee10091c/data.json b/core/src/commonTest/resources/nonreg/v2/Negotiating_ee10091c/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Negotiating_ee10091c/data.json rename to core/src/commonTest/resources/nonreg/v2/Negotiating_ee10091c/data.json diff --git a/src/commonTest/resources/nonreg/v2/Negotiating_f52b19b8/data.bin b/core/src/commonTest/resources/nonreg/v2/Negotiating_f52b19b8/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Negotiating_f52b19b8/data.bin rename to core/src/commonTest/resources/nonreg/v2/Negotiating_f52b19b8/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Negotiating_f52b19b8/data.json b/core/src/commonTest/resources/nonreg/v2/Negotiating_f52b19b8/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Negotiating_f52b19b8/data.json rename to core/src/commonTest/resources/nonreg/v2/Negotiating_f52b19b8/data.json diff --git a/src/commonTest/resources/nonreg/v2/Normal_748a735b/data.bin b/core/src/commonTest/resources/nonreg/v2/Normal_748a735b/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Normal_748a735b/data.bin rename to core/src/commonTest/resources/nonreg/v2/Normal_748a735b/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Normal_748a735b/data.json b/core/src/commonTest/resources/nonreg/v2/Normal_748a735b/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Normal_748a735b/data.json rename to core/src/commonTest/resources/nonreg/v2/Normal_748a735b/data.json diff --git a/src/commonTest/resources/nonreg/v2/Normal_e2253ddd/data.bin b/core/src/commonTest/resources/nonreg/v2/Normal_e2253ddd/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Normal_e2253ddd/data.bin rename to core/src/commonTest/resources/nonreg/v2/Normal_e2253ddd/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Normal_e2253ddd/data.json b/core/src/commonTest/resources/nonreg/v2/Normal_e2253ddd/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Normal_e2253ddd/data.json rename to core/src/commonTest/resources/nonreg/v2/Normal_e2253ddd/data.json diff --git a/src/commonTest/resources/nonreg/v2/Normal_ff248f8d/data.bin b/core/src/commonTest/resources/nonreg/v2/Normal_ff248f8d/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Normal_ff248f8d/data.bin rename to core/src/commonTest/resources/nonreg/v2/Normal_ff248f8d/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Normal_ff248f8d/data.json b/core/src/commonTest/resources/nonreg/v2/Normal_ff248f8d/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Normal_ff248f8d/data.json rename to core/src/commonTest/resources/nonreg/v2/Normal_ff248f8d/data.json diff --git a/src/commonTest/resources/nonreg/v2/Normal_ff4a71b6/data.bin b/core/src/commonTest/resources/nonreg/v2/Normal_ff4a71b6/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Normal_ff4a71b6/data.bin rename to core/src/commonTest/resources/nonreg/v2/Normal_ff4a71b6/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Normal_ff4a71b6/data.json b/core/src/commonTest/resources/nonreg/v2/Normal_ff4a71b6/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Normal_ff4a71b6/data.json rename to core/src/commonTest/resources/nonreg/v2/Normal_ff4a71b6/data.json diff --git a/src/commonTest/resources/nonreg/v2/Normal_ffd9f5db/data.bin b/core/src/commonTest/resources/nonreg/v2/Normal_ffd9f5db/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/Normal_ffd9f5db/data.bin rename to core/src/commonTest/resources/nonreg/v2/Normal_ffd9f5db/data.bin diff --git a/src/commonTest/resources/nonreg/v2/Normal_ffd9f5db/data.json b/core/src/commonTest/resources/nonreg/v2/Normal_ffd9f5db/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/Normal_ffd9f5db/data.json rename to core/src/commonTest/resources/nonreg/v2/Normal_ffd9f5db/data.json diff --git a/src/commonTest/resources/nonreg/v2/ShuttingDown_c321b947/data.bin b/core/src/commonTest/resources/nonreg/v2/ShuttingDown_c321b947/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/ShuttingDown_c321b947/data.bin rename to core/src/commonTest/resources/nonreg/v2/ShuttingDown_c321b947/data.bin diff --git a/src/commonTest/resources/nonreg/v2/ShuttingDown_c321b947/data.json b/core/src/commonTest/resources/nonreg/v2/ShuttingDown_c321b947/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/ShuttingDown_c321b947/data.json rename to core/src/commonTest/resources/nonreg/v2/ShuttingDown_c321b947/data.json diff --git a/src/commonTest/resources/nonreg/v2/ShuttingDown_f89ecd50/data.bin b/core/src/commonTest/resources/nonreg/v2/ShuttingDown_f89ecd50/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/ShuttingDown_f89ecd50/data.bin rename to core/src/commonTest/resources/nonreg/v2/ShuttingDown_f89ecd50/data.bin diff --git a/src/commonTest/resources/nonreg/v2/ShuttingDown_f89ecd50/data.json b/core/src/commonTest/resources/nonreg/v2/ShuttingDown_f89ecd50/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/ShuttingDown_f89ecd50/data.json rename to core/src/commonTest/resources/nonreg/v2/ShuttingDown_f89ecd50/data.json diff --git a/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_f7421b49/data.bin b/core/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_f7421b49/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_f7421b49/data.bin rename to core/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_f7421b49/data.bin diff --git a/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_f7421b49/data.json b/core/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_f7421b49/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_f7421b49/data.json rename to core/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_f7421b49/data.json diff --git a/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_fe3c5978/data.bin b/core/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_fe3c5978/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_fe3c5978/data.bin rename to core/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_fe3c5978/data.bin diff --git a/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_fe3c5978/data.json b/core/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_fe3c5978/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_fe3c5978/data.json rename to core/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_fe3c5978/data.json diff --git a/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_ff74dd33/data.bin b/core/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_ff74dd33/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_ff74dd33/data.bin rename to core/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_ff74dd33/data.bin diff --git a/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_ff74dd33/data.json b/core/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_ff74dd33/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_ff74dd33/data.json rename to core/src/commonTest/resources/nonreg/v2/WaitForFundingConfirmed_ff74dd33/data.json diff --git a/src/commonTest/resources/nonreg/v2/WaitForFundingLocked_f3437082/data.bin b/core/src/commonTest/resources/nonreg/v2/WaitForFundingLocked_f3437082/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/WaitForFundingLocked_f3437082/data.bin rename to core/src/commonTest/resources/nonreg/v2/WaitForFundingLocked_f3437082/data.bin diff --git a/src/commonTest/resources/nonreg/v2/WaitForFundingLocked_f3437082/data.json b/core/src/commonTest/resources/nonreg/v2/WaitForFundingLocked_f3437082/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/WaitForFundingLocked_f3437082/data.json rename to core/src/commonTest/resources/nonreg/v2/WaitForFundingLocked_f3437082/data.json diff --git a/src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_ae47fde9/data.bin b/core/src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_ae47fde9/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_ae47fde9/data.bin rename to core/src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_ae47fde9/data.bin diff --git a/src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_ae47fde9/data.json b/core/src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_ae47fde9/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_ae47fde9/data.json rename to core/src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_ae47fde9/data.json diff --git a/src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_d803549f/data.bin b/core/src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_d803549f/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_d803549f/data.bin rename to core/src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_d803549f/data.bin diff --git a/src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_d803549f/data.json b/core/src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_d803549f/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_d803549f/data.json rename to core/src/commonTest/resources/nonreg/v2/WaitForRemotePublishFutureCommitment_d803549f/data.json diff --git a/src/commonTest/resources/nonreg/v3/Closing_029bf8f3/data.bin b/core/src/commonTest/resources/nonreg/v3/Closing_029bf8f3/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/Closing_029bf8f3/data.bin rename to core/src/commonTest/resources/nonreg/v3/Closing_029bf8f3/data.bin diff --git a/src/commonTest/resources/nonreg/v3/Closing_029bf8f3/data.json b/core/src/commonTest/resources/nonreg/v3/Closing_029bf8f3/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/Closing_029bf8f3/data.json rename to core/src/commonTest/resources/nonreg/v3/Closing_029bf8f3/data.json diff --git a/src/commonTest/resources/nonreg/v3/Closing_0ba41d17/data.bin b/core/src/commonTest/resources/nonreg/v3/Closing_0ba41d17/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/Closing_0ba41d17/data.bin rename to core/src/commonTest/resources/nonreg/v3/Closing_0ba41d17/data.bin diff --git a/src/commonTest/resources/nonreg/v3/Closing_0ba41d17/data.json b/core/src/commonTest/resources/nonreg/v3/Closing_0ba41d17/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/Closing_0ba41d17/data.json rename to core/src/commonTest/resources/nonreg/v3/Closing_0ba41d17/data.json diff --git a/src/commonTest/resources/nonreg/v3/Closing_0ed6ff68/data.bin b/core/src/commonTest/resources/nonreg/v3/Closing_0ed6ff68/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/Closing_0ed6ff68/data.bin rename to core/src/commonTest/resources/nonreg/v3/Closing_0ed6ff68/data.bin diff --git a/src/commonTest/resources/nonreg/v3/Closing_0ed6ff68/data.json b/core/src/commonTest/resources/nonreg/v3/Closing_0ed6ff68/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/Closing_0ed6ff68/data.json rename to core/src/commonTest/resources/nonreg/v3/Closing_0ed6ff68/data.json diff --git a/src/commonTest/resources/nonreg/v3/Closing_0efffae3/data.bin b/core/src/commonTest/resources/nonreg/v3/Closing_0efffae3/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/Closing_0efffae3/data.bin rename to core/src/commonTest/resources/nonreg/v3/Closing_0efffae3/data.bin diff --git a/src/commonTest/resources/nonreg/v3/Closing_0efffae3/data.json b/core/src/commonTest/resources/nonreg/v3/Closing_0efffae3/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/Closing_0efffae3/data.json rename to core/src/commonTest/resources/nonreg/v3/Closing_0efffae3/data.json diff --git a/src/commonTest/resources/nonreg/v3/Closing_ebbd24bc/data.bin b/core/src/commonTest/resources/nonreg/v3/Closing_ebbd24bc/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/Closing_ebbd24bc/data.bin rename to core/src/commonTest/resources/nonreg/v3/Closing_ebbd24bc/data.bin diff --git a/src/commonTest/resources/nonreg/v3/Closing_ebbd24bc/data.json b/core/src/commonTest/resources/nonreg/v3/Closing_ebbd24bc/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/Closing_ebbd24bc/data.json rename to core/src/commonTest/resources/nonreg/v3/Closing_ebbd24bc/data.json diff --git a/src/commonTest/resources/nonreg/v3/Closing_f137669f/data.bin b/core/src/commonTest/resources/nonreg/v3/Closing_f137669f/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/Closing_f137669f/data.bin rename to core/src/commonTest/resources/nonreg/v3/Closing_f137669f/data.bin diff --git a/src/commonTest/resources/nonreg/v3/Closing_f137669f/data.json b/core/src/commonTest/resources/nonreg/v3/Closing_f137669f/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/Closing_f137669f/data.json rename to core/src/commonTest/resources/nonreg/v3/Closing_f137669f/data.json diff --git a/src/commonTest/resources/nonreg/v3/Negotiating_da44c6e2/data.bin b/core/src/commonTest/resources/nonreg/v3/Negotiating_da44c6e2/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/Negotiating_da44c6e2/data.bin rename to core/src/commonTest/resources/nonreg/v3/Negotiating_da44c6e2/data.bin diff --git a/src/commonTest/resources/nonreg/v3/Negotiating_da44c6e2/data.json b/core/src/commonTest/resources/nonreg/v3/Negotiating_da44c6e2/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/Negotiating_da44c6e2/data.json rename to core/src/commonTest/resources/nonreg/v3/Negotiating_da44c6e2/data.json diff --git a/src/commonTest/resources/nonreg/v3/Negotiating_dabbed55/data.bin b/core/src/commonTest/resources/nonreg/v3/Negotiating_dabbed55/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/Negotiating_dabbed55/data.bin rename to core/src/commonTest/resources/nonreg/v3/Negotiating_dabbed55/data.bin diff --git a/src/commonTest/resources/nonreg/v3/Negotiating_dabbed55/data.json b/core/src/commonTest/resources/nonreg/v3/Negotiating_dabbed55/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/Negotiating_dabbed55/data.json rename to core/src/commonTest/resources/nonreg/v3/Negotiating_dabbed55/data.json diff --git a/src/commonTest/resources/nonreg/v3/Negotiating_fadb50c1/data.bin b/core/src/commonTest/resources/nonreg/v3/Negotiating_fadb50c1/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/Negotiating_fadb50c1/data.bin rename to core/src/commonTest/resources/nonreg/v3/Negotiating_fadb50c1/data.bin diff --git a/src/commonTest/resources/nonreg/v3/Negotiating_fadb50c1/data.json b/core/src/commonTest/resources/nonreg/v3/Negotiating_fadb50c1/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/Negotiating_fadb50c1/data.json rename to core/src/commonTest/resources/nonreg/v3/Negotiating_fadb50c1/data.json diff --git a/src/commonTest/resources/nonreg/v3/Normal_fd10d3cc/data.bin b/core/src/commonTest/resources/nonreg/v3/Normal_fd10d3cc/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/Normal_fd10d3cc/data.bin rename to core/src/commonTest/resources/nonreg/v3/Normal_fd10d3cc/data.bin diff --git a/src/commonTest/resources/nonreg/v3/Normal_fd10d3cc/data.json b/core/src/commonTest/resources/nonreg/v3/Normal_fd10d3cc/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/Normal_fd10d3cc/data.json rename to core/src/commonTest/resources/nonreg/v3/Normal_fd10d3cc/data.json diff --git a/src/commonTest/resources/nonreg/v3/Normal_fe897b64/data.bin b/core/src/commonTest/resources/nonreg/v3/Normal_fe897b64/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/Normal_fe897b64/data.bin rename to core/src/commonTest/resources/nonreg/v3/Normal_fe897b64/data.bin diff --git a/src/commonTest/resources/nonreg/v3/Normal_fe897b64/data.json b/core/src/commonTest/resources/nonreg/v3/Normal_fe897b64/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/Normal_fe897b64/data.json rename to core/src/commonTest/resources/nonreg/v3/Normal_fe897b64/data.json diff --git a/src/commonTest/resources/nonreg/v3/Normal_ff248f8d/data.bin b/core/src/commonTest/resources/nonreg/v3/Normal_ff248f8d/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/Normal_ff248f8d/data.bin rename to core/src/commonTest/resources/nonreg/v3/Normal_ff248f8d/data.bin diff --git a/src/commonTest/resources/nonreg/v3/Normal_ff248f8d/data.json b/core/src/commonTest/resources/nonreg/v3/Normal_ff248f8d/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/Normal_ff248f8d/data.json rename to core/src/commonTest/resources/nonreg/v3/Normal_ff248f8d/data.json diff --git a/src/commonTest/resources/nonreg/v3/Normal_ff4a71b6/data.bin b/core/src/commonTest/resources/nonreg/v3/Normal_ff4a71b6/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/Normal_ff4a71b6/data.bin rename to core/src/commonTest/resources/nonreg/v3/Normal_ff4a71b6/data.bin diff --git a/src/commonTest/resources/nonreg/v3/Normal_ff4a71b6/data.json b/core/src/commonTest/resources/nonreg/v3/Normal_ff4a71b6/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/Normal_ff4a71b6/data.json rename to core/src/commonTest/resources/nonreg/v3/Normal_ff4a71b6/data.json diff --git a/src/commonTest/resources/nonreg/v3/ShuttingDown_ef41a1a5/data.bin b/core/src/commonTest/resources/nonreg/v3/ShuttingDown_ef41a1a5/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/ShuttingDown_ef41a1a5/data.bin rename to core/src/commonTest/resources/nonreg/v3/ShuttingDown_ef41a1a5/data.bin diff --git a/src/commonTest/resources/nonreg/v3/ShuttingDown_ef41a1a5/data.json b/core/src/commonTest/resources/nonreg/v3/ShuttingDown_ef41a1a5/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/ShuttingDown_ef41a1a5/data.json rename to core/src/commonTest/resources/nonreg/v3/ShuttingDown_ef41a1a5/data.json diff --git a/src/commonTest/resources/nonreg/v3/ShuttingDown_ef7081a1/data.bin b/core/src/commonTest/resources/nonreg/v3/ShuttingDown_ef7081a1/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/ShuttingDown_ef7081a1/data.bin rename to core/src/commonTest/resources/nonreg/v3/ShuttingDown_ef7081a1/data.bin diff --git a/src/commonTest/resources/nonreg/v3/ShuttingDown_ef7081a1/data.json b/core/src/commonTest/resources/nonreg/v3/ShuttingDown_ef7081a1/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/ShuttingDown_ef7081a1/data.json rename to core/src/commonTest/resources/nonreg/v3/ShuttingDown_ef7081a1/data.json diff --git a/src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_fe3c5978/data.bin b/core/src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_fe3c5978/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_fe3c5978/data.bin rename to core/src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_fe3c5978/data.bin diff --git a/src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_fe3c5978/data.json b/core/src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_fe3c5978/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_fe3c5978/data.json rename to core/src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_fe3c5978/data.json diff --git a/src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_ff74dd33/data.bin b/core/src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_ff74dd33/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_ff74dd33/data.bin rename to core/src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_ff74dd33/data.bin diff --git a/src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_ff74dd33/data.json b/core/src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_ff74dd33/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_ff74dd33/data.json rename to core/src/commonTest/resources/nonreg/v3/WaitForFundingConfirmed_ff74dd33/data.json diff --git a/src/commonTest/resources/nonreg/v3/WaitForFundingLocked_f3437082/data.bin b/core/src/commonTest/resources/nonreg/v3/WaitForFundingLocked_f3437082/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/WaitForFundingLocked_f3437082/data.bin rename to core/src/commonTest/resources/nonreg/v3/WaitForFundingLocked_f3437082/data.bin diff --git a/src/commonTest/resources/nonreg/v3/WaitForFundingLocked_f3437082/data.json b/core/src/commonTest/resources/nonreg/v3/WaitForFundingLocked_f3437082/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/WaitForFundingLocked_f3437082/data.json rename to core/src/commonTest/resources/nonreg/v3/WaitForFundingLocked_f3437082/data.json diff --git a/src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_ae47fde9/data.bin b/core/src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_ae47fde9/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_ae47fde9/data.bin rename to core/src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_ae47fde9/data.bin diff --git a/src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_ae47fde9/data.json b/core/src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_ae47fde9/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_ae47fde9/data.json rename to core/src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_ae47fde9/data.json diff --git a/src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_d803549f/data.bin b/core/src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_d803549f/data.bin similarity index 100% rename from src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_d803549f/data.bin rename to core/src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_d803549f/data.bin diff --git a/src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_d803549f/data.json b/core/src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_d803549f/data.json similarity index 100% rename from src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_d803549f/data.json rename to core/src/commonTest/resources/nonreg/v3/WaitForRemotePublishFutureCommitment_d803549f/data.json diff --git a/src/iosMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt b/core/src/iosMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt similarity index 100% rename from src/iosMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt rename to core/src/iosMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt diff --git a/src/iosMain/kotlin/fr/acinq/lightning/io/IosTcpSocket.kt b/core/src/iosMain/kotlin/fr/acinq/lightning/io/IosTcpSocket.kt similarity index 100% rename from src/iosMain/kotlin/fr/acinq/lightning/io/IosTcpSocket.kt rename to core/src/iosMain/kotlin/fr/acinq/lightning/io/IosTcpSocket.kt diff --git a/src/iosMain/kotlin/fr/acinq/lightning/utils/AtomicOnce.kt b/core/src/iosMain/kotlin/fr/acinq/lightning/utils/AtomicOnce.kt similarity index 100% rename from src/iosMain/kotlin/fr/acinq/lightning/utils/AtomicOnce.kt rename to core/src/iosMain/kotlin/fr/acinq/lightning/utils/AtomicOnce.kt diff --git a/src/iosMain/kotlin/fr/acinq/lightning/utils/FoundationUtils.kt b/core/src/iosMain/kotlin/fr/acinq/lightning/utils/FoundationUtils.kt similarity index 100% rename from src/iosMain/kotlin/fr/acinq/lightning/utils/FoundationUtils.kt rename to core/src/iosMain/kotlin/fr/acinq/lightning/utils/FoundationUtils.kt diff --git a/src/iosTest/kotlin/fr/acinq/lightning/tests/utils/runTestIos.kt b/core/src/iosTest/kotlin/fr/acinq/lightning/tests/utils/runTestIos.kt similarity index 100% rename from src/iosTest/kotlin/fr/acinq/lightning/tests/utils/runTestIos.kt rename to core/src/iosTest/kotlin/fr/acinq/lightning/tests/utils/runTestIos.kt diff --git a/src/jvmMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt b/core/src/jvmMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt similarity index 100% rename from src/jvmMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt rename to core/src/jvmMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt diff --git a/src/jvmMain/kotlin/fr/acinq/lightning/io/JvmTcpSocket.kt b/core/src/jvmMain/kotlin/fr/acinq/lightning/io/JvmTcpSocket.kt similarity index 100% rename from src/jvmMain/kotlin/fr/acinq/lightning/io/JvmTcpSocket.kt rename to core/src/jvmMain/kotlin/fr/acinq/lightning/io/JvmTcpSocket.kt diff --git a/src/jvmMain/kotlin/fr/acinq/lightning/utils/SecureRandomJvm.kt b/core/src/jvmMain/kotlin/fr/acinq/lightning/utils/SecureRandomJvm.kt similarity index 100% rename from src/jvmMain/kotlin/fr/acinq/lightning/utils/SecureRandomJvm.kt rename to core/src/jvmMain/kotlin/fr/acinq/lightning/utils/SecureRandomJvm.kt diff --git a/src/jvmTest/kotlin/fr/acinq/lightning/crypto/Poly1305TestsJvm.kt b/core/src/jvmTest/kotlin/fr/acinq/lightning/crypto/Poly1305TestsJvm.kt similarity index 100% rename from src/jvmTest/kotlin/fr/acinq/lightning/crypto/Poly1305TestsJvm.kt rename to core/src/jvmTest/kotlin/fr/acinq/lightning/crypto/Poly1305TestsJvm.kt diff --git a/src/jvmTest/kotlin/fr/acinq/lightning/crypto/ShaChainTestsJvm.kt b/core/src/jvmTest/kotlin/fr/acinq/lightning/crypto/ShaChainTestsJvm.kt similarity index 100% rename from src/jvmTest/kotlin/fr/acinq/lightning/crypto/ShaChainTestsJvm.kt rename to core/src/jvmTest/kotlin/fr/acinq/lightning/crypto/ShaChainTestsJvm.kt diff --git a/src/jvmTest/kotlin/fr/acinq/lightning/crypto/noise/Curve25519.kt b/core/src/jvmTest/kotlin/fr/acinq/lightning/crypto/noise/Curve25519.kt similarity index 100% rename from src/jvmTest/kotlin/fr/acinq/lightning/crypto/noise/Curve25519.kt rename to core/src/jvmTest/kotlin/fr/acinq/lightning/crypto/noise/Curve25519.kt diff --git a/src/jvmTest/kotlin/fr/acinq/lightning/crypto/noise/NoiseTestsJvm.kt b/core/src/jvmTest/kotlin/fr/acinq/lightning/crypto/noise/NoiseTestsJvm.kt similarity index 100% rename from src/jvmTest/kotlin/fr/acinq/lightning/crypto/noise/NoiseTestsJvm.kt rename to core/src/jvmTest/kotlin/fr/acinq/lightning/crypto/noise/NoiseTestsJvm.kt diff --git a/src/jvmTest/kotlin/fr/acinq/lightning/db/sqlite/SqliteChannelsDb.kt b/core/src/jvmTest/kotlin/fr/acinq/lightning/db/sqlite/SqliteChannelsDb.kt similarity index 100% rename from src/jvmTest/kotlin/fr/acinq/lightning/db/sqlite/SqliteChannelsDb.kt rename to core/src/jvmTest/kotlin/fr/acinq/lightning/db/sqlite/SqliteChannelsDb.kt diff --git a/src/jvmTest/kotlin/fr/acinq/lightning/db/sqlite/SqliteChannelsDbTestsJvm.kt b/core/src/jvmTest/kotlin/fr/acinq/lightning/db/sqlite/SqliteChannelsDbTestsJvm.kt similarity index 100% rename from src/jvmTest/kotlin/fr/acinq/lightning/db/sqlite/SqliteChannelsDbTestsJvm.kt rename to core/src/jvmTest/kotlin/fr/acinq/lightning/db/sqlite/SqliteChannelsDbTestsJvm.kt diff --git a/src/jvmTest/kotlin/fr/acinq/lightning/io/JvmTcpSocketTests.kt b/core/src/jvmTest/kotlin/fr/acinq/lightning/io/JvmTcpSocketTests.kt similarity index 100% rename from src/jvmTest/kotlin/fr/acinq/lightning/io/JvmTcpSocketTests.kt rename to core/src/jvmTest/kotlin/fr/acinq/lightning/io/JvmTcpSocketTests.kt diff --git a/src/jvmTest/kotlin/fr/acinq/lightning/tests/util/runTestJvm.kt b/core/src/jvmTest/kotlin/fr/acinq/lightning/tests/util/runTestJvm.kt similarity index 100% rename from src/jvmTest/kotlin/fr/acinq/lightning/tests/util/runTestJvm.kt rename to core/src/jvmTest/kotlin/fr/acinq/lightning/tests/util/runTestJvm.kt diff --git a/src/jvmTest/kotlin/fr/acinq/lightning/tests/utils/TestLogger.jvm.kt b/core/src/jvmTest/kotlin/fr/acinq/lightning/tests/utils/TestLogger.jvm.kt similarity index 100% rename from src/jvmTest/kotlin/fr/acinq/lightning/tests/utils/TestLogger.jvm.kt rename to core/src/jvmTest/kotlin/fr/acinq/lightning/tests/utils/TestLogger.jvm.kt diff --git a/src/jvmTest/resources/logback-test.xml b/core/src/jvmTest/resources/logback-test.xml similarity index 100% rename from src/jvmTest/resources/logback-test.xml rename to core/src/jvmTest/resources/logback-test.xml diff --git a/src/linuxMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt b/core/src/linuxMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt similarity index 100% rename from src/linuxMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt rename to core/src/linuxMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.kt diff --git a/src/linuxMain/kotlin/fr/acinq/lightning/io/TcpSocket.linux.kt b/core/src/linuxMain/kotlin/fr/acinq/lightning/io/TcpSocket.linux.kt similarity index 100% rename from src/linuxMain/kotlin/fr/acinq/lightning/io/TcpSocket.linux.kt rename to core/src/linuxMain/kotlin/fr/acinq/lightning/io/TcpSocket.linux.kt diff --git a/src/linuxTest/kotlin/fr/acinq/lightning/tests/utils/runTestLinux.kt b/core/src/linuxTest/kotlin/fr/acinq/lightning/tests/utils/runTestLinux.kt similarity index 100% rename from src/linuxTest/kotlin/fr/acinq/lightning/tests/utils/runTestLinux.kt rename to core/src/linuxTest/kotlin/fr/acinq/lightning/tests/utils/runTestLinux.kt diff --git a/src/macosMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.macos.kt b/core/src/macosMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.macos.kt similarity index 100% rename from src/macosMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.macos.kt rename to core/src/macosMain/kotlin/fr/acinq/lightning/crypto/noise/Chacha20Poly1305CipherFunctions.macos.kt diff --git a/src/macosMain/kotlin/fr/acinq/lightning/io/TcpSocket.macos.kt b/core/src/macosMain/kotlin/fr/acinq/lightning/io/TcpSocket.macos.kt similarity index 100% rename from src/macosMain/kotlin/fr/acinq/lightning/io/TcpSocket.macos.kt rename to core/src/macosMain/kotlin/fr/acinq/lightning/io/TcpSocket.macos.kt diff --git a/src/macosTest/kotlin/fr/acinq/lightning/tests/utils/runTest.macos.kt b/core/src/macosTest/kotlin/fr/acinq/lightning/tests/utils/runTest.macos.kt similarity index 100% rename from src/macosTest/kotlin/fr/acinq/lightning/tests/utils/runTest.macos.kt rename to core/src/macosTest/kotlin/fr/acinq/lightning/tests/utils/runTest.macos.kt diff --git a/src/nativeInterop/cinterop/PhoenixCrypto.def b/core/src/nativeInterop/cinterop/PhoenixCrypto.def similarity index 100% rename from src/nativeInterop/cinterop/PhoenixCrypto.def rename to core/src/nativeInterop/cinterop/PhoenixCrypto.def diff --git a/src/nativeMain/kotlin/fr/acinq/lightning/io/KtorNoTlsTcpSocket.kt b/core/src/nativeMain/kotlin/fr/acinq/lightning/io/KtorNoTlsTcpSocket.kt similarity index 100% rename from src/nativeMain/kotlin/fr/acinq/lightning/io/KtorNoTlsTcpSocket.kt rename to core/src/nativeMain/kotlin/fr/acinq/lightning/io/KtorNoTlsTcpSocket.kt diff --git a/src/nativeMain/kotlin/fr/acinq/lightning/utils/SecureRandomPosix.kt b/core/src/nativeMain/kotlin/fr/acinq/lightning/utils/SecureRandomPosix.kt similarity index 100% rename from src/nativeMain/kotlin/fr/acinq/lightning/utils/SecureRandomPosix.kt rename to core/src/nativeMain/kotlin/fr/acinq/lightning/utils/SecureRandomPosix.kt diff --git a/src/nativeMain/kotlin/fr/acinq/lightning/utils/timePosix.kt b/core/src/nativeMain/kotlin/fr/acinq/lightning/utils/timePosix.kt similarity index 100% rename from src/nativeMain/kotlin/fr/acinq/lightning/utils/timePosix.kt rename to core/src/nativeMain/kotlin/fr/acinq/lightning/utils/timePosix.kt diff --git a/src/nativeTest/kotlin/fr/acinq/lightning/tests/utils/TestLogger.native.kt b/core/src/nativeTest/kotlin/fr/acinq/lightning/tests/utils/TestLogger.native.kt similarity index 100% rename from src/nativeTest/kotlin/fr/acinq/lightning/tests/utils/TestLogger.native.kt rename to core/src/nativeTest/kotlin/fr/acinq/lightning/tests/utils/TestLogger.native.kt diff --git a/gradle.properties b/gradle.properties index daf7c7658..84a6272d5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,5 @@ +group=fr.acinq.lightning +version=1.8.5-SNAPSHOT # gradle org.gradle.jvmargs=-Xmx1536m org.gradle.parallel=true diff --git a/settings.gradle.kts b/settings.gradle.kts index f60a51ad5..515e32fa3 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,5 +1,3 @@ -rootProject.name = "lightning-kmp" - pluginManagement { repositories { gradlePluginPortal() @@ -7,6 +5,21 @@ pluginManagement { } } -include( - ":PhoenixCrypto" -) +dependencyResolutionManagement { + repositories { + // using the local maven repository with Kotlin Multi Platform can lead to build errors that are hard to diagnose. + // uncomment this only if you need to experiment with snapshot dependencies that have not yet be published. + // mavenLocal() + maven("https://oss.sonatype.org/content/repositories/snapshots") + mavenCentral() + google() + } +} + +rootProject.name = "lightning-kmp" + +include(":lightning-kmp-ios-crypto") +include(":lightning-kmp-core") + +project(":lightning-kmp-ios-crypto").projectDir = file("./PhoenixCrypto") +project(":lightning-kmp-core").projectDir = file("./core") \ No newline at end of file diff --git a/docker-local-test/TESTING.md b/testing/TESTING.md similarity index 100% rename from docker-local-test/TESTING.md rename to testing/TESTING.md diff --git a/docker-local-test/bitcoind-cli.sh b/testing/bitcoind-cli.sh similarity index 100% rename from docker-local-test/bitcoind-cli.sh rename to testing/bitcoind-cli.sh diff --git a/docker-local-test/cmd.inc.sh b/testing/cmd.inc.sh similarity index 100% rename from docker-local-test/cmd.inc.sh rename to testing/cmd.inc.sh diff --git a/docker-local-test/eclair-cli.sh b/testing/eclair-cli.sh similarity index 100% rename from docker-local-test/eclair-cli.sh rename to testing/eclair-cli.sh diff --git a/docker-local-test/eclair/gui.Dockerfile b/testing/eclair/gui.Dockerfile similarity index 100% rename from docker-local-test/eclair/gui.Dockerfile rename to testing/eclair/gui.Dockerfile diff --git a/docker-local-test/eclair/node.Dockerfile b/testing/eclair/node.Dockerfile similarity index 100% rename from docker-local-test/eclair/node.Dockerfile rename to testing/eclair/node.Dockerfile diff --git a/docker-local-test/eclair/nodeA/eclair.conf b/testing/eclair/nodeA/eclair.conf similarity index 100% rename from docker-local-test/eclair/nodeA/eclair.conf rename to testing/eclair/nodeA/eclair.conf diff --git a/docker-local-test/eclair/nodeA/seed.dat b/testing/eclair/nodeA/seed.dat similarity index 100% rename from docker-local-test/eclair/nodeA/seed.dat rename to testing/eclair/nodeA/seed.dat diff --git a/docker-local-test/eclair/nodeB/eclair.conf b/testing/eclair/nodeB/eclair.conf similarity index 100% rename from docker-local-test/eclair/nodeB/eclair.conf rename to testing/eclair/nodeB/eclair.conf diff --git a/docker-local-test/eclair/nodeB/seed.dat b/testing/eclair/nodeB/seed.dat similarity index 100% rename from docker-local-test/eclair/nodeB/seed.dat rename to testing/eclair/nodeB/seed.dat diff --git a/docker-local-test/env.sh b/testing/env.sh similarity index 100% rename from docker-local-test/env.sh rename to testing/env.sh diff --git a/docker-local-test/gen-blocks.sh b/testing/gen-blocks.sh similarity index 100% rename from docker-local-test/gen-blocks.sh rename to testing/gen-blocks.sh diff --git a/docker-local-test/open-channel.sh b/testing/open-channel.sh similarity index 100% rename from docker-local-test/open-channel.sh rename to testing/open-channel.sh diff --git a/docker-local-test/readme.macos.txt b/testing/readme.macos.txt similarity index 100% rename from docker-local-test/readme.macos.txt rename to testing/readme.macos.txt