Author Topic: Delegates and seed nodes, upgrade your client version to 0.3.1  (Read 6863 times)

0 Members and 1 Guest are viewing this topic.

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
I'm getting the following message:

Peer 106.5.241.234:30579 disconnected us: You offered me a list of more sync blocks than could possibly exist

Code: [Select]
emski (unlocked) >>> info
{
  "blockchain_head_block_num": 108809,
  "blockchain_head_block_age": "4 seconds old",
  "blockchain_head_block_timestamp": "2014-08-01T07:29:00",
  "blockchain_average_delegate_participation": "97.12 %",
  "blockchain_delegate_pay_rate": "1.30777 BTSX",
  "blockchain_blocks_left_in_round": 69,
  "blockchain_confirmation_requirement": 1,
  "blockchain_accumulated_fees": "158,188.66702 BTSX",
  "blockchain_share_supply": "1,999,666,902.64558 BTSX",
  "blockchain_random_seed": "fac12862b14b64c4dd799e060c96700d27c8e3b4",
  "blockchain_database_version": 117,
  "blockchain_version": 109,
  "client_data_dir": "MASKED",
  "network_num_connections": 55,
  "network_num_connections_max": 200,
  "network_protocol_version": 104,
  "ntp_time": "2014-08-01T07:29:04",
  "ntp_error": -0.01404,
  "wallet_open": true,
  "wallet_unlocked": true,
  "wallet_unlocked_until": "44 years  in the future",
  "wallet_unlocked_until_timestamp": "1923-03-02T05:44:56",
  "wallet_scan_progress": "0.00 %",
  "wallet_block_production_enabled": true,
  "wallet_next_block_production_time": "6 seconds in the future",
  "wallet_next_block_production_timestamp": "2014-08-01T07:29:10",
  "wallet_version": 100
}

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi

This is a good suggestion, don't upgrade for now. 0.3.1 for delegates is coming in several minutes

Please publish 0.3.1 Windows installer.
for windows user, I think 0.3.1 is the same with 0.3.0

Offline testz


This is a good suggestion, don't upgrade for now. 0.3.1 for delegates is coming in several minutes

Please publish 0.3.1 Windows installer.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I suggest don't update to this version,
seems _in_sync is not correct
delegate will missed block

If somebody missed block like me, here is a temporary patch
Code: [Select]
diff --git a/libraries/client/client.cpp b/libraries/client/client.cpp
index 709991a..70fba2b 100644
--- a/libraries/client/client.cpp
+++ b/libraries/client/client.cpp
@@ -744,7 +744,7 @@ config load_config( const fc::path& datadir )
               {
                   try
                   {
-                      FC_ASSERT( _in_sync, "Blockchain must be synced to produce blocks!" );
+                      //FC_ASSERT( _in_sync, "Blockchain must be synced to produce blocks!" );
                       FC_ASSERT( network_get_connection_count() >= _min_delegate_connection_count,
                                  "Client must have ${count} connections before you may produce blocks!",
                                  ("count",_min_delegate_connection_count) );

Thank you alt; we have backed out this change pending further review. All delegates please make sure to use 0.3.1. All other users can continue to 0.3.0.
we need more carefully now :)

Offline vikram

I suggest don't update to this version,
seems _in_sync is not correct
delegate will missed block

If somebody missed block like me, here is a temporary patch
Code: [Select]
diff --git a/libraries/client/client.cpp b/libraries/client/client.cpp
index 709991a..70fba2b 100644
--- a/libraries/client/client.cpp
+++ b/libraries/client/client.cpp
@@ -744,7 +744,7 @@ config load_config( const fc::path& datadir )
               {
                   try
                   {
-                      FC_ASSERT( _in_sync, "Blockchain must be synced to produce blocks!" );
+                      //FC_ASSERT( _in_sync, "Blockchain must be synced to produce blocks!" );
                       FC_ASSERT( network_get_connection_count() >= _min_delegate_connection_count,
                                  "Client must have ${count} connections before you may produce blocks!",
                                  ("count",_min_delegate_connection_count) );

Thank you alt; we have backed out this change pending further review. All delegates please make sure to use 0.3.1. All other users can continue to 0.3.0.

Offline DACSunlimited

  • Full Member
  • ***
  • Posts: 136
    • View Profile
I suggest don't update to this version,
seems _in_sync is not correct
delegate will missed block

If somebody missed block like me, here is a temporary patch
Code: [Select]
diff --git a/libraries/client/client.cpp b/libraries/client/client.cpp
index 709991a..70fba2b 100644
--- a/libraries/client/client.cpp
+++ b/libraries/client/client.cpp
@@ -744,7 +744,7 @@ config load_config( const fc::path& datadir )
               {
                   try
                   {
-                      FC_ASSERT( _in_sync, "Blockchain must be synced to produce blocks!" );
+                      //FC_ASSERT( _in_sync, "Blockchain must be synced to produce blocks!" );
                       FC_ASSERT( network_get_connection_count() >= _min_delegate_connection_count,
                                  "Client must have ${count} connections before you may produce blocks!",
                                  ("count",_min_delegate_connection_count) );

This is a good suggestion, don't upgrade for now. 0.3.1 for delegates is coming in several minutes
« Last Edit: August 01, 2014, 01:25:19 am by DACSunlimited »

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I suggest don't update to this version,
seems _in_sync is not correct
delegate will missed block

If somebody missed block like me, here is a temporary patch
Code: [Select]
diff --git a/libraries/client/client.cpp b/libraries/client/client.cpp
index 709991a..70fba2b 100644
--- a/libraries/client/client.cpp
+++ b/libraries/client/client.cpp
@@ -744,7 +744,7 @@ config load_config( const fc::path& datadir )
               {
                   try
                   {
-                      FC_ASSERT( _in_sync, "Blockchain must be synced to produce blocks!" );
+                      //FC_ASSERT( _in_sync, "Blockchain must be synced to produce blocks!" );
                       FC_ASSERT( network_get_connection_count() >= _min_delegate_connection_count,
                                  "Client must have ${count} connections before you may produce blocks!",
                                  ("count",_min_delegate_connection_count) );
« Last Edit: August 01, 2014, 01:18:17 am by alt »

Offline DACSunlimited

  • Full Member
  • ***
  • Posts: 136
    • View Profile

Offline ripplexiaoshan

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 2300
    • View Profile
  • BitShares: jademont
BTS committee member:jademont

lzr1900

  • Guest


Offline DACSunlimited

  • Full Member
  • ***
  • Posts: 136
    • View Profile
Download and build from:

https://github.com/dacsunlimited/bitsharesx/releases/tag/0.3.1

Suggestions:

1. Active Delegate, be careful and make sure you are producing blocks during upgrading.
2. Note to delegates: Before you upgrade, make sure you install the ntp daemon, and check the ntp_error in info command.
Here is a guide about how to setup that on ubuntu.
http://www.cyberciti.biz/faq/debian-ubuntu-linux-install-ntpd/

Here might be a quick way to update, if ntp_error is not close to zero.
Code: [Select]
ntpdate -u pool.ntp.org
And please refer bytemaster's post:
https://bitsharestalk.org/index.php?topic=6344.msg84692#msg84692


Change Log
---
- added new vote_recommended slate selection method (wallet_transfer, wallet_transfer_from)
- added command to publish a public delegate slate for recommended voting (wallet_publish_slate)
- added command to recover deterministic account keys (wallet_recover_accounts)
- added automatic wallet backup feature (wallet_set_automatic_backups)
- wallet can now locally set approval for delegates, registered accounts, and unregistered local accounts (wallet_account_set_approval)
- desired connection count is automatically increased when block production is enabled (wallet_delegate_set_block_production)
- all wallets can now enable/disable transaction scanning and save the setting (wallet_set_transaction_scanning)
- delegates will now not produce blocks if chain is not synced
- new seed nodes are now always merged into client config
- improved re-syncing speed
- sync speed and time remaining is now printed when syncing
- fixed local account renaming conflict bug (wallet_account_rename)
- fixed wallet opening crash when not synced (wallet_open)
- fixed crashes on exit
- various networking fixes
- miscellaneous fixes
- fixed windows crash on start
- code sign OSX dmg

API Changes:
- blockchain_get_blockcount -> blockchain_get_block_count
- blockchain_get_blockhash -> blockchain_get_block_hash
- blockchain_get_config -> blockchain_get_info
- wallet_export_to_json -> wallet_backup_create
- wallet_create_from_json -> wallet_backup_restore
- wallet_scan_transaction -> wallet_transaction_scan
- wallet_remove_transaction -> wallet_transaction_remove
- wallet_rebroadcast_transaction -> wallet_transaction_rebroadcast
- wallet_delegate_set_transaction_scanning -> wallet_set_transaction_scanning
- wallet_approve -> wallet_account_set_approval
« Last Edit: August 01, 2014, 12:23:22 pm by vikram »