mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Signed blocks have work of 1 each
This commit is contained in:
parent
6856bebb93
commit
6ad13bbbe6
1 changed files with 5 additions and 0 deletions
|
|
@ -120,6 +120,11 @@ void CBlockIndex::BuildSkip()
|
|||
|
||||
arith_uint256 GetBlockProof(const CBlockIndex& block)
|
||||
{
|
||||
// All valid signed blocks have "weight" 1
|
||||
if (g_signed_blocks) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
arith_uint256 bnTarget;
|
||||
bool fNegative;
|
||||
bool fOverflow;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue