[OVER] new testnet *WITH GUI! WOW!* inside

Started by toast, June 04, 2014, 11:39:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

toast

QuoteAbout my possible "exploit", someone with a big stack could use this to vote themselves into being a chosen delegate by paying the 10,000bips fee? Not really a big deal I guess though considering how delegates actually work..

There is a difference between "registering as a delegate" (small fixed fee) and actually getting voted into the active delegates (top N).
Practically anyone can register, and someone with a large amount of stake can vote themselves in as a real delegate.
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.

svk

Quote from: toast on June 05, 2014, 08:30:08 PM
Quote from: svk on June 05, 2014, 08:16:33 PM
So the bigger the transaction the more votes. But if sending transactions to yourself count, isn't that a possible abuse? I'm sure you though of that one already though..

More questions: What exactly does the trust level do then? And what do the different levels correspond to?

When you transfer funds, it un-votes whoever the funds voted for in the last deposit and votes for the new guy. So sending to yourself just slowly removes votes as you keep paying some to fees =). So at any given moment, 100% of the stake is voting for or against a delegate.

Trust level is just local to wallet, it is used by the wallet to figure out who to vote for. It will attempt to pull votes off of untrusted, downvoted untrusted, upvote inactive trusted with most votes, and upvote active with least votes, in that order.
Thanks, that's what I figured the trust level was but nice to see a confirmation. I like the voting logic, should keep things honest as well as mix things up a bit, assuming people set multiple delegates.

About my possible "exploit", someone with a big stack could use this to vote themselves into being a chosen delegate by paying the 10,000bips fee? Not really a big deal I guess though considering how delegates actually work..
Worker: dev.bitsharesblocks

toast

Quote from: svk on June 05, 2014, 08:16:33 PM
So the bigger the transaction the more votes. But if sending transactions to yourself count, isn't that a possible abuse? I'm sure you though of that one already though..

More questions: What exactly does the trust level do then? And what do the different levels correspond to?

When you transfer funds, it un-votes whoever the funds voted for in the last deposit and votes for the new guy. So sending to yourself just slowly removes votes as you keep paying some to fees =). So at any given moment, 100% of the stake is voting for or against a delegate.

Trust level is just local to wallet, it is used by the wallet to figure out who to vote for. It will attempt to pull votes off of untrusted, downvoted untrusted, upvote inactive trusted with most votes, and upvote active with least votes, in that order.
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.

svk

Quote from: bytemaster on June 05, 2014, 08:08:07 PM
Quote from: svk on June 05, 2014, 08:07:09 PM
I got my delegate up and running again, could someone vote for me please? :) How exactly do the votes get counted up, does it depend on the trust level and the size of your transaction for example?

There's an issue currently with the CLI, the first line is repeated once, like this:

svkwallet (locked) >>> svkwallet (locked) >>> wallet_account_transaction_history

This issue is known and has been fixed.
The votes are tallied by the amount of the transaction.

OK thanks, it's funny how with my slow laptop by the time I'm done compiling the new bugs have already been fixed and pushed to github ;)

So the bigger the transaction the more votes. But if sending transactions to yourself count, isn't that a possible abuse? I'm sure you though of that one already though..

More questions: What exactly does the trust level do then? And what do the different levels correspond to?
Worker: dev.bitsharesblocks

bytemaster

For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

bytemaster

Quote from: svk on June 05, 2014, 08:07:09 PM
I got my delegate up and running again, could someone vote for me please? :) How exactly do the votes get counted up, does it depend on the trust level and the size of your transaction for example?

There's an issue currently with the CLI, the first line is repeated once, like this:

svkwallet (locked) >>> svkwallet (locked) >>> wallet_account_transaction_history

This issue is known and has been fixed.
The votes are tallied by the amount of the transaction. 
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

svk

I got my delegate up and running again, could someone vote for me please? :) How exactly do the votes get counted up, does it depend on the trust level and the size of your transaction for example?

There's an issue currently with the CLI, the first line is repeated once, like this:

svkwallet (locked) >>> svkwallet (locked) >>> wallet_account_transaction_history
Worker: dev.bitsharesblocks

amencon

Quote from: Moroz on June 05, 2014, 02:47:30 PM
amencon, npm install has to be executed in the web_wallet directory
That was it, thanks man.

amencon

Quote from: xeroc on June 05, 2014, 08:42:02 AM
Quote from: amencon on June 05, 2014, 08:34:29 AM
XTS7CrBr4r7QATQdWCBUctsgqAhSeVYNrGRfUCpjXinU6JwhxQcMH
If anyone wants to send some funds before I get the web wallet working, thanks.
Quote
  #    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                   AMOUNT                 FEE          VOTE                                        ID
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
9    726.0    2014-06-05T08:41:30 xeroc-1             amencon             Have fun                       -5,000,000 XTS          10,000 XTS           N/A  41304c25917fc13acabafc4f33271db5698480b1
Thanks xeroc, unfortunately I think I have something wrong and haven't gotten the funds yet.  Maybe someone can tell based on my getinfo?  Looks like I have no connections and the head block time is very old but I don't get any obvious errors when starting up the client:

Quotegetinfo
{
  "blockchain_head_block_num": 29,
  "blockchain_head_block_time": "20140604T221600",
  "network_num_connections": 0,
  "wallet_balance": [[
      0,
      "XTS"
    ]
  ],
  "wallet_unlocked_seconds_remaining": 0,
  "wallet_next_block_production_time": null,
  "wallet_seconds_until_next_block_production": null,
  "wallet_local_time": "20140605T183854",
  "blockchain_bips_per_share": 12.500000003125001,
  "blockchain_random_seed": "1ba4fae332bc9f2de9cd4a487a3b6eb64a9c0e05",
  "blockchain_shares": 79999999980000,
  "network_num_connections_max": 12,
  "network_protocol_version": 101,
  "wallet_open": true,
  "wallet_unlocked_until": "",
  "wallet_version": 100
}


mauritso

#61
Got the client up and running including the web GUI.

I voted for everyone in this thread, please vote for me:

wallet_set_delegate_trust_level mauritso 5

EDIT:

That was stupid, of course you can only vote for 1 delegate at a time, I changed it to wackou-delegate.
BTS: maurits

cass

Quote from: Stan on June 05, 2014, 01:43:27 AM
If you are a Keyhotee Founder, this is a good chance to see if your name is registered in the XT genesis block.  Look under the directory tab.

Founders will be registered automagically in all BitShares DACS.  Another salute to our Founders.

+5%
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

clout

Quote from: toast on June 05, 2014, 03:53:44 PM
Quote from: wackou on June 05, 2014, 03:49:48 PM
Quote from: bytemaster on June 05, 2014, 03:02:42 PM
I think it is good to open a bug in github and cross-post it here so that people scanning this thread know what has been caught and can help debug.  Not everyone is on github.

This is a good bug to track down.

OK, reported as https://github.com/BitShares/bitshares_toolkit/issues/208

we fixed it before you were able to file it  :P

+5%

toast

Quote from: wackou on June 05, 2014, 03:49:48 PM
Quote from: bytemaster on June 05, 2014, 03:02:42 PM
I think it is good to open a bug in github and cross-post it here so that people scanning this thread know what has been caught and can help debug.  Not everyone is on github.

This is a good bug to track down.

OK, reported as https://github.com/BitShares/bitshares_toolkit/issues/208

we fixed it before you were able to file it  :P
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.

Moroz

coolspeed,

it is possible to control the client with json-rpc only without the command line interface.  In fact, this is how the web_wallet is doing it.

wackou

Quote from: bytemaster on June 05, 2014, 03:02:42 PM
I think it is good to open a bug in github and cross-post it here so that people scanning this thread know what has been caught and can help debug.  Not everyone is on github.

This is a good bug to track down.

OK, reported as https://github.com/BitShares/bitshares_toolkit/issues/208
Please vote for witness wackou! More info at [url="http://digitalgaia.io"]http://digitalgaia.io[/url]