-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace namespace.remotename with namespace.multiparty.networkname #947
Conversation
This is only relevant in the context of a multiparty network. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
6fc7d7f
to
0ec5b9e
Compare
Codecov Report
@@ Coverage Diff @@
## main #947 +/- ##
=======================================
Coverage 99.97% 99.97%
=======================================
Files 299 299
Lines 19478 19479 +1
=======================================
+ Hits 19473 19474 +1
Misses 4 4
Partials 1 1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
I like As the field is called On the Tokens front, that's an interesting separate conversation. Because it's a name specific to the combination of a Token connector, and how it should be broadcast within a |
Yea, I like that suggestion. Will update the PR. |
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a real positive step forwards in the terminology.
This is a proposed rename for discussion.
Currently a namespace can have a
name
and aremoteName
-name
is how it's known locally (on APIs and most database objects), whileremoteName
is how it's written into objects that transmit the namespace in a multi-party system (specifically messages, batches, and groups on dataexchange, and the BatchPin method of the V1 blockchain contract).Since the thing we've called
remoteName
is entirely specific to multiparty networks, it could be renamed tomultiparty.networkNamespace
, which seems more accurate. It would still default to the value of the local namespacename
if unset.Counterpoints:
localNamespace
andnamespace
on messages and groups when queried (and the latter can't easily be modified due to the way hashes are computed).Tokens plugins have a similarUpdate: decided to rename the tokens pluginname
andremoteName
(one is stored locally and one is sent in messages), so this would be a departure from that terminology.remoteName
tobroadcastName
based on comments below.