Main Menu

Dry Run 7: The Power of DPOS

Started by bytemaster, July 01, 2014, 09:14:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

coolexpress


sumantso

Quote from: xeroc on July 03, 2014, 07:52:03 AM
Quote
network_add_node "114.215.104.153:8701" add

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

bitcoinerS

Getting a strange error..


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..


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     



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

Webber

I noticed that max transactions is 35 every block,this is a limited?
Bitshares2.0 witness node:delegate.webber
Bitshares2.0 API:[url="ws://114.215.116.57:8090"]ws://114.215.116.57:8090[/url]

spartako

#268
Quote from: alexxy on July 03, 2014, 07:58:42 AM
Any ideas why latest git build throws exception on get_info?


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)

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
wallet_account_set_approval spartako

liondani

connections are changing from 1 to 5 every now and then  ???
[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]

liondani

Quote from: liondani on July 03, 2014, 07:55:38 AM
Quote from: alt on July 03, 2014, 07:48:45 AM
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  ;)
[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]

alexxy

Any ideas why latest git build throws exception on get_info?


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

spartako

Quote from: sfinder on July 02, 2014, 08:27:03 PM
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

liondani

Quote from: alt on July 03, 2014, 07:48:45 AM
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"
[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]

xeroc

Quote
network_add_node "114.215.104.153:8701" add

alt

don't miss the quote

network_add_node "114.215.104.153:8701"  add


Quote from: liondani on July 03, 2014, 07:42:20 AM
Quote from: xeroc on July 03, 2014, 07:37:44 AM
it seems like the seed nodes went offline ...

try this:
Quote
network_add_node 114.215.104.153:8701 add

syntax error?


>> 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


liondani

maybe bytemaster are testing us with various attacks?  :P
[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]

liondani

Quote from: xeroc on July 03, 2014, 07:37:44 AM
it seems like the seed nodes went offline ...

try this:
Quote
network_add_node 114.215.104.153:8701 add

syntax error?


>> 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
[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]

xeroc

it seems like the seed nodes went offline ...

try this:
Quote
network_add_node 114.215.104.153:8701 add