1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-12-24 07:28:08 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
Arthur O'Dwyer
9504d804e0 Stop using numeric_limits for the constant "255", and fix a bug.
The bug is that `x % 255` is not quite the same thing as `x % 256`;
but `x & 255` is.

The stylistic issue is that `numeric_limits<uint8_t>::max()` is a
very verbose way of spelling `255`.
2018-03-25 20:17:35 -07:00
Andreas M. Antonopoulos
d930042fc6 code fixes to update to libbitcoin v3 2017-07-18 12:07:31 +08:00
Andreas M. Antonopoulos
b841235043 Addressing errate 151301 2015-02-23 18:09:27 -05:00
Andreas M. Antonopoulos
aa332a7008 code examples 2014-09-28 11:52:50 -04:00