BasicEconomyTweaks [Early Technical Beta] [OFFLINE - see new beta test - part deux]

@joshuef any idea what’s happening here?

I’ve made it running on Linux as well, but my balance is zero. Not sure how much time it takes to earn some first non-zero balance though. Seems like nobody can see me as you say.

But how can I solve this? I think most of the people are behind some kind of router, aren’t they?

Thank you! the problem is, after getting a message:

Trying to fetch the bootstrap peers from https://sn-testnet.s3.eu-west-2.amazonaws.com/network-contacts

Node started

PeerId is XYZ
You can check your reward balance by running:
`safe wallet balance --peer-id=XYZ`

I can’t do anything in the Powershell. I can’t type any command, it looks like it’s stuck. But if I close the Powershell, I will stop the node. Any ideas?

Just tried and when I want to check the balance, I get this scary message:

Program 'safe.exe' failed to run: Operation did not complete successfully because the file contains a virus or
potentially unwanted softwareAt line:1 char:1

Not that I noticed. Pretty sure all uploads from clients that had balances in client/wallet left over from BbbbadNet failed until I zapped the wallet folders and went back to the faucet. I was running two VPS and a client from home.

There will be a way of starting the process but making it run in the background on Windows. In Linux it’s by adding ‘& disown’ at the end of the command.

Edit:
This is outside my comfort area and I can’t tell if it’s a good answer but check out this page:-

It recommends doing one of these things:-

As long as the command is an executable or a file that has an associated executable, use Start-Process (available from v2):

Start-Process -NoNewWindow ping google.com

You can also add this as a function in your profile:

function bg() {Start-Process -NoNewWindow @args}

and then the invocation becomes:

bg ping google.com

In my opinion, Start-Job is an overkill for the simple use case of running a process in the background:

Other Windows users have reported that something in Windows reports ‘safe’ as being suspcious. It’s not unusual for storage and networking products to look ‘a bit fishy’ to malware detection software just because of the things they do. There will be a way of adding an exception for ‘safe’ and ‘safenode’. Hopefully eventually it will be possible to get the software ‘whitelisted’.

1 Like

I had an error downloading a large file:-

Error downloading "kali-linux-2023.3-installer-amd64.iso": SelfEncryption Error A generic I/O error.

I’ll try with a lower batch size. I did notice safe was maxing out my pisspoor ADSL 80Mb/s Down connection though. Need to do something about that! 1Gb fibre is supposed to be coming to my corner of the world but I’ll believe it when I see it.

I still seem to have the wallet and balance from the previous testnet… what do I have to delete again ?

EDIT: Never mind, rtfm

This is OK. It’s the expected behaviour. You can leave your node running in that Powershell session and open another one to use safe. The node doesn’t look like it’s doing anything, because all the output is going to the log files. (Hence why I don’t think that should be the default behaviour–people think it’s doing nothing.)

As for your other error with safe, I’m not sure you’ve installed it correctly. The error you’re getting there looks like a reference possibly to some kind of script file rather than the anti-virus software flagging it.

How did you try to install safe?

I’m still missing something:

  1. how can I run multiple nodes without resorting to a ghetto bash loop and just start the binary on X amount of ports
  2. where can I find that fancy cli dashboard that I see ?

No it was a long time ago, perhaps a year if not more.

Thats great, I am not so much interested in terms of the effect on pricing as much as having a reasonable idea of my nodes and hence network fulness.

Thanks Josh.

1 Like

It’s best to use the node manager for that, but we don’t really have instructions available yet.

Edit: actually, my new instructions are on a branch, if you wanted to take a look. They should be merged soon.

This is called vdash. I’ve not used it myself yet so I can’t advise on the setup, but it was written by @happybeing .

4 Likes
5 Likes

if you want the latest version 0.7.2

wget https://github.com/maidsafe/safe_network/releases/download/sn-node-manager-v0.7.2/safenode-manager--x86_64-unknown-linux-musl.tar.gz
tar -xvzf safenode-manager--x86_64-unknown-linux-musl.tar.gz
cp safenode-manager /home/ubuntu/.local/bin/safenode-manager
rm ./safenode*

I’m not sure its crash-proof? But lots of joining nodes will cause churn etc, so it adds up.

Trick will be that the impact will reduce as the network scales (and so getting enough nodes in as a starter… 2k from us is likely not enough if you’re launching 1k eg. And i think it’s good you are! But just that we’ll need to be factoring this all in I think as we launch any more networks)

1 Like

iv been trying to get some more proof but cant duplicate it even joining 5 machines at the same time.
guessing i must be unlucky and have caught the network in churn.

guessing that this only effects a young network and what we need is to reach scale.

1 Like

4.6Gb ubuntu 23 iso went up in 15 min --batch-size 100 :slight_smile:

safe files download "ubuntu-23.04-desktop-amd64.iso" 80d88c666263718d9ee271acdf38710065d4cc235837eed7fa7314f0a53d8080
3 Likes

Thats the way Unix was designed. That way the user decided what to do with the output by piping it. A logger, a stream editor, or whatever, including tee.

Thats for foreground tasks of course. Not services/daemons

4 Likes

on the button. @aatonnomicc :dart:

night night -me for early night :sleeping_bed:

6 Likes