diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-08-06 21:39:38 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-08-06 21:58:20 -0400 |
commit | 94d351004688992f8aeac7d03da55d179ef50e8c (patch) | |
tree | d6db9a60d4b7b61e490926c8cc130d19aa6a3fca /Types.hs | |
parent | e85b077676dffa9038a7f34e57523e77c3945261 (diff) | |
download | keysafe-94d351004688992f8aeac7d03da55d179ef50e8c.tar.gz |
more cost calculation and refactored Tunables
Diffstat (limited to 'Types.hs')
-rw-r--r-- | Types.hs | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -63,16 +63,5 @@ instance Encodable ObjectIdent where n <- readMaybe (B8.unpack ns) return $ ObjectIdent (ShardNum n) keyident --- | An estimated cost to perform an operation. -data Cost = CPUCost Seconds | GPUCost Seconds - deriving (Show) - -newtype Seconds = Seconds NominalDiffTime - deriving (Show) - data Benchmark t = Benchmark { expectedBenchmark :: t, actualBenchmark :: t } deriving (Show) - --- | In testing mode, the cryptographic difficulty is dialed back. -data RunMode = SecureMode | TestingMode - deriving (Show) |