lian/bitcoin-ruby — pull request #134 by rnicoll (2014-10-10 23:36:23+00:00)
Title: Add support for negative values in compact bytes (i.e. target bits)

This adds handling of negative values in compact bytes.

The encoding method does not currently handle signed values, and tackling that is a significantly more complex task, so is left for a later patch.