Skip to content

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.

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

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