alchemistcoin / sandwiched-backend

GNU General Public License v3.0
25 stars 7 forks source link

Add workaround to avoid (some) incorrect profits #61

Closed henridf closed 3 years ago

henridf commented 3 years ago

This is a heuristic workaround to discard (at least some) instances of sandwiches that have an enlarged profit due to wrapping multiple transactions. The 0.5 multiplier is quite arbitrary.

This can all go away when we move to doing full chain scans.

close #60