Skip to main content

Questions tagged [block]

The tag has no usage guidance.

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

How to properly call Inject block or protocol api?

I have question how to call properly inject block and inject protocol api methods which I have found here? https://gitlab.com/tezos/tezos/-/blob/master/docs/api/rpc-openapi.json I was searching but I ...
Lukáš Kotol's user avatar
0 votes
2 answers
19 views

Choosing to validate a block or not & block hash ceation

Please I have some questions : I have block A, block B and block C. A baker is elected to bake the block B and C. is it possible for the baker to choose to validate the assigned block B and not to ...
Gisele Dekpe's user avatar
0 votes
1 answer
48 views

Transaction precedence, transaction priority, bake priority within a block - how is it decided?

What exactly decides the execution order of transactions within a block? I have read here that baking fees matter, but I am not sure how in particular. Transactions within past blocks don't seem to be ...
PEC's user avatar
  • 139
0 votes
0 answers
127 views

Is there any limitation for Tezos block size?

Recently I've discovered that some of the newest blocks have few MB of data. Is there a way predict how big the block may be in the future? Is there any limit?
fr3ak's user avatar
  • 101
1 vote
1 answer
114 views

What limits the number of operations in a block?

I see there is a hard block gas limit, but is there any other limit? For example, is there any hard block storage limit, or a hard limit on the number of kB per block?
Darius's user avatar
  • 649
0 votes
1 answer
47 views

Can I estimate the _next_ block using the `tezos-node` RPC API?

Is there any way to ask tezos-node to tell me the contents of the block it would produce if it were the selected baker for the current round? Somewhere in tezos-node there's a function that makes the ...
emchristiansen's user avatar
2 votes
2 answers
43 views

What are the contents of a block in Tezos?

Could someone point me to or provide a description of what the various fields are in a block?
Darius's user avatar
  • 649
7 votes
2 answers
494 views

How to convert bytes to an address

When reading operations from a block, implicit accounts and contracts are returned with a key bytes and in hexadecimal format. "parameters": { "entrypoint": "transfer"...
MCH's user avatar
  • 690
2 votes
1 answer
121 views

How to monitor RPC block responses for token transfers?

I am wondering how to effectively monitor for some given address for FA 1.2 and FA 2 token balance updates. Given that the entrypoints to the contract are defined, I'd like to write something which ...
enforser's user avatar
1 vote
1 answer
99 views

Number of blocks to be considered confirmed

I would like to check how many block confirmations are needed to be considered confirmed? Previously there was an answer that suggested 30 blocks (~ 30 minutes) Is this the recommended number? I have ...
Vinnyson's user avatar
  • 515
1 vote
0 answers
62 views

How to decode the contents of a block using `tezos-codec`

How do I extract the operations from a block using tezos-codec? I can decode the block header as follows below, but I'm interested in seeing the contents of the block. export BLOCK="...
Jev Björsell's user avatar
1 vote
1 answer
25 views

Missed first blocks

I should have endorsed my first blocks about 30 minutes ago and its showing that I missed them, my node is synchronized, my endorser is running. Where do I start with troubleshooting?
Steven Richards's user avatar
2 votes
1 answer
110 views

Block confirmation

I'm writing a mobile app with Tezos and I'm struggling to understand how to fetch information, so that I can let the user know that the operation should be considered confirmed. I got my operation ...
Simon McLoughlin's user avatar
  • 1,077
4 votes
1 answer
96 views

Genesis Balances

I found out that the genesis balances of each account are present in https://tezos.foundation/wp-content/uploads/2018/09/5223213-genesis.txt . Couple of Questions: 1) I see Bootstrap Contracts have ...
ralex's user avatar
  • 399
3 votes
2 answers
1k views

Current level of block-chain

How can I get an actual level of block-chain from not synced node (via RPC). i.e how get how many blocks left for synchronization my node?
intosKai's user avatar
  • 151
5 votes
2 answers
456 views

How is the hash code of blocks generated?

Consider any given block of the chain (e.g. this one). Its hash code is: BL7wTUBp1apNisdzsjbb8dRYGGxoKDQxeMB3XqBNHoiqeL5URs2 I am developing a tool that takes this hash code and produces a "random" ...
luchonacho's user avatar
6 votes
1 answer
142 views

Missing more blocks than normal (Fitness/Mempool issue)

I've been told this could be a connectivity issue, but I highly doubt that's the issue. Any help would be greatly appreciated. This is not your random block missed issue. I miss about 1/3-1/4 blocks I ...
Kitty Mill 's user avatar
4 votes
0 answers
53 views

Endorser did not see new block; Node did not switch head?

Yesterday we missed an endorsement. Upon investigations of our endorser logs: Apr 18 23:20:53 - client.blocks: Saw head BLwEarjr2QpV Apr 18 23:20:53 - client.endorsement: Received new block ...
utdrmac's user avatar
  • 3,422
4 votes
0 answers
40 views

Priority 5 block baked. How to analyse what happened here?

Block BLznpNup33vnSbByistRGsjsGZvYu6dy89zwMY8x4Z3rB9j53Ys at block level 367813 was baked with priority 5 by Foundation Baker 1 and thus was baked roughly 7 min after the previous block. I've never ...
cryptodad's user avatar
  • 923
5 votes
1 answer
75 views

Why did my baker lose a block?

My baker address is tz1XXayQohB8XRXN7kMoHbf2NFwNiH3oMRQQ and I lost the block BMP5PSZ97etLozjnSERt2LLHbPPwNXbAhmNf7WNCWnqkwZHWYXo, and I would like to understand why? When I check the baker log, I ...
NIU NIU's user avatar
  • 123
5 votes
1 answer
254 views

"estimated_time" on baking right is not constant

Yesterday I noticed that estimated_time on baking rights is not constant. It looks like it changes at the start of every block. Can someone explain why that happens? For example: {estimated_time: "...
Rodrigo Quelhas's user avatar
3 votes
1 answer
43 views

Error: cannot_parse_bock_header

Does anyone know, if this error means that is a bad block? or that i'm doing something wrong? The error happens when I try to Inject a Block. [{"kind":"permanent","id":"validator.invalid_block","...
Rodrigo Quelhas's user avatar