Bitcoin Forum
May 08, 2024, 07:14:58 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Decentralized network  (Read 372 times)
bitsmichel (OP)
Sr. Member
****
Offline Offline

Activity: 518
Merit: 250



View Profile
April 17, 2014, 05:59:01 PM
 #1

Say, I have a small C  (or any other language) sockets client/server program. How can I make it into a decentralized network?

Is every instance of the program a server+client? How can I bypass NAT with it?

1715195698
Hero Member
*
Offline Offline

Posts: 1715195698

View Profile Personal Message (Offline)

Ignore
1715195698
Reply with quote  #2

1715195698
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715195698
Hero Member
*
Offline Offline

Posts: 1715195698

View Profile Personal Message (Offline)

Ignore
1715195698
Reply with quote  #2

1715195698
Report to moderator
1715195698
Hero Member
*
Offline Offline

Posts: 1715195698

View Profile Personal Message (Offline)

Ignore
1715195698
Reply with quote  #2

1715195698
Report to moderator
benjyz
Full Member
***
Offline Offline

Activity: 140
Merit: 107


View Profile
April 17, 2014, 06:14:49 PM
 #2

you have to bootstrap. you need some entry point, so that nodes can start discovering themselves. piratebay for instance has links to torrents. TCP/IP does not know about client/server. it's just nodes with addresses. servers exist because names resolves to addresses via DNS. so you have to understand TCP/IP. or you learn zeroMQ, which is much easier (and I believe more powerful).

http://zguide.zeromq.org/hx:chapter8#True-Peer-Connectivity-Harmony-Pattern
digitalninja81
Newbie
*
Offline Offline

Activity: 91
Merit: 0


View Profile
April 19, 2014, 03:41:07 PM
 #3

Why don't you use any language sockets file/server programs?
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!