Skip to content

Config option for defensive fee check for client related sweep transactions #729

Open
@hieblmi

Description

@hieblmi

Provide loop with a configuration option that specifies a global defensive fee check for sweep transaction that the client initiates. This should be applicable to any bitcoin transaction the client might publish.

The config option should express the maximum ratio of fees to transaction output amount that is permisable.
A value of 0.05 would denote that the client will only publish transactions with <5% fees of the amount of the transaction itself.

Samples where this option could be used:

return nil, errors.New("fee is higher than 20% of " +

loop/loopin.go

Line 1081 in e08d9da

fee, err := s.sweeper.GetSweepFee(

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions