Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 355 Bytes

File metadata and controls

9 lines (8 loc) · 355 Bytes
chain.header_submit_by_relayer(first_header)  # submit the first block

while chain.submit_headers:  # check game is closed or not
  if chain.next_sampling_blocks:  # This means the next_sampling has updated
    for b in chain.next_sampling_blocks:
      header = get_header_by_block_height(b)
      chain.header_submit_by_relayer(header)