diff options
| author | Christian von Roques <[email protected]> | 2012-09-15 19:09:17 +0200 |
|---|---|---|
| committer | Christian von Roques <[email protected]> | 2012-09-17 15:37:19 +0200 |
| commit | 48a10a37804a01b2533aea920567867deedc6b9e (patch) | |
| tree | 255f235e3522ad5da563bb60c951baea13e3b485 /src/script.cpp | |
| parent | tests for SetCompact and GetCompact of CBigNum (diff) | |
| download | discoin-48a10a37804a01b2533aea920567867deedc6b9e.tar.xz discoin-48a10a37804a01b2533aea920567867deedc6b9e.zip | |
reimplement CBigNum's compact encoding of difficulty targets
Use shifts instead of going through the MPI representation of BIGNUMs.
Be careful to keep the meaning of 0x00800000 as sign bit.
Diffstat (limited to 'src/script.cpp')
0 files changed, 0 insertions, 0 deletions