Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • silkaj silkaj
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 120
    • Issues 120
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • clientsclients
  • pythonpython
  • silkajsilkaj
  • Issues
  • #175

Migrate from BMA to GVA

New client API implementation GVA with GraphQL:

  • RFC
  • Forum post
  • Forum post about Duniter module
  • DuniterPy ticket

Plan

  • Update to DuniterPy 0.61 which implements GraphQL
  • duniterpy.api.Client is used for BMA and GVA. When closing one, it closes the other one. We shouldn't keep both in parallel for now. May be something to search within the singleton to have two separated clients instances.
  • Keep in parallel BMA/GVA? Probably not.

Network layer

  • Use DuniterPy’s GVAEndpoint
  • Endpoint definition:
    • Use port regex from DuniterPy (redefine it in DuniterPy)
    • Add ability to pass and endpoint
    • #223 (closed), #354: Make optional to have a click context
    • Handle Gtest
    • Use ipaddress to separated host from ipv4 which seems not separable from regex matching
    • Rename -p/--peer option to -e/--endpoint?

Commands

Simple

Replace BMA by GVA in simple commands regarding network requests:

  • balance
    • #209: One query for multiple balances
    • currency string not found in params nor blocks (CurrencySymbol())
    • Merge tables into one table
      • Separation (Textable fonctionnality) between "tables" to improve readability?
    • One query for multiple identities: identities query
    • handle pending tx?
    • balance difference between CS/Silkaj calculation <−> GVA?
    • New ticket: display balance of UDs and UTXO from tx (SIG, LOCKED)
  • argos
  • info
  • blocks

Complex

Replace BMA by GVA in complex commands with websocket (subscription) and document emission:

  • diffi
  • history
  • tx
  • id
  • wot
  • cert
  • membership
Edited Jun 14, 2021 by Moul
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking