Skip to content

Conversation

@kingbre
Copy link

@kingbre kingbre commented Feb 19, 2021

No description provided.


# difficulty from 0 to 31 bits
for difficulty_bits in xrange(32):
difficulty = 2 ** difficulty_bits

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

40

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay

# difficulty from 0 to 31 bits
for difficulty_bits in xrange(32):
difficulty = 2 ** difficulty_bits
difficulty = 10 ** difficulty_bits

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

40

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

40

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

40

Copy link

@mohammadfarari1360 mohammadfarari1360 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay good

Copy link

@mohammadfarari1360 mohammadfarari1360 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay good

@mohammadfarari1360
Copy link

Okay

Copy link

@mohammadfarari1360 mohammadfarari1360 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay

@github-staff github-staff deleted a comment from factoryfactory May 30, 2024
@github-staff github-staff deleted a comment from factoryfactory May 30, 2024
Copy link

@JJGD289534 JJGD289534 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eran

@JJGD289534
Copy link

Okey

for difficulty_bits in xrange(32):
difficulty = 2 ** difficulty_bits
difficulty = 10 ** difficulty_bits
print("Difficulty: %ld (%d bits)" % (difficulty, difficulty_bits))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Star time


# difficulty from 0 to 31 bits
for difficulty_bits in xrange(32):
difficulty = 2 ** difficulty_bits

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Start time


# difficulty from 0 to 31 bits
for difficulty_bits in xrange(32):
difficulty = 2 ** difficulty_bits

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

40

@JJGD289534
Copy link

diff --git a/code/proof-of-work-example.py b/code/proof-of-work-example.py
index 0431fedfa..34ce873a0 100755
--- a/code/proof-of-work-example.py
+++ b/code/proof-of-work-example.py
@@ -37,7 +37,7 @@ def proof_of_work(header, difficulty_bits):

 # difficulty from 0 to 31 bits
 for difficulty_bits in xrange(32):
  •    difficulty = 2 ** difficulty_bits
    
  •    difficulty = 10 ** difficulty_bits
       print("Difficulty: %ld (%d bits)" % (difficulty, difficulty_bits))
       print("Starting search...")
    

Copy link

@Ari4ka Ari4ka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.