Skip to content

Commit

Permalink
contest config samples
Browse files Browse the repository at this point in the history
  • Loading branch information
spikeekips committed Oct 1, 2019
1 parent 0c237ab commit 566da7c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions readthedocs/docs/contest/config/custom-policy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
global:
policy:
threshold: 67
interval_broadcast_init_ballot_in_join: 5s
timeout_wait_vote_result_in_join: 6s
timeout_wait_ballot: 6s

condition:
all:
node_state:
- current_state="booting" and new_state="join"

new_block:
- m="new block created" and block.height>=12 and block.round=0

0 comments on commit 566da7c

Please sign in to comment.