LndHub
LndHub copied to clipboard
Lndhub Fee
Quick question: Does the default LndHub take a fee? Ref these lines:
https://github.com/BlueWallet/LndHub/blob/92f1370dbade2de12719f3bc043f8b7a433de38e/controllers/api.js#L166-L175
Does this mean that if users on my lndhub spend 1000 sat, my hub earns 10 sat?
If so, i think this should be configurable. I can add contribute with this if needed.
You are correct. I added this recently. Havent thought about proper place for this configuration, so dont rush
On Tue, Mar 12, 2019 at 16:37 Ole Henrik Skogstrøm [email protected] wrote:
Quick question: Does the default LndHub take a fee? Ref this line:
https://github.com/BlueWallet/LndHub/blob/92f1370dbade2de12719f3bc043f8b7a433de38e/controllers/api.js#L173
Does this mean that in users on my lndhub spend 1000 sat, my hub earns 10 sat?
If so, i think this should be configurable. I can add contribute with this if needed.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/BlueWallet/LndHub/issues/27, or mute the thread https://github.com/notifications/unsubscribe-auth/AB0x-df2AL28-YZQ07pxNzc1PWlyUmOpks5vV9fbgaJpZM4brWwe .
@Overtorment is it safe to set fee to 0
?
@lessless I think so
could perhaps be resolved with set fees in config at startup #238