Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Substra/substra-chaincode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is deprecated.

The chaincode component is now part of substra/orchestrator.


substra-chaincode

Build and test Go

Chaincode for the Substra platform

License

This project is developed under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file.

Local development

Prerequisites

go version 1.12.x

Run the tests

cd chaincode
go test

Documentation

Implemented smart contracts

  • cancelComputePlan
  • createAggregatetuple
  • createCompositeTraintuple
  • createComputePlan
  • createTesttuple
  • createTraintuple
  • logFailAggregate
  • logFailCompositeTrain
  • logFailTest
  • logFailTrain
  • logStartAggregate
  • logStartCompositeTrain
  • logStartTest
  • logStartTrain
  • logSuccessAggregate
  • logSuccessCompositeTrain
  • logSuccessTest
  • logSuccessTrain
  • queryAggregateAlgo
  • queryAggregateAlgos
  • queryAggregatetuple
  • queryAggregatetuples
  • queryAlgo
  • queryAlgos
  • queryCompositeAlgo
  • queryCompositeAlgos
  • queryCompositeTraintuple
  • queryCompositeTraintuples
  • queryComputePlan
  • queryComputePlans
  • queryDataManager
  • queryDataManagers
  • queryDataSamples
  • queryDataset
  • queryFilter
  • queryModelDetails
  • queryModelPermissions
  • queryModels
  • queryNodes
  • queryObjective
  • queryObjectiveLeaderboard
  • queryObjectives
  • queryTesttuple
  • queryTesttuples
  • queryTraintuple
  • queryTraintuples
  • registerAggregateAlgo
  • registerAlgo
  • registerCompositeAlgo
  • registerDataManager
  • registerDataSample
  • registerNode
  • registerObjective
  • updateComputePlan
  • updateDataManager
  • updateDataSample

Examples

See the full list of examples