All Questions

Filter by
Sorted by
Tagged with
21
votes
3answers
238 views

Why did the network ignore my baked block?

I had baking priority slot 0. I successfully baked the block. I successfully injected my block to the network (as shown in bakers log below). Yet, for some reason, the baker at priority 1 actually ...
19
votes
3answers
498 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.
19
votes
2answers
655 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?
17
votes
1answer
604 views

What is the BigMap container and why does it matter?

I have heard in many places that Tezos is making use of a specific kind of container called BigMap in order to store data inside a smart contract. The object must be relatively complex because so far ...
16
votes
3answers
323 views

Binding the node to any address, not just localhost

Anyone know how to run node to bind to all address? I seem not to be able to rpc connect remotely, it binds to 127.0.0.1 and nothing else. I set up in the config file listen address to 0.0.0.0:8732, ...
15
votes
2answers
556 views

How do I upgrade a Tezos node?

I used to run a full node, but then it somehow got tangled up and is now no longer downloading new blocks. I suspect that it has something to do with me not keeping it updated. Could someone tell me ...
15
votes
3answers
397 views

How to upgrade a smart contract?

I'm building a smart contract that is sort of an index of signed documents (pointing to ipfs for the actual docs). What if I want to add some functionality to my app down the road and need to upgrade ...
15
votes
1answer
227 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" ...
15
votes
1answer
126 views

How to query rewards of a specific KT1 account?

I want to know, how much rewards a specific KT1 Account earned since cycle 7. A good Example is the "Rewards Share" Tab of TzScan. https://tzscan.io/tz1Tnjaxk6tbAeC2TmMApPh8UsrEVQvhHvx5?default=...
15
votes
1answer
206 views

Should ledger BIP-44 paths have four elements or five?

What is the correct BIP-44 path structure for the Tezos ledger apps? Should it have five path components (as Galleon uses) or four (as tezos-client and Tezbox use)? The BIP-44 spec defines 5 levels ...
14
votes
2answers
671 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?
14
votes
3answers
460 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 ...
14
votes
2answers
209 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
358 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 ...
14
votes
1answer
2k views

Difference between tz1 and KT1 addresses

What are the differences between tz1 and KT1 addresses? How are they typically used? How does one go about creating one?
14
votes
1answer
276 views

Decent bakery architecture? [closed]

Currently setting up a bakery and have the following architecture in mind. Four public nodes running on four different datacenters on two different clouds Two nodes running in private mode connected ...
13
votes
4answers
408 views

What are the best practices for hosting Tezos nodes with exposed RPCs?

If i host my own node, e.g. like TezBox does, what's the best practice regarding accessibility of certain RPC endpoints? TzScan already restricts certain calls, as described here. Tezos docs advise ...
13
votes
2answers
141 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)?
13
votes
1answer
153 views

For a baking server, is timesyncd good enough for clock resolution?

I'm running a baking node on an Ubuntu 18.04 server. Is the timesyncd service (installed by default) good enough or do I want to install ntpd to get the higher clock precision that it can provide?
13
votes
3answers
170 views

How can I write tests for my smart contracts?

I like doing TDD and would like to build up a test suite around my contract code. I have been looking at both ReasonML and Liquidity but neither seems to have a great testing story yet. Does it make ...
13
votes
3answers
142 views

What should I do about "connection from untrusted peer" reports from tezos-node?

I built and synced a node with default peer nodes and then switched it to private mode. Now I see many messages like the following days after making the switch to private mode. Is there something I ...
12
votes
3answers
421 views

How can I sign a message with my Ledger?

I'd like to know if there's a way to sign a message? Any help would be appreciated. Thanks!
12
votes
1answer
602 views

What elliptic curves are used by Tezos?

Do tz1, tz2, tz3 addresses correspond to the different elliptic curves used by Tezos?
12
votes
3answers
2k views

When is a Tezos transaction considered to be confirmed?

I have often seen the general rule of thumb be 30 block confirmations. Is this adequate or is it better to count to 900 endorsements or use some other more complicated approach to determining ...
12
votes
1answer
284 views

How to make a tezos node set CORS headers

I’m running a test sandbox locally. Anyone know an easy way to make my sandbox RPC service add a Access-Control-Allow-Origin: * header so that I can avoid CORS errors while testing locally? rpc....
12
votes
1answer
88 views

Does the current (Proto003) consensus protocol have the BFT property?

I have seen several blog articles (e.g here and here) mention about the BFT consensus integration effort to Tezos. They gave me an impression that the current consensus protocol in Proto003 has no ...
11
votes
5answers
860 views

Too few connections, config.json?

I am getting too few connections (5) since about 2 Days. I think adding peers to my ".tezos-node/config.json" file should help, but I am not sure how it should look like. Can I simply add the IP and ...
11
votes
2answers
320 views

How do I query the Balance of a KT1 account Cycle by Cycle?

Is there a RPC in Tezos-client, that allows to query the Balance of a KT1 account cycle by cycle? I've tried it with this (TzScan Public-Node RPC): https://mainnet-node.tzscan.io/<block_id>/...
11
votes
3answers
265 views

Running a private tezos chain for development

I never got the sandbox parts to work but I was able to create my own Tezos chain. I downloaded the source code, then changed the dictators public key to a key that I controlled. Then, after compiling ...
11
votes
3answers
840 views

How to create a transaction

I'm trying to understand the different steps involved in the creation of a transaction operation. Tezos-client -l shows a number of RPC calls, among them: chains/main/blocks/head/helpers/scripts/...
11
votes
2answers
189 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?
11
votes
2answers
595 views

How to get big map value on Babylon

Babylon will have a new RPC to query big map value according to this link http://tezos.gitlab.io/babylonnet/api/rpc.html#get-block-id-context-big-maps-big-map-id-script-expr I tried using it with a ...
11
votes
1answer
96 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 ...
11
votes
1answer
363 views

Why a reveal operation?

In order for everybody to be able to validate signatures, public keys have to be stored on the blockchain using reveal operations. As far as I understand, such operations are not needed in Ethereum, ...
10
votes
2answers
137 views

Where precisely lies the trust in a snapshot?

Nomadic Labs recently introduced the concept of snapshot as a way to speed-up the syncing of new tezos nodes. It is mentionned several times that there exists a certain minimal amount of trust that ...
10
votes
2answers
76 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?
10
votes
2answers
99 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 ...
10
votes
2answers
423 views

How to batch transactions?

How do I send a single operation that contains multiple transactions in order to do batch payments?
10
votes
1answer
166 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 ...
10
votes
3answers
340 views

How does NOW work?

Say a contract has a condition based on NOW being after a time. Is NOW UTC, and is this validated by each node before being added to the chain? Let's say you want ensure a function is called during ...
10
votes
1answer
248 views

Docker and Encrypted Keys

Is there a recommended way to use the Docker image management script with encrypted (password protected) keys? The script seems to work fine if I don't protect my keys; but for protected keys there ...
10
votes
3answers
163 views

Tezos Improvement Proposals

Is there a website tracking "Tezos Improvement Proposals" similar to what exist in some other open sourced projects ? I am aware of conversation channels to discuss actual amendment proposals on ...
10
votes
3answers
167 views

Baking with remote signer compatible with --require-authentication?

For client ops, using a remote signer with --require-authentication requires manually entering the client key's decryption password. It's not documented anywhere -- is this incompatible with baking? ...
9
votes
9answers
2k views

Available snapshots for main net?

Are there any freely available recent snapshots for the main net that I could download ? I'm looking for either full or rolling.
9
votes
4answers
1k views

Tezos main net node: Hardware specs

Good afternoon, What are the hardware requirements for a tezos node? I have a 2 core cpu with 16 gigs of ram for my baker. I'm trying to decide on what type of single-board computer to buy to run ...
9
votes
2answers
484 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 ...
9
votes
2answers
201 views

How to generate a fake but valid protocol hash?

How do I generate a fake but valid protocol hash, like ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im?
9
votes
1answer
343 views

How should one kill the tezos-node process?

I have several times found myself unable to restart my tezos node because I believe I have ended the process but when I try to start it again I get the following message: Data directory is locked by ...
9
votes
2answers
103 views

Can I use multiple ledgers for baking?

I'm researching setting up a highly available baking infrastructure. Is it possible to use multiple ledgers signing for the same address? My plan is to use a ledger connected to a laptop running a ...
9
votes
2answers
422 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?

15 30 50 per page
1
2 3 4 5
33