Bitcoin Forum
May 08, 2024, 08:10:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Generating your own orphan blocks for the testnet?  (Read 729 times)
Uptrenda (OP)
Member
**
Offline Offline

Activity: 114
Merit: 16


View Profile
August 08, 2015, 05:24:48 AM
 #1

I have some transaction critical code that needs to be able to adapt to every possible circumstance and I was wondering what the simplest way to generate your own orphan blocks would be? Is there a way to configure bitcoind to do this or ... what would the custom setup look like (using RPC commands if possible + simple scripts)

I'll be coding this if it needs custom parts but can anyone suggest what the design would look like?
1715199050
Hero Member
*
Offline Offline

Posts: 1715199050

View Profile Personal Message (Offline)

Ignore
1715199050
Reply with quote  #2

1715199050
Report to moderator
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715199050
Hero Member
*
Offline Offline

Posts: 1715199050

View Profile Personal Message (Offline)

Ignore
1715199050
Reply with quote  #2

1715199050
Report to moderator
1715199050
Hero Member
*
Offline Offline

Posts: 1715199050

View Profile Personal Message (Offline)

Ignore
1715199050
Reply with quote  #2

1715199050
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
August 09, 2015, 03:03:16 AM
 #2

I suppose you could mine a block, wait for a block with the next block height, and broadcast the one you mined. That would guarantee that the block is orphaned.

fbueller
Sr. Member
****
Offline Offline

Activity: 412
Merit: 275


View Profile
August 10, 2015, 03:50:16 AM
 #3

Couldn't you emulate this with regtest mode?

Bitwasp Developer.
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!