Author Topic: Test network questions  (Read 3719 times)

0 Members and 1 Guest are viewing this topic.

Offline Glaxmox

  • Newbie
  • *
  • Posts: 13
    • View Profile
Code: [Select]
unlocked >>> gethelp vote_for_witness

Vote for a given witness.

An account can publish a list of all witnesses they approve of. This
command allows you to add or remove witnesses from this list. Each
account's vote is weighted according to the number of shares of the core
asset owned by that account at the time the votes are tallied.

Parameters:
    voting_account: the name or id of the account who is voting with their
        shares (type: string)
    witness: the name or id of the witness' owner account (type: string)
    approve: true if you wish to vote in favor of that witness, false to
        remove your vote in favor of that witness (type: bool)
    broadcast: true if you wish to broadcast the transaction (type: bool)

Returns
    the signed transaction changing your vote for the given witness
Thank you, totally forget about that option!  :)

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Code: [Select]
unlocked >>> gethelp vote_for_witness

Vote for a given witness.

An account can publish a list of all witnesses they approve of. This
command allows you to add or remove witnesses from this list. Each
account's vote is weighted according to the number of shares of the core
asset owned by that account at the time the votes are tallied.

Parameters:
    voting_account: the name or id of the account who is voting with their
        shares (type: string)
    witness: the name or id of the witness' owner account (type: string)
    approve: true if you wish to vote in favor of that witness, false to
        remove your vote in favor of that witness (type: bool)
    broadcast: true if you wish to broadcast the transaction (type: bool)

Returns
    the signed transaction changing your vote for the given witness
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline Glaxmox

  • Newbie
  • *
  • Posts: 13
    • View Profile
i see that only 5 out 14 witness are active
how to vote for witness from console to become their active?

In cli_wallet, use the vote_for_witness command.

thank you, sir!

Is there any important if all witness on one node or it on different nodes?

I also found this sample in documentation:
Code: [Select]
unlocked >>> vote_for_witness nathan nathan true true
Am i right that first "nathan" is a wallet name and second is witness name?
and what syntax would be correct there, like if "alex" wallet name and witness name is "init0" correct syntax is
Code: [Select]
unlocked >>> vote_for_witness alex init0 true trueor i'm wrong?
I also trying to connect UI to running node, but it drops connection in connection process. Firewall is disabled on node VPS and i have no idea why it happens.

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
i see that only 5 out 14 witness are active
how to vote for witness from console to become their active?

In cli_wallet, use the vote_for_witness command.
BitShares committee member: abit
BitShares witness: in.abit

Offline Glaxmox

  • Newbie
  • *
  • Posts: 13
    • View Profile
i see that only 5 out 14 witness are active
how to vote for witness from console to become their active?

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
You need >70% of the elected witnesses to be actively producing blocks.
Use the `get_global_properties` command in cli_wallet to show the elected witnesses, then use `get_witness <id>` to check that their `last_confirmed_block_num` is recent.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline Glaxmox

  • Newbie
  • *
  • Posts: 13
    • View Profile
i have 14 active witness on testnet.
Should i add more?

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
You need more active witnesses.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline Glaxmox

  • Newbie
  • *
  • Posts: 13
    • View Profile
Hi there, i'm playing with test net and got some question.
If i produce 10k blocks, chain according to line #53 of config.ini ask me about checkpoint.
As i understood, i should stop chain, add checkpoint to config.ini and start it again, but it not a big time and do that each day is wrong - i mean stop chain and add more and more checkpoints.
Yes i can change that value and make time window more bigger, but it not the as i think.

In some future i'm planning to run graphene(bitshares like) blockchain for data exchange. And second question is about how to move it to production and manage same problem - as far i can see, on bitshares node you don't have to add checkpoints....