Bitcoin Forum
November 19, 2018, 08:27:45 AM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Simulating the Bitcoin Blockchain on a Cluster  (Read 51 times)
nullifies
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
March 01, 2018, 05:23:50 AM
 #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?
1542616065
Hero Member
*
Offline Offline

Posts: 1542616065

View Profile Personal Message (Offline)

Ignore
1542616065
Reply with quote  #2

1542616065
Report to moderator
1542616065
Hero Member
*
Offline Offline

Posts: 1542616065

View Profile Personal Message (Offline)

Ignore
1542616065
Reply with quote  #2

1542616065
Report to moderator
1542616065
Hero Member
*
Offline Offline

Posts: 1542616065

View Profile Personal Message (Offline)

Ignore
1542616065
Reply with quote  #2

1542616065
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1542616065
Hero Member
*
Offline Offline

Posts: 1542616065

View Profile Personal Message (Offline)

Ignore
1542616065
Reply with quote  #2

1542616065
Report to moderator
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 1190
Merit: 1132



View Profile
March 01, 2018, 02:16:55 PM
 #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
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: 1190
Merit: 1132



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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!