Previously we had db and application logic mixed on the db level. We now move the config option KeepFailedPaymentAttempts to the ChannelRouter level and move it out of the db level.
We rename the modifier to use the same naming as used in the graphDB to align the codebase.
Instead of the ChannelState struct we now use the kv backend interface for the payment kv database.