Author Topic: Dry Run 6: Great Scott!  (Read 92073 times)

0 Members and 1 Guest are viewing this topic.

Offline cgafeng

stop bts client.
delete    /home/liondani/.BitSharesXTS/chain
then restart.
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
I am stacked on block 259....
Why?
I will update repositories and all and try again I think....


  "wallet_next_block_production_time": null,
  "wallet_seconds_until_next_block_production": null,


any thoughts?

client restart fixed this for me this morning, was stuck at around 500, now 737

I have restarted but the same results....
could it be the reason?    Not starting RPC server, use --server to enable the RPC interface


Code: [Select]
liondani@liondani-MS-7821 ~/bitshares_toolkit/programs/client $ ./bitshares_client
Loading blockchain from "/home/liondani/.BitSharesXTS/chain"
Loading config "/home/liondani/.BitSharesXTS/config.json"
Not starting RPC server, use --server to enable the RPC interface
Attempting to map P2P port 8601 with UPNP...
Listening for P2P connections on port 8601
Attempting to connect to peer 107.170.30.182:8601
Attempting to connect to peer 107.170.30.182:8602
--- there are now 1 active connections to the p2p network
--- there are now 2 active connections to the p2p network
--- there are now 3 active connections to the p2p network
--- there are now 5 active connections to the p2p network
--- there are now 6 active connections to the p2p network
--- there are now 7 active connections to the p2p network
--- in sync with p2p network
--- there are now 8 active connections to the p2p network
--- there are now 9 active connections to the p2p network
--- there are now 10 active connections to the p2p network
--- there are now 11 active connections to the p2p network
--- there are now 12 active connections to the p2p network
(wallet closed) >>> wallet_open liondaniel
OK
liondaniel (locked) >>> getinfo
{
  "blockchain_head_block_num": 259,
  "blockchain_head_block_time": "20140626T053000",
  "blockchain_head_block_time_rel": "28 hours old",
  "blockchain_confirmation_requirement": 9,
  "blockchain_average_delegate_participation": 23.145665773011618,
  "network_num_connections": 12,
  "ntp_time": "20140627T090650.996468",
  "ntp_error_seconds": -0.10384599999999999,
  "wallet_unlocked_seconds_remaining": 0,
  "wallet_next_block_production_time": null,
  "wallet_seconds_until_next_block_production": null,
  "wallet_local_time": "20140627T090650",
  "blockchain_random_seed": "01e2f3d5514e436418efd11da0fd369884932cb3",
  "blockchain_shares": 199999889133719,
  "network_num_connections_max": 200,
  "network_protocol_version": 104,
  "wallet_open": true,
  "wallet_unlocked_until": "",
  "wallet_version": 100
}

could it be related to this?
  "ntp_error_seconds": -0.10384599999999999,
« Last Edit: June 27, 2014, 09:23:39 am by liondani »

Offline CalabiYau

calyauwall (unlocked) >>> get_info
{
  "blockchain_head_block_num": 746,
  "blockchain_head_block_time": "20140627T082600",
  "blockchain_head_block_time_rel": "7 minutes old",

hanging again....

client restart - here we go

calyauwall (unlocked) >>> get_info
{
  "blockchain_head_block_num": 751,
  "blockchain_head_block_time": "20140627T085000",
  "blockchain_head_block_time_rel": "25 seconds old",


Offline JeffreyLee

  • Jr. Member
  • **
  • Posts: 40
    • View Profile
Forks diagram production methods:
  1, use the command: "blockchain_export_fork_graph start end filename" to export the drawing script
  2, according to the script drawing draw pictures: dot -Tpng filename -o filename.png

If your os without dot command, sudo apt-get install graphviz

Forks diagram effect, see my weibo(chinese twitter): http://weibo.com/3012883687/BaXgRmJOV
BitShares-PTS:Pop8mPCmtzSLc1NXaJLSnE2gpvDvCZJgMd
Please give me a vote:wallet_approve_delegate sunshine.clerk 1

Offline CalabiYau

calyauwall (unlocked) >>> get_info
{
  "blockchain_head_block_num": 746,
  "blockchain_head_block_time": "20140627T082600",
  "blockchain_head_block_time_rel": "7 minutes old",

hanging again....

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Latest git master doesnt build

Code: [Select]
[ 92%] Building CXX object libraries/client/CMakeFiles/bts_client.dir/client.cpp.o
/home/alexxy/Src/bitshares_toolkit/libraries/client/client.cpp:427:17: error: 'scoped_connection' in namespace 'fc' does not name a type
             fc::scoped_connection _time_discontinuity_connection;
                 ^
/home/alexxy/Src/bitshares_toolkit/libraries/client/client.cpp: In member function 'void bts::client::detail::client_impl::start_delegate_loop()':
/home/alexxy/Src/bitshares_toolkit/libraries/client/client.cpp:603:16: error: '_time_discontinuity_connection' was not declared in this scope
           if (!_time_discontinuity_connection.connected())
                ^
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline dxtr

  • Full Member
  • ***
  • Posts: 71
  • United We Stand, Dispersed We Are.
    • View Profile
Guess I pulled too early...


dev_fixture.hpp:226:80: error: ‘class bts::client::client’ has no member named ‘get_next_producible_block_timestamp’


Is there a solution for this?

Help me out:     wallet_approve_delegate mr.scroodge true

Offline CalabiYau

I am stacked on block 259....
Why?
I will update repositories and all and try again I think....


  "wallet_next_block_production_time": null,
  "wallet_seconds_until_next_block_production": null,


any thoughts?

client restart fixed this for me this morning, was stuck at around 500, now 737

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
I am stacked on block 259....
Why?
I will update repositories and all and try again I think....


  "wallet_next_block_production_time": null,
  "wallet_seconds_until_next_block_production": null,


any thoughts?

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
sent

thank you  ;)


EDIT: I still don't received funds... Can you please check if it is ok from your part?


it's in block 728, use getinfo to get what block you are now.
Code: [Select]
  728.0    2014-06-27T07:02:00 cgafeng             liondani            have fun                                  200.00000 XTS         0.10000 XTS



Wow I am still on block 259 !!!
Is it normal?


Code: [Select]
liondaniel (unlocked) >>> getinfo
{
"blockchain_head_block_num": 259,
 "blockchain_head_block_time": "20140626T053000",
  "blockchain_head_block_time_rel": "26 hours old",
  "blockchain_confirmation_requirement": 9,
  "blockchain_average_delegate_participation": 24.365004703668863,
  "network_num_connections": 12,
  "ntp_time": "20140627T071435.692288",
  "ntp_error_seconds": -0.075693999999999997,
  "wallet_unlocked_seconds_remaining": 966,
  "wallet_next_block_production_time": null,
  "wallet_seconds_until_next_block_production": null,
  "wallet_local_time": "20140627T071435",
  "blockchain_random_seed": "01e2f3d5514e436418efd11da0fd369884932cb3",
  "blockchain_shares": 199999889133719,
  "network_num_connections_max": 200,
  "network_protocol_version": 104,
  "wallet_open": true,
  "wallet_unlocked_until": "20140627T073041",
  "wallet_version": 100
}

You shouldn't be here are my stats
Code: [Select]
emski (unlocked) >>> info{
  "blockchain_head_block_num": 733,
  "blockchain_head_block_time": "20140627T071800",
  "blockchain_head_block_time_rel": "4 minutes old",
  "blockchain_confirmation_requirement": 150,
  "blockchain_average_delegate_participation": 68.761726078799256,
  "network_num_connections": 22,
  "ntp_time": "20140627T072130.069315",
  "ntp_error_seconds": -0.0068890000000000002,
  "wallet_unlocked_seconds_remaining": 99945839,
  "wallet_next_block_production_time": "20140627T073600",
  "wallet_seconds_until_next_block_production": 870,
  "wallet_local_time": "20140627T072130",
  "blockchain_random_seed": "ff806408cf71bb4d98a7fd9eda17e3f2046eec94",
  "blockchain_shares": 199999788885783,
  "network_num_connections_max": 200,
  "network_protocol_version": 104,
  "wallet_open": true,
  "wallet_unlocked_until": "20170827T020529",
  "wallet_version": 100
}
emski (unlocked) >>> blockchain_list_forks
[
  111,
  266,
  270,
  275,
  277,
  279,
  290,
  293,
  295,
  301,
  306,
  309,
  319,
  320,
  324,
  544,
  549,
  562,
  717,
  725
]

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
sent

thank you  ;)


EDIT: I still don't received funds... Can you please check if it is ok from your part?


it's in block 728, use getinfo to get what block you are now.
Code: [Select]
  728.0    2014-06-27T07:02:00 cgafeng             liondani            have fun                                  200.00000 XTS         0.10000 XTS



Wow I am still on block 259 !!!
Is it normal?


Code: [Select]
liondaniel (unlocked) >>> getinfo
{
"blockchain_head_block_num": 259,
 "blockchain_head_block_time": "20140626T053000",
  "blockchain_head_block_time_rel": "26 hours old",
  "blockchain_confirmation_requirement": 9,
  "blockchain_average_delegate_participation": 24.365004703668863,
  "network_num_connections": 12,
  "ntp_time": "20140627T071435.692288",
  "ntp_error_seconds": -0.075693999999999997,
  "wallet_unlocked_seconds_remaining": 966,
  "wallet_next_block_production_time": null,
  "wallet_seconds_until_next_block_production": null,
  "wallet_local_time": "20140627T071435",
  "blockchain_random_seed": "01e2f3d5514e436418efd11da0fd369884932cb3",
  "blockchain_shares": 199999889133719,
  "network_num_connections_max": 200,
  "network_protocol_version": 104,
  "wallet_open": true,
  "wallet_unlocked_until": "20140627T073041",
  "wallet_version": 100
}

Offline cgafeng

sent

thank you  ;)


EDIT: I still don't received funds... Can you please check if it is ok from your part?


it's in block 728, use getinfo to get what block you are now.
Code: [Select]
  728.0    2014-06-27T07:02:00 cgafeng             liondani            have fun                                  200.00000 XTS         0.10000 XTS
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
sent

thank you  ;)


EDIT: I still don't received funds... Can you please check if it is ok from your part?

Offline BTSdac

  • Hero Member
  • *****
  • Posts: 1219
    • View Profile
  • BitShares: K1
Dan, I have an idea to balance the speed and security.
make the period dynamic.
suppose current block should generic by delegate-1 at 00:00:00 , next should by delegate-2.
If delegate-2 receive the block before 00:00:30, then generic next block at 00:00:30.
else if receive before 00:01:00, then generic next block at 00:01:00
we can set a max waitting time like 2 minutes, if delegate-2 still not receive block after 2 minutes, then it can ignore delegate-1.
I think a delegate can generate multi blocks in one turn.
more transactions received, should generate more blocks.
Just give a limit, like 4 blocks or 2 minutes. the period can improve to 15 seconds.
Give a msg to  network when quit, so next delegate can running.
If there are no transactions, don't generate block.
If a delegate find that its network speed is very slow, It can send a give up message to btsx network.so next delegate can running.
if every delegates are honest , it is available
github.com :pureland
BTS2.0 API :ws://139.196.37.179:8091
BTS2.0 API 数据源ws://139.196.37.179:8091

Offline cgafeng

If there are delegate account on the wallet, it won't scan the blockchain, so create two wallet for the delegate account and the other.

I created a second wallet to try it out...

Please sent me some fund guys  ;)
XTS8iHgDW65qqddDaCNSeBBFEPX9Z1KB47mt8mk1oAuLyzm3j6u71

sent
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376