Bitcoin Forum
May 03, 2024, 09:03:43 AM *
News: Latest Bitcoin Core release: 27.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.
1714727023
Hero Member
*
Offline Offline

Posts: 1714727023

View Profile Personal Message (Offline)

Ignore
1714727023
Reply with quote  #2

1714727023
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714727023
Hero Member
*
Offline Offline

Posts: 1714727023

View Profile Personal Message (Offline)

Ignore
1714727023
Reply with quote  #2

1714727023
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!