Skip to content

Commit cdd989c

Browse files
authored
Merge pull request #694 from synonymdev/chore/esplora-electrum-server
chore: update Electrum servers to Electrs
2 parents 0f97a88 + db1318a commit cdd989c

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ android {
4747
applicationId = "to.bitkit"
4848
minSdk = 28
4949
targetSdk = 36
50-
versionCode = 169
51-
versionName = "2.0.0-rc.3"
50+
versionCode = 170
51+
versionName = "2.0.0-rc.4"
5252
testInstrumentationRunner = "to.bitkit.test.HiltTestRunner"
5353
vectorDrawables {
5454
useSupportLibrary = true

app/src/main/java/to/bitkit/env/Env.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ internal object Env {
5353
get() {
5454
val isE2eLocal = isE2eTest && e2eBackend == "local"
5555
return when (network) {
56-
Network.BITCOIN -> ElectrumServers.MAINNET.FULCRUM
56+
Network.BITCOIN -> ElectrumServers.MAINNET.ESPLORA
5757
Network.REGTEST -> if (isE2eLocal) ElectrumServers.REGTEST.LOCAL else ElectrumServers.REGTEST.STAG
5858
Network.TESTNET -> ElectrumServers.TESTNET
5959
else -> TODO("${network.name} network not implemented")
@@ -211,11 +211,11 @@ object Peers {
211211

212212
private object ElectrumServers {
213213
object MAINNET {
214-
const val FULCRUM = "ssl://fulcrum.bitkit.blocktank.to:8900"
214+
const val ESPLORA = "ssl://bitkit.to:9999"
215215
}
216216

217217
object REGTEST {
218-
const val STAG = "tcp://34.65.252.32:18483"
218+
const val STAG = "ssl://electrs.bitkit.stag0.blocktank.to:9999"
219219
const val LOCAL = "tcp://127.0.0.1:60001"
220220
}
221221

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
5858
ktor-client-logging = { module = "io.ktor:ktor-client-logging", version.ref = "ktor" }
5959
ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" }
6060
ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" }
61-
ldk-node-android = { module = "com.github.synonymdev:ldk-node", version = "v0.7.0-rc.6" } # fork | local: remove `v`
61+
ldk-node-android = { module = "com.github.synonymdev:ldk-node", version = "v0.7.0-rc.8" } # fork | local: remove `v`
6262
lifecycle-process = { group = "androidx.lifecycle", name = "lifecycle-process", version.ref = "lifecycle" }
6363
lifecycle-runtime-compose = { module = "androidx.lifecycle:lifecycle-runtime-compose", version.ref = "lifecycle" }
6464
lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle" }

0 commit comments

Comments
 (0)