I will follow @Roasbeef advice reuse the code in the Rebroadcaster Neutrino package. For this we need to refactor the code of the error checking so that we do not depend on the wallet.
This lead to the introduction of 2 new error types to separate the logging form the error mapping.
This relates to https://github.com/lightninglabs/neutrino/pull/278 and https://github.com/lightningnetwork/lnd/pull/7746
I will follow @Roasbeef advice reuse the code in the Rebroadcaster Neutrino package. For this we need to refactor the code of the error checking so that we do not depend on the wallet. This lead to the introduction of 2 new error types to separate the logging form the error mapping.