241
中文 (Chinese) / Re: 交易引擎撮合算法
« on: August 13, 2014, 05:16:48 pm »Quote
2.24小时内提供指导价的受托人数目必须大于101/32=3
应该是 101/3 = 33 个。
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
2.24小时内提供指导价的受托人数目必须大于101/32=3
Thanks luckybit! Ethereum could make all this possible, but problem with Ethereum is the blockchain bloat. A lot of the decisions should be done off-the-chain. And smart oracles are a perfect fit for that. Then a game session only records the results at the end and simple script verifies that it is legit, but doesn't need to verify every player move, just the outcome of a game.
You should consider implementing smart contracts, where game rules are programmatically defined and ran by off the chain smart oracles.
Brilliant.
Why not repurpose the delegate functionality as the oracles?I think in your case you want to keep it simple. I am personally more interested in codium based solutions, but this will take a long time. You can keep an eye on those projects, and it may be possible down the road to do a hard fork, or just start a new DAC once it's clear how they work.
What I think is important is to create a platform, which will attract game developers. For that you need to make it possible to host a session and have the blockchain take care of the rest. Then game developers can define the rules for a game, and write the UI in HTML5/Javascript.
Why not just have a simple scripting layer via with an API? There are many ways to do smart contracts and to a certain extent Bitcoin itself can do it.
But if you want to do it with oracles I think this is a pretty good way to go about it:
https://github.com/orisi/wiki/wiki/Orisi-White-Paper
Just recreate the algorithms:
https://github.com/orisi/wiki/wiki/Mastering-Distributed-Oracles
Very easy Python code example.
https://github.com/orisi/wiki/wiki/How-to-create-a-contract
https://www.youtube.com/watch?v=boPW1FwNu4c
Building this functionality might take some developer time but since the designs are already out there it's easy. Just look at the algorithms code and port it to C++, then allow us to write simply Python scripts to act as contracts just as in the above example.
Ethereum is overly complicated because they are trying to do a generalized solution. Smart contracts are very simple to implement and Blackcoin has the functionality with BlackHalo. Bitshares toolkit has delegate functionality who can act as the distributed oracles in Bitshares Play.Bitshares play is an excellent name. Wise decision.Bitshare Play will not handle all the stuffs of a Game, but only the economic system of the game. The best way is that make our DAC a dependency of the Game, and have APIs can be called directly from the game, e.g read chain db data from our DAC, like buy chips, sell chips, withdraw, deposit, transfer etc. We are acting like a public ledger for specific game, our advantage is we have a shares collateral for their chip assets. If the game developer really confident in their game, that would be a good approach for them to integrate.
We definitely need an API to connect to. That will be the most important part. A developer who knows HTML5, Ruby, Python, Javascript, should be able to communicate with the API.
The rules of the game could be a contract and the contract could be stored on the blockchain itself but that could be a later release. How much developer time do you think it would take to implement smart contracts?
100个左右代表不是乱来的,不是为了分田地,自己看连接。明白人
http://www.bts.hk/why-dpos-is-better-than-other-pos.html
I think in your case you want to keep it simple. I am personally more interested in codium based solutions, but this will take a long time. You can keep an eye on those projects, and it may be possible down the road to do a hard fork, or just start a new DAC once it's clear how they work.
What I think is important is to create a platform, which will attract game developers. For that you need to make it possible to host a session and have the blockchain take care of the rest. Then game developers can define the rules for a game, and write the UI in HTML5/Javascript.
built ok, all the errors I reported last time appear to be fixed (unable to cancel orders, orders being completed without the wallet being updated)! thanks - I can actually test the market now
Awesome! Now I just need to figure out wtf went wrong with my dev environment .
What the fuck is BitShares G