@@ -34,8 +34,8 @@ object TestConstants {
3434
3535 object Alice {
3636 private val entropy = Hex .decode(" 0101010101010101010101010101010101010101010101010101010101010101" )
37- val mnemonics = MnemonicCode .toMnemonics(entropy)
38- val seed = MnemonicCode .toSeed(mnemonics, " " ).toByteVector32()
37+ private val mnemonics = MnemonicCode .toMnemonics(entropy)
38+ private val seed = MnemonicCode .toSeed(mnemonics, " " ).toByteVector32()
3939
4040 val keyManager = LocalKeyManager (seed, Block .RegtestGenesisBlock .hash)
4141 val walletParams = WalletParams (NodeUri (randomKey().publicKey(), " alice.com" , 9735 ), trampolineFees, InvoiceDefaultRoutingFees (1_000 .msat, 100 , CltvExpiryDelta (144 )))
@@ -53,13 +53,12 @@ object TestConstants {
5353 Feature .Wumbo to FeatureSupport .Optional ,
5454 Feature .StaticRemoteKey to FeatureSupport .Mandatory ,
5555 Feature .AnchorOutputs to FeatureSupport .Mandatory ,
56+ Feature .ChannelType to FeatureSupport .Mandatory ,
5657 Feature .TrampolinePayment to FeatureSupport .Optional ,
57- Feature .ZeroReserveChannels to FeatureSupport .Optional ,
58- Feature .ZeroConfChannels to FeatureSupport .Optional ,
59- Feature .WakeUpNotificationClient to FeatureSupport .Optional ,
60- Feature .PayToOpenClient to FeatureSupport .Optional ,
61- Feature .TrustedSwapInClient to FeatureSupport .Optional ,
62- Feature .ChannelBackupClient to FeatureSupport .Optional ,
58+ Feature .WakeUpNotificationProvider to FeatureSupport .Optional ,
59+ Feature .PayToOpenProvider to FeatureSupport .Optional ,
60+ Feature .TrustedSwapInProvider to FeatureSupport .Optional ,
61+ Feature .ChannelBackupProvider to FeatureSupport .Optional ,
6362 ),
6463 dustLimit = 1_100 .sat,
6564 maxRemoteDustLimit = 1_500 .sat,
@@ -100,7 +99,7 @@ object TestConstants {
10099 enableTrampolinePayment = true
101100 )
102101
103- val closingPubKeyInfo = keyManager.closingPubkeyScript(PublicKey .Generator )
102+ private val closingPubKeyInfo = keyManager.closingPubkeyScript(PublicKey .Generator )
104103 val channelParams: LocalParams = PeerChannels .makeChannelParams(
105104 nodeParams,
106105 defaultFinalScriptPubkey = ByteVector (closingPubKeyInfo.second),
@@ -112,7 +111,7 @@ object TestConstants {
112111 object Bob {
113112 private val entropy = Hex .decode(" 0202020202020202020202020202020202020202020202020202020202020202" )
114113 val mnemonics = MnemonicCode .toMnemonics(entropy)
115- val seed = MnemonicCode .toSeed(mnemonics, " " ).toByteVector32()
114+ private val seed = MnemonicCode .toSeed(mnemonics, " " ).toByteVector32()
116115 val keyManager = LocalKeyManager (seed, Block .RegtestGenesisBlock .hash)
117116 val walletParams = WalletParams (NodeUri (randomKey().publicKey(), " bob.com" , 9735 ), trampolineFees, InvoiceDefaultRoutingFees (1_000 .msat, 100 , CltvExpiryDelta (144 )))
118117 val nodeParams = NodeParams (
@@ -129,9 +128,8 @@ object TestConstants {
129128 Feature .Wumbo to FeatureSupport .Optional ,
130129 Feature .StaticRemoteKey to FeatureSupport .Mandatory ,
131130 Feature .AnchorOutputs to FeatureSupport .Mandatory ,
131+ Feature .ChannelType to FeatureSupport .Mandatory ,
132132 Feature .TrampolinePayment to FeatureSupport .Optional ,
133- Feature .ZeroReserveChannels to FeatureSupport .Optional ,
134- Feature .ZeroConfChannels to FeatureSupport .Optional ,
135133 Feature .WakeUpNotificationClient to FeatureSupport .Optional ,
136134 Feature .PayToOpenClient to FeatureSupport .Optional ,
137135 Feature .TrustedSwapInClient to FeatureSupport .Optional ,
@@ -176,7 +174,7 @@ object TestConstants {
176174 enableTrampolinePayment = true
177175 )
178176
179- val closingPubKeyInfo = keyManager.closingPubkeyScript(PublicKey .Generator )
177+ private val closingPubKeyInfo = keyManager.closingPubkeyScript(PublicKey .Generator )
180178 val channelParams: LocalParams = PeerChannels .makeChannelParams(
181179 nodeParams,
182180 defaultFinalScriptPubkey = ByteVector (closingPubKeyInfo.second),
0 commit comments