Bitcoin Forum
October 13, 2024, 04:43:50 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to reduce difficulty for a testnet-in-a-box?  (Read 1030 times)
xyu (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
August 07, 2012, 08:34:57 PM
Last edit: August 07, 2012, 09:09:14 PM by xyu
 #1

I'm curious is there any way to reduce difficulty for the self contained testnet in a box? I want it to become feasible to develop a bitcoin related app just on a macbook.
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1036



View Profile WWW
August 09, 2012, 02:46:48 AM
 #2

I'm not familiar with the actual blockchain length included "in-a-box", but I would assume if done right it just has a genesis block with difficulty 1. The mining difficulty is halved on testnet so the actual mining probability is twice main net. You could find the code that makes testnet mining 2x easier and change that to 10x easier on all clients.
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!