[input-output-hk/cardano-sl] [CO-347] Wallet’s UTXO histogram view (#3402)

paweljakubas commented on this pull request.

> +import Pos.Infra.Util.LogSafe (BuildableSafeGen (..),
+ deriveSafeBuildable)
+
+
+— Utxo statistics for the wallet.
+— Histogram is composed of bars that represent the bucket. The bucket is tagged by upper bound of a given bucket.
+— The bar value corresponds to the number of stakes
+— In the future the bar value could be different things:
+— (a) sum of stakes in a bucket
+— (b) avg or std of stake in a bucket
+— (c) topN buckets
+— to name a few
+data HistogramBar = HistogramBarCount
+ { bucketName :: !Text
+ , bucketUpperBound :: !Word64
+ } deriving (Show, Eq, Ord, Generic)

you are right, I made a change