项目作者: fireblock

项目描述 :
Save blockhash of an ethereum blockchain in OpenTimeStamps
高级语言: JavaScript
项目地址: git://github.com/fireblock/fireblock-ots.git
创建时间: 2018-12-16T09:08:45Z
项目社区:https://github.com/fireblock/fireblock-ots

开源协议:GNU General Public License v3.0

下载


OpenTimeStamps your ethereum blockchain

3 steps:

  1. export a block & create OTS file
  2. few hours later, add blockchain info
  3. verify

Step 1:

  • get last block index: i
  • export j (with j=i-15) block & save it in block_j.txt
  • create block_j.state with STAMPED ${timestamp} content
  • create a stamp

Step 2:

  • list all block_j.state
  • foreach with STAMPED content do upgrade OTS
    if upgrade succeeded change state to UPGRADED ${timestamp}
    if failure check if period > 48h then change state to ERROR & move to error directory

Step 3:

  • list all block_j.state
  • foreach with UPGRADED content do verify OTS
    if verify succeeded change state to VERIFIED & move to output directory
    if failure check if period > 48h then change state to ERROR & move to error directory