Proof of Resource has 2 parameters that are hard coded and I didn’t want to change the code so that people can use maidsafe deliveries directly.
Requirements could also be lowered with a smaller value for min_section _size, but I couldn’t get it working.
This is a technology I don’t master. Instead I have used Docker which is more light weight. In fact I began all of this as a self training on Docker, using safe vault management as example.
Currently there are 2 nodes that are not mine.
Not exactly : only those nodes will show up in the dashboard, but every nodes should appear in the galaxy.
Yes, there is one. It is named tsafe/vault3 on docker hub. It is automatically downloaded and executed when you join my swarm.
I am on mobile now and I can’t check that, but you should be able to run it independently with this command: docker run -d -p 5483:5483 tsafe/vault3
. In this mode (outside the swarm) vault data isn’t collected and vault doesn’t appear in dashboard (but does appear in galaxy).
Edit: I tested this command and it works. You can also see what’s happening inside the container with this command: docker run -it -p 5483:5483 tsafe/vault3 /bin/bash
. Example of a complete session:
root@TMP--01:~# docker run -it --rm -p 5483:5483 tsafe/vault3 /bin/bash
root@9975cce72363:/app# ls
log.yml safe_vault safe_vault.crust.config safe_vault.routing.config safe_vault.vault.config
root@9975cce72363:/app# ./safe_vault
I 18-12-28 20:48:12.120968
Running safe_vault v0.18.0
==========================
I 18-12-28 20:48:14.146167 Created chunk store at /tmp/safe_vault_chunk_store.c7rWbDP96Lr1 with capacity of 34359738368 bytes.
I 18-12-28 20:48:16.136521 JoiningNode(48217f..()) Requesting a relocated name from the network. This can take a while.
I 18-12-28 20:48:19.490178 Node(413941..()) Received relocation section. Establishing connections to 11 peers.
I 18-12-28 20:48:19.490409 Node(413941..()) Added c74965.. to routing table.
I 18-12-28 20:48:19.651350 Node(413941..()) Starting approval process to test this node's resources. This will take at least 300 seconds.
I 18-12-28 20:48:19.795968 Node(413941..()) Added daa89a.. to routing table.
I 18-12-28 20:48:19.843770 Node(413941..()) Added 1b9811.. to routing table.
I 18-12-28 20:48:19.845000 Node(413941..()) Added 2dfeaf.. to routing table.
I 18-12-28 20:48:19.989497 Node(413941..()) Added 9ce49e.. to routing table.
I 18-12-28 20:48:19.990438 Node(413941..()) Added bace63.. to routing table.
I 18-12-28 20:48:20.000835 Node(413941..()) Added 826180.. to routing table.
I 18-12-28 20:48:20.132152 Node(413941..()) Added ac1729.. to routing table.
I 18-12-28 20:48:20.138025 Node(413941..()) Added 4c8b40.. to routing table.
I 18-12-28 20:48:20.157406 Node(413941..()) Added 6770ad.. to routing table.
I 18-12-28 20:48:20.170456 Node(413941..()) Added eee3ba.. to routing table.
I 18-12-28 20:48:49.490475 Node(413941..()) 1/11 resource proof response(s) complete, 24% of data sent. 380 seconds/410 seconds remaining.
I 18-12-28 20:49:19.490588 Node(413941..()) 1/11 resource proof response(s) complete, 41% of data sent. 350 seconds/410 seconds remaining.
I 18-12-28 20:49:49.490811 Node(413941..()) 2/11 resource proof response(s) complete, 56% of data sent. 320 seconds/410 seconds remaining.
I 18-12-28 20:50:19.490949 Node(413941..()) 2/11 resource proof response(s) complete, 70% of data sent. 290 seconds/410 seconds remaining.
I 18-12-28 20:50:49.491251 Node(413941..()) 2/11 resource proof response(s) complete, 83% of data sent. 260 seconds/410 seconds remaining.
I 18-12-28 20:51:19.491414 Node(413941..()) 5/11 resource proof response(s) complete, 96% of data sent. 230 seconds/410 seconds remaining.
I 18-12-28 20:51:49.491686 Node(413941..()) 10/11 resource proof response(s) complete, 98% of data sent. 200 seconds/410 seconds remaining.
I 18-12-28 20:52:19.491851 Node(413941..()) 10/11 resource proof response(s) complete, 99% of data sent. 170 seconds/410 seconds remaining.
I 18-12-28 20:52:49.492016 Node(413941..()) All 11 resource proof responses fully sent. 140 seconds/410 seconds remaining.
I 18-12-28 20:53:16.707684 Node(413941..()) Resource proof challenges completed. This node has been approved to join the network!
I 18-12-28 20:53:16.707806 --------------------------------------------
I 18-12-28 20:53:16.707815 | Node(413941..()) - Routing Table size: 11 |
I 18-12-28 20:53:16.707819 | Exact network size: 12 |
I 18-12-28 20:53:16.707822 --------------------------------------------
I 18-12-28 20:53:16.715818 Managing 1 client accounts.
I 18-12-28 20:53:16.719793 Managing 2 client accounts.
I 18-12-28 20:53:16.720127 Managing 3 client accounts.
I 18-12-28 20:53:16.720457 Managing 4 client accounts.
I 18-12-28 20:53:16.720746 Managing 5 client accounts.
I 18-12-28 20:53:16.721087 Managing 6 client accounts.
I 18-12-28 20:53:16.722712 Managing 7 client accounts.
I 18-12-28 20:53:16.723057 Managing 8 client accounts.
I 18-12-28 20:53:16.723429 Managing 9 client accounts.
I 18-12-28 20:53:16.723906 Managing 10 client accounts.
I 18-12-28 20:53:16.724174 Managing 11 client accounts.
I 18-12-28 20:53:16.726054 Managing 12 client accounts.
I 18-12-28 20:53:16.726313 Managing 13 client accounts.
I 18-12-28 20:53:16.726985 Managing 14 client accounts.
I 18-12-28 20:53:16.732647 Managing 15 client accounts.
I 18-12-28 20:53:16.732885 Managing 16 client accounts.
I 18-12-28 20:53:16.733201 Managing 17 client accounts.
I 18-12-28 20:53:16.765666 Managing 18 client accounts.
I 18-12-28 20:53:16.855797 This vault has received 0 Client Get requests. Chunks stored: Immutable: 1, Mutable: 0. Total stored: 588 bytes.
I 18-12-28 20:53:19.365549 Stats - Sent 15000 messages in total, comprising 224108619 bytes, 1 uncategorised, routes/failed: [1784]/0
I 18-12-28 20:53:19.365569 Stats - Direct - CandidateInfo: 11, MessageSignature: 215, ResourceProof: 0/10671/0, SectionListSignature: 0, ProxyRateLimitExceeded: 0
I 18-12-28 20:53:19.365573 Stats - Hops (Request/Response) - Relocate: 0/0, ExpectCandidate: 0, AcceptAsCandidate: 0, SectionUpdate: 0, SectionSplit: 0, OwnSectionMerge: 0, OtherSectionMerge: 0, ConnectionInfo: 10/0, CandidateApproval: 0, NodeApproval: 0, Ack: 1614
I 18-12-28 20:53:19.365578 Stats - User (total parts: 2481) (Request/Success/Failure) - PutIData: 0/0/0, GetIData: 26/26/0, PutMData: 0/0/0, GetMDataVersion: 0/0/0, GetMDataShell: 0/0/0, ListMDataKeys: 0/0/0, ListMDataValues: 0/0/0, ListMDataEntries: 0/0/0, GetMDataValue: 0/0/0, MutateMDataEntries: 0/0/0, ListMDataPermissions: 0/0/0, ListMDataUserPermissions: 0/0/0, SetMDataUserPermissions: 0/0/0, DelMDataUserPermissions: 0/0/0, ChangeMDataOwner: 0/0/0, ListAuthKeysAndVersion: 0/0/0, InsAuthKey: 0/0/0, DelAuthKey: 0/0/0, GetAccountInfo: 0/0/0, Refresh: 153
I 18-12-28 20:53:20.105023 {"name":"413941ed","immutable_data":26,"mutable_data":457,"type_tags":{},"used_space":164897,"max_space":34359738368,"immutable_data_set":[],"mutable_data_set":[],"sections":[{"prefix":"","version":0,"ids":["1b981187","2dfeafbc","413941ed","4c8b40d6","6770ad90","826180c3","9ce49e5f","ac172919","bace63ef","c749659d","daa89a1d","eee3ba3e"]}],"hostname":"9975cce72363"}
I 18-12-28 20:54:19.532129 {"name":"413941ed","immutable_data":26,"mutable_data":458,"type_tags":{},"used_space":211753,"max_space":34359738368,"immutable_data_set":[],"mutable_data_set":[],"sections":[{"prefix":"","version":0,"ids":["1b981187","2dfeafbc","413941ed","4c8b40d6","6770ad90","826180c3","9ce49e5f","ac172919","bace63ef","c749659d","daa89a1d","eee3ba3e"]}],"hostname":"9975cce72363"}
I 18-12-28 20:55:19.532175 {"name":"413941ed","immutable_data":26,"mutable_data":458,"type_tags":{},"used_space":211753,"max_space":34359738368,"immutable_data_set":[],"mutable_data_set":[],"sections":[{"prefix":"","version":0,"ids":["1b981187","2dfeafbc","413941ed","4c8b40d6","6770ad90","826180c3","9ce49e5f","ac172919","bace63ef","c749659d","daa89a1d","eee3ba3e"]}],"hostname":"9975cce72363"}
I 18-12-28 20:56:19.532275 {"name":"413941ed","immutable_data":26,"mutable_data":458,"type_tags":{},"used_space":211753,"max_space":34359738368,"immutable_data_set":[],"mutable_data_set":[],"sections":[{"prefix":"","version":0,"ids":["1b981187","2dfeafbc","413941ed","4c8b40d6","6770ad90","826180c3","9ce49e5f","ac172919","bace63ef","c749659d","daa89a1d","eee3ba3e"]}],"hostname":"9975cce72363"}
^C