lefessan
  • Member for 2 years, 11 months
  • Last seen more than 1 year ago
How do I execute a tezos-client transfer programmatically?
Accepted answer
5 votes

Try to be as explicit as possible: specify the full path to tezos-client specify the absolute directory containing the data, especially the aliases (generally --base-dir /home/[..USER..]/.tezos-...

View answer
Does the current (Proto003) consensus protocol have the BFT property?
5 votes

Tezos is going in the direction of BFT for two reasons: You have immediate confirmation of transactions, once they are included in a block It easier to have correctness proofs Today, Proto_003 is ...

View answer
Where precisely lies the trust in a snapshot?
5 votes

The trust relies in two elements: the hash of the last block in the snapshot (is it really on the official chain ?) the source code of your node (is it really doing what you think it does ?) For (1),...

View answer
ReasonML pattern matching error on tuples
Accepted answer
4 votes

Indeed, Liquidity does not implement deep pattern-matching as in OCaml or Reason. You have to match only one level (constructor or tuple) at a time. We hope to be able to improve that in later ...

View answer
Node does not start syncing
4 votes

It looks like an inconsistency in the database. Once a block has been validated by the node and stored in the store database, its context is supposed to be stored in the context database. It looks ...

View answer
Mempool management
4 votes

I think that, currently, the choice of the operations included in a block is done to maximize fees-per-gas for transactions and originations, while all other operations (endorsements, votes, etc.) are ...

View answer
What is the design decision to have transactions include recent block hashes?
4 votes

The idea is just that, when you create a transaction, you might have expectations on what already happened on the network. Including a transaction hash prevents including the transaction in a fork ...

View answer
How to obtain an unencrypted private key from an encrypted private key?
3 votes

You may want to read this guide. There is some Python code inside.

View answer
Language features needed for Marigold
Accepted answer
3 votes

You may want to follow this project: https://medium.com/tezos/introducing-ligo-a-new-smart-contract-language-for-tezos-233fa17f21c7 Not many answers for now, syntax apart, it looks like Liquidity or ...

View answer
Why is an active Abstention/Pass Vote needed?
Accepted answer
3 votes

The idea is that there must be a significant participation of users to show that the vote is meaningful and that people are ok with the decision. For that, Tezos has a notion of quorum (80% today). If ...

View answer
How to use RPC to judge whether a PKH is revealed?
Accepted answer
3 votes

You should ask the manager_key of the account : either it is a key_hash (not revealed) or a public key (revealed). See this blog for an introduction to the RPCs for a basic wallet : http://www....

View answer
Garbage Collection
2 votes

If you are interested in a study on the impact of storage improvements, see here (there is also a link towards a storage-efficient tezos node).

View answer
Local operations vs remote operation
2 votes

In general, there would be some logic to prioritize local operations versus remote operations. Yet, that would only be needed when a baker has both a baking slot, and the need to emit new operations ...

View answer
Contract accepting an ANY type
2 votes

If you just want to dispatch to a specified set of methods, who ses types are known, what you are looking for is the « alternative » type or sum type, where the value is (Left (Right (... )), ie a ...

View answer
Why does a transaction contain a storage dump?
Accepted answer
2 votes

Actually, it is not the full storage, but only the non-big_map part. Normally, that part should not grow too much, compared to the big_map part. But indeed, it can still be expensive to repeat that ...

View answer
Smart contract for bakers
Accepted answer
2 votes

There is a lot of demand for such a contract. The problem is currently that Michelson does not expose enough instructions to deal with baking business. So the computation of rewards would be an ...

View answer
Where can I read the changelog for the tezos-client Docker image?
2 votes

Normally, the Docker images are supposed to follow the mainnet-staging branch of the Tezos repository: https://gitlab.com/tezos/tezos/commits/mainnet-staging

View answer
How do rewards for revelations work?
Accepted answer
2 votes

I think the baker who generates the revelation does not earn anything (it just doesn’t lose its other rewards). It is the baker who includes the revelation that receives the reward (usually, in the ...

View answer
How to remain auditable while using a database or index for a smart contract application?
2 votes

I think the "Auditable" part is only the fact that the smart contract stores the content of all the votes that were sent. So, anybody can iter on the smart contract and recompute the results.

View answer
How is the liquidity token.liq working
Accepted answer
1 votes

In Liquidity/Michelson, a program does not return a value. It returns the new storage and a list of new operations. So, the equivalent of a function returning a value is actually a program that takes ...

View answer
Is there any way to get the Tezos binaries latest version?
1 votes

For now, binaries are available through Docker: Official ones: https://hub.docker.com/r/tezos/tezos By Stove Labs: https://github.com/stove-labs/granary

View answer
Is there a threshold for seed generation?
Accepted answer
1 votes

The problem is not the number of nonces revealed, but the number of bakers revealing. If only one baker reveals one or more nonces, he could try to compute the nonce so that he will receive more ...

View answer
1
2