golemfactory/golem-core-python

Mangers initial implementation example

Opened this issue · 0 comments

Prepare an example showcasing usage of Mangers layer. Example should be created of 7 manager listed below.

  • PaymentManager
    • PayAll
    • validate incoming invoices and debit notes against known allocations
    • track actual agreements to be paid instead of only count of paid/unpaid
  • NegotiationManager
    • respond and confirm all proposals
    • plugins
    • generic function based / lambdas
  • ProposalManager
    • stack(LIFO) or queue(FIFO)
    • plugins
  • AgreementManager
    • Sign agreement on get_agreement request
    • Close agreements on event
  • ActivityManager
    • Create activity (deploy,start) on do_work request
    • Drop activity (terminate) when work is done and emit an event
    • Deploy redundancy plugins / standalone implementation
  • WorkManager
    • WorkContext - single step
    • WorkContext - batch
    • Work Decorators
    • Work Decorators -> Work plugins
  • NetworkManager
    • Create network on manager start
    • Add providers from signed agreements to network
    • Remove providers from network on agreement close
    • Close network on shutdown