Questions tagged [protocol]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

MacOS Catalina & Homebrew

I am running a node on MacOS 10.14 and want to upgrade to 10.15 but I am not sure if Homebrew is compatible yet. Has anyone experienced any issues?
2
votes
2answers
165 views

Block reward calculation in Babylon

There seems to be a bug in the block reward calculation in Babylon. For example, in block 664451 there were 26 endorsements. So the reward should be 16 * (0.8 + 0.2 * 26 / 32) = 15.4 XTZ (source). ...
1
vote
1answer
32 views

Recently annouced plan for the implementation of zk-snarks into Tezos -timing?

Apologies for this lay question but I would very much appreciate if anyone could kindly tell me (in plain English for lay people like me) the timeline for the implementation of zk-snarks into Tezos ...
0
votes
1answer
31 views

What causes the network to slowdown when a new protocol activates?

When Babylon activated there was a period of 30+ minutes where endorsements and bakes were very unstable and we ended up hitting some quite high priorities. I'm curious to know why this is the case ...
2
votes
1answer
28 views

What is the smallest monetary unit in Tezos?

What is the smallest monetary unit in Tezos, and where is it defined in the code?
5
votes
2answers
90 views

BABY5 vs. BABYM1? How does the network decide which is the “right” protocol?

The Tezos Docs say: Any node running the May release, in case of a successful promotion vote, will activate protocol 005_PsBABY5H, which contains a bug affecting bigmaps in smart contracts. ...
2
votes
0answers
22 views

Why does querying tezos-node for test chain return 404?

I am querying a mainnet tezos node for test chain data using the url specified in the following question: Can I use an RPC to switch the Tezos node to another protocol? Specifically "/chains/test/...
0
votes
1answer
33 views

What is the procedure for testing a protocol upgrade?

How can we get example RPC data for a protocol upgrade, e.g. Babylon 2.0? How can we make transactions using the test protocol? If we have to deploy our own private network for testing, is there ...
0
votes
0answers
19 views

Has anyone been able to run a private dictator chain with the new Proto005 source code?

I normally do all my testing completely privately, so before compiling Tezos I will edit the source code and put my own dictator's public key in. Then after launching the node I'll just inject ...
4
votes
1answer
175 views

Maximum supply in tezos

1) Is there a way we can vote for a maximum supply in tezos ? 2) would that be a desireable thing from a tokenomics perspective ?
8
votes
1answer
1k views

What flavor of zksnark in tezos

I have read that Nomadic Labs is working on incorporating some flavor of zksnarks into tezos for future amendment proposal (presumably in 2019). Looking at the literature I see there are many flavors ...
3
votes
1answer
66 views

Where is the reward operation for athens?

Athens amendment proposal was succesfully integrated as proto004 into the mainnet at level 458753. The first mined block can be seen here https://api6.tzscan.io//v3/block/...
3
votes
0answers
25 views

Tokens on Tezos

I'm interested in creating a token, similar to an ERC20 token on Ethereum, on the Tezos network. If I see correctly, as of now there is no possibility to track tokens on any of the public block ...
2
votes
1answer
58 views

How should I prepare as a baker, for Athens A protocol activation?

Can someone provide a step-by-step guide to help bakers to be prepared for Athens A protocol activation? Do we need to upgrade Ledger baking software?
3
votes
1answer
36 views

Confusing about the Mathematical representation in white paper

I'm confusing with the S^S. Does it mean S*S in set theory? I need a detailed explain.
2
votes
1answer
31 views

Is the decimals can be change when protocol updating?

I am confusing when I'm reading the write paper because the decimals is actually 6 now.
2
votes
0answers
35 views

Calculating the total locked XTZ?

Using TZscan.io Stats - Key Numbers dashboard how can I calculate the total locked XTZ in the system. And shouldn't this be a KPI measure by itself. Since delegators can see very easily move their XTZ ...
6
votes
1answer
57 views

How to calculate a random seed?

For example, we have 126/128 nonces, revealed in cycle 99. /chains/main/blocks/409599/context/raw/json/cycle/98/nonces?depth=1 If I understand correctly, using these nonces we can calculate the ...
3
votes
1answer
52 views

Alphanet protocol synced with mainnet

If I test on the alphanet and everything works correctly, can I then safely assume that the same code / process will also work on the mainnet? The current Tezos protocol amendment voting process is ...
4
votes
1answer
66 views

Node gives testnet error

rebooted my system and restarted the node. Now I'm getting the following error. Is this simply the node telling me that it's not able to run the new fork because I started it with the old (i.e. ...
2
votes
2answers
107 views

the tezos protocol and the problem of over-delegation

Why does the Tezos protocol allow for baker over-delegation? It is the Tezos protocol itself that has encoded the amount of XTZ that needs to be put up for baking and endorsements and the protocol ...
6
votes
0answers
80 views

Tendermint vs Grandpa & Babe

It seems Tezos is moving towards the Tendermint consensus, used by Cosmos. However, wouldn't a Grandpa & Babe consensus mechanism, as used in Polkadot, allow for better block scaling? EDIT: I am ...
4
votes
1answer
24 views

Can /context/constants change apart from a protocol change?

The node RPC allows you to ask for the context constants for any block via /chains/<chain>/blocks/<block>/context/constants. Is it possible for these constants to change apart from a ...
13
votes
3answers
387 views

What steps should be taken to safely upgrade a baker after a new protocol update

With the Athens upgrade looking likely, I am interested to hear how bakers can safely update their nodes to the latest version whilst experiencing minimum downtime. It has been straightforward doing ...
5
votes
2answers
212 views

Amending the P2P Layer

Is it possible to amend the P2P layer of Tezos? As far as I understand from here, the amendment process is only for the economic protocol. If we wanted to suggest changes to how the P2P layer works ...
4
votes
1answer
49 views

Can I use an RPC to switch the Tezos node to another protocol?

What is the command line command or RPC call for switching a Tezos node onto one of the protocol amendments being voted on? During which phases is it possible to switch to a candidate protocol. ...
4
votes
0answers
18 views

Block Withholding Attacks

Would it be possible to do something similar to selfish mining or rather a block withholding attack in Tezos and if so how would that work? As far as I understand, Tezos being a PoS system, it'll be ...
3
votes
1answer
57 views

Michelson P2P message encoding

I'm looking to implement full message "forging" with no reliance on RPC calls. The P2P message doc does not cover all the details. Let's say I have the JSON representation of parameters and code, how ...
4
votes
1answer
34 views

Testnet Fork during Testing Period (Cycles 17-24)

Why is the testnet fork during the Testing Period (Cycles 17-24) only run for 48 hours as compared to the entire duration of 8 cycles of that phase? Wouldn't it make more sense to test for a longer ...
6
votes
1answer
117 views

What are nonce-revelations?

I'm in the process of setting up a HA baking infrastructure with multiple full nodes and a single baking service that can move to a different node if one goes down. I think I've got a handle on most ...
7
votes
2answers
106 views

How to generate a fake but valid protocol hash?

How do I generate a fake but valid protocol hash, like ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im?
7
votes
3answers
143 views

How do I base58 encode the chain ID using Python?

When Tezos needs to sign a baking or endorsement operation payload, byte 0 will be a 0x01 for a baking operation or 0x02 for an endorsement operation. Bytes 1-5 in the operation payload contain the ...
6
votes
3answers
169 views

Format of public key, signature and key_hash literals

According to grammar present in Michelson specification, there are string constants for types signature, key, key_hash. What is the precise format of these strings? Specifically: Suppose I have a key ...
2
votes
1answer
67 views

Fees for various operation [duplicate]

I understand that some operations require a minimal fee, for instance ꜩ0.001271 for transfer operations. Besides, some operations require to burn extra tez. Are these fees documented somewhere?
1
vote
0answers
70 views

Test chain 48 hours constant [closed]

Why are the 48 hours of test chain completely hard-coded ? https://gitlab.com/tezos/tezos/blob/master/src/proto_alpha/lib_protocol/src/amendment.ml#L88-89 I mean as opposed to coming from e.g. ...
5
votes
2answers
92 views

what this 2 empty [] mean?

when invoke with rpc api GET ..//operations. always has 2 emtpy []. what this mean? I only care transaction. please tell me kind:transaction is locate index where(must include in last index--...
7
votes
2answers
126 views

what difference between fee and gaslimit?

With Ethereum, max fee is gas multiplied by the gas price. But with Tezos, when i construct an operation, the fee is personally set, why is it not computed by gas_limit?
5
votes
1answer
45 views

why Inject an operation need latest block?

Can I do without using the latest block? Because I want to do offline signing. Could I perhaps sign with the latest known block instead of the latest?
4
votes
1answer
136 views

Contract's address format specification

Is there a specification somewhere which explains how to compute a human-readable address of a contract? In order to originate a contract I need to provide its code, initial storage value and some ...
13
votes
2answers
103 views

Total amount of XTZ in existence

Is there an RPC to get the total amount of tezos in existence at some particular block (or cycle begin/end)?
8
votes
1answer
70 views

Is there a way to generate a pseudo-random number inside a contract in liquidity?

If I require a pseudo-random number (PRN) in the internal working of a function in liquidity, is there a way to do it? Is there one in Michelson? I already know about the way to send a PRN through RPC ...
4
votes
1answer
39 views

What does “stakeholders govern the protocol” exactly means?

I read that Tezos can also be used as votes for features in the Tezos development process. Is that related to which phase of process? Making feature requests in repo, accepting ones or sitting in ...
4
votes
1answer
82 views

Largest block size in tezos?

Is there a limit on the block size in tezos? If so, is it expressed in a maximum number of transactions? Or maximum byte size? Or something else?
5
votes
2answers
217 views

Fees in proto 003?

Fees have been updated from proto 002 to proto 003. Is there a reference document available somewhere that is indicating fee information for tezos proto 003 ?
4
votes
1answer
65 views

Pruning empty accounts or inactive contracts?

Is it possible (or desirable feature if not) to be able to remove from the chain state old accounts or old contracts on certain conditions in tezos ?
6
votes
2answers
114 views

What determines the length of a cycle in Tezos?

What are the consideration at play to choose the length of a cycle ? As any other economic parameter in Tezos it is subject to amendment however it would be great to collect here the things to think ...