bitcoin-hs-0.0.1: Partial implementation of the Bitcoin protocol (as of 2013)

Safe HaskellNone
LanguageHaskell98

Bitcoin.Misc.Unique

Description

Unique id creation (used for the API calls)

Synopsis

Documentation

convertToUnique :: a -> Word64 Source #

We convert a "sacrifice" to a unique id. This is a hack, but sacrificing a value prevents let-floating, also it somehow makes sense :)