ThisIsNotBetaRewardsNet [Mini-Testnet 26/05/24] [Offline]

All the latest code. All the hottest fixes. And at least some of the beta reward tracking flow!

THIS IS NOT THE REAL DEAL. Do not get excited about anything beta-rewardsy happening early. We’re hope you can help us with some pre-flight checks of the flow here, that is all.

In this testnet we’re really just looking to asses:

  1. If folk can use the Node Launchpad to start nodes with a Discord Username (Windows users see notes below)
  2. Is that Discord Username tracked by the network properly
  3. We can see and perhaps generate a leaderboard from this!

With this we have most of the flow for the reward calculations (beyond some discord plumbing).

So please let us know if you have issues, UX woes, or node world problems.

This testnet might well be short lived.


Testing The Flow

So first, we’d like everyone who’s interested to try starting nodes inputting their Discord Username into the launchpad.

  1. O allows you to allocate resources
  2. D sets Discord Username
  3. ctrl+g actually starts the nodes (assuming the rest is set)

What is my Discord Username?

This is your username on discord. Note that it can be different from your display name on a particular server.

You can copy it from Discord by clicking your profile (bottom left) and then clicking your name just under the profile image. It’s the Username you see when you right click on your name in discord and copy your id. It’s also the number you see in the URL when you visit your profile on discord.

Note: Discord Usernames aren’t validated in the launchpad, so you’ll have to watch out for typos…

Once you have have entered your Discord Username, please comment it in the thread here.

What happens next?

Nodes will encrypt the discord id as metadata when forwarding rewards to the foundation.

The foundation DAG has the ability to decrypt this, and will allow us to collate stats on rewards being generated by nodes.

To enable this, we’ll periodically update the DAG node with shared discord ids (from this thread), which will allow us to see rewards being forwarded to the foundation key.

(For rewards to be generated, we’ll obviously need some data to be uploaded, so the faucet still exists here, and we’d encourage folk to use that as normal).

And then

We’ll report back here with any modicum of success or no!


Stretch goals (for advanced users):

There’s a potential fix in for some home node issues (we’re seeing a 2%->15% increase in success rates here). We’d be keen to know if anyone is seeing a lot of the follow error (searched for via ripgrep in the node logs dirs)

rg -c 'Dcutr with remote peer: PeerId\(".*"\) is: Ok' ./ --search-zip | awk -F: '{sum += $2} END {print sum}'
rg -c 'Dcutr with remote peer: PeerId\(".*"\) is: (Ok|Err)' ./ --search-zip | awk -F: '{sum += $2} END {print sum}'

Windows

For Windows users, the launchpad and/or node manager requires the availability of WinSW.

To do this:

  • Download the WinSW-x64.exe binary from here
  • Rename the downloaded binary to winsw.exe
  • Copy the binary to C:\Windows\system32 or another location that is on the system or user Path

The C:\Windows\system32 is just somewhere that is guaranteed for every Windows install.


Network Details

Launchpad version: 0.2.0
Node version: 106.5
Client version: 0.92.0
Faucet url: 161.35.173.105:8000

You should download the launchpad from here choosing your platform there.

We have 50 droplets running a total of 2001 nodes. One droplet has 2vcpu and 4GB of memory.


If you are a regular user, see the ‘quickstart’ section for getting up and running.

If you are a first-time user, or would like more information, see the ‘further information’ section.


Quickstart

If you already have safeup, you can obtain the client binary:

safeup client --version 0.92.0

Connect to the Network as a Client

Linux/macOS:

safe wallet get-faucet 161.35.173.105:8000
safe files upload <directory-path>

Windows:

safe wallet get-faucet 161.35.173.105:8000
safe files upload <directory-path>

To do this with non-default batch-sizes (along with SAFE_PEERS set as above):

safe files upload --batch-size 40 <directory-path> 

40 being the integer value you want to set


Further Information

You can participate in the testnet either by connecting as a client or running your own node.

Connecting as a client requires the safe client binary; running a node requires the safenode binary.

Obtaining Binaries

We have a tool named safeup which is intended to make it easy to obtain the client, node, and other utility binaries.

Installing Safeup

On Linux/macOS, run the following command in your terminal:

curl -sSL https://raw.githubusercontent.com/maidsafe/safeup/main/install.sh | bash

On Windows, run the following command in a Powershell session (be careful to use Powershell, not cmd.exe):

iex (Invoke-RestMethod -Uri "https://raw.githubusercontent.com/maidsafe/safeup/main/install.ps1")

On either platform, you may need to restart your shell session for safeup to become available.

Installing Binaries

After obtaining safeup, you can install binaries like so:

safeup client # get the latest version of the client
safeup client --version 0.92.0 # get a specific version

safeup update # update all installed components to latest versions

When participating in our testnets, it is recommended to use a specific version. In our project we release a new version of the binaries every time we merge new code. This happens frequently, so over the lifetime of a testnet, many new releases will probably occur. So for participating in this particular testnet, you may not want the latest version.

The binaries are installed to ~/.local/bin on Linux and macOS, and on Windows they go to C:\Users\<username>\safe. Windows doesn’t really have a standard location for binaries that doesn’t require elevated privileges.

The safeup tool will modify the PATH variable on Linux/macOS, or the user Path variable on Windows. The effect of this is that the installed binaries will then become available in your shell without having to refer to them with their full paths. However, if you’re installing for the first time, you may need to start a new shell session for this change to be picked up.

Connecting as a Client

You can use the safe client binary to connect as a client and upload or download files to/from the network.

Using the Client

You’ll first need to get some Safe Network Tokens:

safe wallet get-faucet 161.35.173.105:8000

You can now proceed to use the client, by, e.g., uploading files:

safe files upload <directory-path>

To download that same content:

safe files download

This will download the files to the default location, which is platform specific:

# Linux
~/.local/share/safe/client/downloaded_files

# macOS
/Users/<username>/Library/Application Support/safe/client/downloaded_files

# Windows
C:\Users\<username>\AppData\Roaming\safe\client\downloaded_files

To download to a particular file or directory:

safe file download [directory/filename] [NetworkAddress]

Troubleshooting

Cleanup

If you’ve used previous versions of the network before and you find problems when running commands, you may want to consider clearing out previous data (worthless DBCs from previous runs, old logs, old keys, etc.).

# Linux
rm -rf ~/.local/share/safe

# macOS
rm -rf ~/Library/Application\ Support/safe

# Windows
rmdir /s C:\Users\<username>\AppData\Roaming\safe

If you encounter a problem running any of our binaries on Windows, it’s possible you need the Visual C++ Redistributable installed.

26 Likes

A pseudo betarewards then

3 Likes

The Americans will read this as

In this testnet we’re really just looking to arses:

4 Likes

I am confused, we may/can only use the lauchpad to participate?

4 Likes

Do you normally only show the client upgrade in the quickstart section?

2 Likes

discord user name for @aatonnomicc = timbobjohnes

2 Likes

did you use launchpad or safenode directly?

2 Likes

Discord username = joshclsn

2 Likes

Discord name JPL/mysterious_dragon_54020.

2 nodes marked as ‘added’ in the launchpad but no logs so far

2 Likes

I am testing it out on safe-node manager add --owner all my boxes are headless for my normal set up.

im also on a rubbish limited internet connection right now but ill try and start a single node on windows :slight_smile:

1 Like

bloody Norton lets me get a virus last month and says nothing about it. but its all over safe node launcher

2 Likes

ohh my this is is pretty

that’s as far as I get unfortunately udp is blocked on the network I am on right now :frowning:
udp being blocked also spoils my wire guard fun as well :frowning:

4 Likes

Norton itself is malware in many peoples professional opinions. Ever tried to remove it, its harder than most malware to remove. And McAfee along with it. Both are riding on their 1990’s good names.

Go for something cheaper and better, even avast is 10, to 100 times better

2 Likes

I am happy to test that for this testnet but would prefer to use my current methods. I hope this is not a requirement.

1 Like

I’m really sick of Norton I got that yahoo redirect virus a few months ago and it did sod all about it.
I downloaded and installed supper putty and next think I know I was in yahoo hell.

what would you recommend I don’t mind paying I just want a good antivirus ?

1 Like

@maidsafe the launchpad could have a couple of improvements

  1. display the discord name once set. Want to be sure it is recorded. At this time the line at the bottom shows the key commands with setting the discord name but when set there is no indications that it has been set.
  2. adding 30 nodes left me with “please wait” for a long time, I ended up going to do some housework and came back to see 25 of the 30 running and last 5 “added”. What happened? Why not start the whole 30? Is it still starting them up? or what?
    It’s be nice if there is an indication of what went wrong and they were not started rather than nothing and just saying “added”
    And be nice if the “please wait” was changed to “Starting node# xx Please Wait”
6 Likes

I started using avast free a few years ago and it seems to be real good. There are others that like really good but the names elude me. I ended up paying for it to get the firewall that allows me to control individual applications. Currently only on my windows machines and block microsoft’s spying ip addresses and apps. One way to give middle finger to microsoft, their store cannot work on my machine, some tracking sites are blocked too. I plan to have pie hole on my “homelab” (stupid name but flavour of the month) network and will do that blocking there

BTW I don’t have microsoft login either, just local machine login

2 Likes

ill give Avast a go next time I format the windows pc

uploads are going up nice and fast

"BegBlagandSteal.mp3" 3509bad03dc869dec883c7b44662c3503d2517fa9e828bb64f4dbe719d3837bf
"AnarchyInTheSouthside.mp3" c0893739a688b739aac5b75ac845b6c428c21b73dc782352bb1ad529495a87af
"Deep Feelings Mix.mp3" 614cb5c5dd84e9e1db69ae6fea37f280fb20347d278fef1d154f12a46d21ec4f
"Best_CD_Ever.mp3" 560678b8585c48bc67b547b3dfc517eaac1a355323670ab6ea0b4e79877238ed
5 Likes

you can spin up nodes manually, but we’re interested in the launchpad process

(you can still set owner on the nodes, and give us that info as your discordid, that is valid)

We thought we’d remove the node instructions as we’re really wanting to focus on the launchpad process, but it’s the same as always for joining nodes.

Launchpad will be for non tech folk. Node-manager isn’t going anywhere.


That’s the first couple of ids added to the reward tracker. Showing 0 atm but the interval is a few mins before we recollect.

@Josh @aatonnomicc Let me know a) if you are able to get rewards via the launchpad or b) if you launch nodes in the classic fashion w/ the same owner and they are earning.

3 Likes

Awesome, I gave getting it to work headless a go but I have thrown in the towel, if it can be done I couldn’t figure it out.

1 Like