HomePhabricator

reimplement CBigNum's compact encoding of difficulty targets
48a10a37804aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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.

Details

Provenance
Christian von Roques <roques@mti.ag>Authored on Sep 15 2012, 17:09
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING6f0cecfc4726: tests for SetCompact and GetCompact of CBigNum
Branches
Unknown
Tags
Unknown

Event Timeline

Christian von Roques <roques@mti.ag> committed rSTAGING48a10a37804a: reimplement CBigNum's compact encoding of difficulty targets (authored by Christian von Roques <roques@mti.ag>).Sep 17 2012, 13:37