coinbase / mesh-specifications

Specification files for the Mesh Blockchain Standard
Apache License 2.0
327 stars 93 forks source link

Deprecate `Address` Field in `SigningPayload` and `ConstructionDeriveResponse` #47

Closed patrick-ogrady closed 4 years ago

patrick-ogrady commented 4 years ago

Requiring that ConstructionDeriveResponse and SigningPayload contain Address instead of AccountIdentifier limits the ability to associate multiple keys with a given account (with a separate key for each SubAccount).

We should add an optional AccountIdentifier field to both of these objects that can be populated in lieu of Address. This ensures that existing implementations are not broken by this change without preventing new implementations from taking advantage of this increase expressivity.