Skip to content

Commit

Permalink
tmp: Add some notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Anviking committed Apr 16, 2021
1 parent 15eac68 commit cea8c22
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/core/src/Cardano/Wallet.hs
Expand Up @@ -2486,16 +2486,16 @@ instance ToText WalletLog where
instance HasPrivacyAnnotation WalletFollowLog
instance HasSeverityAnnotation WalletFollowLog where
getSeverityAnnotation = \case
MsgTryingRollback _ -> Info
MsgRolledBack _ -> Info
MsgDelegation _ _ -> Info
MsgCheckpoint _ -> Info
MsgWalletMetadata _ -> Info
MsgSyncProgress _ -> Info
MsgTryingRollback _ -> Info -- Useful in case this fails
MsgRolledBack _ -> Info -- Useful in case this fails
MsgDelegation _ _ -> Info -- Keep, this signifies a change, but rename to make that clear?
MsgCheckpoint _ -> Info -- Could be kept, maybe in a buffer and only print once something goes wrong?
MsgWalletMetadata _ -> Info -- TODO: Can't this simply be removed?
MsgSyncProgress _ -> Info -- TODO: Move to FollowLog
MsgDiscoveredTxs _ -> Info
MsgDiscoveredTxsContent _ -> Debug
MsgTip _ -> Info
MsgBlocks _ -> Debug
MsgTip _ -> Info -- Move to FollowLog
MsgBlocks _ -> Debug -- Move to FollowLog

instance HasPrivacyAnnotation WalletLog
instance HasSeverityAnnotation WalletLog where
Expand Down

0 comments on commit cea8c22

Please sign in to comment.