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

貢獻者指南