Questions tagged [block]
The block tag has no usage guidance.
21
questions
0
votes
2
answers
18
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 ...
0
votes
1
answer
43
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 ...
0
votes
0
answers
113
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?
1
vote
1
answer
111
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?
0
votes
1
answer
45
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 ...
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?
6
votes
2
answers
439
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"...
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 ...
1
vote
1
answer
93
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 ...
1
vote
0
answers
59
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="...
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?
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 ...
4
votes
1
answer
92
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 ...
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?
5
votes
2
answers
449
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" ...
6
votes
1
answer
141
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 ...
4
votes
0
answers
50
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 ...
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 ...
5
votes
1
answer
74
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 ...
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: "...
3
votes
1
answer
42
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","...