-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #679 from fijter/develop
Documentation manual merge conflict resolution
- Loading branch information
Showing
65 changed files
with
205 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
--- | ||
keywords: | ||
- ISCP | ||
- Smart Contracts | ||
- Chain | ||
- Management | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
keywords: | ||
- Publisher | ||
- Nanomsg | ||
- Messages | ||
description: Publishing important events via a Nanomsg message stream. Subscribing to a stream with a client. Message format description. | ||
image: /img/logo/WASP_logo_dark.png | ||
--- | ||
|
||
# Wasp Publisher | ||
|
||
Each Wasp node publishes important events via a [Nanomsg](https://nanomsg.org/) message stream | ||
(just like ZMQ is used in IRI. Possibly in the future ZMQ and MQTT publishers will be supported too). | ||
|
||
Any Nanomsg client can subscribe to the message stream. In Go you can use the | ||
`packages/subscribe` package provided in Wasp for this. | ||
|
||
The Publisher port can be configured in `config.json` with the `nanomsg.port` | ||
setting. | ||
|
||
Message format is simply a string consisting of a space separated list of tokens; and the first token | ||
is the message type. Below is a list of all message types published by Wasp. (You can search for | ||
`publisher.Publish` in the code to see the exact places where each message is published.) | ||
|
||
|Message|Format| | ||
|:--- |:--- | | ||
|Chain record has been saved in the registry | `chainrec <chain ID> <color>` | | ||
|Chain committee has been activated|`active_committee <chain ID>`| | ||
|Chain committee dismissed|`dismissed_committee <chain ID>`| | ||
|A new SC request reached the node|`request_in <chain ID> <request tx ID> <request block index>`| | ||
|SC request has been processed (i.e. corresponding state update was confirmed)|`request_out <chain ID> <request tx ID> <request block index> <state index> <seq number in the block> <block size>`| | ||
|State transition (new state has been committed to DB)| `state <chain ID> <state index> <block size> <state tx ID> <state hash> <timestamp>`| | ||
|Event generated by a SC|`vmmsg <chain ID> <contract hname> ...`| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
--- | ||
keywords: | ||
- ISCP | ||
- Wasp-cli | ||
- Configuration | ||
- Goshimmer | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
documentation/docs/guide/core_concepts/accounts/how-to-deposit-to-a-chain.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
keywords: | ||
- ISCP | ||
- Smart Contracts | ||
- deposit | ||
- transfer | ||
- chain | ||
|
2 changes: 1 addition & 1 deletion
2
documentation/docs/guide/core_concepts/accounts/how-to-withdraw-from-a-chain.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
keywords: | ||
- ISCP | ||
- Smart Contracts | ||
- withdraw | ||
- transfer | ||
- chain | ||
|
2 changes: 1 addition & 1 deletion
2
documentation/docs/guide/core_concepts/accounts/the-common-account.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
keywords: | ||
- ISCP | ||
- Smart Contracts | ||
- deposit | ||
- transfer | ||
- chain | ||
|
2 changes: 1 addition & 1 deletion
2
documentation/docs/guide/core_concepts/accounts/view-account-balances.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
keywords: | ||
- ISCP | ||
- Smart Contracts | ||
- view | ||
- account | ||
- balances | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ation/docs/guide/core_concepts/smartcontract-interaction/off-ledger-requests.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
keywords: | ||
- ISCP | ||
- Smart Contracts | ||
- requests | ||
- off-ledger | ||
- node | ||
|
Oops, something went wrong.