cabal-club / cabal-cli

Terminal client for Cabal, the p2p chat platform.

Home Page:https://cabal.chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement replay function to simulate chat

cblgh opened this issue · comments

i was thinking about how to replicate chat bugs and thought that since we have every event since the start of a particular cabal we could replay them to simulate a lively chat, and thereby experience bugs in a more reliable fashion.

they way it would work would be to pass a --debug flag when starting the client, to prevent loading all the logs on start and instead make use of hyperdb.createHistoryStream. maybe it can take an offset using time since 2018-08-01 or amount of logs you want to display.