All Questions

Filter by
Sorted by
Tagged with
3
votes
2answers
228 views

A contract calling another contract

Can someone please give an example Michelson smart contract that calls another smart contract ? Some actual implementation would go a long way. Many thanks
5
votes
2answers
276 views

What is a bond pool?

Some delegation services propose to also participate to a bond pool rather than just the usual delegation. How is that different? Is it safe?
4
votes
2answers
91 views

What does the DIP opcode in Michelson do?

It says Runs code protecting the top of the stack. but I’m not sure what is meant by that.
3
votes
2answers
165 views

Ways for limiting the growth of full node size?

As revealed on my previous question about smart contract saving for future, the way for getting back to old information stored to blockchain was to contact a full node, which contains all the ...
5
votes
1answer
75 views

Tezos alpha node cors

I'm send post request to http://alphanet-node.tzscan.io/blocks/head/context/contracts/<contract_id>/big_map_get from google chrome browser. Google chrome browser send option request and node ...
7
votes
2answers
370 views

Base58 encoding/decoding of addresses in Micheline

who know some javascript library for decoding optimized Micheline representation of an address value? 011cd5f135e80fd8ebb6e43335b24ca6116edeba6900 => KT1BDEn6wobs7tDReKkGheXAhoq278TGaNn5
5
votes
1answer
144 views

Error when updating the node

I'm trying to update my node to the latest version but I'm stuck with the following error message on my Ubuntu 18.04 box: File "none", line 1: Error: Files vendors/ocplib-resto/lib_resto-cohttp/...
4
votes
1answer
43 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 ...
5
votes
1answer
83 views

Contract.create bytes array return value

I'm using liquidity lang, and define a storage: type storage = { usersDocuments : (address,address set) big_map; documents: string set; } and I add in to usersDocuments https://pastebin.com/...
5
votes
1answer
63 views

How are Smart Contracts saved for checking in future?

Am I understanding correctly, that I can store for example my rental contract as a Smart Contract and then it is made official with baking it with bakers? If I got the first part right, the contract ...
8
votes
1answer
894 views

How can I understand why a transaction has failed?

Transaction error codes? A random failed example transaction on tzscan.io does not provide a specific error code. It has been injected by an unknown node without access to its terminal output. Is ...
8
votes
1answer
127 views

What exactly are smart contracts?

I'm new to Tezos, and in fact to Bitcoin in general. I have been reading up on it a good bit, though, and I ran across an article on cryptobriefing which states that Tezos, like Ethereum, uses smart ...
6
votes
1answer
102 views

Kiln 0.4.0 Problem VB (NixOS)

I try to run Kiln 0.4.0 on a VirtualBox NixOS (Host Windows 10). NixOS (VirtualBox appliances) https://nixos.org/nixos/download.html After executing: ln -sf $(nix-build tezos-bake-central -A exe --...
5
votes
1answer
360 views

What is the mempool

I have seen a lot of comments and questions that mention the Tezos mempool, however I have not seen a clear and concise description of what the mempool is. A complete answer should cover the ...
9
votes
2answers
383 views

Access to the mempool

Is there a way to access to the mempool through RPC API? And is there a way to manipulate the mempool from the outside?
10
votes
2answers
94 views

Encryption within smart contract

I can't find much documentation on this, is it possible to encrypt/decrypt data within a tezos smart contract? So how would I do something like AES crypto (although does not matter much) in a smart ...
6
votes
1answer
120 views

Setup SSH Tunnel for KILN in PuTTY

Situation: The baker is running on a server with terminal only. I manage the server through a SSH authenticated PuTTY connection. I compiled and run KILN with: ./backend -network mainnet and the ...
7
votes
1answer
294 views

How does Tezos manage its mempool?

I heard from @ArthurB that mempool management is one of the core aspects of developing a new blockchain. This in turn is impacted by the choice of how to represent balances in the chain, namely UTXO ...
7
votes
1answer
134 views

Adding a ledger to tezos-client

In the past version of tezos-client you would run tezos-client show connected ledgers and it displayed 3 commands in order to import a new ledger. For example tezos-client import secret key XXX ledger:...
4
votes
2answers
310 views

base58 prefixes

Module Prefix in src/lib_crypto/base58.ml has lines such as let ed25519_public_key_hash = "\006\161\159" (* tz1(36) *). How does one get "\006\161\159" from tz1(36)?
5
votes
1answer
86 views

Double baking monitoring

What’s the best way to monitor/alarm on double baking? If a professional baker wanted to set up alarms/paging, is there an alternative to setting up your own tzscan instance and check with a cron job?
3
votes
0answers
58 views

Interoperational Dangerous? [closed]

Can interoperational Chains like Cosmos be dangerous for the Tezos Network itself? Do such Chains "act" on our Tezos network? Or is it a complete own Space? Could such interoperational functions open ...
5
votes
1answer
58 views

Malicious third-party dependency vulnerability possible in Tezos?

Lately there was a compromised npm package, which was used as a dependency in various projects. The code allowed the attacker to steal funds if certain conditions were met. Could Tezos become a ...
4
votes
1answer
54 views

Network restrictions on Tezos baking?

I read this article about off-grid tezos oven, a computer capable to calculate tezos with power from a solar panel and water-mill only. Also this thread on Reddit let's us know that loosing the ...
19
votes
3answers
484 views

How to secure baking node from attacks like DDOS?

I want to know what ports and protocols tezos-node and baker uses so that i can enable only those ports and protocols in my firewall setting to prevent any DDos attack on my server.
11
votes
1answer
95 views

How to avoid duplication in endorsing?

I read the rules of baking and the sanctions of duplication of endorsing (you lose the XTZs gained during the round so far and also to some extend for the next events if you don't react and stop ...
8
votes
1answer
47 views

Spending XTZ held in an implicit account from a smart contract

Is it possible for code in a KT1 smart contract to spend from a tz1 adress ?
10
votes
2answers
75 views

Limitations of the self-amending ledger?

What are the technical limitations of the self-amending ledger? Eg. what can't be amended via protocol updates with the on-chain governance mechanism?
5
votes
1answer
220 views

What are the best cold-storage methods available for XTZ?

Is using the CLI command gen keys new to generate a cryptographically secure key-pair the most secure method for cold storage eg. paper wallet? Which signature algorithm (ed25519, secp256k1, p256) ...
3
votes
2answers
56 views

Understanding Abstentions/Pass Vote

I can read from the docs: "The pass vote allows a delegate to not influence a vote but still allowing it to reach quorum." If we get the following result, in a Voting Period (Quorum = 80%): 60% ...
6
votes
2answers
103 views

Michelson Logic understanding problem

If i got it right, Michelson is a stack based language. I've read the following example about stack based languages: 3 4 5 * + = 23 how does Michelson know, that it has to mutiplicate 4 * 5 ...
2
votes
2answers
148 views

Baking best practice resources? [closed]

Could someone offer some good resources regarding best practices when setting up a baking operation in Tezos ?
4
votes
1answer
51 views

Zero endorsement blocks

It has happened in the past that certain blocks get 0 endorsement. Like this one for instance https://tzscan.io/103652?default=endorsement What conditions lead to such 0 endorsement blocks ?
4
votes
1answer
243 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?
7
votes
2answers
529 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 ?
5
votes
1answer
213 views

Transactions index in tezos

Currently the full node can offer details of transactions sitting in a queried block but it is not possible for it to provide infos on a particular transaction from its hash because the native tezos ...
6
votes
2answers
144 views

Max lifetime of transactions in mempool?

If a transaction sits a long time in the tezos mempool for a reason or another does it get eventually cleaned-up or will it stay there forever ?
11
votes
2answers
183 views

Reentrancy attack vector on tezos smart contracts?

I heard that Michelson helps with avoiding re-entrancy bug. Why is that? Is there some feature in the language that prevent it?
5
votes
1answer
138 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 ?
15
votes
1answer
221 views

How to create a database out of the Tezos node?

We want to build a Website that contains Live-Data from the Tezos-Node. We have a node running, we have the RPCs, we have a mysql database and we want to use Postgres to query the database and "feed" ...
19
votes
2answers
638 views

How to calculate gas and storage for an operation?

In protocol 003_PsddFKi3, how can the gas and storage usage be calculated without doing a dry-run in a node?
14
votes
2answers
354 views

Formal verification of Tezos smart contracts

What are the analyses of Tezos smart contracts that could benefit dapps writers the most? Just to be clear, by “analysis” here I mean “static program analysis”. See for instance here. Basically the ...
6
votes
2answers
196 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 ...
7
votes
2answers
1k views

Inflation rate and economic incentives

Could someone describe the economic incentives at play when choosing the inflation rate for the tezos chain? For example currently the inflation is max 80 xtz per block which is a constant (assuming ...
8
votes
1answer
122 views

How do baking node choose the transactions from the mempool

Could someone describe how the full node chooses transactions from the mempool that make it into a block. I suppose there must be some logic that makes a compromise between fees and gas cost but it ...
7
votes
1answer
78 views

Mempool management

What are the considerations that came into play when choosing the design of the Tezos mempool management ? Arthur has made a number of remarks on that topic in some video dev updates but I would ...
7
votes
2answers
142 views

Roll size and node performance

Could someone explain in detail how the size of the roll (currently 10k xtz and one amendment proposal offers to reduce this to 8k xtz) impacts the node performance ? This would be a great way to ...
14
votes
2answers
205 views

Garbage Collection

I hear there are plans for garbage collection for the Tezos blockchain. What does this mean exactly? What are these "garbage" that needs to be collected, why are they there in the first place? Is ...
14
votes
2answers
665 views

How to make an offline transaction?

How do I create an offline transaction on an air-gapped device and broadcast it to the network?
9
votes
2answers
481 views

Is there an official roadmap for the Tezos development?

I know that Tezos is a decentralized blockchain project and that everybody who wants to contribute can do so by pushing their code to the GitLab repo. But there is at least one large development team ...

15 30 50 per page