Bitcoin Forum
May 24, 2024, 12:27:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Testnet difficulty and max target  (Read 2301 times)
Dusty (OP)
Hero Member
*****
Offline Offline

Activity: 731
Merit: 503


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:  

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