Bitcoin Forum
June 03, 2024, 10:28:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: 请教一个bitcion的技术问题  (Read 920 times)
flowice (OP)
Full Member
***
Offline Offline

Activity: 208
Merit: 100


View Profile WWW
May 18, 2013, 07:00:19 AM
 #1

bitcoin客户端是如何发现其它节点的?

The most secure web wallet. 2 factor auth, PIN keypad, session management, email authorization, GPG auth.. http://1v.io/flowice
cloverminer
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
May 19, 2013, 03:50:55 AM
 #2

Nodes discover their own external address by various methods.
Nodes receive the callback address of remote nodes that connect to them.
Nodes connect to IRC to receive addresses.
Nodes makes DNS request to receive IP addresses.
Nodes can use addresses hard coded into the software.
Nodes exchange addresses with other nodes.
Nodes store addresses in a database and read that database on startup.
Nodes can be provided addresses as command line arguments
Nodes read addresses from a user provided text file on startup

https://en.bitcoin.it/wiki/Satoshi_Client_Node_Discovery
flowice (OP)
Full Member
***
Offline Offline

Activity: 208
Merit: 100


View Profile WWW
May 19, 2013, 06:30:10 AM
 #3

Nodes discover their own external address by various methods.
Nodes receive the callback address of remote nodes that connect to them.
Nodes connect to IRC to receive addresses.
Nodes makes DNS request to receive IP addresses.
Nodes can use addresses hard coded into the software.
Nodes exchange addresses with other nodes.
Nodes store addresses in a database and read that database on startup.
Nodes can be provided addresses as command line arguments
Nodes read addresses from a user provided text file on startup

https://en.bitcoin.it/wiki/Satoshi_Client_Node_Discovery

谢谢,我英语水平不行。看了一下,好像还是需要先连一下irc服务器。如果irc服务器断了,bitcoin客户端就无法发现其它节点了。

The most secure web wallet. 2 factor auth, PIN keypad, session management, email authorization, GPG auth.. http://1v.io/flowice
jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1097


View Profile
May 19, 2013, 06:39:42 AM
 #4

Nodes discover their own external address by various methods.
Nodes receive the callback address of remote nodes that connect to them.
Nodes connect to IRC to receive addresses.
Nodes makes DNS request to receive IP addresses.
Nodes can use addresses hard coded into the software.
Nodes exchange addresses with other nodes.
Nodes store addresses in a database and read that database on startup.
Nodes can be provided addresses as command line arguments
Nodes read addresses from a user provided text file on startup

https://en.bitcoin.it/wiki/Satoshi_Client_Node_Discovery

谢谢,我英语水平不行。看了一下,好像还是需要先连一下irc服务器。如果irc服务器断了,bitcoin客户端就无法发现其它节点了。

IRC在0.6以後已經不用了. 現在用DNS:

bitseed.xf2.org
dnsseed.bluematt.me
seed.bitcoin.sipa.be
dnsseed.bitcoin.dashjr.org

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
flowice (OP)
Full Member
***
Offline Offline

Activity: 208
Merit: 100


View Profile WWW
May 19, 2013, 12:57:12 PM
 #5

Nodes discover their own external address by various methods.
Nodes receive the callback address of remote nodes that connect to them.
Nodes connect to IRC to receive addresses.
Nodes makes DNS request to receive IP addresses.
Nodes can use addresses hard coded into the software.
Nodes exchange addresses with other nodes.
Nodes store addresses in a database and read that database on startup.
Nodes can be provided addresses as command line arguments
Nodes read addresses from a user provided text file on startup

https://en.bitcoin.it/wiki/Satoshi_Client_Node_Discovery

谢谢,我英语水平不行。看了一下,好像还是需要先连一下irc服务器。如果irc服务器断了,bitcoin客户端就无法发现其它节点了。

IRC在0.6以後已經不用了. 現在用DNS:

bitseed.xf2.org
dnsseed.bluematt.me
seed.bitcoin.sipa.be
dnsseed.bitcoin.dashjr.org

那这些DNS如果都断了或者被封锁了,bitcoin客户端就无法发现其它节点了。

The most secure web wallet. 2 factor auth, PIN keypad, session management, email authorization, GPG auth.. http://1v.io/flowice
jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1097


View Profile
May 19, 2013, 01:15:52 PM
 #6

Nodes discover their own external address by various methods.
Nodes receive the callback address of remote nodes that connect to them.
Nodes connect to IRC to receive addresses.
Nodes makes DNS request to receive IP addresses.
Nodes can use addresses hard coded into the software.
Nodes exchange addresses with other nodes.
Nodes store addresses in a database and read that database on startup.
Nodes can be provided addresses as command line arguments
Nodes read addresses from a user provided text file on startup

https://en.bitcoin.it/wiki/Satoshi_Client_Node_Discovery

谢谢,我英语水平不行。看了一下,好像还是需要先连一下irc服务器。如果irc服务器断了,bitcoin客户端就无法发现其它节点了。

IRC在0.6以後已經不用了. 現在用DNS:

bitseed.xf2.org
dnsseed.bluematt.me
seed.bitcoin.sipa.be
dnsseed.bitcoin.dashjr.org

那这些DNS如果都断了或者被封锁了,bitcoin客户端就无法发现其它节点了。

你可以手動輸入地址

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
huhai0978
Member
**
Offline Offline

Activity: 68
Merit: 10


View Profile
May 19, 2013, 01:57:35 PM
 #7

我来翻译一下:
Nodes receive the callback address of remote nodes that connect to them.
接收远端节点的回叫地址

Nodes connect to IRC to receive addresses.
连接IRC来接收其他节点的地址

Nodes makes DNS request to receive IP addresses.
通过DNS请求来接收IP地址

Nodes can use addresses hard coded into the software.
客户端软件内嵌地址

Nodes exchange addresses with other nodes.
与其他节点交换地址

Nodes store addresses in a database and read that database on startup.
客户端建立自己的地址数据库,客户端启动时读取

Nodes can be provided addresses as command line arguments
客户端软件启动时用命令行参数提供地址

Nodes read addresses from a user provided text file on startup
客户端软件启动时从用户提供的txt文件里读取地址

flowice (OP)
Full Member
***
Offline Offline

Activity: 208
Merit: 100


View Profile WWW
May 19, 2013, 03:15:05 PM
 #8

了解了,谢谢各位。

The most secure web wallet. 2 factor auth, PIN keypad, session management, email authorization, GPG auth.. http://1v.io/flowice
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!