{"id":652,"date":"2017-07-20T17:27:19","date_gmt":"2017-07-20T09:27:19","guid":{"rendered":"https:\/\/eligiblestore.com\/blog\/?p=652"},"modified":"2020-06-30T21:10:43","modified_gmt":"2020-06-30T13:10:43","slug":"how-to-upgrade-bu-node","status":"publish","type":"post","link":"https:\/\/eligiblestore.com\/blog\/2017\/07\/20\/how-to-upgrade-bu-node\/","title":{"rendered":"How to upgrade Bitcoin Unlimited node"},"content":{"rendered":"<p>To install node on Centos you can check the blog post <a href=\"https:\/\/eligiblestore.com\/blog\/2017\/05\/02\/how-to-run-bitcoin-unlimited-node-on-centos\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<p>Just \u00a0in time before UAHF (User Activated Hard Fork), this version\u00a0Bitcoin Unlimited (1.0.3.0, July 18, 2017) is not yet\u00a0implement the UAHF\/BUIP055 specification (Bitcoin Cash) but once the later version does you know what to do.<\/p>\n<p>Here&#8217;s the step:<\/p>\n<ol>\n<li>SSH or <a href=\"https:\/\/eligiblestore.com\/blog\/2017\/05\/02\/how-to-install-mosh-on-centos\/\" target=\"_blank\" rel=\"noopener noreferrer\">Mosh<\/a>\u00a0to your VPS<\/li>\n<li>Download the latest bitcoin-unlimited client from:\u00a0<a href=\"https:\/\/www.bitcoinunlimited.info\/download\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.bitcoinunlimited.info\/download<\/a>\n<ul>\n<li>At the time article written\u00a0the latest version = v1.0.3.0 (July 18, 2017)<\/li>\n<li>type:\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ wget\u00a0https:\/\/www.bitcoinunlimited.info\/downloads\/bitcoinUnlimited-1.0.3.0-linux64.tar.gz<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li>Untar the file.\n<ul>\n<li>type:\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ tar -xvf bitcoinUnlimited-1.0.3.0-linux64.tar.gz<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li>Stop bitcoind service.\n<ul>\n<li>type:\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ bitcoin-cli stop<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li>Edit or Add .bashrc file\n<ul>\n<li>type:\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ vi .bashrc<\/pre>\n<\/li>\n<li>Press &#8220;i&#8221; for insert mode to start Add\/Edit:\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">alias bitcoin-cli='~\/bitcoinUnlimited-1.0.3\/bin\/bitcoin-cli'\r\nalias bitcoind='~\/bitcoinUnlimited-1.0.3\/bin\/bitcoind'<\/pre>\n<\/li>\n<li>press esc and type &#8220;:wq&#8221; to save the file and quit vim<\/li>\n<\/ul>\n<\/li>\n<li>Reload the .bashrc\n<ul>\n<li>type:\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$\u00a0. ~\/.bashrc<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li>Run the bitcoind service, you have 2 options to run the client full or prune.\n<ul>\n<li>For Full, type:\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ bitcoind \u2013daemon<\/pre>\n<\/li>\n<li>For Prune (keeping last X blocks), type:\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ bitcoind \u2013daemon \u2013prune=50000<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li>That&#8217;s it my man check if you are running the latest version:\n<ul>\n<li>type:\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$\u00a0bitcoin-cli getnetworkinfo<\/pre>\n<p>it should show:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">&quot;version&quot;: 1000300,\r\n&quot;subversion&quot;: &quot;\/BitcoinUnlimited:1.0.3(EB16; AD12)\/&quot;,<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li>Oh one more thing, do crontab for every server reboot\/restart\n<ul>\n<li>type:\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ crontab -e<\/pre>\n<\/li>\n<li>Press &#8220;i&#8221; for insert mode to start Add\/Edit:\n<ul>\n<li>For Full, type:\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ @reboot \/root\/bitcoinUnlimited-1.0.3\/bin\/bitcoind -daemon<\/pre>\n<\/li>\n<li>For Prune, type:\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ @reboot \/root\/bitcoinUnlimited-1.0.3\/bin\/bitcoind -daemon -prune=50000<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><strong>NOTE<\/strong>: If you want to migrate with <a href=\"https:\/\/www.bitcoinabc.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Bitcoin ABC<\/a>\u00a0you can use the same step but download <a href=\"https:\/\/download.bitcoinabc.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">this<\/a>\u00a0client instead. Feel free to comment for any question.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To install node on Centos you can check the blog post here. Just \u00a0in time before UAHF (User Activated Hard Fork), this version\u00a0Bitcoin Unlimited (1.0.3.0, July 18, 2017) is not yet\u00a0implement the UAHF\/BUIP055 specification (Bitcoin Cash) but once the later version does you know what to do. Here&#8217;s the step: SSH or Mosh\u00a0to your VPS [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":612,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[27],"tags":[],"class_list":["post-652","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bitcoin"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8pg5H-aw","jetpack-related-posts":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/eligiblestore.com\/blog\/wp-content\/uploads\/2017\/05\/BTU_letter.width-800.jpg?fit=800%2C444&ssl=1","_links":{"self":[{"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/posts\/652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/comments?post=652"}],"version-history":[{"count":3,"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/posts\/652\/revisions"}],"predecessor-version":[{"id":1252,"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/posts\/652\/revisions\/1252"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/media\/612"}],"wp:attachment":[{"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/media?parent=652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/categories?post=652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/tags?post=652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}