Bitcoin Forum
August 20, 2018, 03:47:03 AM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Setting up a private chain/testnet : reverse engineering the blockchain code  (Read 74 times)
a1nb0
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
March 06, 2018, 02:30:01 PM
 #1

Long story short, i want to set up a private chain/a testnet blockchain that can run locally just to fiddle and play with it just to learn how it works.

So, how would i go about that ? What i am looking for is ideally a step by step clear, beginner friendly explanation considering the fact that i am aiming at blockchains written in javascript (lisk, nimiq) or in python(bismuth)

Let me first tell you what i thought of or what i think in terms of ways to do that. I imagine i would have to:

1) decide which existing blockchain to clone (one that uses JS or Python) 
2)download it from github
3)establish a dev environment (need help with that)
4)run different tests and let my brain do it’s magic



Thanks
1534736823
Hero Member
*
Offline Offline

Posts: 1534736823

View Profile Personal Message (Offline)

Ignore
1534736823
Reply with quote  #2

1534736823
Report to moderator
1534736823
Hero Member
*
Offline Offline

Posts: 1534736823

View Profile Personal Message (Offline)

Ignore
1534736823
Reply with quote  #2

1534736823
Report to moderator
1534736823
Hero Member
*
Offline Offline

Posts: 1534736823

View Profile Personal Message (Offline)

Ignore
1534736823
Reply with quote  #2

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

Activity: 280
Merit: 100


View Profile
March 06, 2018, 02:38:52 PM
 #2

The problem is not the code, the problem is the knowledge.

What you propose is like buying a scalpel and then trying to do heart surgery, without first becoming a surgeon*.

Consensus design is best done on paper and in your head.

*) I stole that line from someone else, but it's true.

a1nb0
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
March 06, 2018, 05:44:07 PM
 #3

The problem is not the code, the problem is the knowledge.

What you propose is like buying a scalpel and then trying to do heart surgery, without first becoming a surgeon*.

Consensus design is best done on paper and in your head.

*) I stole that line from someone else, but it's true.


well i will have to disagree
i already have a consensus idea i want to learn more about the technology so i can implement it. Paper will not help getting my hands dirty with it will.
Thank you
Anti-Cen
Member
**
Offline Offline

Activity: 196
Merit: 25

High fees = low BTC price


View Profile
March 06, 2018, 05:49:01 PM
 #4

Consensus design is best done on paper and in your head.

You mean the bit where a single transactions gets sent to 20,000 nodes and then you spend $500 worth of energy
just to make all these nodes agree about something ?

Far too much network chatter, far too little useful work is done and DAG seems better but in the end I am
convinced that specialist coordinator nodes is a better solution or you end up with all them nodes pushing and
pulling against each other.

A cluster of nodes (star shaped) does not become a cartel and can introduce some order into a chaotic system
where it's every man for himself, it does not scale like that.

Mining is CPU-wars and Intel, AMD like it nearly as much as big oil likes miners wasting electricity. Is this what mankind has come too.
monsterer2
Full Member
***
Offline Offline

Activity: 280
Merit: 100


View Profile
March 06, 2018, 09:17:32 PM
 #5

well i will have to disagree
i already have a consensus idea i want to learn more about the technology so i can implement it. Paper will not help getting my hands dirty with it will.
Thank you

Then you should peer review your idea. Then you can write a simulator for it. One step at a time.

a1nb0
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
March 07, 2018, 06:46:29 AM
 #6

help me first and then you can tell me why i am wrong or better yet, let me see it on my own
 Wink
so coming back to:
i want to set up a private chain/a testnet blockchain that can run locally just to fiddle and play with it just to learn how it works.

So, how would i go about that ? What i am looking for is ideally a step by step clear, beginner friendly explanation considering the fact that i am aiming at blockchains written in javascript (lisk, nimiq) or in python(bismuth)

Anybody?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1498
Merit: 1528


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


View Profile WWW
March 09, 2018, 12:57:20 AM
 #7

The consensus rules are what define a blockchain. You cannot create a blockchain without the consensus rules. You need to implement your consensus rules in a software that is then used to create a blockchain.

Typically people who are doing this will just clone an existing coin and modify it. You will need to understand how that coin works and what your modifications must be. This isn't something that is beginner friendly nor is there a beginner "how to do" guide available. This is specialized knowledge that not everyone can do.

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!