Bitcoin Forum
November 06, 2024, 04:58:29 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4] 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 »  All
  Print  
Author Topic: Re: How (and why) to use the Relay Network  (Read 665 times)
norgan
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
September 23, 2014, 10:02:54 AM
 #61

I've downloaded the exe client and am running it with "D:\Temp\relay\relaynetworkclient.exe public.au.relay.mattcorallo.com 127.0.0.1 8333" but I just get the following:

Closing bitcoind socket, failed to connect() (10049: Unknown error)
Closing relay socket, failed to connect() (10049: Unknown error)
Closing bitcoind socket, failed to connect() (10049: Unknown error)
Closing relay socket, failed to connect() (10049: Unknown error)
Closing bitcoind socket, failed to connect() (10049: Unknown error)
Closing relay socket, failed to connect() (10049: Unknown error)
Closing bitcoind socket, failed to connect() (10049: Unknown error)
Closing relay socket, failed to connect() (10049: Unknown error)
Closing bitcoind socket, failed to connect() (10049: Unknown error)
Closing relay socket, failed to connect() (10049: Unknown error)
Closing bitcoind socket, failed to connect() (10049: Unknown error)
Closing relay socket, failed to connect() (10049: Unknown error)
Closing bitcoind socket, failed to connect() (10049: Unknown error)

What am I doing wrong?

I'm getting this too with the windows exe client on Win7.  It eventually killed my TCP/IP stack, all programs were getting TCP/IP errors until I killed the relay client.

Going back to the python version here.

M
It was a broken build, have you tried the latest? Also try disabling ipv6

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
September 23, 2014, 11:43:45 AM
 #62

I've downloaded the exe client and am running it with "D:\Temp\relay\relaynetworkclient.exe public.au.relay.mattcorallo.com 127.0.0.1 8333" but I just get the following:

Closing bitcoind socket, failed to connect() (10049: Unknown error)
Closing relay socket, failed to connect() (10049: Unknown error)
Closing bitcoind socket, failed to connect() (10049: Unknown error)
Closing relay socket, failed to connect() (10049: Unknown error)
Closing bitcoind socket, failed to connect() (10049: Unknown error)
Closing relay socket, failed to connect() (10049: Unknown error)
Closing bitcoind socket, failed to connect() (10049: Unknown error)
Closing relay socket, failed to connect() (10049: Unknown error)
Closing bitcoind socket, failed to connect() (10049: Unknown error)
Closing relay socket, failed to connect() (10049: Unknown error)
Closing bitcoind socket, failed to connect() (10049: Unknown error)
Closing relay socket, failed to connect() (10049: Unknown error)
Closing bitcoind socket, failed to connect() (10049: Unknown error)

What am I doing wrong?

I'm getting this too with the windows exe client on Win7.  It eventually killed my TCP/IP stack, all programs were getting TCP/IP errors until I killed the relay client.

Going back to the python version here.

M
It was a broken build, have you tried the latest? Also try disabling ipv6

I got it from github, I assume it's the latest.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
September 23, 2014, 12:23:54 PM
 #63

Nevermind.  I forgot my bitcoin port isn't default, so it was pounding 8333 and there wasn't anything there to respond.

Smiley

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
simdude
Member
**
Offline Offline

Activity: 97
Merit: 11


View Profile
September 28, 2014, 11:54:22 AM
 #64

I love this concept. I start running the windows version on my windows based p2pool. If you get around to building a exe for relay enabled p2pool i would love to test it out.
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
September 29, 2014, 02:18:36 PM
 #65

Having issues with the c++ client receiving anything in the last day connecting to us-west without any other changes. Tried restarting and getting repeated
Code:
Closing relay socket, failed to read message header (104: Connection reset by peer)

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
IYFTech
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


WANTED: Active dev to fix & re-write p2pool in C


View Profile
September 29, 2014, 02:20:33 PM
 #66

Having issues with the c++ client receiving anything in the last day connecting to us-west without any other changes. Tried restarting and getting repeated
Code:
Closing relay socket, failed to read message header (104: Connection reset by peer)

The eu server is working well - have you tried that one?  Smiley

-- Smiley  Thank you for smoking  Smiley --  If you paid VAT to dogie for items you should read this thread:  https://bitcointalk.org/index.php?topic=1018906.0
Matt Corallo (OP)
Hero Member
*****
Offline Offline

Activity: 755
Merit: 515


View Profile
September 29, 2014, 04:56:43 PM
 #67

Having issues with the c++ client receiving anything in the last day connecting to us-west without any other changes. Tried restarting and getting repeated
Code:
Closing relay socket, failed to read message header (104: Connection reset by peer)

Hmm, I dont see anything in my logs...Is it working now and/or can you pm me the IP you're connecting from?

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
September 29, 2014, 09:49:53 PM
 #68

Having issues with the c++ client receiving anything in the last day connecting to us-west without any other changes. Tried restarting and getting repeated
Code:
Closing relay socket, failed to read message header (104: Connection reset by peer)

Hmm, I dont see anything in my logs...Is it working now and/or can you pm me the IP you're connecting from?
It's still there. I've PMed you where from.

EDIT: It just started working again. Beats me  Huh

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Matt Corallo (OP)
Hero Member
*****
Offline Offline

Activity: 755
Merit: 515


View Profile
September 29, 2014, 10:01:22 PM
 #69

EDIT: It just started working again. Beats me  Huh

I was fuxing with it.

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
simdude
Member
**
Offline Offline

Activity: 97
Merit: 11


View Profile
October 01, 2014, 03:39:45 AM
 #70

I am still getting the Closing relay socket, failed to read message header (10054: Unknown error)
Matt Corallo (OP)
Hero Member
*****
Offline Offline

Activity: 755
Merit: 515


View Profile
October 01, 2014, 05:12:09 AM
 #71

I am still getting the Closing relay socket, failed to read message header (10054: Unknown error)
What node are you connecting to? All nodes seem to be working from here. If you are connect multiple times from the same external IP, this is expected behavior as having multiple connections will decrease your relay time by a huge margin because, in my tests, the most important thing is packet loss requiring extra RTTs for TCP retransmits (if you're behind ISP level NAT I think I can just flip the switch on IPv6 for most of the nodes, just need to actually test the clients to make sure they wont flip).

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
simdude
Member
**
Offline Offline

Activity: 97
Merit: 11


View Profile
October 01, 2014, 11:47:06 AM
 #72

Hello,

     public.us-east
amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
October 01, 2014, 11:57:38 AM
 #73

Quote
public.us-east

us-east and us-west work right now as I see
(us-west had some troubles in the past)
Matt Corallo (OP)
Hero Member
*****
Offline Offline

Activity: 755
Merit: 515


View Profile
October 01, 2014, 06:55:42 PM
 #74

public.us-east
I dont see any issues there, can you PM me the IP you're connecting from?

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
norgan
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
October 06, 2014, 10:05:22 AM
 #75

Seeing issues on the sg node again. Had to change to west-us

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
October 06, 2014, 10:26:42 AM
 #76

Seeing issues on the sg node again. Had to change to west-us

us-west does not work from my side right now
I use us-east
Matt Corallo (OP)
Hero Member
*****
Offline Offline

Activity: 755
Merit: 515


View Profile
October 06, 2014, 08:51:09 PM
 #77

Ugh, yes, there appear to have been some issues that went unnoticed over the past week or so, should be all good now and I'm monitoring for further hiccups until I can go in and debug a bit more.

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
norgan
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
October 08, 2014, 03:28:20 AM
 #78

Ugh, yes, there appear to have been some issues that went unnoticed over the past week or so, should be all good now and I'm monitoring for further hiccups until I can go in and debug a bit more.
au/sg working now.

Would there be any negative impact of running two relays to two different relay servers? so if one went down the other would still relay blocks...

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
Matt Corallo (OP)
Hero Member
*****
Offline Offline

Activity: 755
Merit: 515


View Profile
October 08, 2014, 03:32:01 AM
 #79

Ugh, yes, there appear to have been some issues that went unnoticed over the past week or so, should be all good now and I'm monitoring for further hiccups until I can go in and debug a bit more.
au/sg working now.

Would there be any negative impact of running two relays to two different relay servers? so if one went down the other would still relay blocks...
Seems several servers were all hit with the same bug at nearly the same time. Still need to look into it, but for this case, it appears that would not have helped. Still, no, that would probably not be a negative.

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
spin
Sr. Member
****
Offline Offline

Activity: 362
Merit: 262


View Profile
October 13, 2014, 02:40:14 PM
Last edit: October 13, 2014, 02:50:27 PM by spin
 #80

Under the C++ folder I see a make script for 5 components (including a windows client).  I am happy with how the client is used and managed to get it going.

Can you perhaps share how the other components could be used to build a relay network? I am not really proficient at reading c++.

My guesses:
relaynetworkproxy -> Connects two relay nodes (both on port 8336).
relaynetworkterminator -> Seems to provide the 8334 and 8335 tx and block only feeds?
relaynetworkoutbound -> Connects a bitcoind and a something on port 8334?
relaynetworkserver -> connects to a trusted bitcoind? Also serves clients?  Also connects to something local on port 8334? I kept getting connection refused to the local bitcoind when I ran it.


Happy to assist with a readme on your github if needs be.

If you liked this post buy me a beer.  Beers are quite cheap where I live!
bc1q707guwp9pc73r08jw23lvecpywtazjjk399daa
Pages: « 1 2 3 [4] 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 »  All
  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!