darkv0rt3x (OP)
|
|
October 10, 2020, 05:34:01 PM |
|
Hello. First of all: Bitcoin Client Software and Version Number: Bitcoin Core RPC client version v0.20.1 Operating System: Debian Buster System Hardware Specs: 128 GB SS + 1TB Western Digital + 16Gb Ram + i7-3740QM Description of Problem: Several issues/questions. Will describe them below Any Related Addresses: n/a Any Related Transaction IDs: n/a Screenshot of the problem: n/a (running it from the command line) Log Files from the Bitcoin Client: bitcoin.conf The first issue is related to connecting the node via Tor services. I'll paste here my configurations and will past some log output so that the issue can be better understood (my wording may not be the best). So, about configs: In bitcoin.conf I have (among other lines not related with networking): proxy=127.0.0.1:9005 listen=1 bind=127.0.0.1 externalip=my.onion.address.onion onlynet=onion port=8333 torcontrol=127.0.0.1:9501 onion=127.0.0.1:9005
In /etc/tor/torrc I have (among other lines that were already there: SOCKSPort 9005 ControlPort 9501
HiddenServiceDir /var/lib/tor/bitcoin-service/ HiddenServicePort 8333 127.0.0.1:8333 HiddenServiceVersion 3
There is another file that could potentially create confusion, but all lines there matches the ones here. Other than that, in /usr/share/tor/, I have: CookieAuthentication 1 CookieAuthFileGroupReadable 1 CookieAuthFile /run/tor/control.authcookie
And I think that's all. The aemon starts normally and I think it connects to the internet via Tor. Now, 2 issues eventually related to this, that might be due to some wrong configuration: 1 - When we issue bitcoin-cli getnetworkinfo we get a json output in which one of the field is score. The issue is that this filed value never raises as it was supposed to raise with time the node has been online. It's fixed at 4. This value used to increase in the past. I remember that the longer the node uptime, the higher this value used to be. Since this is a parameter that kind of measures the connectivity between nodes, I'm not sure this should be a concern or not. 2 - After some time, the node outputs some messages like the ones below: 2020-10-10T17:18:02Z Socks5() connect to t25hnyuffgirnma2.onion:8333 failed: connection refused 2020-10-10T17:22:41Z Socks5() connect to wzbll26zuafefpq2.onion:8333 failed: host unreachable 2020-10-10T17:23:06Z Socks5() connect to wzbll26zuafefpq2.onion:8333 failed: host unreachable 2020-10-10T17:23:16Z Socks5() connect to wzbll26zuafefpq2.onion:8333 failed: host unreachable 2020-10-10T17:23:21Z Socks5() connect to wzbll26zuafefpq2.onion:8333 failed: host unreachable
Is this on my side or on other nodes/peers side? Is this due to my Tor and node configuration? There are also messages of successful connections, I guess: 2020-10-10T15:30:22Z New outbound peer connected: version: 70015, blocks=652116, peer=3 (full-relay) 2020-10-10T15:30:26Z New outbound peer connected: version: 70015, blocks=652116, peer=4 (full-relay) 2020-10-10T15:30:26Z New outbound peer connected: version: 70015, blocks=652116, peer=5 (full-relay) 2020-10-10T15:30:28Z New outbound peer connected: version: 70015, blocks=651805, peer=0 (full-relay) 2020-10-10T15:30:30Z New outbound peer connected: version: 70015, blocks=652116, peer=7 (full-relay) 2020-10-10T15:30:30Z New outbound peer connected: version: 70015, blocks=652116, peer=6 (full-relay) If I issue the command bitcoin-cli getblockchaininfo I get the following: { "chain": "main", "blocks": 652125, "headers": 652125, "bestblockhash": "000000000000000000080ca212557b350a253a4992989b12838d9bd22804314e", "difficulty": 19298087186262.61, "mediantime": 1602345082, "verificationprogress": 0.9999885715223217, "initialblockdownload": false, "chainwork": "00000000000000000000000000000000000000001480d471f6de5739efbf9c50", "size_on_disk": 345405677951, "pruned": false, "softforks": { "bip34": { "type": "buried", "active": true, "height": 227931 }, "bip66": { "type": "buried", "active": true, "height": 363725 }, "bip65": { "type": "buried", "active": true, "height": 388381 }, "csv": { "type": "buried", "active": true, "height": 419328 }, "segwit": { "type": "buried", "active": true, "height": 481824 } }, "warnings": "" }
And bitcoin-cli getnetworkinfo{ "version": 200100, "subversion": "/Satoshi:0.20.1/", "protocolversion": 70015, "localservices": "0000000000000409", "localservicesnames": [ "NETWORK", "WITNESS", "NETWORK_LIMITED" ], "localrelay": true, "timeoffset": -2, "networkactive": true, "connections": 10, "networks": [ { "name": "ipv4", "limited": true, "reachable": false, "proxy": "127.0.0.1:9005", "proxy_randomize_credentials": true }, { "name": "ipv6", "limited": true, "reachable": false, "proxy": "127.0.0.1:9005", "proxy_randomize_credentials": true }, { "name": "onion", "limited": false, "reachable": true, "proxy": "127.0.0.1:9005", "proxy_randomize_credentials": true } ], "relayfee": 0.00001000, "incrementalfee": 0.00001000, "localaddresses": [ { "address": "my.onion.adress1.onion", "port": 8333, "score": 4 }, { "address": "my.onion.adress2.onion", "port": 8333, "score": 4 } ], "warnings": "" }
and one more that I think it can prove I'm connected to the "internet/other nodes/peers". bitcoin-cli getpeerinfo[ { "id": 1, "addr": "ddwwj3wjrpscwz5k.onion:8333", "addrbind": "127.0.0.1:50550", "services": "0000000000000409", "servicesnames": [ "NETWORK", "WITNESS", "NETWORK_LIMITED" ], "relaytxes": true, "lastsend": 1602351098, "lastrecv": 1602351100, "bytessent": 854491, "bytesrecv": 6141839, "conntime": 1602343807, "timeoffset": -3, "pingtime": 0.448378, "minping": 0.282023, "version": 70015, "subver": "/Satoshi:0.20.0/", "inbound": false, "addnode": false, "startingheight": 652116, "banscore": 0, "synced_headers": 652125, "synced_blocks": 652125, "inflight": [ ], "whitelisted": false, "permissions": [ ], "minfeefilter": 0.00001000, "bytessent_per_msg": { "addr": 1990, "feefilter": 32, "getaddr": 24, "getdata": 384443, "getheaders": 1053, "headers": 636, "inv": 462169, "ping": 1952, "pong": 1952, "sendcmpct": 66, "sendheaders": 24, "verack": 24, "version": 126 }, "bytesrecv_per_msg": { "addr": 31767, "cmpctblock": 16923, "feefilter": 32, "getheaders": 1053, "headers": 954, "inv": 673888, "notfound": 992, "ping": 1952, "pong": 1952, "sendcmpct": 66, "sendheaders": 24, "tx": 5412086, "verack": 24, "version": 126 } }, { "id": 6, "addr": "vszexl5hefva7xev.onion:8333", "addrbind": "127.0.0.1:50560", "services": "000000000000040d", "servicesnames": [ "NETWORK", "BLOOM", "WITNESS", "NETWORK_LIMITED" ], "relaytxes": true, "lastsend": 1602351099, "lastrecv": 1602351100, "bytessent": 855707, "bytesrecv": 1650986, "conntime": 1602343829, "timeoffset": -3, "pingtime": 0.748079, "minping": 0.437487, "version": 70015, "subver": "/Satoshi:0.20.0/", "inbound": false, "addnode": false, "startingheight": 652116, "banscore": 0, "synced_headers": 652124, "synced_blocks": 652124, "inflight": [ ], "whitelisted": false, "permissions": [ ], "minfeefilter": 0.00001000, "bytessent_per_msg": { "addr": 1895, "feefilter": 32, "getaddr": 24, "getdata": 94281, "getheaders": 1053, "headers": 742, "inv": 738430, "ping": 1952, "pong": 1952, "sendcmpct": 66, "sendheaders": 24, "tx": 15106, "verack": 24, "version": 126 }, "bytesrecv_per_msg": { "addr": 32132, "feefilter": 32, "getdata": 1718, "getheaders": 1053, "headers": 636, "inv": 440395, "notfound": 133, "ping": 1952, "pong": 1952, "sendcmpct": 66, "sendheaders": 24, "tx": 1170743, "verack": 24, "version": 126 } }, { "id": 11, "addr": "nuc6z2h2r5jkino5.onion:8333", "addrbind": "127.0.0.1:50576", "services": "000000000000040d", "servicesnames": [ "NETWORK", "BLOOM", "WITNESS", "NETWORK_LIMITED" ], "relaytxes": true, "lastsend": 1602351099, "lastrecv": 1602351097, "bytessent": 1036542, "bytesrecv": 2516753, "conntime": 1602343859, "timeoffset": -2, "pingtime": 0.796754, "minping": 0.364353, "version": 70015, "subver": "/Satoshi:0.20.0/", "inbound": false, "addnode": false, "startingheight": 652116, "banscore": 0, "synced_headers": 652125, "synced_blocks": 652125, "inflight": [ ], "whitelisted": false, "permissions": [ ], "minfeefilter": 0.00001000, "bytessent_per_msg": { "addr": 1885, "feefilter": 32, "getaddr": 24, "getblocktxn": 90, "getdata": 133714, "getheaders": 1053, "headers": 318, "inv": 705652, "ping": 1952, "pong": 1952, "sendcmpct": 99, "sendheaders": 24, "tx": 189597, "verack": 24, "version": 126 }, "bytesrecv_per_msg": { "addr": 31682, "blocktxn": 142877, "cmpctblock": 84596, "feefilter": 32, "getdata": 2328, "getheaders": 1053, "headers": 424, "inv": 457927, "notfound": 565, "ping": 1952, "pong": 1952, "sendcmpct": 66, "sendheaders": 24, "tx": 1791125, "verack": 24, "version": 126 } }, { "id": 13, "addr": "b76qnbicu63xuwfd.onion:8333", "addrbind": "127.0.0.1:50580", "services": "0000000000000409", "servicesnames": [ "NETWORK", "WITNESS", "NETWORK_LIMITED" ], "relaytxes": true, "lastsend": 1602351101, "lastrecv": 1602351089, "bytessent": 872296, "bytesrecv": 2572685, "conntime": 1602343867, "timeoffset": -2, "pingtime": 0.829834, "minping": 0.560229, "version": 70015, "subver": "/Satoshi:0.20.1/", "inbound": false, "addnode": false, "startingheight": 652116, "banscore": 0, "synced_headers": 652125, "synced_blocks": 652125, "inflight": [ ], "whitelisted": false, "permissions": [ ], "minfeefilter": 0.00001000, "bytessent_per_msg": { "addr": 2160, "feefilter": 32, "getaddr": 24, "getblocktxn": 626, "getdata": 104677, "getheaders": 1053, "headers": 530, "inv": 737718, "ping": 1952, "pong": 1952, "sendcmpct": 99, "sendheaders": 24, "tx": 21299, "verack": 24, "version": 126 }, "bytesrecv_per_msg": { "addr": 31722, "blocktxn": 624037, "cmpctblock": 117597, "feefilter": 32, "getdata": 1666, "getheaders": 1053, "headers": 212, "inv": 460837, "ping": 1952, "pong": 1952, "sendcmpct": 66, "sendheaders": 24, "tx": 1331385, "verack": 24, "version": 126 } }, { "id": 14, "addr": "heopbnyhiik5eeoe.onion:8333", "addrbind": "127.0.0.1:50582", "services": "0000000000000409", "servicesnames": [ "NETWORK", "WITNESS", "NETWORK_LIMITED" ], "relaytxes": false, "lastsend": 1602351077, "lastrecv": 1602351077, "bytessent": 6886, "bytesrecv": 7644, "conntime": 1602343873, "timeoffset": -2, "pingtime": 0.682069, "minping": 0.416168, "version": 70015, "subver": "/Satoshi:0.20.0/", "inbound": false, "addnode": false, "startingheight": 652116, "banscore": 0, "synced_headers": 652125, "synced_blocks": 652125, "inflight": [ ], "whitelisted": false, "permissions": [ ], "minfeefilter": 0.00000000, "bytessent_per_msg": { "getheaders": 2106, "headers": 636, "ping": 1952, "pong": 1952, "sendcmpct": 66, "sendheaders": 24, "verack": 24, "version": 126 }, "bytesrecv_per_msg": { "addr": 1380, "feefilter": 32, "getheaders": 1053, "headers": 1035, "ping": 1952, "pong": 1952, "sendcmpct": 66, "sendheaders": 24, "verack": 24, "version": 126 } }, { "id": 15, "addr": "fbb52w5wwjl6kaip.onion:8333", "addrbind": "127.0.0.1:50584", "services": "000000000000040d", "servicesnames": [ "NETWORK", "BLOOM", "WITNESS", "NETWORK_LIMITED" ], "relaytxes": false, "lastsend": 1602351083, "lastrecv": 1602351083, "bytessent": 6024, "bytesrecv": 125891, "conntime": 1602343879, "timeoffset": -2, "pingtime": 0.5636370000000001, "minping": 0.430084, "version": 70015, "subver": "/Satoshi:0.20.1/", "inbound": false, "addnode": false, "startingheight": 652116, "banscore": 0, "synced_headers": 652125, "synced_blocks": 652125, "inflight": [ ], "whitelisted": false, "permissions": [ ], "minfeefilter": 0.00000000, "bytessent_per_msg": { "getblocktxn": 97, "getdata": 61, "getheaders": 1053, "headers": 636, "ping": 1952, "pong": 1952, "sendcmpct": 99, "sendheaders": 24, "verack": 24, "version": 126 }, "bytesrecv_per_msg": { "addr": 1220, "blocktxn": 21734, "cmpctblock": 97390, "feefilter": 32, "getheaders": 1053, "headers": 318, "ping": 1952, "pong": 1952, "sendcmpct": 66, "sendheaders": 24, "verack": 24, "version": 126 } }, { "id": 16, "addr": "xvyvokgiyb5jkiwp.onion:8333", "addrbind": "127.0.0.1:50586", "services": "000000000000040d", "servicesnames": [ "NETWORK", "BLOOM", "WITNESS", "NETWORK_LIMITED" ], "relaytxes": true, "lastsend": 1602351097, "lastrecv": 1602351096, "bytessent": 814037, "bytesrecv": 3656489, "conntime": 1602343886, "timeoffset": -2, "pingtime": 0.363626, "minping": 0.302381, "version": 70015, "subver": "/Satoshi:0.20.1/", "inbound": false, "addnode": false, "startingheight": 652116, "banscore": 0, "synced_headers": 652125, "synced_blocks": 652125, "inflight": [ ], "whitelisted": false, "permissions": [ ], "minfeefilter": 0.00001000, "bytessent_per_msg": { "addr": 2385, "feefilter": 32, "getaddr": 24, "getdata": 182554, "getheaders": 3159, "headers": 636, "inv": 618145, "ping": 1952, "pong": 1952, "sendcmpct": 66, "sendheaders": 24, "tx": 2958, "verack": 24, "version": 126 }, "bytesrecv_per_msg": { "addr": 31932, "feefilter": 32, "getdata": 399, "getheaders": 1053, "headers": 1010, "inv": 534566, "notfound": 61, "ping": 1952, "pong": 1952, "sendcmpct": 66, "sendheaders": 24, "tx": 3083292, "verack": 24, "version": 126 } }, { "id": 20, "addr": "j3myk26hdlvv7lak.onion:8333", "addrbind": "127.0.0.1:50838", "services": "000000000000040d", "servicesnames": [ "NETWORK", "BLOOM", "WITNESS", "NETWORK_LIMITED" ], "relaytxes": true, "lastsend": 1602351096, "lastrecv": 1602351079, "bytessent": 740944, "bytesrecv": 1368966, "conntime": 1602345046, "timeoffset": -2, "pingtime": 0.577812, "minping": 0.554763, "version": 70015, "subver": "/Satoshi:0.20.1/", "inbound": false, "addnode": false, "startingheight": 652119, "banscore": 0, "synced_headers": 652125, "synced_blocks": 652125, "inflight": [ ], "whitelisted": false, "permissions": [ ], "minfeefilter": 0.00001000, "bytessent_per_msg": { "addr": 1625, "feefilter": 32, "getaddr": 24, "getdata": 70430, "getheaders": 1053, "headers": 636, "inv": 650243, "ping": 1632, "pong": 1632, "sendcmpct": 66, "sendheaders": 24, "tx": 13397, "verack": 24, "version": 126 }, "bytesrecv_per_msg": { "addr": 31327, "feefilter": 32, "getdata": 1965, "getheaders": 1053, "headers": 636, "inv": 318887, "ping": 1632, "pong": 1632, "sendcmpct": 66, "sendheaders": 24, "tx": 1011562, "verack": 24, "version": 126 } }, { "id": 26, "addr": "k7rlneu6udmzblxu.onion:8333", "addrbind": "127.0.0.1:51226", "services": "0000000000000409", "servicesnames": [ "NETWORK", "WITNESS", "NETWORK_LIMITED" ], "relaytxes": true, "lastsend": 1602351100, "lastrecv": 1602351096, "bytessent": 490311, "bytesrecv": 1003460, "conntime": 1602346931, "timeoffset": -2, "pingtime": 0.48449, "minping": 0.302195, "version": 70015, "subver": "/Satoshi:0.19.1/", "inbound": false, "addnode": false, "startingheight": 652122, "banscore": 0, "synced_headers": 652125, "synced_blocks": 652125, "inflight": [ ], "whitelisted": false, "permissions": [ ], "minfeefilter": 0.00001000, "bytessent_per_msg": { "addr": 1220, "feefilter": 32, "getaddr": 24, "getdata": 62962, "getheaders": 1053, "headers": 212, "inv": 401827, "ping": 1120, "pong": 1120, "sendcmpct": 66, "sendheaders": 24, "tx": 20501, "verack": 24, "version": 126 }, "bytesrecv_per_msg": { "addr": 30837, "cmpctblock": 17222, "feefilter": 32, "getdata": 2821, "getheaders": 1053, "headers": 424, "inv": 242401, "ping": 1120, "pong": 1120, "sendcmpct": 66, "sendheaders": 24, "tx": 706190, "verack": 24, "version": 126 } }, { "id": 36, "addr": "rw6qufwn75p7migp.onion:8333", "addrbind": "127.0.0.1:51456", "services": "000000000000040d", "servicesnames": [ "NETWORK", "BLOOM", "WITNESS", "NETWORK_LIMITED" ], "relaytxes": true, "lastsend": 1602351099, "lastrecv": 1602351100, "bytessent": 359096, "bytesrecv": 784168, "conntime": 1602347987, "timeoffset": -2, "pingtime": 0.982123, "minping": 0.766064, "version": 70015, "subver": "/Satoshi:0.20.1/", "inbound": false, "addnode": false, "startingheight": 652124, "banscore": 0, "synced_headers": 652125, "synced_blocks": 652125, "inflight": [ ], "whitelisted": false, "permissions": [ ], "minfeefilter": 0.00001000, "bytessent_per_msg": { "addr": 1310, "feefilter": 32, "getaddr": 24, "getdata": 31211, "getheaders": 1053, "headers": 212, "inv": 321465, "ping": 832, "pong": 832, "sendcmpct": 66, "sendheaders": 24, "tx": 1885, "verack": 24, "version": 126 }, "bytesrecv_per_msg": { "addr": 30692, "feefilter": 32, "getdata": 377, "getheaders": 1053, "headers": 212, "inv": 187699, "ping": 832, "pong": 832, "sendcmpct": 66, "sendheaders": 24, "tx": 562199, "verack": 24, "version": 126 } } ]
Hope anyone can help me making these issues cleared.
|