aboutsummaryrefslogtreecommitdiffstats
path: root/DKGSet-in-DEXON.md
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-11-12 17:04:09 +0800
committerJimmy Hu <jimmy.hu@dexon.org>2018-11-12 17:04:09 +0800
commit9e6e24b73a760848b097b710217dadafbfe8ed6b (patch)
tree9aa80271f7b1e735a8673c94147a168c64086325 /DKGSet-in-DEXON.md
parent9b09c3b0393c63fa9cbf528fd7b61860c535c027 (diff)
downloaddexon-wiki-9e6e24b73a760848b097b710217dadafbfe8ed6b.tar
dexon-wiki-9e6e24b73a760848b097b710217dadafbfe8ed6b.tar.gz
dexon-wiki-9e6e24b73a760848b097b710217dadafbfe8ed6b.tar.bz2
dexon-wiki-9e6e24b73a760848b097b710217dadafbfe8ed6b.tar.lz
dexon-wiki-9e6e24b73a760848b097b710217dadafbfe8ed6b.tar.xz
dexon-wiki-9e6e24b73a760848b097b710217dadafbfe8ed6b.tar.zst
dexon-wiki-9e6e24b73a760848b097b710217dadafbfe8ed6b.zip
Created DKGSet in DEXON (markdown)
Diffstat (limited to 'DKGSet-in-DEXON.md')
-rw-r--r--DKGSet-in-DEXON.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/DKGSet-in-DEXON.md b/DKGSet-in-DEXON.md
new file mode 100644
index 0000000..3a6567f
--- /dev/null
+++ b/DKGSet-in-DEXON.md
@@ -0,0 +1,22 @@
+DKGSet will run several tasks during a round (or `epoch` described in DEXON Consensus Algorithm).
+
+Suppose the interval `[0, T)` and `[T, 2T)` are round `r` and `r+1`, respectively. (`T` is the round interval defined in Governance Contract)
+
+The time `t` is the Consensus Timestamp of the delivered block.
+
+## @ t = T/2
+* DKGSet_r starts the TSIG protocol to generate `CRS_r+1 = TSIG(CRS_r)`. DKGSet_r+1 is then decided.
+* After DKGSet_r+1 is decided, DKGSet_r+1 register their DKG ID. ([Phase 1 of DKG + TSIG Protocol](https://github.com/dexon-foundation/wiki/wiki/DKG%EF%BC%8BTSIG-Protocol#phase-1-id-registration))
+
+## @ t = T * 2 / 3
+* DKGSet_r+1 starts the DKG protocol ([Phase 2 of DKG + TSIG Protocol](https://github.com/dexon-foundation/wiki/wiki/DKG%EF%BC%8BTSIG-Protocol#phase-2-secret-key-share-exchange))
+
+## @ t = [T, 2T)
+* DKGSet_r+1 calculate the `Block.Randomness = TSIG(Block.Hash)` using TSIG protocol for each block confirmed in the round `r+1`. ([On Chain Random Oracle](https://github.com/dexon-foundation/wiki/wiki/On-Chain-Random-Oracle))
+
+
+# Special Case for Round 0
+* `CRS_0` is defined in Genesis state.
+* DKGSet_0 register their DKG ID when the node starts.
+* DKGSet_0 starts the DKG protocol at `t = T / 4`
+* DKGSet_0 will NOT calculate the `Block.Randomness`. \ No newline at end of file