mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
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:
parent
2a0eda566a
commit
f39435a877
17 changed files with 1297 additions and 143 deletions
|
|
@ -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)",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue