Oddbean new post about | logout
 you had me with the table tests in bech32 😍 
 yes, i did all that because it's needed for nostr. the rest of btcd code can be avoided if nostr is your main target.

Lightning is not so easy to avoid the insanity. https://pkg.go.dev/github.com/lightningnetwork/lnd/lnwire

check the version and date on that.

they haven't fixed this, yes i filed an issue, about a year ago, and if you naively try to import lnwire, for, things ilke, you know, millisats units, hoooeeee. lol! have fun staying extremely frustrated at go mod tidy.

LND/BTCD devs need to be shamed for their terrible custodianship of the main Go codebase. 
 the fact that it’s not a standalone go module and forces you to drag in the dependency hell that is lnd is insane. 
 i hope to some day in the future fork and fix these projects. for now just going to chip away at it whenever it is needed.