Bitcoin Forum
December 10, 2016, 11:10:06 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Testnet difficulty and max target  (Read 2096 times)
Dusty
Hero Member
*****
Offline Offline

Activity: 722


Libertas a calumnia


View Profile WWW
April 29, 2012, 08:54:02 PM
 #1

Hello,
I'm trying to import the testnet block chain on a library I'm working on but speaking of difficulty I'm not understanding well the differences relative to the production network.

This is what I've understood until now about prodnet:
- max allowed target is 0xFFFF0000000000000000000000000000000000000000000000000000
- corresponding max bits (compressed target) is 0x1D00FFFF

While in testnet:
- what is the max allowed target?
On the wiki it's stated that "Minimum difficulty of 1.0 on testnet is equal to difficulty of 0.5 on mainnet. This means that the mainnet-equivalent of any testnet difficulty is half the testnet difficulty." so I guess I've to shift left the prodnet max target, getting 0x1FFFE00000000000000000000000000000000000000000000000000000 but I can't find any confirmation for that.

- what is the corresponding compressed target?

Any help would be greatly appreciated!

Articoli bitcoin: Il portico dipinto
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!