Skip to content
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

Requesting scenario #105

Open
wants to merge 4 commits into
base: new-arch
Choose a base branch
from
Open

Requesting scenario #105

wants to merge 4 commits into from

Conversation

prekucki
Copy link
Member

No description provided.

arch-snapshot/arch.md Show resolved Hide resolved
arch-snapshot/arch.md Show resolved Hide resolved
arch-snapshot/arch.md Show resolved Hide resolved
arch-snapshot/arch.md Show resolved Hide resolved
arch-snapshot/arch.md Show resolved Hide resolved
For the created DEMAND, the Requestor receives a stream of agreement proposals. The proposals can be of two types:

Initial
: An offer presented to the network in general without knowledge of the other party. Such an offer should be reviewed, and the Requestor should specify their expectations regarding the contract. An example of such an interaction is reading the list of networks on which the Provider can receive payments and choosing the one preferred by the Requestor.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'd simply defer to @nieznanysprawiciel 's explanation of this procedure in #104 .


#### Step 7: Service Activation and Contract Supervision

With an active contract, the Requestor activates the service by creating an Activity. Using the Activity object, they send a request to activate access to the node with a specified access password. In response, they receive the service details.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get it - where does the password come from and what does it protect?


With an active contract, the Requestor activates the service by creating an Activity. Using the Activity object, they send a request to activate access to the node with a specified access password. In response, they receive the service details.

The Requestor's application connects directly to the provided endpoint to verify that it is functioning correctly.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry but I don't understand. What's an endpoint in this context? Requestor Agent and Provider Agent where able to make contact already to reach an Agreement (we intentionally skipped the details of how this happens) - is this some different communication channel?

- In the case of a pay-as-you-go contract, at regular intervals, billing records called DebitNotes are sent to the Requestor. These contain the number of requests made, the service uptime, and the resulting fee. The Requestor must verify that this data is accurate and either confirm the upcoming payment or terminate the contract.
- The Requestor monitors the service on the Provider's side to avoid sending tasks to malfunctioning providers.

For long-running services, it's necessary to extend the allocation to ensure sufficient funds are available.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both you and @nieznanysprawiciel (in #104) have described this already. I think @nieznanysprawiciel has gone further with refining his version, so let's just refer to his explanation and extend it with whatever is not present there.


For long-running services, it's necessary to extend the allocation to ensure sufficient funds are available.

#### Step 8: Contract Closure
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just like previous section, let's use the one from #104

@prekucki prekucki marked this pull request as ready for review October 24, 2024 09:54
@prekucki prekucki changed the title WiP: Requesting scenario Requesting scenario Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants