net: No outgoing block-relay-only connections #21730

issue hebasto opened this issue on April 19, 2021
  1. hebasto commented at 2:54 PM on April 19, 2021: member
    hebasto@odroid-hc1:~$ bitcoin-cli -netinfo 1
    Bitcoin Core v0.21.1rc1 - 70016/Satoshi:0.21.1/
    
    Peer connections sorted by direction and min ping
    <-> relay   net  mping   ping send recv  txn  blk  age  id 
     in  full  ipv4                  0    1              0 120 
     in  full  ipv4     37     37   12   24              5  65 
     in  full  ipv4     44     44    8    8              6  59 
     in  full  ipv4     46     48   12   72              5  70 
     in  full  ipv4     48     49   12    1    1         7  42 
     in block  ipv4     55     55    3    0              0 128 
     in  full  ipv4     57     57    4   35              1 109 
     in  full  ipv4     61     61   11    3    0         7  37 
     in  full  ipv4     68     68   11   35              8  16 
     in  full  ipv4     72     72    4   34              8  17 
     in block  ipv4    234    234   10   10              0 126 
     in  full  ipv4    247    247   12   73              5  69 
     in  full  ipv4    253    308    2   47              8   8 
     in  full  ipv4    253    253   11   81              1 116 
     in block  ipv4    269    269    0   15              0 124 
     in block  ipv4    300    300   11   10              0 125 
     in  full  ipv4    300    432   11   44              8  10 
     in  full  ipv4    381    698    5    0    0         3  94 
     in  full  ipv4    381    384    2    2              2 105 
     in  full  ipv4    493    493   12   36              4  76 
     in  full  ipv4    802    802    2  131              2 103 
     in  full  ipv4   7888   7888    8   75              1 114 
     in  full  ipv4  14144  79875    4    4              3  83 
    out  full  ipv4    432    600    3    2    0    3    8  27 
    out  full onion    455    648    1    2    0         8   5 
    out  full onion    475    495    0    2    0         3  93 
    out  full  ipv4    492    864    0    1    0         3  92 
    out  full  ipv4    541    614    2    2    0         6  50 
    out  full  ipv4    587    587    1    0    0         7  46 
    out  full onion    652    826    5    4    0         8   6 
    out  full  ipv4    656    720    1    3    0         6  49 
    out  full onion    658    658    1   15    0         1 107 
    out  full onion    679    679    0    0    0         8  20 
                        ms     ms  sec  sec  min  min  min
    
            ipv4    ipv6   onion   total  block-relay
    in        23       0       0      23       4
    out        5       0       5      10       0
    total     28       0       5      33       4
    
    Local addresses
    95.164.65.194                                                      port   8333    score     76
    ejxefzf5fpst4mg2rib7grksvscl7p6fvjp6agzgfc2yglxnjtxc3aid.onion     port   8333    score      4
    
  2. hebasto added the label Bug on Apr 19, 2021
  3. hebasto added the label P2P on Apr 19, 2021
  4. hebasto commented at 2:58 PM on April 19, 2021: member

    The excerpt from the debug.log with configuration options:

    2021-04-19T14:43:01Z Bitcoin Core version v0.21.1rc1 (release build)
    2021-04-19T14:43:01Z InitParameterInteraction: parameter interaction: -proxy set -> setting -upnp=0
    2021-04-19T14:43:01Z InitParameterInteraction: parameter interaction: -proxy set -> setting -discover=0
    2021-04-19T14:43:01Z Assuming ancestors of block 0000000000000000000b9d2ec5a352ecba0592946514a92f14319dc2b367fc72 have valid signatures.
    2021-04-19T14:43:01Z Setting nMinimumChainWork=00000000000000000000000000000000000000001533efd8d716a517fe2c5008
    2021-04-19T14:43:01Z Using the 'standard' SHA256 implementation
    2021-04-19T14:43:01Z Wallet disabled!
    2021-04-19T14:43:01Z Default data directory /home/core/.bitcoin
    2021-04-19T14:43:01Z Using data directory /var/lib/bitcoind
    2021-04-19T14:43:01Z Config file: /etc/bitcoin/bitcoin.conf
    2021-04-19T14:43:01Z Config file arg: addnode="rp7k2go3s5lyj3fnj6zn62ktarlrsft2ohlsxkyd7v3e3idqyptvread.onion"
    2021-04-19T14:43:01Z Config file arg: addnode="mwmfluek4au6mxxpw6fy7sjhkm65bdfc7izc7lpz3trewfdghyrzsbid.onion"
    2021-04-19T14:43:01Z Config file arg: dbcache="4"
    2021-04-19T14:43:01Z Config file arg: disablewallet="1"
    2021-04-19T14:43:01Z Config file arg: externalip="95.164.65.194"
    2021-04-19T14:43:01Z Config file arg: externalip="ejxefzf5fpst4mg2rib7grksvscl7p6fvjp6agzgfc2yglxnjtxc3aid.onion"
    2021-04-19T14:43:01Z Config file arg: listen="1"
    2021-04-19T14:43:01Z Config file arg: listenonion="0"
    2021-04-19T14:43:01Z Config file arg: logthreadnames="1"
    2021-04-19T14:43:01Z Config file arg: par="4"
    2021-04-19T14:43:01Z Config file arg: proxy="127.0.0.1:9050"
    2021-04-19T14:43:01Z Config file arg: rpcauth=****
    2021-04-19T14:43:01Z Config file arg: rpcthreads="2"
    2021-04-19T14:43:01Z Config file arg: server="1"
    2021-04-19T14:43:01Z Config file arg: txindex="1"
    2021-04-19T14:43:01Z Command-line arg: blocksdir="/mnt/hdd"
    2021-04-19T14:43:01Z Command-line arg: conf="/etc/bitcoin/bitcoin.conf"
    2021-04-19T14:43:01Z Command-line arg: daemon=""
    2021-04-19T14:43:01Z Command-line arg: datadir="/var/lib/bitcoind"
    2021-04-19T14:43:01Z Command-line arg: debuglogfile="/mnt/hdd/debug.log"
    2021-04-19T14:43:01Z Command-line arg: pid="/run/bitcoind/bitcoind.pid"
    ...
    
  5. hebasto closed this on Apr 19, 2021

  6. fanquake removed the label Bug on Apr 20, 2021
  7. fanquake removed the label P2P on Apr 20, 2021
  8. fanquake locked this on Apr 20, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-24 21:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me