[go: up one dir, main page]

FA bridge watchtower: monitor all deposits in DB

What

This MR makes the FA bridge watchtower monitor (and store in its database) all deposit logs when run with the --monitor-all-deposits (or with "monitor_all_deposits" : true in the config). It still only claim deposits that are not filtered out by the whitelist.

It also adds a new query parameter igore_whitelist=true to the RPCs /unclaimed and /deposits to list all deposits in the database irrespective of the whitelist.

Why

It can be useful to store all deposit logs and execute them when the whitelist is updated without having to use the reset command.

How

Using a new table whitelist which is set on startup and used to filter the deposits in join queries.

Manually testing the MR

Merge request reports

Loading