• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Tau-Coin/taucoin-ipfs-docs: TAU is a decentralized forum running on mobile netwo ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

Tau-Coin/taucoin-ipfs-docs

开源软件地址:

https://github.com/Tau-Coin/taucoin-ipfs-docs

开源编程语言:


开源软件介绍:

TAU - dForum on Mobile Cloud

Documentation on the Implementation of taucoin on ipfs

Table of Contents

NETWORK STRUCTURE

Making mobile phone behind firewall/nat to work as node requires relay nodes to connect mobile peers. The IFPS autorelay does not work as planned due to the spam on DHT. TAU used blockchain onchain info to provide higher quality relay information. When a TAU node getting online, it will read from local blockchain to connect to relays. After connecting to relay, the new node will build a swarm with peers that existing on chain either as miners or transaction senders. Detail

DATA EXCHANGE

TAU nodes exchange data through on one way: exchange (n+1) block hash among swarm peers. Each node will package own transaction along with valid txs from pool to build the n+1 block, then exchange with every peer's exchange requests. This is an innocation, will be more documented.

TRANSACTIONS POOL

Each node maintain own transaction pool. The pool information exchanging is through promoting n+1 block to other peers. The tx content is from locale tx pool.

VOTING

New node A will get many n+1 blocks from peers p1,p2,p3..pn. In A memory, for each n+1 block, A also maintains a future winninig block vectos will many n+1 blocks ranked by their expected time to win. When times comes, the top on the n+1 block vector will become new n-th block. When n-th block has two candidates with same difficulty level, choose high signature value option. This is to prevent two winning blocks with same difficulty level.

NODES STATE

When new nodes join the network, it has following stages:

  1. Connect to relays - using software bootstrap and available blockchain content to connect relays.
  2. Build peer swarm - using software bootstrap and onchain info to connect peers.
  3. Build wood wall - randomly asking for (n+1) blocks from on-chain peers from swarm, and verify blocks within the wall or the mutable range. When block comes in with higher difficulty, node will switch to higher difficulty chain.
  4. Build iron wall - online and verifying blocks from peers for 12 hours, wood wall becomes iron wall. When block comes in with higher difficulty, node will switch to higher difficulty chain only when it is within the mutable range.
  5. Transfer to human - in iron wall state, when higher difficulty chain forks happened out of the mutable range, it is considerred as an attack. so that require human envolve. All TAU nodes are working in stateless mode, the 12 hours in wood wall is the effort to sync with the blockchain and download state tree and necessary blocks.



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap