Bitcoin Forum
May 22, 2024, 10:19:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Orphan block hash  (Read 783 times)
Painted_Red (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
June 12, 2014, 07:28:24 PM
 #1

For my testing purpose I need some orphan block.
https://blockchain.info/ru/orphaned-blocks give unknown exception.
There are no hashes in debug.txt.
I wonder if orphan blocks are being saved?
Dare
Hero Member
*****
Offline Offline

Activity: 508
Merit: 500


Techwolf on #bitcoin and Reddit


View Profile WWW
June 13, 2014, 02:49:25 AM
 #2

Orphan blocks are discarded since they're not part of the blockchain, and blocks don't get broadcasted across the network once they're orphaned either. Unless you can find a web service or pool that somehow archives them, I recommend mining on an old block with low difficulty so that you'll quickly solve an invalid block that you can use.

Out of curiosity, what are you testing that needs orphaned blocks?

BTC: 1M8oUcBnkRDEhWWgV8ZXLTB6p1mgnejVbX
How Forum Activity Works
Bitcointalk Forum Rules
|
|
|
Firstbits (lucky vanitygen): 1WoLfRUGDx1
How Forum Trust Works
Bitcoin Source Code
Painted_Red (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
June 13, 2014, 05:42:48 AM
 #3

I'm writing my app using bitcoinj.
I need to test the scnario with orphan blocks.
dserrano5
Legendary
*
Offline Offline

Activity: 1974
Merit: 1029



View Profile
June 13, 2014, 06:42:19 AM
 #4

If you're running an instance of Bitcoin Core, you probably have some orphans within your block chain files. It's just a matter of extracting them Wink.
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!