2WP: Separate mainchain and sidechain data structures into different classes, with the bitcoin data structures living in the src/primitives/bitcoin subdirectory.

This commit is contained in:
Mark Friedenbach 2017-02-28 16:36:56 -08:00 committed by Gregory Sanders
parent 2a0eda566a
commit f39435a877
17 changed files with 1297 additions and 143 deletions

View file

@ -11,12 +11,6 @@
#include "crypto/common.h"
#include "core_io.h"
std::string CBitcoinProof::ToString() const
{
return strprintf("CBitcoinProof(challenge=%08x, solution=%u)",
challenge, solution);
}
std::string CProof::ToString() const
{
return strprintf("CProof(challenge=%s, solution=%s)",