Skip to main content

Dcp

Subscribe to the dcp stream to trigger DCP function.

For example, connection A subscribes "dcp", connection B does not and connection C subscribes "dcp".

  1. If A is alive, B is dead, C is alive, then this case will not trigger DCP.
  2. If A is alive, B is dead, C is dead, then this case will not trigger DCP.
  3. If A is dead, B is alive, C is dead, then DCP is triggered when reach the timeWindow threshold

To sum up, for those private connections subscribing "dcp" topic are all dead, then DCP will be triggered.

Changes on 18 June

  • Original dcp will be depreciated
  • New topics are added: dcp.future, dcp.spot, dcp.option. The trigger logic remains the same

Topic: dcp

Subscribe Example

{
"op": "subscribe",
"args": [
"dcp"
]
}