Bitcoin Forum
November 23, 2017, 09:50:25 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: addr.txt  (Read 1154 times)
ProfMac
Legendary
*
Offline Offline

Activity: 854



View Profile
February 06, 2013, 04:25:12 PM
 #1

I started the Satoshi client, bitcoin-qt.  The file bitcoin.conf contains the line onlynet=IPv6.

It ran for almost a week, and as of this morning it is synchronized.  This is significantly longer than the times I am hearing from other people.

I am running XP (SP3)
Pentium(R) 4 CPU 3.00GHz
2.99 GHz, 3.50 GB of RAM


What I would like to do next is to use addr.txt to pre-load some peer addresses.

I can write my own code to harvest addresses from debug.log and stuff them into mySQL, and with more time I can read the source and read peers.dat, but it seems that some of the developers would already be able to make addr.txt.  Actually, it seems that bitcoin-qt should be able to produce this file, as a symmetric operation to being able to read it.

Can I get a copy of a windows binary (preferred) or a pointer to the source for Ubuntu 12.04 (less preferred)

Thanks.

I try to be respectful and informed.
1511430625
Hero Member
*
Offline Offline

Posts: 1511430625

View Profile Personal Message (Offline)

Ignore
1511430625
Reply with quote  #2

1511430625
Report to moderator
1511430625
Hero Member
*
Offline Offline

Posts: 1511430625

View Profile Personal Message (Offline)

Ignore
1511430625
Reply with quote  #2

1511430625
Report to moderator
1511430625
Hero Member
*
Offline Offline

Posts: 1511430625

View Profile Personal Message (Offline)

Ignore
1511430625
Reply with quote  #2

1511430625
Report to moderator
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511430625
Hero Member
*
Offline Offline

Posts: 1511430625

View Profile Personal Message (Offline)

Ignore
1511430625
Reply with quote  #2

1511430625
Report to moderator
1511430625
Hero Member
*
Offline Offline

Posts: 1511430625

View Profile Personal Message (Offline)

Ignore
1511430625
Reply with quote  #2

1511430625
Report to moderator
deepceleron
Legendary
*
Offline Offline

Activity: 1512



View Profile WWW
February 06, 2013, 05:36:38 PM
 #2

Additional nodes can be specified with the command line or bitcoin.conf option "addnode=10.0.0.1:8333". This is not guaranteed to open a connection, the other Bitcoin nodes still have to like you and be wanting more connections. IP addresses quickly become obsolete, a large number of Bitcoin users are on dynamic IP addresses or don't run Bitcoin full time.

You can throw something like this into your bitcoin.conf file if you want to attempt connection to your own list of IP addresses in addition to the peer-finding methodology in Bitcoin, which already works quite well.
Code:
maxconnections=500
addnode=173.242.112.53
addnode=62.75.216.13
addnode=173.242.112.53
addnode=184.154.36.82
addnode=188.165.213.169
addnode=213.112.48.166
addnode=91.210.181.21
addnode=99.115.228.181
addnode=184.154.36.82
addnode=46.253.203.99
addnode=176.31.159.150
addnode=46.4.121.100
addnode=110.173.227.233
addnode=176.9.56.118
addnode=173.254.18.115
addnode=46.253.203.99
addnode=176.31.159.150
addnode=46.4.121.100
addnode=110.173.227.233
addnode=83.151.21.200
addnode=176.9.56.118
addnode=81.29.3.30
addnode=204.45.253.22
addnode=88.214.194.226
addnode=78.47.229.99
addnode=152.54.8.107
addnode=107.22.234.139
addnode=188.40.93.82
addnode=50.19.225.254
addnode=178.79.147.99
addnode=78.47.187.254
addnode=208.110.73.247
addnode=46.4.148.130
addnode=184.72.73.207
addnode=67.210.248.14
addnode=176.9.130.32
addnode=23.22.18.45
addnode=46.253.195.52
addnode=204.9.55.71
addnode=178.79.154.170
addnode=174.127.101.54
addnode=109.75.183.11
addnode=107.20.229.35
addnode=82.114.105.251
addnode=176.9.26.234
addnode=173.242.112.53
addnode=84.16.67.89
addnode=188.40.77.148
addnode=46.29.248.109
addnode=78.47.16.205
addnode=178.33.50.215
addnode=50.45.128.28
addnode=176.9.135.190
addnode=46.253.203.98
addnode=188.40.82.9
addnode=46.4.121.99
addnode=46.253.195.53
addnode=110.173.227.195
addnode=109.74.195.190
addnode=176.9.91.111
addnode=93.186.32.118
addnode=178.79.130.99
addnode=176.9.142.163
addnode=81.169.165.107
addnode=69.164.218.197
addnode=178.63.100.86
addnode=108.60.141.139
addnode=213.189.52.53
addnode=77.236.98.69
addnode=78.47.187.255
addnode=178.63.15.200
addnode=64.120.173.148
addnode=82.146.47.200
addnode=46.4.90.208
addnode=176.9.5.91
addnode=91.223.77.253
addnode=46.163.78.236
addnode=46.4.13.200
addnode=77.72.0.50
addnode=91.198.211.27
addnode=46.253.195.51
addnode=176.9.130.35
addnode=46.4.74.54
addnode=68.71.141.134
addnode=176.9.104.178
addnode=204.45.253.21
addnode=95.211.41.87
addnode=108.60.208.157
addnode=188.40.131.134
addnode=46.105.108.31
addnode=50.31.135.6
addnode=50.31.135.4
addnode=176.9.56.125
addnode=110.173.227.193
addnode=208.110.68.116
addnode=178.79.155.33
addnode=46.4.148.153
addnode=50.45.128.29
addnode=176.9.0.26
addnode=78.46.200.22
addnode=178.79.168.31
addnode=93.186.32.121
addnode=176.9.130.36
addnode=88.198.111.188
addnode=193.254.190.88
addnode=62.75.185.150
addnode=176.9.18.83
addnode=81.95.121.14
addnode=193.146.190.89
addnode=178.79.155.53
addnode=67.210.248.12
addnode=88.198.23.43
addnode=69.30.224.137
addnode=88.198.16.86
addnode=87.106.84.25
addnode=110.173.226.49
addnode=88.214.193.104
addnode=80.237.180.184
addnode=46.4.121.98
addnode=208.110.68.114
addnode=107.20.142.238
addnode=46.253.195.54
addnode=50.73.45.250
addnode=176.9.122.123
addnode=188.40.92.153
addnode=206.71.179.116
addnode=173.193.21.69
addnode=110.173.227.109
addnode=37.59.68.76
addnode=93.186.32.117
addnode=78.47.246.21
addnode=78.47.103.106
addnode=46.4.96.52
addnode=46.4.115.228
addnode=217.115.11.163
addnode=110.173.227.196
addnode=178.33.83.15
addnode=46.4.147.38
addnode=188.40.68.252
addnode=50.45.128.27
addnode=176.9.130.31
addnode=91.213.175.240
addnode=78.47.187.252
addnode=64.22.103.150
addnode=98.143.152.14
addnode=110.173.227.198
addnode=176.9.91.123
addnode=176.28.11.89
addnode=85.17.51.144
addnode=188.40.91.149
addnode=178.79.170.65
addnode=78.47.162.161
addnode=46.105.119.41
addnode=178.79.178.173
addnode=46.105.123.163
addnode=50.31.135.5
addnode=110.173.227.197
addnode=176.9.91.124
addnode=209.160.27.93
addnode=67.83.108.0
addnode=80.217.129.64
addnode=178.33.50.214
addnode=46.163.74.185
addnode=46.4.124.20
addnode=78.47.12.238
addnode=110.173.227.194
addnode=64.34.179.254
addnode=176.31.157.133
addnode=93.186.32.122
addnode=78.46.212.125
addnode=178.79.177.146
addnode=31.222.176.99
addnode=173.255.204.158
addnode=46.4.121.102
addnode=78.46.49.61
addnode=46.4.115.147
addnode=78.46.63.13
addnode=173.255.194.34
addnode=46.4.73.137
addnode=91.121.157.85
addnode=176.9.42.247
addnode=208.110.68.115
addnode=46.253.195.50

Fallback nodes are listed here:
https://en.bitcoin.it/wiki/Fallback_Nodes

You can also grab other's lists of connected IP addresses:
http://blockchain.info/connected-nodes
http://nodes.bitcoin.st/
http://pastehtml.com/view/c7rf4x1gc.rtxt

If you already have another machine that is running and updated, you do not need to connect to the public network at all, your second copy of Bitcoin can connect exclusively to the local machine with the option connect=192.168.1.100 (whatever the IP address is of the first Bitcoin).

Bitcoin binaries are available at http://bitcoin.org.

gmaxwell
Moderator
Legendary
*
qt
Offline Offline

Activity: 2338



View Profile
February 07, 2013, 05:54:22 AM
 #3

Additional nodes can be specified with the command line or bitcoin.conf option

They can also be placed in an addr.txt, as the OP asked about. Addr.txt has the advantage of just feeding the database, not forcing connections like addnode does.

Unless there is some attack on bitcoin bootstrapping there probably isn't a reason to use addr.txt, however.

Adding a long list of addnodes like that is somewhat inadvisable, it wastes resources on the network...

Bitcoin will not be compromised
Diapolo
Hero Member
*****
Offline Offline

Activity: 676



View Profile WWW
February 07, 2013, 07:02:35 AM
 #4

Shouldn't your switch be onlynet="IPv6"?

Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
ProfMac
Legendary
*
Offline Offline

Activity: 854



View Profile
February 07, 2013, 12:21:17 PM
 #5

Shouldn't your switch be onlynet="IPv6"?

Dia

I'm not sure if the parameters are supposed to be quoted or not.  I do like to be careful about such things, so after I get things minimally working I will read through from the beginning again.

However, it does work without the quotes.  I have only IPv6 addresses in debug.log.

It seems that IPv6 is pretty well established in the Bitcoin world.

I try to be respectful and informed.
ProfMac
Legendary
*
Offline Offline

Activity: 854



View Profile
February 08, 2013, 03:33:53 PM
 #6

Shouldn't your switch be onlynet="IPv6"?

Dia

I checked this.  Bitcoin-qt will not start if the quotes are included.


I try to be respectful and informed.
Diapolo
Hero Member
*****
Offline Offline

Activity: 676



View Profile WWW
February 08, 2013, 03:45:42 PM
 #7

Shouldn't your switch be onlynet="IPv6"?

Dia

I checked this.  Bitcoin-qt will not start if the quotes are included.

Strange, via command-line I always used -onlynet="IPv6". Perhaps I didn't need the quotes, but at least it was working Smiley.

Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
dserrano5
Legendary
*
Offline Offline

Activity: 1848



View Profile
February 08, 2013, 07:44:00 PM
 #8

Strange, via command-line I always used -onlynet="IPv6". Perhaps I didn't need the quotes, but at least it was working Smiley.

The quotes are part of the shell syntax and are removed by it, so bitcoin doesn't see them.

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!