Consensus Observer
Consensus observer is a new data dissemination technique that reduces block synchronization time, and transaction latencies for Aptos fullnodes (i.e., VFNs and PFNs). It has been shown to reduce end-to-end transaction latencies in Mainnet by 10% to 50%, depending on the load (i.e., transactions per second).
More information on consensus observer can be found in the AIP: AIP-93: Consensus Observer.
Configure consensus observer
Section titled “Configure consensus observer”Enable consensus observer
Section titled “Enable consensus observer”To enable consensus observer on your PFN, add the following to your node configuration file (e.g., fullnode.yaml
):
consensus: enable_pre_commit: false
consensus_observer: observer_enabled: true publisher_enabled: true
Disable consensus observer
Section titled “Disable consensus observer”To disable consensus observer on your PFN, add the following to your node configuration file (e.g., fullnode.yaml
):
consensus: enable_pre_commit: true
consensus_observer: observer_enabled: false publisher_enabled: false