Hyestamp dans Blockheader
1 réponses
- votes
Je crois que la vanille Baker utilise l'horodatageminimal,de la droite de la cuisson (comme vous le dites,un délai après lapriorité/blocprécédent): Client_baking_forge.ml .
Cependant,vousne devriezpas compter sur cela.Unboulangerpeut choisirn'importe quel horodatage supérieur à l'horodatageminimal.Votrenœudignorera lebloc (à la couche P2P) s'ilest supérieur à 15 à l'avenir.
I believe the vanilla baker uses the minimal timestamp, from the baking right (as you say, some delay after the previous priority/block): client_baking_forge.ml.
However, you should not rely on this. A baker might choose any timestamp greater than the minimal timestamp. Your node will ignore the block (at the p2p layer) if it is more than 15s in the future.
Lesboulangers utilisent-ils letemps local actuel à l'intérieur de leurbloc-cuit ouforge horodatageen cuissontout simplement à la cuisson (horodatage de last_block + autorisé_to_bake_time (1min pour lapriorité 0,2min depriorité 2,etc.)).