Author Topic: Alternative solution to feeds via delegates  (Read 2175 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
We would pay the fee for a serious business.
thought so .. didn't dare to ask

Offline bytemaster

Tradeable IOU's against USD, BTC, etc. deposits already possible with user-issued assets.  The main barrier is making exchanges aware that the functionality is available, and convincing them to pay the ~$6000 asset registration fee.  Perhaps if an established major exchange expresses serious interest but doesn't want to pay the fee, the developers could offer a hardfork that reduces or waives the fee for the exchange's specific TITAN account?
hardforks suck .. as does adding arbitrary numbers/addresses to the source ...

but seriously, is $6k so much for a business like this? If so they can start a funding campaign!?

We would pay the fee for a serious business.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Tradeable IOU's against USD, BTC, etc. deposits already possible with user-issued assets.  The main barrier is making exchanges aware that the functionality is available, and convincing them to pay the ~$6000 asset registration fee.  Perhaps if an established major exchange expresses serious interest but doesn't want to pay the fee, the developers could offer a hardfork that reduces or waives the fee for the exchange's specific TITAN account?
hardforks suck .. as does adding arbitrary numbers/addresses to the source ...

but seriously, is $6k so much for a business like this? If so they can start a funding campaign!?

Offline theoretical

Tradeable IOU's against USD, BTC, etc. deposits already possible with user-issued assets.  The main barrier is making exchanges aware that the functionality is available, and convincing them to pay the ~$6000 asset registration fee.  Perhaps if an established major exchange expresses serious interest but doesn't want to pay the fee, the developers could offer a hardfork that reduces or waives the fee for the exchange's specific TITAN account?

We should have someone contact Bitstamp and ask if they'd be interested.  They're already doing something similar with Ripple.
BTS- theoretical / PTS- PZxpdC8RqWsdU3pVJeobZY7JFKVPfNpy5z / BTC- 1NfGejohzoVGffAD1CnCRgo9vApjCU2viY / the delegate formerly known as drltc / Nothing said on these forums is intended to be legally binding / All opinions are my own unless otherwise noted / Take action due to my posts at your own risk

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
If there were USD IOUs on the chain from Bitstamp and they traded against BTSX then we would have a very solid price feed from the internal market that is reliable so long as Bitstamp doesn't go under.

Is something like that in the works/talks with any exchange?

Offline bytemaster

If there were USD IOUs on the chain from Bitstamp and they traded against BTSX then we would have a very solid price feed from the internal market that is reliable so long as Bitstamp doesn't go under.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline fluxer555

  • Hero Member
  • *****
  • Posts: 749
    • View Profile
the equivalent of USD-IOUs trading on BTSX from a trusted source like Bitstamp. 

What do you mean by this? Care to elaborate?

Offline bytemaster

Having the equivalent of USD-IOUs trading on BTSX from a trusted source like Bitstamp would allow price discover on chain. 
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline fluxer555

  • Hero Member
  • *****
  • Posts: 749
    • View Profile
Or, the delegates could bypass the 'feed distribution' script, and implement their own distribution.

If they have a different price source than is available in the feed sources on the blockchain, then they can help everyone by submitting it.
« Last Edit: September 28, 2014, 07:28:55 pm by fluxer555 »

Offline fluxer555

  • Hero Member
  • *****
  • Posts: 749
    • View Profile
This is actually to combat a 'best script' from dominating all the delegates feeds. Consider this:

1. Feed sources (e.g. exchanges, which are limited in number, less than 101) are made readily available for delegates through individual scripts. These scripts' sole purpose is to query whatever server the source comes from, and return a number (or set of numbers: price, bid, ask, order book, volume, etc.). Each currency pair at each feed source would have a script. The hash of each script is stored on the blockchain. These can be updated. (By delegate votes? delegate-voted developers?)

2. a 'feed maintenance' script which periodically tests all the scripts and through logic, and determines if any of the exchanges are being manipulated and/or giving false results. The hash of this script is stored on the blockchain, can be updated etc.

3. a 'feed distribution' script which through logic and quality checks (possibly using more than just the price, e.g. volume, spread) determines the best way to weigh the feeds. The hash of this script is stored on the blockchain, can be updated etc.

4. The delegate can choose a percentage of how much to trust this script, against his own manual feeds or private custom script, 0% - 100%. This number is public Using the 'feed maintenance' script, 'feed distribution' script, and optionally his own feeds, the delegate now is serving all the feeds required.

The current system promotes laziness in the delegates, as all they have to do is download the latest and greatest feed script and fire away. And I don't blame them, that's probably the best way to do things right now. It just makes for weak feed security, due to lack of diversity.

Besides of easy maintenance for delegates, the purpose of this is maintainable transparency, where shareholders can see everything that is happening and can feel more secure in the system.
« Last Edit: September 28, 2014, 07:27:09 pm by fluxer555 »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
You can't do it with an on-chain script, and people are already doing it with off-chain scripts. So your suggestion is just to have delegates more formally commit to the the exact script of their price feeds.

If you want to make delegates do this you already have the tools: tell them to put a hash of the script in the public data, then run the script in parallel and compare results. Make noise when a delegate's script isn't working as intended.
ahh .. I see .. that sounds quit nice ...

delegates can also submit a url to their (github) hosted feeds script

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
the goal is to NOT have ONE source .. but several DIFFERENT sources for the feeds ... also the feeds are something the delegate can market for more votes ..

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
You can't do it with an on-chain script, and people are already doing it with off-chain scripts. So your suggestion is just to have delegates more formally commit to the the exact script of their price feeds.

If you want to make delegates do this you already have the tools: tell them to put a hash of the script in the public data, then run the script in parallel and compare results. Make noise when a delegate's script isn't working as intended.
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline fluxer555

  • Hero Member
  • *****
  • Posts: 749
    • View Profile
Shareholders vote for delegates, then delegates vote for feed scripts.

The feed scripts would be a lot like the automated scripts that are being passed around right now, except they would be stored on the blockchain, and executed by all delegates.

There could be an intermediary 'testing ground' for scripts, to be reviewed, and then confirmed legit. They could be cryptographically signed by trusted developers.

I think this intelligently offloads some responsibility from the delegates, which seem to be piling up unnecessarily.

If this proves to be an effective method, then all sorts of new code / new features could be introduced to BTSX in this way.