Skip to content
Discussion options

You must be logged in to vote

The current code supports ConsensusObserver for a non-validator full node, but that does not mean there is a public mainnet observer feed that any full node can discover automatically.

The role is opt-in. A full node needs fullnode-sync-mode: consensus-observer, a consensus config, and at least one configured observer peer:

fullnode-sync-mode: consensus-observer

consensus-config:
  db-path: /opt/sui/db/consensus
  parameters:
    observer:
      peers:
        - public_key: "<peer network public key in hex>"
          address: "<peer observer service multiaddr>"

Note the key style: the node config keys are kebab-case, but everything under parameters comes from the consensus crate's Param…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@kenny-ish
Comment options

Answer selected by tmryesl
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants