Author Topic: Dry Run 7: The Power of DPOS  (Read 127573 times)

0 Members and 1 Guest are viewing this topic.

Offline coolexpress

  • Jr. Member
  • **
  • Posts: 39
    • View Profile

sumantso

  • Guest
Quote
network_add_node "114.215.104.153:8701" add

Got 1 connection, but it stays on 1 and doesn't download any blocks :(

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
Getting a strange error..

Code: [Select]
default (unlocked) >>> blockchain_get_account bitcoiners
10 assert_exception: Assert Exception
delegate_record.valid() && delegate_record->is_delegate():
    {}
    th_a  chain_database.cpp:1057 get_slot_signee

    {"timestamp":"20140703T091730"}
    th_a  chain_database.cpp:1059 get_slot_signee


trying again..

Code: [Select]
default (unlocked) >>> blockchain_get_account bitcoiners
Name: bitcoiners
Registered: 2014-07-01T21:48:30
Last Updated: 35 hours ago
Owner Key: XTS5128THEELVyphp57Ri7zemMhdPaayWBgHGUwmGeuuG3RbGubXy

ID    NAME (* next)                   APPROVAL       PRODUCED MISSED   RELIABILITY   PAY RATE PAY BALANCE     LAST BLOCK
------------------------------------------------------------------------------------------------------------------------
315   bitcoiners                      0.0644553198 % 47       19       71.21 %       100 %    36.85315 XTS    6231     


Code: [Select]
about
{
  "bitshares_toolkit_revision": "03df152999c1e9b5feacd623e1022d2e315a4d2c",
  "bitshares_toolkit_revision_age": "11 hours ago",
  "fc_revision": "6dbcba505b230ee77a0a7fe8af5f5e43c59b0b75",
  "fc_revision_age": "12 hours ago",
  "compile_date": "compiled on Jul  3 2014 at 01:47:30"
}
>>> approve bitcoiners

Offline Webber

  • Sr. Member
  • ****
  • Posts: 223
    • View Profile
I noticed that max transactions is 35 every block,this is a limited?
Bitshares2.0 witness node:delegate.webber
Bitshares2.0 API:ws://114.215.116.57:8090

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
Any ideas why latest git build throws exception on get_info?

Code: [Select]
alexxy (unlocked) >>> get_info
10 assert_exception: Assert Exception
delegate_record.valid() && delegate_record->is_delegate():
    {}
    th_a  chain_database.cpp:1057 get_slot_signee

    {"timestamp":"20140703T075730"}
    th_a  chain_database.cpp:1059 get_slot_signee

    {}
    th_a  chain_database.cpp:1075 get_next_producible_block_timestamp

    {}
    th_a  common_api_client.cpp:1971 get_info

    {"command":"get_info"}
    th_a  cli.cpp:538 execute_command


I have similar error but when I run blockchain_list_delegates (get_info is ok)
Code: [Select]
default (unlocked) >>> blockchain_list_delegates
10 assert_exception: Assert Exception
delegate_record.valid() && delegate_record->is_delegate():
    {}
    th_a  client.cpp:729 blockchain_list_delegates

    {}
    th_a  common_api_client.cpp:259 blockchain_list_delegates

    {"command":"blockchain_list_delegates"}
    th_a  cli.cpp:538 execute_command


EDIT: I solved after removing the .BitSharesXTS/chain/ directory
« Last Edit: July 03, 2014, 08:48:10 am by spartako »
wallet_account_set_approval spartako

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
connections are changing from 1 to 5 every now and then  ???

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
don't miss the quote

it worked now is syncing with one node "Last block is synced 35 hours old "

I will add more nodes.....
I will see them on my linux machine with "network_get_peer_info"

it was not necessary to add more nodes it get +4 nodes automatically  ;)

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Any ideas why latest git build throws exception on get_info?

Code: [Select]
alexxy (unlocked) >>> get_info
10 assert_exception: Assert Exception
delegate_record.valid() && delegate_record->is_delegate():
    {}
    th_a  chain_database.cpp:1057 get_slot_signee

    {"timestamp":"20140703T075730"}
    th_a  chain_database.cpp:1059 get_slot_signee

    {}
    th_a  chain_database.cpp:1075 get_next_producible_block_timestamp

    {}
    th_a  common_api_client.cpp:1971 get_info

    {"command":"get_info"}
    th_a  cli.cpp:538 execute_command

Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
just wondering how you can list the assets that other than XTS. which command do you use for following list?
 

I think there isn't an option in the command wallet_account_transaction_history for filtering transaction of a given asset. I copied each transaction by hand in my output.
wallet_account_set_approval spartako

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
don't miss the quote

it worked now is syncing with one node "Last block is synced 35 hours old "

I will add more nodes.....
I will see them on my linux machine with "network_get_peer_info"

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Quote
network_add_node "114.215.104.153:8701" add

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
don't miss the quote
Code: [Select]
network_add_node "114.215.104.153:8701"  add

it seems like the seed nodes went offline ...

try this:
Quote
network_add_node 114.215.104.153:8701 add

syntax error?

Code: [Select]
>> network_add_node 114.215.104.153:8701 add

4 parse_error_exception: Parse Error
Can't parse a number with two decimal places
    {}
    bitshares  json.cpp:249 fc::number_from_stream
Error parsing argument 1 of command "network_add_node": [{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}}]
    {"argument_number":1,"command":"network_add_node","detail":[{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}}]}
    bitshares  cli.cpp:428 bts::cli::detail::cli_impl::parse_argument_of_known_type

    {"parameter_index":0}
    bitshares  cli.cpp:431 bts::cli::detail::cli_impl::parse_argument_of_known_type
Error parsing argument 1 of command "network_add_node": [{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}},{"context":{"level":"error","file":"cli.cpp","line":428,"method":"bts::cli::detail::cli_impl::parse_argument_of_known_type","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Error parsing argument ${argument_number} of command \"${command}\": ${detail}","data":{"argument_number":1,"command":"network_add_node","detail":[{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}}]}},{"context":{"level":"warn","file":"cli.cpp","line":431,"method":"bts::cli::detail::cli_impl::parse_argument_of_known_type","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"","data":{"parameter_index":0}}]
    {"argument_number":1,"command":"network_add_node","detail":[{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}},{"context":{"level":"error","file":"cli.cpp","line":428,"method":"bts::cli::detail::cli_impl::parse_argument_of_known_type","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Error parsing argument ${argument_number} of command \"${command}\": ${detail}","data":{"argument_number":1,"command":"network_add_node","detail":[{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}}]}},{"context":{"level":"warn","file":"cli.cpp","line":431,"method":"bts::cli::detail::cli_impl::parse_argument_of_known_type","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"","data":{"parameter_index":0}}]}
    bitshares  cli.cpp:343 bts::cli::detail::cli_impl::parse_recognized_interactive_command

    {}
    bitshares  cli.cpp:350 bts::cli::detail::cli_impl::parse_recognized_interactive_command
Error parsing command "network_add_node": Parse Error(4)
Can't parse a number with two decimal places
Error parsing argument 1 of command "network_add_node": [{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}}]

Error parsing argument 1 of command "network_add_node": [{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}},{"context":{"level":"error","file":"cli.cpp","line":428,"method":"bts::cli::detail::cli_impl::parse_argument_of_known_type","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Error parsing argument ${argument_number} of command \"${command}\": ${detail}","data":{"argument_number":1,"command":"network_add_node","detail":[{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}}]}},{"context":{"level":"warn","file":"cli.cpp","line":431,"method":"bts::cli::detail::cli_impl::parse_argument_of_known_type","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"","data":{"parameter_index":0}}]


Usage:
network_add_node <node> <command>                                                                     Attempts add or remove <node> from the peer list or try a connection to <node> once
Attempts add or remove <node> from the peer list or try a connection to <node> once

Parameters:
  node (ip_endpoint, required): The node (see network_get_peer_info for nodes)
  command (std::string, required): 'add' to add a node to the list, 'remove' to remove a node from the list, 'onetry' to try a connection to the node once

Returns:
  void

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
maybe bytemaster are testing us with various attacks?  :P

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
it seems like the seed nodes went offline ...

try this:
Quote
network_add_node 114.215.104.153:8701 add

syntax error?

Code: [Select]
>> network_add_node 114.215.104.153:8701 add

4 parse_error_exception: Parse Error
Can't parse a number with two decimal places
    {}
    bitshares  json.cpp:249 fc::number_from_stream
Error parsing argument 1 of command "network_add_node": [{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}}]
    {"argument_number":1,"command":"network_add_node","detail":[{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}}]}
    bitshares  cli.cpp:428 bts::cli::detail::cli_impl::parse_argument_of_known_type

    {"parameter_index":0}
    bitshares  cli.cpp:431 bts::cli::detail::cli_impl::parse_argument_of_known_type
Error parsing argument 1 of command "network_add_node": [{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}},{"context":{"level":"error","file":"cli.cpp","line":428,"method":"bts::cli::detail::cli_impl::parse_argument_of_known_type","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Error parsing argument ${argument_number} of command \"${command}\": ${detail}","data":{"argument_number":1,"command":"network_add_node","detail":[{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}}]}},{"context":{"level":"warn","file":"cli.cpp","line":431,"method":"bts::cli::detail::cli_impl::parse_argument_of_known_type","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"","data":{"parameter_index":0}}]
    {"argument_number":1,"command":"network_add_node","detail":[{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}},{"context":{"level":"error","file":"cli.cpp","line":428,"method":"bts::cli::detail::cli_impl::parse_argument_of_known_type","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Error parsing argument ${argument_number} of command \"${command}\": ${detail}","data":{"argument_number":1,"command":"network_add_node","detail":[{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}}]}},{"context":{"level":"warn","file":"cli.cpp","line":431,"method":"bts::cli::detail::cli_impl::parse_argument_of_known_type","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"","data":{"parameter_index":0}}]}
    bitshares  cli.cpp:343 bts::cli::detail::cli_impl::parse_recognized_interactive_command

    {}
    bitshares  cli.cpp:350 bts::cli::detail::cli_impl::parse_recognized_interactive_command
Error parsing command "network_add_node": Parse Error(4)
Can't parse a number with two decimal places
Error parsing argument 1 of command "network_add_node": [{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}}]

Error parsing argument 1 of command "network_add_node": [{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}},{"context":{"level":"error","file":"cli.cpp","line":428,"method":"bts::cli::detail::cli_impl::parse_argument_of_known_type","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Error parsing argument ${argument_number} of command \"${command}\": ${detail}","data":{"argument_number":1,"command":"network_add_node","detail":[{"context":{"level":"error","file":"json.cpp","line":249,"method":"fc::number_from_stream","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"Can't parse a number with two decimal places","data":{}}]}},{"context":{"level":"warn","file":"cli.cpp","line":431,"method":"bts::cli::detail::cli_impl::parse_argument_of_known_type","hostname":"","thread_name":"bitshares","timestamp":"20140703T074103.136887"},"format":"","data":{"parameter_index":0}}]


Usage:
network_add_node <node> <command>                                                                     Attempts add or remove <node> from the peer list or try a connection to <node> once
Attempts add or remove <node> from the peer list or try a connection to <node> once

Parameters:
  node (ip_endpoint, required): The node (see network_get_peer_info for nodes)
  command (std::string, required): 'add' to add a node to the list, 'remove' to remove a node from the list, 'onetry' to try a connection to the node once

Returns:
  void

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
it seems like the seed nodes went offline ...

try this:
Quote
network_add_node 114.215.104.153:8701 add