package octez-shell-libs
Octez shell libraries
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13
doc/octez-shell-libs.shell/Tezos_shell/Distributed_db/Advertise/index.html
Module Distributed_db.Advertise
Source
Source
val current_head :
chain_db ->
?mempool:Tezos_base.Mempool.t ->
Tezos_store.Store.Block.t ->
unit
current_head chain_db ?mempool head
sends a Current_head (chain_id, head_header, mempool)
message to all known active peers for this chain. If mempool
isn't specified, or if remote peer has disabled its mempool, mempool
is empty. chain_id
is the identifier for this chain_db
.
Source
val prechecked_head :
chain_db ->
?mempool:Tezos_base.Mempool.t ->
Tezos_base.Block_header.t ->
unit
prechecked_head chain_db ?mempool head
sends a Current_head (chain_id, head_header, mempool)
message to all known active peers for this chain. If mempool
isn't specified, or if remote peer has disabled its mempool, mempool
is empty. chain_id
is the identifier for this chain_db
.
The message is only sent when the peer's network version is at least 2. For former protocol versions, we could get kicked kicked for having send an invalid block that passes the precheck.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>