pull down to refresh
50 sats \ 10 replies \ @optimism 1 Nov \ on: Stacker Saloon
Has anyone done testing with hardforks for LN? If not, we might need to build a test suite for this.
you first :)
reply
reply
It could be fun testing, but not sure how. Maybe creating a dummy testnet network and open a bunch of channels on it then fork it and see what happen...
It could be messy because by forking you must create a new type of address, but the contract signed previously for the LN channel is with an old address. So idk, will change also the address? I do not have such technical expertise, but will be interesting to see.
reply
reply
reply
reply
You could use mutinynet with that lnd. Just edit the config file to point to that testing network.
Then you will need to fork it. The thing is that you will need to simulate or run some various LN nodes on those both chsins.
reply
reply
To me there is none; never has been. BCH didn't have to be a hardfork, that was just egos overestimating their own importance. But in today's environment some people have a hardon for hardforking. Some even write BIPs, to confiscate coin or to confiscate jpegs. It will always be contentious.
No matter which camp forks first, it would be good to have a set of tested methods to maintain channels in the face of adversity, no matter who the fork originates from. We know that channels are vulnerable because you have an ongoing relation with a counterparty, not just a single event like paying someone straight.
We need to understand how to deal with it, before a hardfork happens, so that we can be properly prepared. We're already late in the game and I was hoping there was just some repo out there with someone gaming this out in a set of reproducable scripts. But if there is none, then it shall be made.
reply