Hot answers tagged

25 votes
Accepted

How to vote using cleos?

Warning, this is probably wayyy outdated, feel free to make change requests :) Credit Chris from Privex (@chr54 Telegram) >> Producer Name privexinceos How to Vote Via Command Line (cleos): Want ...
user avatar
  • 3,405
6 votes
Accepted

How to create a separate EOS permission for voting using cleos

There are basically two steps you need to do. First you create a new account permission and then you give it the authority to use voteproducer action on eosio contract. As a prerequisite for this ...
user avatar
  • 113
4 votes

EOSJS vote producer fails when voting for more than two producers?

const sortedBPs = producers.sort(); await eos.voteproducer(userAccountName, proxy, sortedBPs ); ...Adding a sort and moving it outside the await fixed the issue.
user avatar
  • 81
4 votes

How does the vote value decrease over time (Producer Vote Decay)?

From eosio GitHub: /** * Every time a vote is cast we must first "undo" the last vote weight, before casting the * new vote weight. Vote weight is calculated as: * * stated.amount * 2 ^ ( ...
user avatar
  • 3,405
4 votes

Where is the API for block producer voting in EOSJS?

There is a system contract for voting. It can be found here: https://github.com/EOSIO/eos/blob/master/contracts/eosio.system/voting.cpp ABI can be found here: https://github.com/EOSIO/eos/blob/...
user avatar
3 votes

How can I vote for a Proxy on Cleos?

Confirm you're connecting to the main chain. This can be accomplished with the cleos command cleos -u http://mainnet.genereos.io:80 get info In the -u switch we are specifying which Block Producer ...
user avatar
3 votes

Where is the API for block producer voting in EOSJS?

Call voteproducer.. > eos.voteproducer() CONTRACT eosio FUNCTION voteproducer PARAMETERS { "voter": "account_name", "proxy": "account_name", "producers": "account_name[]" } EXAMPLE ...
user avatar
  • 173
3 votes
Accepted

B1 has voting limited by "time since 1st June". Can they abuse it using eosio.token transfer?

Michael Yeates answered this question in one of community Telegrams, this is my rephrase: This validate_b1_vesting check is used in system_contract::changebw() and will cause eosio_assert when B1 ...
user avatar
3 votes
Accepted

Can a contract own EOS which can be staked?

Yes, all contracts have their own account, the same account a person would have. If you want to deploy a contract for public consumption you would create an account for it, then deploy a contract ...
user avatar
2 votes

How does implementation of vote decay prevents usage of automated bots for voting?

Vote decay is not intended to prevent the use of bots. The purpose of vote decay is to stop a block producer from becoming 'lazy', in the situation where they get lots of votes from people who then ...
user avatar
2 votes
Accepted

How does implementation of vote decay prevents usage of automated bots for voting?

Vote Decay doesn't prevent the use of bots. However, the guiding principals of the EOS blockchain state that users should not use bots. It is, perhaps, possible that automatic voting could be ...
user avatar
  • 1,824
2 votes

How does the vote value decrease over time (Producer Vote Decay)?

My understanding is that vote power is simply restored by refreshing your vote, if you feel voting each week is too much administrative overhead you should be able to delegate your voting power to ...
user avatar
2 votes
Accepted

What time/day does voting for the first EOS election start?

There is no absolute answer for your question but here is some general advice (as taken from the community, not specifically my own) After 5 or more Block Producer candidates declare publicly that ...
user avatar
  • 175
2 votes

What EOS Chain Information/Interaction do you wish was more publicly available?

Just a quick shot: Search for blocked/still available names and namespaces like it's done when buying an domain online Cost calculator for creating an account
user avatar
  • 203
2 votes
Accepted

What EOS Chain Information/Interaction do you wish was more publicly available?

Great idea, I would love to use that. If you need any help, I may use some spare time to participate. in addition to 5. voting: stats for BPs (e.g. how long have they have been active as BP, missed ...
user avatar
  • 2,104
2 votes
Accepted

How are ERC20 EOS tokens converted to main net tokens?

EOS.IO token are not refering to ethereum or erc20 tokens anymore. Blockproducers took a snapshot of the erc20 token by the transactions on ethereum. This is now the initial distribution/balance of ...
user avatar
  • 2,104
2 votes

What stops exchanges and other whales with large amounts of EOS voting on referendum proposals and skewing the outcome?

EOS is a plutocracy. The idea is that the large token holders have the most to gain or lose from system-wide changes, so their interests should align with the interests of the network as a whole.
user avatar
2 votes

What stops exchanges and other whales with large amounts of EOS voting on referendum proposals and skewing the outcome?

There is currently nothing in place to limit/cap voting on referendum proposals.
user avatar
  • 1,165
2 votes

Is EOS fully decentralized?

Original answer: DPoS (the consensus Algorithm of EOS.IO) is a trade-off between full decentralization and speed. While PoW algorithms allow almost all nodes on the network to create blocks, DPoS ...
user avatar
  • 2,104
2 votes

Is EOS fully decentralized?

EOS does not have a central server or a single point of failure. All 21 block producers can be replaced and there is a reserve pool 100 block producers waiting at any moment. Here you get a geo map ...
user avatar
1 vote

Where does one go to vote for an EOS BP?

Since EOS is a distributed project, there is no one central official place to vote. There are several different ways to vote for Block Producers on the EOS mainnet. The first is using the command ...
user avatar
  • 1,686
1 vote
Accepted

Meaning of stake2votes function

That's a test function that helps making sure the stake2vote() works as intended. The stake2vote() function fromcontracts/eosio.system/voting.cpp is as follows: double stake2vote( int64_t staked ) { ...
user avatar
  • 5,524
1 vote
Accepted

How to become an EOS Block Producer Candidate?

The official docs are correct: to become a BP candidate you just run $ cleos system regproducer <account> <key> and people can vote for you using their staked tokens as follows: $ cleos ...
user avatar
  • 5,524
1 vote

How to get BP votes in EOS using cleos?

The votes is not the EOS amount, each EOS has a weight with time change, the half-decayed time is one year, the weight of one EOS is 2^(current year(2018)+(days since the year/365) - 2000), and you ...
user avatar
  • 1,066
1 vote

Why does EOS stay in the refund section sometimes and other times it goes automatically to unstaked section?

I'm actually guessing with this answer so vote down if you think it's bad! My theory is that it doesn't go straight back into your balance and instead into a Refund section because the EOS is not ...
user avatar
1 vote
Accepted

How does the EOS BP voting process reach consensus?

As per the whitepaper, 15 or more producers have to agree on the 21 BPs that will produce the next 126 blocks (6 blocks for each of the 21 BPs; a round) and form a schedule. To accomplish this, the ...
user avatar
  • 5,524
1 vote
Accepted

How does the voting for block producers work?

Anyone who owns a EOS registered token can vote,You can vote and change your vote as many times you want.Each "staked" token can potentially vote for up to 30 different BPs. Votes are weighted by the ...
user avatar
1 vote

Not Able To PULL EOS Image From Docker

Two suggestions: 1) Try to run it with admin privileges sudo docker pull ... 2) If that still fails, clean your docker images/volumes/containers. Afterwards you can try the production image. With ...
user avatar
  • 2,104
1 vote

How does the vote value decrease over time (Producer Vote Decay)?

To add to the other replies, see the stake2vote() function in voting.cpp, which converts an EOS stake into a vote weight: double stake2vote( int64_t staked ) { /// TODO subtract 2080 brings the ...
user avatar
  • 5,524
1 vote

After launch, who has the voting and staking rights of EOS held in an exchange?

When you vote your tokens are staked for 3 days. If the exchanges were to use the users's funds to vote, these tokens would get staked (essentially frozen, unmovable) and they run the risk of not ...
user avatar
  • 885

Only top scored, non community-wiki answers of a minimum length are eligible