Skip to content

Migrate to DuniterPy usage

DuniterPy

Transition plan

  • Set Python 3.5 as requirements as DuniterPy 0.52 requires Python 3.5 (DuniterPy 0.60 will requires Python 3.6)
  • Keep same behaviours for the commands and the authentication

Endpoint/GET

  • replace GET methods
  • Make the code asynchronous
  • replace peer document endpoint management

Commands

  • cert:
    • replace document generation
    • replace sign and post method
  • keep amount behaviour with authentication
  • tx:
    • replace document generation
    • replace sign and post method
    • multi-output
    • #178 (closed): intermediaries transactions: infinite loop because of already proceed tx for intermediaries tx.
  • generate_auth_file

Authentication

  • scrypt
  • duniterpy#71 (closed): add seedhex authentication in DuniterPy: seed in an hexadecimal base with str type
  • Ğannonce format (PubSec)
  • (E)WIF (format compatible with Silkaj 0.6)
  • #173 (closed): Following ticket to implement other methods

Cleaning

  • get rid of no longer needed functions
  • auth.py: cleaning done. Improvements possible, but later with #77 (closed), and #173 (closed)
  • #177 (closed): network_tools.py: remove check_port(), refactor best_node(), parse_endpoint(s)()
  • #176 (closed): crypto_tools.py

Code to move to/to implement in DuniterPy

Edited by Moul
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information