package octez-shell-libs
Octez shell libraries
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
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)"
>