Replies: 5 comments 3 replies
-
Approved from my side. Only change was the |
Beta Was this translation helpful? Give feedback.
-
@prekucki Do you know anything more about when this could be added? |
Beta Was this translation helpful? Give feedback.
-
I like the idea that we can ask for demands and offers from other nodes. Interestingly, this would allow Providers to inspect the demands of a particular requestor if they have their node ID? You also stated:
But in the provided example I don't see the part where we specify the conditions which the engine would use to filter the offers before returning them via the iterator. I assume that would be another property in the |
Beta Was this translation helpful? Give feedback.
-
@cryptobench |
Beta Was this translation helpful? Give feedback.
-
@prekucki @cryptobench |
Beta Was this translation helpful? Give feedback.
-
Problem
Reviewing Available Offers
We want to review circulating offers on the network without specifying demand upfront. Currently, when inquiring about offers, we must declare what we will be ordering. This has optimization sense; the engine can implicitly present our request to the other party and preliminarily filter it based on the conditions given in the offer.
Inquiry for Offers
Offers on the network spread through slow broadcasting. In situations where we want to quickly learn about a specific node, we don't want to wait 4-8 minutes for information about the offer to reach us. In such a situation, it would be useful to have a calling feature that allows us to receive offers directly from a given node.
REST API proposal
Getting offer iterator
timeout
- specifies how long an unused iterator will live in the server's memory. The value may be unspecified, defaulting to 30 seconds. This is intended to protect the server from memory leaks in applications that do not clean up their resources.type
- scan type.offer
for offers.demand
for demands.Iterating over offers
Deleting iterator
Inquiry from given node
Beta Was this translation helpful? Give feedback.
All reactions