# What exactly is a known party to a participant node if is\_local is false?

**URL:** <https://forum.canton.network/t/what-exactly-is-a-known-party-to-a-participant-node-if-is-local-is-false/1980>\
**Category:** App Development\
**Tags:** grpc\
**Created:** [January 26, 2021, 8:56am UTC](https://forum.canton.network/t/what-exactly-is-a-known-party-to-a-participant-node-if-is-local-is-false/1980 "2021-01-26T08:56:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richard\_Kapolnai](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/richard_kapolnai/32/89_2.png) [@Richard\_Kapolnai](https://forum.canton.network/u/Richard_Kapolnai)\
**Post date:** [January 26, 2021, 8:56am UTC](https://forum.canton.network/t/what-exactly-is-a-known-party-to-a-participant-node-if-is-local-is-false/1980/1 "2021-01-26T08:56:27Z")

</div>

What does _knowing a party_ mean?

The [Identity Management](https://docs.daml.com/concepts/identity-and-package-management.html#identity-management) mentions that there can be parties allocated on a node, and others allocated elsewhere, still _known_ to that node.

Bonus question: how can we let a node _know_ a party without allocating (hosting) it?

---

<div class="post-metadata">

**Author:** ![Richard\_Kapolnai](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/richard_kapolnai/32/89_2.png) [@Richard\_Kapolnai](https://forum.canton.network/u/Richard_Kapolnai)\
**Post date:** [January 26, 2021, 8:56am UTC](https://forum.canton.network/t/what-exactly-is-a-known-party-to-a-participant-node-if-is-local-is-false/1980/2 "2021-01-26T08:56:49Z")

</div>

(Note that [a related question](https://discuss.daml.com/t/what-is-a-known-party-in-the-context-of-the-http-json-api-fetch-all-known-parties-endpoint/1562/2) and also the [grpc doc](https://docs.daml.com/app-dev/grpc/proto-docs.html#listknownpartiesresponse) takes a different view, where _knowing_ is simply _hosting_.)

---

<div class="post-metadata">

**Author:** ![bernhard](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/bernhard/32/356_2.png) [@bernhard](https://forum.canton.network/u/bernhard)\
**Post date:** [January 26, 2021, 9:21am UTC](https://forum.canton.network/t/what-exactly-is-a-known-party-to-a-participant-node-if-is-local-is-false/1980/3 "2021-01-26T09:21:41Z")

</div>

I think you may have discovered an error in the API docs there. ListAllKnownParties does just that. Parties don’t need to be hosted there.

All Daml Drivers establish consensus between all participant nodes connected to a network about the party \<-\> participant mapping. When you connect a new participant, the current mapping is shared with the new participant.

You can imagine there being an implicit contract, which contains a many-to-many mapping between parties and participants. Allocating a new party is a transaction modifying that contract. The exact mechanics of this, as well as the governance differ from driver to driver, though.

---

<div class="post-metadata">

**Author:** ![Richard\_Kapolnai](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/richard_kapolnai/32/89_2.png) [@Richard\_Kapolnai](https://forum.canton.network/u/Richard_Kapolnai)\
**Post date:** [January 26, 2021, 2:40pm UTC](https://forum.canton.network/t/what-exactly-is-a-known-party-to-a-participant-node-if-is-local-is-false/1980/4 "2021-01-26T14:40:31Z")

</div>

Thank you! Does this mean that every party found in this mapping will be _known_ to any new participant connecting? So _known parties_ are simply _all hosted parties_ (on some participant) in the domain?

So, ListAllKnownParties should return the same set of parties run on any participant, just with different `is_local` attribute?

---

<div class="post-metadata">

**Author:** ![bernhard](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/bernhard/32/356_2.png) [@bernhard](https://forum.canton.network/u/bernhard)\
**Post date:** [January 26, 2021, 3:23pm UTC](https://forum.canton.network/t/what-exactly-is-a-known-party-to-a-participant-node-if-is-local-is-false/1980/5 "2021-01-26T15:23:45Z")

</div>

> So, ListAllKnownParties should return the same set of parties run on any participant, just with different is\_local attribute?

Yes, as long as you are only connected to a single domain. With multi-domain the statement would be: `ListAllKnownParties` returns the set of all parties allocated on any of the connected domains.
