LND's Channel.db approach is very fragile.

I wonder why don't they split them into separate files one for each channel.

Reply to this note

Please Login to reply.

Discussion

you will be scratching your head every 5 minutes when you read more of the code

it amazes me to think that some of the guys working on it have been working full time as Go programmers for over 5 years and yet...

not sure, but at least #LND supports a proper database backend, too? #CLN does, but with no official migration options, just some scripts by fiatjef which might or might not be maintained...