@@ -34,8 +34,8 @@ object TestConstants {
34
34
35
35
object Alice {
36
36
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()
39
39
40
40
val keyManager = LocalKeyManager (seed, Block .RegtestGenesisBlock .hash)
41
41
val walletParams = WalletParams (NodeUri (randomKey().publicKey(), " alice.com" , 9735 ), trampolineFees, InvoiceDefaultRoutingFees (1_000 .msat, 100 , CltvExpiryDelta (144 )))
@@ -54,12 +54,10 @@ object TestConstants {
54
54
Feature .StaticRemoteKey to FeatureSupport .Mandatory ,
55
55
Feature .AnchorOutputs to FeatureSupport .Mandatory ,
56
56
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 ,
57
+ Feature .WakeUpNotificationProvider to FeatureSupport .Optional ,
58
+ Feature .PayToOpenProvider to FeatureSupport .Optional ,
59
+ Feature .TrustedSwapInProvider to FeatureSupport .Optional ,
60
+ Feature .ChannelBackupProvider to FeatureSupport .Optional ,
63
61
),
64
62
dustLimit = 1_100 .sat,
65
63
maxRemoteDustLimit = 1_500 .sat,
@@ -100,7 +98,7 @@ object TestConstants {
100
98
enableTrampolinePayment = true
101
99
)
102
100
103
- val closingPubKeyInfo = keyManager.closingPubkeyScript(PublicKey .Generator )
101
+ private val closingPubKeyInfo = keyManager.closingPubkeyScript(PublicKey .Generator )
104
102
val channelParams: LocalParams = PeerChannels .makeChannelParams(
105
103
nodeParams,
106
104
defaultFinalScriptPubkey = ByteVector (closingPubKeyInfo.second),
@@ -112,7 +110,7 @@ object TestConstants {
112
110
object Bob {
113
111
private val entropy = Hex .decode(" 0202020202020202020202020202020202020202020202020202020202020202" )
114
112
val mnemonics = MnemonicCode .toMnemonics(entropy)
115
- val seed = MnemonicCode .toSeed(mnemonics, " " ).toByteVector32()
113
+ private val seed = MnemonicCode .toSeed(mnemonics, " " ).toByteVector32()
116
114
val keyManager = LocalKeyManager (seed, Block .RegtestGenesisBlock .hash)
117
115
val walletParams = WalletParams (NodeUri (randomKey().publicKey(), " bob.com" , 9735 ), trampolineFees, InvoiceDefaultRoutingFees (1_000 .msat, 100 , CltvExpiryDelta (144 )))
118
116
val nodeParams = NodeParams (
@@ -130,8 +128,6 @@ object TestConstants {
130
128
Feature .StaticRemoteKey to FeatureSupport .Mandatory ,
131
129
Feature .AnchorOutputs to FeatureSupport .Mandatory ,
132
130
Feature .TrampolinePayment to FeatureSupport .Optional ,
133
- Feature .ZeroReserveChannels to FeatureSupport .Optional ,
134
- Feature .ZeroConfChannels to FeatureSupport .Optional ,
135
131
Feature .WakeUpNotificationClient to FeatureSupport .Optional ,
136
132
Feature .PayToOpenClient to FeatureSupport .Optional ,
137
133
Feature .TrustedSwapInClient to FeatureSupport .Optional ,
@@ -176,7 +172,7 @@ object TestConstants {
176
172
enableTrampolinePayment = true
177
173
)
178
174
179
- val closingPubKeyInfo = keyManager.closingPubkeyScript(PublicKey .Generator )
175
+ private val closingPubKeyInfo = keyManager.closingPubkeyScript(PublicKey .Generator )
180
176
val channelParams: LocalParams = PeerChannels .makeChannelParams(
181
177
nodeParams,
182
178
defaultFinalScriptPubkey = ByteVector (closingPubKeyInfo.second),
0 commit comments