Commit Graph

10 Commits (master)

Author SHA1 Message Date
Oliver Gugger 08026dab93
multi: update linter, fix issues 6 months ago
sputn1ck a1271fee40
multi: fix linter issues 2 years ago
Harsha Goli 7a16e3b25d
multi: bump btcec/v2 and btcutil to new versions 2 years ago
carla 5280721636
multi: add ability to autoloop in 2 years ago
carla 25b8d20f75
liquidity: add type to rules
In preparation for adding loop in swaps, we relate liquidity rules
to a specific type of swap that we want to dispatch. This allows us
to use a single rule format for multiple swap types.
2 years ago
carla 00c2d4e5f0
liquidity: generalize threshold rule variable names
The current wording in this function is very specific to loop out.
In this commit, we refactor to use `target` and `reserve` rather
than inbound and outbound so that it can be used more generically.
2 years ago
carla 9c35946cab
liquidity: simplify suggest swap to return swap amount 3 years ago
carla 8db6b32d74
liquidity: add swap suggestions for threshold rule for loop out 4 years ago
carla cd8a7704af
liquidity: add calculations for threshold rule 4 years ago
carla ce10cc7959
liquidity: add manager with updatable parameters 4 years ago