I have written a script that I'd like help to test

First up, this script is not really suitable for distribution due to the data required to make it work in a suitable fashion. (millions of records)

The help that I am seeking is for people to supply a peer ID for me to test.

Background

Given a target node, specified by its 52 character ID, the script will reach out to it and request a quote from it.

This gives the ability to confirm the node is able to receive requests for quotes across the Autonomi network. From this, one can be reasonably certain that the target node is capable to earn as well.

Reliability - It is not guaranteed to be able to contact the node. But the larger the (static) data used by the script is the better chance it has to contact the node. It should have zero problems with a network of a million nodes at this time, and I am building the data file further. This is something I would love to have up on Autonomi as an App since Autonomi could host the data as well.

Drawback - the user cannot check their own node due to the issue I posted about in Support where hairpin routing is rarely available/enabled in routers.

Operation is basically using a chunk that is as close as possible to the node’s XOR address and use the client to attempt to upload the chunk. The client will also be trying to upload 2 other chunks, but they are ignored in determining if the target node responded.

By using the standard client there is standard communications used ensuring proper operation. It is the static data that allows a suitable file to be used to attempt to upload.

If the node runner is running something like vdash showing the store cost, then the fact a quote was given will cause vdash (or similar) to see a quote was given by the node.

10 Likes

Sure, give these a go : I gave the same thing a go a few months ago and the results weren’t great, heavily dependent on where you peered in the network to what you could see. Also the getQuote function would randomly flick between peer-id’s with a distance which wasn’t the closest to the xor address, so will be interesting to see what you get.

If you want more geo-locations, let me know :slight_smile:

Home-Network : Germany
12D3KooWPMBdAN2wejyYz9nEKV6eLTrWwQ9GhR3NB83T1pckWFKz
12D3KooWHk8ADmA1Z29D72UKz2vkrRb72RHacKEVTPxxKyry6nrW

Home-Network : Belgium
12D3KooWEPmfofP3TDadHJNhLkoh27j4e23Z1EmJwtd1QMRBkL8A
12D3KooWL1V8Q4miEMd2C8Htx5En15tti2qBZs4CFopJLYa62w6F

Home-Network : Poland
12D3KooWR3hBionUiakgpAXmBXVNayp3YKe8prUYkMryWfaoLBV4
12D3KooWFywQxvUgtnKZJvqcW7VLQsTnU22JWRmNr6k9uhN7qp4N

1 Like

recs - records used in quoting algorithm and is what your node is responsible for

Found, store cost 1 nano, 136 recs and uptime approx 88 hours

Found, store cost 1 nano, 282 recs and uptime approx 88 hours again

Doing the others now

1 Like

Home-Network : Belgium
12D3KooWEPmfofP3TDadHJNhLkoh27j4e23Z1EmJwtd1QMRBkL8A
found, 1 nano, 261 recs, received 1 payments, approx 88 hours
12D3KooWL1V8Q4miEMd2C8Htx5En15tti2qBZs4CFopJLYa62w6F
found, 1 nano, 285 recs, 0 payments, approx 88 hours

Home-Network : Poland
12D3KooWR3hBionUiakgpAXmBXVNayp3YKe8prUYkMryWfaoLBV4
found, 1 nano, 169 records, 0 payments, approx 0 hours
12D3KooWFywQxvUgtnKZJvqcW7VLQsTnU22JWRmNr6k9uhN7qp4N
found, 1 nano, 274 records, 0 payments, approx 0 hours

@Jadkin how was that

1 Like

AWS us-east-1
Port Forwarding
12D3KooWN2cLQW4b9gM3HRAMobcjHNbDnXhM8K1o8t1Z5eiK2Pc5

UK London
Port Forwarding
12D3KooWB4P2v6RaaRz8LAnEMXrrsJLcgqiCD8QuptgxnoVPvYkK

UK Midlands
Port Forwarding
12D3KooWLbyQ7DoPVJdvSYG1WRRVhZD9huLZB3tzgupYReC3Xz9c

1 Like

Hows that? anywhere near what you see

And I am off to sleep now - tomorrow I might do more if anyone has any. But it seems to be working

Yep, can see the requests coming in :+1:
Records have some variance : I include Storage / and Token Transactions in the number of records so maybe why my REC: is greater in some cases ?

Storage Cost is correct, uptime is correct, forward balance (FB) looks correct as well.

I would say looking very good !

1 Like

Yes the number of records stored is greater than the number of records your node is responsible for. The /metrics shows both values and vdash should show the records your are responsible for.

Yeah, been too lazy to update my script yet.

So are you able to extract the multi-addr from libp2p yet looking for the ‘p2p-circuit’ identifier, so we can get stats on how many peer’s are routing via a relay nodes ?

would be really interesting to be able to expose those stats.

3 Likes

Spot on for all figures!

(That one with the 25 x 1 nano payments is a bit of an oddity. I’m not complaining - it just seems odd considering how even this network is. Unfortunately that site will be going down forever at the end of this month so even if the earnings would have continued I won’t get them.)

1 Like

I cant cut n paste from the node launchpad, but feel free to give it try

here is the image of these 5 home safenodes,

Its a good service for sure, probably should be added to the client to query some SC Dapp running in a VM attached to a blockchain overlay as part of some overall DEX , :wink: which in theory is possible , checkout Spiderchain for some ideas in this regard, although it is UTXO on BTC stuff …

1 Like

Sorry, but typing in the string is not worth it for testing, more likely to make a mistake typing, thank you for helping.

1 Like

Yes some oddities.
Thank you for helping and also @Jadkin thank you as well.

Only need one or 2 more to see this as a success. Shouldn’t need that much testing as the basic principle is straight forward. The real testing is making sure the script doesn’t fall over or make mistake in working out xor address & file contents to use.

try these @neo :slight_smile:

12D3KooWFaKR8rMEaKpoVUGDDu8rZvZcbVcm8qNgem4cDDG4YzF4

12D3KooWQHe3oj5qZAyz3XtL1XzjXynNH4ymrBHVtcayDNnTpfBD

12D3KooWC9Unfwbm26Bgk9k2wwvTJ2tt7wsiyiBvHTHUbLKv4Gvq

These are on a dedicated Hetzner box in Falkenstein DE

1 Like

Here you go Neo:

12D3KooWA2EJ2FUFksXWSYxnKPy73LRsHzq2mw7FCm6PggYV1L1f
12D3KooWEndvziQaHrRpaFMCDRRWkcNn4Mc4gCfxL7Nt6eiHrCib
12D3KooWGVRdsqmsbePCvr8yNYLNDRh1yfGj3BrqUy1f7j2WV8oG
12D3KooWH7UedXMUnMPsnMA6U862fe5TS8W7Lc65jX2oFaJQjgv7
12D3KooWRm3KmuWrag1NyMCKcrpTEgn3wFUhDDxWQwDgfcSzdd9n

1 Like

@JPL The chunks I am uploading for your nodes are closer than any of the other closest nodes to that xor, so my script is saying those nodes cannot be reached by clients

2 Likes

can we capture the XOR address with other Autonomi tools? I can always download if that works…

1 Like

XOR address of a peer is derived from the peerID Xor=base58 decode of peerid fed through sha256

1 Like

My mistake. Try these

12D3KooWEE7qQNXd5e2omr7Bp4aY8Q5iVD3vveGTNPrVVoWzE5Qb
12D3KooWL8axUu7nyLYi4eUuSkKjmDhtLtoAR3L1BMnEK97hRdDt
12D3KooWN7mbMHsYJeWxZegLyCkQMZekrc4VvUqbKz6peW5dGvLz
12D3KooWNA7VUXeQPheSjp6DKtww56fjxW3HoReCeJicmtwUSPrw
12D3KooWNNySxxCz25ynCbJnLx6cV96dALh329yZij5NfPi47zgY

2 Likes

You were just testing me, weren’t you :rofl:

1 Like