0

Using Electrum desktop wallet connected to the testnet, when trying to open a channel with the amount exceeding 0.16777215 BTC I get the following:

Could not open channel. Exception('Requested channel capacity is over protocol allowed maximum')

Is 0.16777215 BTC hardcoded in Electrum or is it determined by the testnet itself? I noticed that on the mainnet the maximum capacity is siginificatly higher as some exchanges allow LN withdrawals of 0.5 BTC.

2 Answers 2

1

Is 0.16777215 BTC hardcoded in Electrum or is it determined by the testnet itself?

There's no such hard coded value in Electrum. The limit is imposed by the Lightning protocol:

for channels with chain_hash identifying the Bitcoin blockchain, if the four most significant bytes of amount_msat are not 0: MUST fail the channel.

0

I noticed that on the mainnet the maximum capacity is siginificatly higher as some exchanges allow LN withdrawals of 0.5 BTC

I think they are using wumbo channels:

Is the Lightning Network sufficiently secure and well tested for wumbo channels?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.