Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: [Proposal] Public JSON attributes for delegates  (Read 1288 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12176
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
[Proposal] Public JSON attributes for delegates
« on: November 18, 2014, 11:57:57 AM »

From the discussion in
https://bitsharestalk.org/index.php?topic=11476.0
I proposed to have a standardized (read: consensus) way of publishing auxiliary data for each delegate (read: registered account)

Taking some attributes from
https://wiki.namecoin.info/index.php?title=Identity

I'd propose to have those attributes set by delegates:
=> http://wiki.bitshares.org/index.php/Delegate/PublicData <=

Services have been initially described in:
https://bitsharestalk.org/index.php?topic=11356.msg149525#msg149525

All attribute names, descriptions aswell as the structure are made up and need
discussion. So...

Discuss!
« Last Edit: November 19, 2014, 09:48:40 AM by xeroc »
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline svk

Re: [Proposal] Public JSON attributes for delegates
« Reply #1 on: November 18, 2014, 12:05:46 PM »
Looks good to me!

I'd like to add:

Code: [Select]
{"delegate.handle": "", # Bitsharestalk forum handle representing the delegate}
Worker: dev.bitsharesblocks

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12176
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: [Proposal] Public JSON attributes for delegates
« Reply #2 on: November 18, 2014, 12:09:29 PM »
I'd like to add:

Code: [Select]
{"delegate.handle": "", # Bitsharestalk forum handle representing the delegate}
added "handles" as an object!

we might need to discuss a timeless description .. who knows when facebook will fall  8)
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline svk

Re: [Proposal] Public JSON attributes for delegates
« Reply #3 on: November 18, 2014, 12:12:04 PM »
Oh and btw the guidata field that the wallet looks for is actually called "gui_data"
Worker: dev.bitsharesblocks

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12176
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: [Proposal] Public JSON attributes for delegates
« Reply #4 on: November 18, 2014, 12:19:04 PM »
Oh and btw the guidata field that the wallet looks for is actually called "gui_data"
fixed .. thanks
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

julian1

  • Guest
Re: [Proposal] Public JSON attributes for delegates
« Reply #5 on: November 18, 2014, 12:39:29 PM »
Yes. Looks excellent!

Offline svk

Re: [Proposal] Public JSON attributes for delegates
« Reply #6 on: November 18, 2014, 12:42:41 PM »
Another idea: "delegate.ann": "" # announcements

This could even be an array of strings, but I think we'll quickly run out of space. That's another thing we need to find out: how much data can actually be stored in public_data.

BTW A possible issue with having all these fields and keeping things up to date is that currently you need to reenter every field when updating your account, so if you forget a field it gets erased.
Worker: dev.bitsharesblocks

Offline svk

Re: [Proposal] Public JSON attributes for delegates
« Reply #7 on: November 18, 2014, 03:00:14 PM »
I was thinking about this some more and thought of another thing that I believe could be very useful. My idea is to define a set of roles for delegates that would be hardcoded into the wallet, and that upon registration of a new delegate you would be presented with a dropdown list with a choice of roles. By default you'd get "Backbone" which basically means a 3% delegate providing feeds and staying up to date.

The list of roles could easily be expanded over time, but here's a possible shortlist:

["Core Development","Core Marketing", "Independent Development","Independent Marketing","Faucet","Backbone"]

The final list of course needs more thought. If you want to define your role manually in the CLI, you would simply set {public_data.delegate.role: 2} to select "Indepent Development" for example.

@valzav if you think this sounds like a good idea I'll have a go at implementing it in the wallet. I'd also like to flesh out the account page to take into account at least some of the JSON fields discussed in this thread.

Worker: dev.bitsharesblocks

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12176
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: [Proposal] Public JSON attributes for delegates
« Reply #8 on: November 18, 2014, 03:06:53 PM »
I was thinking about this some more and thought of another thing that I believe could be very useful. My idea is to define a set of roles for delegates that would be hardcoded into the wallet, and that upon registration of a new delegate you would be presented with a dropdown list with a choice of roles. By default you'd get "Backbone" which basically means a 3% delegate providing feeds and staying up to date.

The list of roles could easily be expanded over time, but here's a possible shortlist:

["Core Development","Core Marketing", "Independent Development","Independent Marketing","Faucet","Backbone"]

The final list of course needs more thought. If you want to define your role manually in the CLI, you would simply set {public_data.delegate.role: 2} to select "Indepent Development" for example.

@valzav if you think this sounds like a good idea I'll have a go at implementing it in the wallet. I'd also like to flesh out the account page to take into account at least some of the JSON fields discussed in this thread.
I like that idea!
Will add this to the OP when I find the time!
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline pseudoscops

Re: [Proposal] Public JSON attributes for delegates
« Reply #9 on: November 18, 2014, 03:34:46 PM »
Well done guys. So good to see you both jump in to action on this after our discussions earlier today. Shining examples to us all you both are.

 +5% to public_data.delegate.role - was thinking this would be really useful too. Effectively allows for people to identify with over arching teams/tribes as DAC workers self organise.
« Last Edit: November 18, 2014, 03:37:00 PM by pseudoscops »

Offline Shentist

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 1605
    • View Profile
    • metaexchange
  • BTS: shentist
Re: [Proposal] Public JSON attributes for delegates
« Reply #10 on: November 18, 2014, 04:01:37 PM »
 +5% good idea, good information about the delegates

in the future it would be good to see from every delegate who gets paid more then 3% how he spend his money and what he did in the elected time.

Offline svk

Re: [Proposal] Public JSON attributes for delegates
« Reply #11 on: November 18, 2014, 08:33:20 PM »
I've made a pull request for an initial implementation of this idea:

https://github.com/BitShares/web_wallet/pull/464
Worker: dev.bitsharesblocks

Offline vikram

Re: [Proposal] Public JSON attributes for delegates
« Reply #12 on: November 18, 2014, 10:01:39 PM »
I've made a pull request for an initial implementation of this idea:

https://github.com/BitShares/web_wallet/pull/464

Make sure you document the fields somewhere too. Probably at least a page on wiki.bitshares.org.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12176
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: [Proposal] Public JSON attributes for delegates
« Reply #13 on: November 19, 2014, 08:12:25 AM »
Make sure you document the fields somewhere too. Probably at least a page on wiki.bitshares.org.
http://wiki.bitshares.org/index.php/Delegate/PublicData

Needs some more work .. and a consensus about the attribute names etc....
It's not that I'd like to define a standard on my own ... thx to svk for the input sofar!!
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline svk

Re: [Proposal] Public JSON attributes for delegates
« Reply #14 on: November 19, 2014, 08:55:15 AM »
Make sure you document the fields somewhere too. Probably at least a page on wiki.bitshares.org.
http://wiki.bitshares.org/index.php/Delegate/PublicData

Needs some more work .. and a consensus about the attribute names etc....
It's not that I'd like to define a standard on my own ... thx to svk for the input sofar!!

Good job on the wiki page. I only put one handle in the wallet for now, and it's bitsharestalk by default. If there's real demand for putting facebook handles and more in there we can always add them, but it feels a bit heavy to me.

I see you added some more roles, I'll add them to the wallet later. I've also added this to my website but I want to finish the translation setup before pushing the next version.

valzav merged my pull request so this will probably be in the next version of the wallet, start your engines! :)

PS. I was amazed by how much data I could actually add to the public_data field, you can see two images in the git pull request of what's possible :)
Worker: dev.bitsharesblocks

 

Google+