package octez-proto-libs
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
    
    
  sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a
    
    
  doc/octez-proto-libs.protocol-environment/Tezos_protocol_environment/V4/Make/Updater/index.html
Module Make.UpdaterSource
Tezos Protocol Environment - Protocol updater.
type validation_result = {- context : Context.t;(*- The resulting context, it will be used for the next block. *)
- fitness : Fitness.t;(*- The effective fitness of the block (to be compared with the one 'announced' in the block header). *)
- message : string option;(*- An optional informative message, akin to a 'git commit' message, which can be attached to the *)- contextwhen it's being commited.
- max_operations_ttl : int;(*- The "time-to-live" of operations for the next block: any operation whose 'branch' is older than 'ttl' blocks in the past cannot be included in the next block. *)
- last_allowed_fork_level : Int32.t;(*- The level of the last block for which the node might consider an alternate branch. The shell should consider as invalid any branch whose fork point is older (has a lower level) than the given value. *)
}Validation result: the record returned by the protocol on the successful validation of a block.
type quota = {- max_size : int;(*- The maximum size (in bytes) of the serialized list of operations. *)
- max_op : int option;(*- The maximum number of operations in a block. *)- Nonemeans no limit.
}type rpc_context = {- block_hash : Block_hash.t;
- block_header : Block_header.shell_header;
- context : Context.t;
}This is the signature of a Tezos protocol implementation. It has access to the standard library and the Environment module.
activate ctxt ph activates an economic protocol (given by its hash ph) from the context ctxt. The resulting context is still a context for the current economic protocol, and the migration is not complete until init in invoked.