Bitcoin Forum
May 03, 2024, 08:58:58 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Proxy operation  (Read 613 times)
TierNolan (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1083


View Profile
August 01, 2013, 12:12:15 PM
 #1

There are currently 2 ways to specify nodes to connect to.

"-connect" means connect to those nodes and no others.
"-addnode" means connect to those nodes initially, but you can connect to others too.

In both cases, the client will disconnect if the node "misbehaves".

This means that a proxy cannot be used, unless it also verifies all blocks.

Local network addresses won't be disconnect, even if they misbehave.  However, this isn't the case for non-local.

If there was a command like "-setproxy", then this could be rectified.  The client would connect to the proxy and would not disconnect, even if the proxy misbehaves.

An improvement would be a "misbehaved" message that says that certain messages count as misbehaving.  That would allow the proxy to disconnect the peers it got the messages from.  This would only be sent to proxies.

Maybe

int: severity (in percentage)
hash: hash of message

The proxy could remember the hashes for the messages it sent to the client.

A workaround is to run the proxy on the same computer as the client, so it gets an exemption.

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
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!