Repository navigation
feat: SP payee and worker rotation - #674
Conversation
Allow the payee to rotate payee and worker via direct calls, keep previous workers resolvable for PDP auth, and add worker-callable data-set rail retarget so future income follows the registry payee. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Keep former workers in addressToProviderId so currentWorker still resolves from snapshotted data-set addresses without a second mapping. Co-authored-by: Cursor <cursoragent@cursor.com>
|
So is the payee the true owner or is it the serviceProvider? Seems to be a mix of both. The hot key should be the worker that can add pieces etc, while the cold one can cycle it without having to uproot all of the rails. So I think the payee should be the real owner while the serviceProvider is the worker. I think you've done that in some places but I think there is some inconsistency about the roles. |
Require ServiceProviderRegistry owner (central vetting) for changePayee and changeServiceProvider so compromised SP wallets cannot rotate roles. Co-authored-by: Cursor <cursoragent@cursor.com>
changePayee stays owner-only for vetted recovery. changeServiceProvider is again a common payee (or owner) operation so wallet rotation is routine. Co-authored-by: Cursor <cursoragent@cursor.com>
|
|
@snadrus also run |
|
need to run Pull the pdp dependency after merging FilOzone/pdp#318 |
|
|
No description provided.