We use the chainsync client to sync, primarily, KeyperSetAdded events and new blocks. The client itself does not persist any state, instead it only calls arbitrary handlers for each event. The handlers are defined in each keyperimpl, but often (but not always) are perfect duplicates (e.g., the KeyperSetAdded syncers simply insert keyper sets into the database). It would be great to get rid of this duplication.
We use the chainsync client to sync, primarily,
KeyperSetAddedevents and new blocks. The client itself does not persist any state, instead it only calls arbitrary handlers for each event. The handlers are defined in each keyperimpl, but often (but not always) are perfect duplicates (e.g., theKeyperSetAddedsyncers simply insert keyper sets into the database). It would be great to get rid of this duplication.