[BTC-dev] (EXPERIMENTAL) Wires.

Stanislav Datskovskiy stas at loper-os.org
Thu Feb 23 00:41:32 UTC 2017


Name: README.txt
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20170222/README.txt?sha1=beca03752019e858980fc5034a2429e9a253ea80>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

 /****************************\
*        EXTREME DANGER:       *
*    FOR LABORATORY USE ONLY.  *
********************************
          ************
         **************
        ****************
       ****   ****   ****
       ***     ***    ***
       ***     ***    ***
        ***    * *    **
        ******** ********
        *******   ******
            ***   **
          *  ******* **
          ** * * * * *
    **     *         *     ***
   ****    * *     * *    ****
   ****    *** * * **     ***
    ****    *********   ******
   *******    *****    *******
   *********        ****** **
    **   ******   ******
           **  *******       **
   **       *******         ***
  ****   ********  ************
  ************    ************
   ********             *******
  ******                   ****
   ***                      ***
********************************

'Wires' are a type of peer you can now specify on the command line
when revving up TRB, if you use this patch.

Wires don't get saved to the addr DB; they don't get shared with peers,
including one another; they don't ever voluntarily get disconnected;
if disconnected by other party, your node bangs on the door forever;
wires also carry no ban score. Think of them as 'leased lines.'
They are also permitted to connect to  ports on localhost!
(say, to tunnelers, e.g., 'g', or even ordinary ssh tunnel.)

TRB is still single-process and so specifying wires will not prevent,
e.g., slow block verification, from gumming up the works. However they
~will~ prevent the idiotic situation where known/trusted nodes were
treated equally to random scum.

Wires also will not cure the enemy's ability to arbitrarily monkey with
TCP connections. That is what 'g' (coming soon) is for.

A 'wire' link between Zoolag and Dulap is now in live-fire test.


***************
Example of Use:
***************

LC_ALL="C" /foo/bitcoind -datadir=/home/bitcoin/.bitcoin -myip=$wanip -addwire=46.166.165.30 2>&1 &

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBCgAGBQJYri9WAAoJELmCKKABq//HnkQH/A+Z3RclHfQybdxYn3ajdQ6M
sR/L2ROEKokq/2e5a5v2KuaGq6ytGUOYPPGDAEHbhFIBBGj2iWo9ACQn9uh5qazA
OKS2k7yYhBese9+HnS64OiM0PhuB8ZBTC4sDCioXGcDXg6GXKQyBcjlnJQYaEZFs
R3HvAhpMuL9RLiiFcZ31IsZAzd1bIsFpjodLLXfpTY3vdZ6JU3vbridlHxLfIZCH
3ji/4oFrMZXpaDECboajGVqygP4Xq1V35DFdgj9/yWBkrR77iLY+8I2fgj5i/Xhz
giw8TL+4sqhwwuYW5PjcdT/JNgqIP404WWtR8h5zwguB1UJN4UD/oCGve09bPis=
=SCHD
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asciilifeform_wires.vpatch
Type: application/octet-stream
Size: 11837 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20170222/asciilifeform_wires.vpatch?sha1=877991b89b3f803b35bdd31b53b2c32e5180d541>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asciilifeform_wires.vpatch.asciilifeform.sig
Type: application/octet-stream
Size: 490 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20170222/asciilifeform_wires.vpatch.asciilifeform.sig?sha1=787e5ca553681c78c4618d94f87bf8d2c301741a>


More information about the BTC-dev mailing list