Bitcoin Forum
May 07, 2024, 11:56:09 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Simulating the Bitcoin Blockchain on a Cluster  (Read 135 times)
nullifies (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
March 01, 2018, 05:23:50 AM
Last edit: March 01, 2018, 10:50:13 PM by nullifies
 #1

I am trying to simulate the Bitcoin Blockchain using regtest for research reasons but am having lots of trouble. I have a beowulf cluster that I am trying to run the simulation on. For some specifics I am trying to rapidly send transactions and generate blocks with specified block times. I am using MPI in C++ with GitHub.com/minium/bitcoin-cpp-api to attempt this. Can anyone suggest a better or more simple way of approaching this? How would you go about this?
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715126169
Hero Member
*
Offline Offline

Posts: 1715126169

View Profile Personal Message (Offline)

Ignore
1715126169
Reply with quote  #2

1715126169
Report to moderator
1715126169
Hero Member
*
Offline Offline

Posts: 1715126169

View Profile Personal Message (Offline)

Ignore
1715126169
Reply with quote  #2

1715126169
Report to moderator
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
March 01, 2018, 02:16:55 PM
Last edit: March 01, 2018, 02:34:26 PM by jackg
 #2

I'm assuming you have used clustering before (and I assume your reference to clustering is the same I know it as - connecting computers to make a larger-more powerful one essentially).

If you don't have experience with them, then I'd suggest you try something a bit simpler to run on them than a bitcoin daemon as they're quite an ambitious place to start.

The github link also doesn't seem to be working (though it could just be me?)

Edit: what operating system are they running on? I mean the base OS that clusters them like hyperv (from what I remember).
nullifies (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
March 01, 2018, 10:58:50 PM
 #3

I have experience with MPI(clustering) outside of this. It seems like integrating the bitcoin aspect into the program is what is giving me hell. I have written a few different versions to complete the task, all of which appeared to work until I began looking deeper in the output data and realized it wasn't at all correct. I then looked into why this could be and realized how janky my interaction with bitcoind was. I have 6 physical nodes running in small beowulf cluster. They are running Ubuntu Server 1604, and they are using MPICH.


Also, fixed the link, sorry about that.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
March 02, 2018, 03:47:52 PM
 #4



I'm not sure I can help very much with this as my skills lie more with software than hardware clustering.

What gives you the error specifically do you know?
What are you trying to do with this also (as the github just appears to have a readme - unless that's the intention).
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!