diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-04-26 16:15:43 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-04-26 16:18:01 -0400 |
commit | 52f9c68869fa8956db55980f0b36ba817f825ffb (patch) | |
tree | b288b73ee5766a0048b1e2d593a0d0ec130044c0 /Crypto.hs | |
parent | 62f7653e39e95d3e9cd308810e487e3cdee84d52 (diff) | |
download | debug-me-52f9c68869fa8956db55980f0b36ba817f825ffb.tar.gz |
include elapsedTime in Activity
Time is relative, so the debug-me proof chain doesn't prove when things
happened, but it's still useful to have some idea of how long things
took to happen. This makes --replay work with logs gotten by --download.
Log still includes loggedTimestamp. This is a bit redundant, and is
unused now, but it's useful for log files to record when messages were
received.
This commit was sponsored by Riku Voipio.
Diffstat (limited to 'Crypto.hs')
-rw-r--r-- | Crypto.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,8 +25,8 @@ class Signed t where instance Hashable a => Signed (Activity a) where getSignature = activitySignature - hashExceptSignature (Activity a mp _s) = hash $ - Tagged "Activity" [hash a, hash mp] + hashExceptSignature (Activity a mp mt _s) = hash $ + Tagged "Activity" [hash a, hash mp, hash mt] instance Signed Control where getSignature = controlSignature |