mirror of
https://github.com/corda/corda.git
synced 2025-04-06 19:07:08 +00:00
CORDA-3422 - Remove design docs from 4.4
This commit is contained in:
parent
384dfca04e
commit
84983ffb16
@ -280,8 +280,8 @@ But if another CorDapp developer, ``OrangeCo`` bundles the ``Fruit`` library, th
|
||||
This will create a ``com.fruitcompany.Banana`` signed by the ``OrangeCo``, so there could be two types of Banana states on the network,
|
||||
but "owned" by two different parties. This means that while they might have started using the same code, nothing stops these ``Banana`` contracts from diverging.
|
||||
Parties on the network receiving a ``com.fruitcompany.Banana`` will need to explicitly check the constraint to understand what they received.
|
||||
In Corda 4, to help avoid this type of confusion, we introduced the concept of Package Namespace Ownership (see ":doc:`design/data-model-upgrades/package-namespace-ownership`").
|
||||
Briefly, it allows companies to claim namespaces and anyone who encounters a class in that package that is not signed by the registered key knows is invalid.
|
||||
In Corda 4, to help avoid this type of confusion, we introduced the concept of Package Namespace Ownership. Briefly, it allows companies to claim namespaces and anyone
|
||||
who encounters a class in that package that is not signed by the registered key knows is invalid.
|
||||
|
||||
This new feature can be used to solve the above scenario. If ``FruitCo`` claims package ownership of ``com.fruitcompany``, it will prevent anyone
|
||||
from bundling its code because they will not be able to sign it with the right key.
|
||||
|
Loading…
x
Reference in New Issue
Block a user