Bitcoin Forum
April 20, 2024, 03:47:01 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is a midstate?  (Read 625 times)
Geremia (OP)
Sr. Member
****
Offline Offline

Activity: 502
Merit: 251


View Profile WWW
March 23, 2015, 07:16:57 AM
 #1

This defines "midstate" as the "precomputed hash state after hashing the first half of the data."

I've heard "midstate" used in the context of speeding up hashing. How does using a midstate speed up hashing?

BTC tip jar | my BTC wiki, BTC StackExchange | Tox ID: 65C3E8810738AD9D175234808FCB317A1103632903436203D45411AE97C03F54C34861AB6663
Join Kraken. | The best, free book on Bitcoin: Mastering Bitcoin
Nos cum prole pia benedicat Virgo Maria.
1713584821
Hero Member
*
Offline Offline

Posts: 1713584821

View Profile Personal Message (Offline)

Ignore
1713584821
Reply with quote  #2

1713584821
Report to moderator
1713584821
Hero Member
*
Offline Offline

Posts: 1713584821

View Profile Personal Message (Offline)

Ignore
1713584821
Reply with quote  #2

1713584821
Report to moderator
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713584821
Hero Member
*
Offline Offline

Posts: 1713584821

View Profile Personal Message (Offline)

Ignore
1713584821
Reply with quote  #2

1713584821
Report to moderator
1713584821
Hero Member
*
Offline Offline

Posts: 1713584821

View Profile Personal Message (Offline)

Ignore
1713584821
Reply with quote  #2

1713584821
Report to moderator
emrebey
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
March 23, 2015, 07:53:36 AM
Last edit: March 23, 2015, 08:04:42 AM by emrebey
 #2

it's initial hash of the first half of the data - later using as an input to the double-hash of the second part of the data. I don't think "using" it speeding up hashing? where did you heart of it?

you already use it since it's a part of the getwork protocol afaik.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!