Pull request ElementsProject/lightning#6379

More db cleanups (prep for wait command)

Range Diff Matrix