diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-06-08 10:23:25 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-06-08 10:28:51 +0200 |
| commit | e012f3cea0ca4096dd4dd59a356a973c43651912 (patch) | |
| tree | 2d6b478372ca006337efe387ad9f6818caec56d3 /src/clientversion.cpp | |
| parent | Merge #8164: [Bitcoin-Tx] fix missing test fixtures, fix 32bit atoi issue (diff) | |
| download | discoin-e012f3cea0ca4096dd4dd59a356a973c43651912.tar.xz discoin-e012f3cea0ca4096dd4dd59a356a973c43651912.zip | |
util: Add ParseUInt32 and ParseUInt64
Add error and range-checking parsers for unsigned 32 and 64 bit numbers.
The 32-bit variant is required for parsing sequence numbers from the
command line in `bitcoin-tx` (see #8164 for discussion). I've thrown in
the 64-bit variant as a bonus, as I'm sure it will be needed at some
point.
Also adds tests, and updates `developer-notes.md`.
Diffstat (limited to 'src/clientversion.cpp')
0 files changed, 0 insertions, 0 deletions