handshake-org / hsd

Handshake Daemon & Full Node
Other
1.93k stars 278 forks source link

Testnet: can't find peers, cant find blocks #365

Open pinheadmz opened 4 years ago

pinheadmz commented 4 years ago

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.~

wi-ski commented 4 years ago

👏 👏 👏

protovist commented 4 years ago

[debug] (net) Connecting to ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75ocbeb4w g@142.93.64.216:45806. [info] (net) Adding loader peer (ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75oc beb4wg@142.93.64.216:45806). [spam] (net) Refilling peers (1/1). [info] (net) Connected to ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75ocbeb4wg@ 142.93.64.216:45806. [debug] (peer) Received verack (ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75ocb eb4wg@142.93.64.216:45806). [info] (net) Received version (ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75ocb$ b4wg@142.93.64.216: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$ 3zmtlq75ocbeb4wg@142.93.64.216:45806). [info] (peer) Initializing normal compact blocks (ai3shxm76z2fvdhv5rvbriloabhsg$ r6v43mi3zmtlq75ocbeb4wg@142.93.64.216:45806). [debug] (peer) Requesting inv packet from peer with getblocks (ai3shxm76z2fvdhv$ rvbriloabhsghr6v43mi3zmtlq75ocbeb4wg@142.93.64.216:45806). [debug] (peer) Sending getblocks (hash=b1520dd24372f82ec94ebf8cf9d9b037d419c4aa$ 575d05dec70aedd1b427901, stop=0000000000000000000000000000000000000000000000000$ 00000000000000). [info] (net) Received 1 addrs (hosts=5, peers=1) (ai3shxm76z2fvdhv5rvbriloabhsg$ r6v43mi3zmtlq75ocbeb4wg@142.93.64.216:45806). [info] (peer) Peer initialized compact blocks (mode=0, version=1) (ai3shxm76z2f$ dhv5rvbriloabhsghr6v43mi3zmtlq75ocbeb4wg@142.93.64.216:45806). [debug] (net) Error: Peer is stalling (inv). (ai3shxm76z2fvdhv5rvbriloabhsghr6v$ 3mi3zmtlq75ocbeb4wg@142.93.64.216:45806) [info] (net) Removed loader peer (ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75$ cbeb4wg@142.93.64.216:45806). [debug] (net) Connecting to ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75ocbeb4$ g@142.93.64.216:45806. [info] (net) Adding loader peer (ai3shxm76z2fvdhv5rvbriloabhsghr6v43mi3zmtlq75o$ beb4wg@142.93.64.216:45806).

pinheadmz commented 4 years ago

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

pinheadmz commented 4 years ago

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

pinheadmz commented 4 years ago

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