hsd icon indicating copy to clipboard operation
hsd copied to clipboard

Testnet: can't find peers, cant find blocks

Open pinheadmz opened this issue 5 years ago • 5 comments

UPDATE: I have destroyed my testnet node due to lack of interest. Community members who want to build a testnet should comment on this issue, or open a PR replacing the hsd testnet seed nodes, which are also inactive:

https://github.com/handshake-org/hsd/blob/fb6ce9fe4a884048e54654a591f0b002e829b81f/lib/protocol/networks.js#L585-L587

https://github.com/handshake-org/hsd/blob/fb6ce9fe4a884048e54654a591f0b002e829b81f/lib/net/seeds/testnet.js#L3-L8

~I have a testnet node up at:~

ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75ocbeb4wg@142.93.64.216

~You can connect like this:~

$ hsd --network=testnet \
--only=ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75ocbeb4wg@142.93.64.216 

~I have only here to avoid bothering with the hard-coded testnet seeds which seem to be down. If you want to run a testnet node, add your IP in this discussion.~

pinheadmz avatar Feb 06 '20 21:02 pinheadmz

👏 👏 👏

wi-ski avatar Feb 06 '20 21:02 wi-ski

[debug] (net) Connecting to ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75ocbeb4w [email protected]:45806. [info] (net) Adding loader peer (ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75oc [email protected]:45806). [spam] (net) Refilling peers (1/1). [info] (net) Connected to ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75ocbeb4wg@ 142.93.64.216:45806. [debug] (peer) Received verack (ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75ocb [email protected]:45806). [info] (net) Received version (ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75ocb$ [email protected]:45806): version=1 height=0 services=11 agent=/hsd:2.0.1/ [debug] (node) Added time data: samples=1, offset=-1 (0 minutes). [debug] (peer) Version handshake complete (ai3shxm76z2fvdhv5rvbriloabhsghr6v43m$ [email protected]:45806). [info] (peer) Initializing normal compact blocks (ai3shxm76z2fvdhv5rvbriloabhsg$ [email protected]:45806). [debug] (peer) Requesting inv packet from peer with getblocks (ai3shxm76z2fvdhv$ [email protected]:45806). [debug] (peer) Sending getblocks (hash=b1520dd24372f82ec94ebf8cf9d9b037d419c4aa$ 575d05dec70aedd1b427901, stop=0000000000000000000000000000000000000000000000000$ 00000000000000). [info] (net) Received 1 addrs (hosts=5, peers=1) (ai3shxm76z2fvdhv5rvbriloabhsg$ [email protected]:45806). [info] (peer) Peer initialized compact blocks (mode=0, version=1) (ai3shxm76z2f$ [email protected]:45806). [debug] (net) Error: Peer is stalling (inv). (ai3shxm76z2fvdhv5rvbriloabhsghr6v$ [email protected]:45806) [info] (net) Removed loader peer (ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75$ [email protected]:45806). [debug] (net) Connecting to ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75ocbeb4$ [email protected]:45806. [info] (net) Adding loader peer (ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75o$ [email protected]:45806).

protovist avatar Feb 09 '20 14:02 protovist

@protovist no one is mining on testnet and the lack of blocks is causing network errors.

pinheadmz avatar Feb 09 '20 14:02 pinheadmz

Good news! There is now at least one block on testnet.

pinheadmz avatar Feb 09 '20 22:02 pinheadmz

I updated the top post - my testnet node is no longer active

pinheadmz avatar Aug 03 '20 15:08 pinheadmz