Bitcoin Forum
June 07, 2024, 02:37:23 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is a midstate?  (Read 626 times)
Geremia (OP)
Sr. Member
****
Offline Offline

Activity: 505
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.
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!