swanchain / go-computing-provider

A golang implementation of computing provider
MIT License
21 stars 22 forks source link

Add verification signature for receiving job #36

Closed sonic-chain closed 7 months ago

Normalnoise commented 7 months ago

add config items:

OrchestratorPk = "0x29eD49c8E973696D07E7927f748F6E5Eacd5516D"     # Orchestrator's public key, CP only accept the task from this Orchestrator
VerifySign = true                                   # Verify that the task signature is from Orchestrator