Step by step setup of a Raspberry Pi 3 with Fedora linux-OS and Tezos

I am asking about voting for the protocol.
This is one of the core features of tezos.
Can this be done in the alphanet?
Can we vote for an amendment (for testing purposes) ?

@demo, I did not hear of any attempt to setup a vote test on the alphanet, I am not sure if a procedure has been established yet. I cannot imagine someone in the network wake up one day and decide to ask to vote on something just like that. Perhaps you may want to contact fredcy or tezzigator, they have far better understanding and experience on the overall tezos system.
If you find out how it works, please share, I am curious too.

@Mootjes007 the comparison with a laptop even if a old one, is quite useful. I am reasonably confident that
the CPU speed is not a limitation of the RPI3. I never seen it going up more than 75-85% even with a ridiculosly high number of open files (>7000) and extensive swap work.

The default max open files in the RPI3 (~1000) should be increased (3000-4000 at least). In my setup I have
~800 files opened by background apps without even running the tezos-node. As soon as the tezos-node is launched, the 1000 files threashold is reached in a matter of mins.
It is perfectly acceptable to fit the OS configuration to the needs of the main application, that’s why linux is good!

I have been fully synced now for few days, it is quite stable so far (connection timeout from time to time but nothing dramatic), although no baking yet (another potential source of trouble, as I recall from the earlier test runs last month).
But the main concern I have at the moment is the number of files/sockets/ports that keep increasing over time
and another issue is that after a while active connections become more sporadic. I think/hope that tuning the parameters in the “config.json” file will do the trick, but I haven’t figure it out yet.

I am wondering if in your laptop do you see an increase of the number of open files (and RAM memory
usage) over time. And also have you noticed a drop in the number of active connections with time (syncing gets slower and slower). Btw what is the max open files in your laptop?

So I am asking @tezzigator and @fredcy to give us some hints regarding the amendment procedure.
Is it implemented in the alphanet?
Can we test it and how?

Sorry, I know little about that. I have not seen any docs or discussion from the core team about that. I hope testing of that starts soon – it’s essential to Tezos.

1 Like

ok…I ll try to read the code and find out whats happening regarding the amendments feature of Tezos.

Ok . As I can see here:
https://github.com/tezos/tezos/blob/alphanet/src/proto/alpha/amendment.ml#L37
The supermajority is defined to be 80%
Accoring to the community vote :

this number is wrong…

So this is the first ammendment we should ask to be voted, for testing puproses, in our alphanet.

Instructions about the way amendments are proposed can be found here :

We need to ask some testtezos from the faucet, and vote for the amendent.

1 Like

Thanks for the info, @demo - impressive you found it!
I suspect it’s a temporary value they will adjust before go live. On the other hand, I read the foundation (or TLS?) has 1 (?) year where they can push updates without voting. Maybe they want stability in the first year without any (major) community updates, and after that year, lower the percentage significantly.

But you’re right: smart contracting has been extensively tested but AFAIK no voting + protocol updates have been tested in testnet whatsoever.

I hope the develpment team to start testing these features too, and let us participate in the testnet.

@demo Exactly - furthermore very interested how it will work.
PS: I copied block data from other node to RP3 to speed things up.

Eg from docker to local drive
cp tezos-alphanet:/var/run/tezos/node ./

Via ssh to other node:
scp context/* mootjes@192.168.0.12:~/node

(cfr also doc Fredcy: https://github.com/tezoscommunity/faq/wiki/How-to-build-an-alphanet-node-quickly)

1 Like

Very very interested!
I bought a RP3 and I installed the tezos node for this very feature.

But in order to be able to vote, I need one Tezos. I still cannot find a way to buy one.
I own some PIVX and some Dash, and I hope some would like to exchange them for 1 Tezos.

real tezzies haven’t been released yet, if the voting system is implemented in the alphanet you or anyone else should be able to use it. Have you checked with the TBF if anyone is working on a voting project?

Hey @demo - as soon as it hits the exchanges (where I have an account, e.g. Bittrex/kucoin), I’ll send you 1 or more Tez to play around with!

1 Like

I entered trello, but I am unfamiliar with its enviroment. I will read about it, and try to understand it.

Thanks a lot !
I have already a Dash address and a PIVX address. I am looking forward to opening a Tezos address too, whenever tezos will be available.

In the meantime, lets discover in the Tezos alphanet the functionalities related to governance. The governance feature of the cryptocurrencies and the related technologies motivates me a lot. Tezos is one step beyond of course from any other governed crypto, because , as far as I understand it, Tezos will support conditional voting too.:+1:

Here is an example of a conditional vote. I hope that Tezos will implement something like this.

@demo @Mootjes007

it would be great if a clean image (with blank user and passwords) of your Raspberry pi 3 so we can all put a bunch of nodes and make tezos stronger.

i am in the process of getting my pi up (no pun intended) and running but ran in a snag on the network setup…

I would donate some tzs for that when it gets released!

cleaning up the system to make a neutral image may be tricky, but maybe @demo or @Mootjes007 will do it.
In any case you are lucky because I just got my 3rd RPI3 and before going through a personal installation I wanted to do exactly what you are looking for, a clean neutral image. It is basically done (Tezos is compiled, and the blockchain is downloaded) but before making the image I want to play a bit with a couple of things, let’s say that in few days something should be downloadable somewhere.
On a side note, OCamL compilation is much easier with the latest Tezos, no more drama meandering to find the right dependencies.

1 Like

great! will keep an ear down! looking forward!

cheers

get in touch soon…
and if you still plan to devolve few tzs for the cause, should go to @demo

1 Like

I dont want many Tzs. One Tz would be enough for me. I just want to get one vote, and be able to participate into the system.

Ok im almost done… lol what an adventure.

im at step T-5 and teh first error im having

at opam install git-unix

it gives me an error "the compilation of conf-gmp failed at “sh exc cc -c $CFLAGS -I/usr/local/include test.c”

is that normal? should i try to make build-deps?