Comments (5)
from proposals.
Generally I'm +1 for the idea. A couple quick thoughts:
-
I doubt traders would be happy with the prospect of randomly choosing the winner in case of a tie. They'd expect to get their stakes back, and I imagine that's what other platforms do. I understand why this is technically challenging, but explaining that to traders may not have any effect on their opinion.
-
In the case of an oracle that publishes the price, it should perhaps be that the oracle publishes at
blockHeight
and then BSQ nodes evaluate the contract atblockHeight+1
in order to avoid race conditions.
from proposals.
@cbeams Thanks for the feedback!
- I doubt traders...
Yes good point. I think it will depend on the granularity of the price data. If it is a 4 decimal price it will be highly unlikely that this ever will happen. It just makes all easier as we don't need to support a refund mode. But of course it would be possible as well but might have some negative consequences. E.g. the traders need to make 2 issuance transactions. One with full payment to him and one with split refund payout. Those cost btc fees... But maybe there is a way to work with not published transactions as well and that the issuance tx will be only broadcasted in case of a win (or slipt refund) scenario.
- In the case of an oracle...
Good idea. Probably we will need some more buffer for avoiding issues with reorgs. Theoretically the result could be included in a block which gets later re-orged and then the alternative chain might contain another tx with another result. With 10 blocks break between price publishing and cntract result execution we avoid those problems.
from proposals.
@cbeams Ah yes that is a good idea!
from proposals.
No plans to work on that in the foreseeable future.
from proposals.
Related Issues (20)
- Bisq2 oracle node operator HOT 3
- Bisq2 seed node operator HOT 3
- Bisq2 Security Manager HOT 3
- Application to become a bonded explorer operator HOT 4
- Application to become a bonded price node operator HOT 4
- Application to become a mediator for Bisq 2 HOT 4
- Application to become a moderator for Bisq 2 HOT 7
- Bisq2 Release Manager HOT 3
- Application to become a mediator for Bisq 2 HOT 2
- Bisq2 Release Manager HOT 5
- Application to become a moderator for Bisq 2 HOT 5
- Bisq2 seed node operator HOT 5
- Bisq2 oracle node operator HOT 4
- Bisq2 Security Manager HOT 3
- BSQ trading fee update on Cycle 53 HOT 4
- Plan for Projects Maintainer role: First Stage HOT 4
- BSQ trading fee update on Cycle 55 HOT 10
- Proposal for @solomon1923 to assume Growth Lead role HOT 1
- Application to become a bonded pricenode operator HOT 3
- Show a Warning for potentially misconfigured network settings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proposals.