Sorry I was not clear (feeble attempt at humor). It is RewardNet.
I started 16, 15 of which got records right away, 1 is not getting any.
All on the same machine.
Edit: it has now started getting records, it definitely lagged behind the rest by at least 30 minutes probably a little more whereas the other 15 starting getting records right from the start.
I’m trying to check that my nodes are getting rewards. I’m running the command specified at startup but this is what I’m getting:-
safe wallet balance --peer-id=12D3KooWGMLbmEfm82ezaq8NtQZ69wZt39TRrQfvrH2c1dDY6Rha
Built with git version: 8faf662 / main / 8faf662
Error: I/O error: No such file or directory (os error 2)
Caused by:
No such file or directory (os error 2)
Location:
sn_cli/src/subcommands/wallet.rs:142:18
I believe I have the right versions of safe and safenode:-
safe wallet balance --peer-id="12D3KooWShazzctfbEqAqzhbje6R3ev7e8SHYXjAKJcJt5YqS2RT"
Built with git version: 8faf662 / main / 8faf662
Error: I/O error: No such file or directory (os error 2)
Caused by:
No such file or directory (os error 2)
Location:
sn_cli/src/subcommands/wallet.rs:142:18
Can you see my balance at 12D3KooWFtTtZyDuKdXHAKdNHrxoPLpL2mEM9mCaXr6Up9N4GnrS ?
safe wallet balance --peer-id=12D3KooWShazzctfbEqAqzhbje6R3ev7e8SHYXjAKJcJt5YqS2RT
Built with git version: 8faf662 / main / 8faf662
Node's rewards wallet balance (PeerId: 12D3KooWShazzctfbEqAqzhbje6R3ev7e8SHYXjAKJcJt5YqS2RT): 0.000000012
no I can not see yours.
safe wallet balance --peer-id=12D3KooWFtTtZyDuKdXHAKdNHrxoPLpL2mEM9mCaXr6Up9N4GnrS
Built with git version: 8faf662 / main / 8faf662
Error: I/O error: No such file or directory (os error 2)
safe wallet balance --peer-id=12D3KooWFtTtZyDuKdXHAKdNHrxoPLpL2mEM9mCaXr6Up9N4GnrS
Built with git version: 8faf662 / main / 8faf662
Error: I/O error: No such file or directory (os error 2)
Caused by:
No such file or directory (os error 2)
Location:
sn_cli/src/subcommands/wallet.rs:142:18
I’m wondering if it is something to do with running on Arm. Which I do because I’m fancy like that. Maybe something isn’t compiled correctly for that archictecture in what is downloaded via safeup.
I think I’ll try compiling safe and report back. That might be tomorrow now.
I’m guessing this ERROR is due to my not leaving the default node directory:
safe wallet balance --peer-id=12D3KooWLvXHygJx2wEEK2hLKkBhiRbNyMiToBBGaA7euFuEHBPv
Built with git version: 8faf662 / main / 8faf662
Error: I/O error: No such file or directory (os error 2)
Caused by:
No such file or directory (os error 2)
Location:
sn_cli/src/subcommands/wallet.rs:142:18
I use the following command to start my node. I’m not sure it we need to handle non-standard node commands in the OP but just noting that it doesn’t work in this instance.
Is there a way to ask for the wallet balance with a non-standard wallet path?
EDIT: either way I think the error could be made more helpful by mentioning the directory that it didn’t find and perhaps suggesting how to resolve this.
I think you’ve cracked this nut! When I run it with the standard command all is good:-
ubuntu@ip-172-30-1-171:~/scripts$ SN_LOG=all $HOME/.local/bin/safenode --log-output-dest=$HOME/.local/share/safe/node &
[1] 18290
ubuntu@ip-172-30-1-171:~/scripts$ Logging to directory: "/home/ubuntu/.local/share/safe/node"
Using SN_LOG=all
Node started
PeerId is 12D3KooWK19yenLwDf7cRYbGngph7SKgXy579KzqGWUnbF1csaAU
You can check your reward balance by running:
`safe wallet balance --peer-id=12D3KooWK19yenLwDf7cRYbGngph7SKgXy579KzqGWUnbF1csaAU`
safe wallet balance --peer-id=12D3KooWK19yenLwDf7cRYbGngph7SKgXy579KzqGWUnbF1csaAU
Built with git version: 8faf662 / main / 8faf662
Node's rewards wallet balance (PeerId: 12D3KooWK19yenLwDf7cRYbGngph7SKgXy579KzqGWUnbF1csaAU): 0.000000000
So it’s the root-dir argument that messes it all up for getting the balance.
which I’ve been using because I run a oneliner to start 50 nodes at once with the root-dir in
$HOME/.local/share/safe/node/$i
Thanks for the troublshooting @josh and @JPL as well!
So who is able to do some back of the envelope calculations here to determine the dollar value of a SNT based on the cost of currently available cloud storage?
We know what the Safe Network currently charges in SNT so it should be possible to come up with a number… right?
Obviously just now the numbers mean nothing as there’s no market for SNT or storage resources, and very empty nodes, but here’s my brief stab at silly numbers:
Cost per MB to put: 0.0000000347 (From JPL’s post - 160 nano for 4.608mb)
Cost per TB to put: 0.0364088889
If we assume a put to the Safe Network is valued at the same as 3 years of cloud storage cost, then;
Less fun on the client trying to upload 41MB with c=10
willie@gagarin:~$ time safe files -c 10 upload /fgfs/Aircraft/A300-600/
Built with git version: 8faf662 / main / 8faf662
Instantiating a SAFE client...
🔗 Connected to the Network Preparing (chunking) files at '/fgfs/Aircraft/A300-600/'...
Making payment for 763 Chunks that belong to 232 file/s.
Transfers applied locally
After 108.74687311s, All transfers made for total payment of Token(11696) nano tokens.
Successfully made payment of 0.000011696 for 232 records. (At a cost per record of Token(11696).)
Successfully stored wallet with cached payment proofs, and new balance 99.999986672.
Successfully paid for storage and generated the proofs. They can now be sent to the storage nodes when uploading paid chunks.
Preparing to store file 'MainPanel.png' of 576484 bytes (4 chunk/s)..
Preparing to store file 'flightdeck.ac' of 1862698 bytes (5 chunk/s)..
Preparing to store file 'DGempty1.xml' of 573 bytes (1 chunk/s)..
Preparing to store file 'A300-603-set.xml' of 5211 bytes (4 chunk/s)..
snip
Preparing to store file 'jet.wav' of 34890 bytes (4 chunk/s)..
Preparing to store file 'DigitalAlt.ac' of 10547 bytes (4 chunk/s)..
Preparing to store file 'Fuselage.xml' of 790 bytes (1 chunk/s)..
Starting to upload chunk #3 from "tyre-smoke-left.xml". (after 3 minutes 47 seconds elapsed)
Starting to upload chunk #3 from "empty2.png". (after 3 minutes 51 seconds elapsed)
Failed to store all chunks of file 'DGempty1.xml' to all nodes in the close group: Network Error Could not retrieve the record after storing it: 012ab2f983912ec9abdc2be708646a20c9288f5cf7258e11cde4bc7bc11699d2.
Starting to upload chunk #0 from "empty2.png". (after 3 minutes 51 seconds elapsed)
Starting to upload chunk #3 from "n1.png". (after 4 minutes 3 seconds elapsed)
Starting to upload chunk #0 from "tyre-smoke-left.xml". (after 4 minutes 10 seconds elapsed)
Starting to upload chunk #1 from "tyre-smoke-left.xml". (after 4 minutes 14 seconds elapsed)
Failed to store all chunks of file 'computer.ac' to all nodes in the close group: Network Error Could not retrieve the record after storing it: 06af825e685575f9d876631a8fc1f00d472840ae602e0c72d3800c9896c51c2e.
Starting to upload chunk #0 from "PW-4156A.xml". (after 4 minutes 22 seconds elapsed)
Starting to upload chunk #2 from "tyre-smoke-left.xml". (after 4 minutes 29 seconds elapsed)
Starting to upload chunk #0 from "n1.png". (after 4 minutes 29 seconds elapsed)
Starting to upload chunk #3 from "vsi.ac". (after 4 minutes 36 seconds elapsed)
Starting to upload chunk #3 from "vsi.ac". (after 4 minutes 36 seconds elapsed)
Starting to upload chunk #1 from "empty2.png". (after 7 minutes 39 seconds elapsed)
Starting to upload chunk #3 from "overspeed2.wav". (after 8 minutes 4 seconds elapsed)
Starting to upload chunk #1 from "n1.png". (after 8 minutes 5 seconds elapsed)
Failed to store all chunks of file 'PW-4156A.xml' to all nodes in the close group: Network Error Could not retrieve the record after storing it: 16ea871f4e73139417355ad1e50a4013857d8e33bf48b77ffbb58550752d2645.
Starting to upload chunk #2 from "n1.png". (after 8 minutes 9 seconds elapsed)
Starting to upload chunk #0 from "electrical.nas". (after 8 minutes 11 seconds elapsed)
Starting to upload chunk #2 from "empty2.png". (after 8 minutes 17 seconds elapsed)
Starting to upload chunk #0 from "epr-L.xml". (after 8 minutes 35 seconds elapsed)
Starting to upload chunk #0 from "overspeed2.wav". (after 8 minutes 35 seconds elapsed)
Starting to upload chunk #1 from "overspeed2.wav". (after 8 minutes 45 seconds elapsed)
Failed to store all chunks of file 'tyre-smoke-left.xml' to all nodes in the close group: Network Error Could not retrieve the record after storing it: eee235bcb7d9fb6302550de36779fdb03974bc9ba4187f41cf54794131e513eb.
Thats going nowhere in a hurry.
Was c=10 too aggressive?
Try again at c=5
EDIT nope this upload fails
Starting to upload chunk #0 from "altimeter.ac". (after 6 minutes 10 seconds elapsed)
Failed to store all chunks of file 'computer.ac' to all nodes in the close group: Network Error Could not retrieve the record after storing it: 06af825e685575f9d876631a8fc1f00d472840ae602e0c72d3800c9896c51c2e.
Starting to upload chunk #3 from "chronometer.xml". (after 6 minutes 28 seconds elapsed)
Starting to upload chunk #3 from "tyre-smoke-left.xml". (after 9 minutes 58 seconds elapsed)
Starting to upload chunk #0 from "PW-4156A.xml". (after 10 minutes 18 seconds elapsed)
Starting to upload chunk #0 from "tyre-smoke-left.xml". (after 13 minutes 27 seconds elapsed)
Failed to store all chunks of file 'PW-4156A.xml' to all nodes in the close group: Network Error Could not retrieve the record after storing it: 16ea871f4e73139417355ad1e50a4013857d8e33bf48b77ffbb58550752d2645.
Starting to upload chunk #3 from "OilPress.ac". (after 14 minutes 6 seconds elapsed)
Starting to upload chunk #0 from "OilPress.ac". (after 14 minutes 27 seconds elapsed)
Starting to upload chunk #3 from "PanelUP.png". (after 16 minutes 32 seconds elapsed)
Starting to upload chunk #3 from "empty2.png". (after 17 minutes 46 seconds elapsed)
Starting to upload chunk #0 from "empty2.png". (after 17 minutes 54 seconds elapsed)
Starting to upload chunk #1 from "empty2.png". (after 17 minutes 56 seconds elapsed)
Starting to upload chunk #2 from "empty2.png". (after 19 minutes 52 seconds elapsed)
Starting to upload chunk #1 from "PanelUP.png". (after 20 minutes 40 seconds elapsed)
Starting to upload chunk #0 from "PanelUP.png". (after 21 minutes 56 seconds elapsed)
Starting to upload chunk #2 from "chronometer.xml". (after 22 minutes 6 seconds elapsed)
Starting to upload chunk #0 from "chronometer.xml". (after 22 minutes 7 seconds elapsed)