Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: AliceWonder on September 30, 2014, 05:04:04 AM



Title: block source
Post by: AliceWonder on September 30, 2014, 05:04:04 AM
Setting up bitcoin-qt on a new laptop.

Need to tell it to use my desktop as a block source so it goes faster.

There use to be a ~/.bitcoin/bitcoin.conf file where I could do that, but I don't see that file.

What is the current method for telling it to use the "caught up" client I have running on another machine on my gigabit wired LAN ??

Looking via google seems to all point to old documentation for 0.8 client - which used ~/.bitcoin/bitcoin.conf


Title: Re: block source
Post by: AliceWonder on September 30, 2014, 05:15:45 AM
Tried this in the debug console -

addnode 192.168.0.103 add

Is that correct?

Guess I'll quickly find out...


Title: Re: block source
Post by: AliceWonder on September 30, 2014, 05:20:58 AM
Well it's not showing up in getpeerinfo so i don't know...


Title: Re: block source
Post by: fsb4000 on September 30, 2014, 05:38:14 AM
create file ~/.bitcoin/bitcoin.conf
Code:
rpcuser=user 
rpcpassword=your long password
server=1
daemon=1
rpcallowip=127.0.0.1
addnode=192.168.0.103


Title: Re: block source
Post by: AliceWonder on September 30, 2014, 06:24:45 AM
Thank you!

Turns out I was blocking 8883 and 6667 on the machine that is up to date. Fixed that and the incoming rate shot up but I still don't see the other host in getpeerinfo so I'm not sure if maybe I got lucky and it found another peer very close but outside my lan.


Title: Re: block source
Post by: AliceWonder on September 30, 2014, 06:30:17 AM
It's definitely working now and local. Thank you.