dvf/blockchain

Part 2 RFC: Implementation Roadmap

开放

#43 创建于 2017年11月12日

 (18 条评论) (2 个反应) (0 位负责人)C# (2,796 个派生)batch import
help wantedquestion

仓库指标

星标
 (8,046 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I'm working on Part 2. So I thought I'd share a bit of the roadmap. I'm aiming on publishing sometime in the next week but still have a few hurdles and could use your expertise.

Hop on to our Slack if you wanna get involved.

  • Basic Contract (P2P Protocol)
    • Endpoints:
      • get_chain, post_transactions, get_nodes, post_block, ...
  • Heartbeat Loop
    • Ported to aiohttp over Flask
    • asyncio allows us to have an event loop for introspection (and pinging other nodes)
  • Transaction Verification
    • Using Python NaCl to generate a public/private signing key pair: private.key, public.key which should be generated before runtime.
    • Would still appreciate thoughts on this method
  • NAT (Opening ports on Router, like uTorrent/Transmission/Bitcoin Wallet): uPNP, NAT-PMP, PCP...
    • Attempting to open a port on the router at runtime using one of these protocols
    • Bogged down on this one, poor python library support unsure how to proceed for now
    • Would appreciate help on this one

贡献者指南