-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use testnet4 for electrum tests instead of testnet3 #733
Conversation
@@ -5,12 +5,12 @@ import fr.acinq.lightning.tests.utils.testLoggerFactory | |||
import fr.acinq.lightning.utils.ServerAddress | |||
import kotlinx.coroutines.CoroutineScope | |||
|
|||
val ElectrumTestnetServerAddress = ServerAddress("testnet1.electrum.acinq.co", 51002, TcpSocket.TLS.UNSAFE_CERTIFICATES) | |||
val ElectrumTestnet4ServerAddress = ServerAddress("mempool.space", 40002, TcpSocket.TLS.TRUSTED_CERTIFICATES()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand, mempool.space
also acts as an electrum server?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes (testnet4 on port 40002, mainnet on 50002).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If mempool.space is able to run a testnet4 electrum server, that means other people (including us) should be able to do the same, right? Do we know if they used a non-released version of electrumx or something else?
TLS certificare verification fails on iOS simulators with error "TLS: -9808: bad certificate format".
They use of fork of Blokckstream's electrs (which is a fork of the original electrs project). This is probably what we would use if we were to deploy a testnet4 server. |
Testnet3 is bloated, slow and unreliable, making it hard to use for CI tests.