此篇内容尚无原站英文对应版本;切换语言后可浏览英文资料库。
依据streamd服务器配置方式、运行时间和其他因素,一个服务器可能在不同程度上参与跨国Stream点对点网络。这在对server_info 和server_state命令的回应中表示为server_state字段。这种可能的回应追踪一系列上升互动,每个后面的值取代前一个。它们的定义如下(以从小到大优先级排序):
Value | Description |
|---|---|
disconnected | The server is not connected to the Stream Ledger peer-to-peer network whatsoever. It may be running in offline mode, or it may not be able to access the network for whatever reason. |
connected | The server believes it is connected to the network. |
syncing | The server is currently behind on ledger versions. (It is normal for a server to spend a few minutes catching up after you start it.) |
tracking | The server is in agreement with the network |
full | The server is fully caught-up with the network and could participate in validation, but is not doing so (possibly because it has not been configured as a validator). |
validating | The server is currently participating in validation of the ledger |
proposing | The server is participating in validation of the ledger and currently proposing its own version |
注意:
full、validating和proposing间的区别是基于剩余全球网络的同步性,而且一般性操作时服务器在这些状态间波动很正常。
