Delegates and seed nodes, upgrade your client version to 0.3.1

Started by DACSunlimited, August 01, 2014, 12:05:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xweng

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


????
[url=http://weibo.com/lelefanli]比特币硬币 新浪微博[/url]

DNS 受托人ID:www-17755com、dns-17755com、kid-17755com

puppies

Like a moron I updated before bed
And after a 14 hour work day.   Missed  50 blocks overnight before I caught it.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

xeroc

all working fine on the backup delegate .. gonna update my main machine now ... +5%

Riverhead

Here is what I did.  Instructions are brief because I assume you've been through the compile once.

1) Change into the github bitsharesx cloned repository you made for 0.2.4

git pull origin
git checkout 0.3.0 (or 0.3.1 for a delegate)
git submodule init
git submodule update
./setnev.sh (not sure if this is required but it doesn't break anything)
cmake .
make

Make sure your bitsharesx is not running (either the GUI or the CLI). This is also particular to my setup.

sudo mv /usr/bin/bitshares_client /usr/bin/bitshares_client.0.2.4

change to the program/client directory

sudo cp bitshares_client /usr/bin/.

Are you also building the gui?  If so then from your github bitsharesx directory:

cmake -DINCLUDE_QT_WALLET=ON
make buildweb
make BitSharesX

The do the same routine to get BitsharesX into the /usr/bin directory.

kokojie

how to easily upgrade from 0.2.3 on ubuntu 14? anyone have a guide?


HackFisher

Quote from: bitcoinerS on August 01, 2014, 03:16:56 PM
Getting a build error on 0.3.1

[ 93%] Built target BitSharesX_automoc
make[2]: *** No rule to make target `programs/qt_wallet/htdocs/blank.html', needed by `programs/qt_wallet/qrc_htdocs.cpp'.  Stop.
make[1]: *** [programs/qt_wallet/CMakeFiles/BitSharesX.dir/all] Error 2
make: *** [all] Error 2


also getting error on git master branch.

[ 93%] Automoc for target BitSharesX
[ 93%] Built target BitSharesX_automoc
make[2]: *** No rule to make target `programs/qt_wallet/htdocs/img/bts-logo.svg', needed by `programs/qt_wallet/qrc_htdocs.cpp'.  Stop.
make[1]: *** [programs/qt_wallet/CMakeFiles/BitSharesX.dir/all] Error 2
make: *** [all] Error 2


You need to do
make buildweb
first before you build qt_wallet,

or you can just disable qt_wallet by
-DINCLUDE_QT_WALLET=OFF
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

bitcoinerS

Getting a build error on 0.3.1

[ 93%] Built target BitSharesX_automoc
make[2]: *** No rule to make target `programs/qt_wallet/htdocs/blank.html', needed by `programs/qt_wallet/qrc_htdocs.cpp'.  Stop.
make[1]: *** [programs/qt_wallet/CMakeFiles/BitSharesX.dir/all] Error 2
make: *** [all] Error 2


also getting error on git master branch.

[ 93%] Automoc for target BitSharesX
[ 93%] Built target BitSharesX_automoc
make[2]: *** No rule to make target `programs/qt_wallet/htdocs/img/bts-logo.svg', needed by `programs/qt_wallet/qrc_htdocs.cpp'.  Stop.
make[1]: *** [programs/qt_wallet/CMakeFiles/BitSharesX.dir/all] Error 2
make: *** [all] Error 2
>>> approve bitcoiners

vikram

Quote from: testz on August 01, 2014, 09:02:59 AM

Quote from: alt on August 01, 2014, 07:13:30 AM
Quote from: testz on August 01, 2014, 05:02:46 AM
Quote from: DACSunlimited on August 01, 2014, 01:23:13 AM

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

0.3.0 has a problems for delegates, i'm interesting for Windows 0.3.1 to run it as delegate.


Sent from my iPhone using Tapatalk

Dac Sun may release an updated Windows GUI, but be aware that we currently do not test or support running a delegate outside the Linux command line interface.

CLains

Vote for BitSpace EOS Block Producer!

[url="https://steemit.com/eos/@bitspace/bitspace-eos-block-producer-candidate"]https://steemit.com/eos/@bitspace/bitspace-eos-block-producer-candidate[/url]


emski

[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]


xeroc

just upgrading my backup system and checking if it correctly produces bocks
+5% .. well done on the updates

testz


Quote from: alt on August 01, 2014, 07:13:30 AM
Quote from: testz on August 01, 2014, 05:02:46 AM
Quote from: DACSunlimited on August 01, 2014, 01:23:13 AM

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

0.3.0 has a problems for delegates, i'm interesting for Windows 0.3.1 to run it as delegate.


Sent from my iPhone using Tapatalk

emski

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

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
}
[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]

alt

Quote from: testz on August 01, 2014, 05:02:46 AM
Quote from: DACSunlimited on August 01, 2014, 01:23:13 AM

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

testz

Quote from: DACSunlimited on August 01, 2014, 01:23:13 AM

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.

alt

Quote from: vikram on August 01, 2014, 01:41:45 AM
Quote from: alt on August 01, 2014, 01:13:39 AM
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

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

vikram

Quote from: alt on August 01, 2014, 01:13:39 AM
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

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.

DACSunlimited

#7
Quote from: alt on August 01, 2014, 01:13:39 AM
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

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

alt

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

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


ripplexiaoshan

BTS committee member:jademont



DACSunlimited

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