Server

The server class is the root from which all logic deploys.

If you are the subnet builder, it's important to ensure there is always a bootstrap node available for other nodes to connect to. In the future, Hypertensor has Overwatch Nodes on the roadmap, and these nodes will be responsible for many things. The most important element is the feature of ensuring each subnet is decentralized and proof of stake by ensuring they can connect to the subnet through a bootstrap node. If you intend on building a centralized subnet, think again.

Each Server class should:

See the Inference Subnet for a full example on how to use the Server class.

  1. Starts or joins the DHT.

  2. Starts the heartbeat.

  3. Deploys and starts the protocol or protocols.

  4. Deploys and starts the consensus mechanism integrated with the scoring mechanism.

Last updated