Bitcoin Forum
November 22, 2017, 05:01:58 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 »
  Print  
Author Topic: Official [ROKOS Flavors] Altcoins full node Raspberry Pi IoT Feedback/Discussion  (Read 72565 times)
MrWhiteBites
Hero Member
*****
Offline Offline

Activity: 588


DOVU Blockchain Powered Mobility


View Profile
January 23, 2016, 11:07:45 PM
 #141

In regards to the Pin64, anyone thinking about buying one should read here >
 http://forum.armbian.com/index.php/topic/491-need-help-on-pine-a64-15-64bit-quad-core-12ghz-single-board-computer/

I will stick with the Raspberry Pi 2.

With every new tech there's concerns, Ive already had a read but dont agree with some of the views, even so that is one of the
nice things about the ROKOS project, when we get it in march we can do some benchmark with the Banana vs Pi 2 vs PINE64
So users can have better information while making the decision of IoT device selection.

Thanks for your feedback!

Yes! that would be great to see.  Always nice to say comparisons.  Great work guys.


 
 
 
 
 
██████████▄▄              ▄███████▄           ██▄       ▄██        ███       ███
███▀▀▀▀▀▀▀███▄          ▄██▀▀   ▀▀▀           ▐██▄     ▄██▀        ███       ███
███        ▀██▌        ██▀         ▐██         ▐██▄   ▄██▀         ███       ███
███         ███       ███           ██▌         ▀██▄ ▄██▀          ███       ███
███         ██▌       ▐██           ██▌          ▀██▄██▀           ███       ███
███       ▄███         ▀█▀        ▄███            ▀███▀            ███▄     ▄███
████████████▀             ▄██▄▄▄████▀              ▀█▀              ▀███▄▄▄███▀
▀▀▀▀▀▀▀▀▀▀                 ▀▀▀▀▀▀▀                  ▀                 ▀▀▀▀▀▀▀




▬▬▬▬ ⬢ ⬢ ▬▬▬▬▬▬▬ ⬢ ⬢ ▬▬▬▬▬
.TOKEN PRESALE.
SEPTEMBER 3

▬▬▬▬ ⬢ ⬢ ▬▬▬▬▬▬▬ ⬢ ⬢ ▬▬▬▬▬



 
 
 
                 ▄████▄▄    ▄
██             ████████████▀
████▄         █████████████▀
▀████████▄▄   █████████████
▄▄█████████████████████████
██████████████████████████
  ▀██████████████████████
   █████████████████████
    ▀█████████████████▀
      ▄█████████████▀
▄▄███████████████▀
   ▀▀▀▀▀▀▀▀▀▀▀

 
 
 
 
                  ▄▄██▄
              ▄▄█▀▀  ██
          ▄▄█▀▀      █▌
      ▄▄█▀▀   ▄▀    ██
 ▄▄▄█▀▀    ▄█▀     ▐█
██      ▄██▀       █▌
 ▀▀██▄███▀        ██
     ██▀▀█▄▄▄     █▌
      █▄  ██▀▀▀█▄██
       █▄█▀
1511370118
Hero Member
*
Offline Offline

Posts: 1511370118

View Profile Personal Message (Offline)

Ignore
1511370118
Reply with quote  #2

1511370118
Report to moderator
1511370118
Hero Member
*
Offline Offline

Posts: 1511370118

View Profile Personal Message (Offline)

Ignore
1511370118
Reply with quote  #2

1511370118
Report to moderator
1511370118
Hero Member
*
Offline Offline

Posts: 1511370118

View Profile Personal Message (Offline)

Ignore
1511370118
Reply with quote  #2

1511370118
Report to moderator
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511370118
Hero Member
*
Offline Offline

Posts: 1511370118

View Profile Personal Message (Offline)

Ignore
1511370118
Reply with quote  #2

1511370118
Report to moderator
OKtoshi
Hero Member
*****
Offline Offline

Activity: 910


OK


View Profile
January 24, 2016, 03:59:38 AM
 #142

BPiPro never wakes up from screen saver when running HDMI I always have to reboot (os is still running in background)

are the hdmi drivers loaded in this image or how to wake up once screen saver kicks in?

 Q: The screen saver function in the R-Pi image could not wake up the B-Pi. how can I avoid the screen saver starting in this os?

A: See this Link. You need to edit your script, so locate:

/etc/lightdm/lightdm.conf

in the SeatDefaults section. It's a command for starting the X server, so it just needs to be modified. To make it turn off the screen saver use:

dpmsxserver-command=X -s 0 -dpms

BananaPRO hw direct issue fix from official source: http://www.lemaker.org/product-bananapro-faq.html

Let me know if you need further support, cheers

OK is open-source; its design is public, nobody owns or controls OK and everyone can take part.
OKtoshi
Hero Member
*****
Offline Offline

Activity: 910


OK


View Profile
January 24, 2016, 04:01:47 AM
 #143

In regards to the Pin64, anyone thinking about buying one should read here >
 http://forum.armbian.com/index.php/topic/491-need-help-on-pine-a64-15-64bit-quad-core-12ghz-single-board-computer/

I will stick with the Raspberry Pi 2.

With every new tech there's concerns, Ive already had a read but dont agree with some of the views, even so that is one of the
nice things about the ROKOS project, when we get it in march we can do some benchmark with the Banana vs Pi 2 vs PINE64
So users can have better information while making the decision of IoT device selection.

Thanks for your feedback!

Yes! that would be great to see.  Always nice to say comparisons.  Great work guys.

Thank you! already working on ROKOS flavors for Pi2.

OK is open-source; its design is public, nobody owns or controls OK and everyone can take part.
russy121
Newbie
*
Offline Offline

Activity: 21


View Profile
January 24, 2016, 07:47:55 PM
 #144

can anyone tell me how to make okcash wallet start on startup on the pi2

ty
jonnyking
Newbie
*
Offline Offline

Activity: 11


View Profile
January 25, 2016, 02:26:26 PM
 #145

troubleshooting for no connection to download the bitcoin chain? internet is working on my pi. wallet wont get any sort of connection to download . says "No block source available..."

Thanks guys,


Awesome OS, cant wait for flavours!!

Sorted
OKtoshi
Hero Member
*****
Offline Offline

Activity: 910


OK


View Profile
January 26, 2016, 05:52:55 PM
 #146

can anyone tell me how to make okcash wallet start on startup on the pi2

ty

To run the client automatically on startup, edit '/etc/rc.local' file and add before the line that says "exit 0":

su pi -c '/usr/local/bin/okcashd &'

and that's it, it will start on auto, if need further support just let me know.

Cheers.

OK is open-source; its design is public, nobody owns or controls OK and everyone can take part.
OKtoshi
Hero Member
*****
Offline Offline

Activity: 910


OK


View Profile
January 26, 2016, 05:53:37 PM
 #147

troubleshooting for no connection to download the bitcoin chain? internet is working on my pi. wallet wont get any sort of connection to download . says "No block source available..."

Thanks guys,


Awesome OS, cant wait for flavours!!

Sorted

Thank you for your feedback, ROKOS flavors should be ready in the coming weeks!

OK is open-source; its design is public, nobody owns or controls OK and everyone can take part.
BlockSense
Newbie
*
Offline Offline

Activity: 14


View Profile
January 26, 2016, 11:34:58 PM
 #148

ROKOS looks interesting, something that I will look into soon
SwedishBitMiner
Newbie
*
Offline Offline

Activity: 28


View Profile
January 28, 2016, 11:31:58 AM
 #149

OS already has a lot of the libraries required to compile most of cryptocurrencies, you can try compiling your altcoin daemon like this:


- git clone http://[githubofaltcoin]

- cd altcoin

- cd src

- make -f makefile.unix USE_UPNP=-

that should compile the daemon for that altcoin, feel free to share feedback or ask any question in the official thread so it can remain for future users with same doubts, we will share more friendly manuals later on.


P.S: you should remember to open the ports of that altcoin in the firewall, you can do it with

- sudo ufw allow PORT/TCP


Cheers.

Hello! I am trying to install an altcoin wallet following your little guide here. but I get a error message when I am typing "make -f makefile.unix USE_UPNP=-"

this is how I did it:
git clone https://github.com/hirosakaim/JIFFYCOIN.git
cd JIFFYCOIN
cd src
make -f makefile.unix USE_UPNP=-

and I get the following error message:
Code:
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -02 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/pi/JIFFYCOIN/src/leveldb/include -I/home/pi/JIFFYCOIN/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/db.d -o obj/db.o db.cpp
In file included from db.cpp:7:0:
db.h:16:20: fatal error: db_cxx.h: No such file or directory
 #include <db_cxx.h>
                             ^
compilation terminated.
makefile.unix:175: recipe for target 'obj/db.o' failed
make: *** [obj/db.o] Error 1

Can someone please help me?
boacw
Member
**
Offline Offline

Activity: 93


View Profile
January 28, 2016, 08:06:05 PM
 #150

OS already has a lot of the libraries required to compile most of cryptocurrencies, you can try compiling your altcoin daemon like this:


- git clone http://[githubofaltcoin]

- cd altcoin

- cd src

- make -f makefile.unix USE_UPNP=-

that should compile the daemon for that altcoin, feel free to share feedback or ask any question in the official thread so it can remain for future users with same doubts, we will share more friendly manuals later on.


P.S: you should remember to open the ports of that altcoin in the firewall, you can do it with

- sudo ufw allow PORT/TCP


Cheers.

Hello! I am trying to install an altcoin wallet following your little guide here. but I get a error message when I am typing "make -f makefile.unix USE_UPNP=-"

this is how I did it:
git clone https://github.com/hirosakaim/JIFFYCOIN.git
cd JIFFYCOIN
cd src
make -f makefile.unix USE_UPNP=-

and I get the following error message:
Code:
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -02 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/pi/JIFFYCOIN/src/leveldb/include -I/home/pi/JIFFYCOIN/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/db.d -o obj/db.o db.cpp
In file included from db.cpp:7:0:
db.h:16:20: fatal error: db_cxx.h: No such file or directory
 #include <db_cxx.h>
                             ^
compilation terminated.
makefile.unix:175: recipe for target 'obj/db.o' failed
make: *** [obj/db.o] Error 1

Can someone please help me?
Try installing libdb5.3++-dev (on ubuntu)
SwedishBitMiner
Newbie
*
Offline Offline

Activity: 28


View Profile
January 29, 2016, 12:29:49 AM
 #151

I decided to make a guide how to install ROKOS Core on a Raspberry Pi 2 for complete noobs like me. I guess im not the only noob out there..? Smiley

---Prepare the MicroSD/MicroSDHC card---
(I did this on a Windows computer, and I dont know what tool to use for Mac to install the iso file Image burner, for this guide you will have to figure out that yourself, if you use Mac)


1. Download and install SD Formatter 4.0 (This is the tool to format the SD card) from:
Windows: https://www.sdcard.org/downloads/formatter_4/eula_windows/SDFormatterv4.zip
Mac: https://www.sdcard.org/downloads/formatter_4/eula_mac/SDFormatter_4.00B.pkg
(or find it yourself at: https://sdcard.org/downloads)

2. Insert the MicroSD/MicroSDHC card into your PC/Mac. (You will probably need an MicroSD to SD adapter for this).

3. Start SD Formatter 4.0 and click the [Option] button. In there you change from "FORMAT TYPE: QUICK" to "FORMAT TYPE: (FULL)Erase", just leave the "FORMAT SIZE ADJUSTMENT" in OFF and click the [OK] button so start the format. When the card is completely formatted click the [Exit] button to close SD Formatter.

4. Download and install Win32 Disk Imager (This is the iso file Image burner) from:
Windows: http://sourceforge.net/projects/win32diskimager/files/latest/download

5. Download ROKOS Core (rokosv4core.img.zip) and unzip the ISO file (This is the awesome ROKOS Core "Operating System" that we are going to install on the SD card) from:
Download: https://drive.google.com/folderview?id=0B6j6kd8yGRsmVkU3VjBCbVRQa1k&usp=sharing
(or find it yourself at: http://rokos.space

6. Start Win32 Disk Imager, press the "little blue folder" and select the "rokosv4core.img" file that you did extract. Make sure your SD card is selected in the list to the right and press the [Write] button. It will tell you that it can corrupt the SD card, just press [Yes] to continue the installation, when the installation to the SD card is done press the [Exit] button to close Win32 Disk Imager.

7. Now "Safely remove" your SD card from the computer.

8. Put the MicroSD/MicroSDHC card in your Raspberry Pi 2, and make sure you got an USB Keyboard, Monitor (via HDMI), and an Internet cable connected to the Raspberry Pi 2 before you connect the power cable to your Raspberry Pi 2.



---Installing ROKOS Core---
(The first boot of ROKOS Core)


1. Type:
Code:
sudo raspi-config
(and press enter)

2. Select:
Code:
1. Expand Filesystem
(and press enter) press enter again on the <Ok> button.

3. Select:
Code:
2. Change user password
(and press enter) press enter again on the <Ok> button. Type a new password (you will not see the letters) and press enter, type your new password again, and press enter. Then press the <Ok> button.

4. Select:
Code:
5. Internationalisation Options
(and press enter) Then select:
Code:
I2. Change Timezone
(Choose your timezone)

5. Press the "TAB" button on your keyboard two times to get to the <Finish> button, and press enter. Then choose <Yes> to restart your system.

6. Type:
Code:
startx
(and press enter) your system will now start up and you are DONE!

ENJOY THIS AWESOME OPERATING SYSTEM!



Please donate some Bitcoins or OKCash if you did find this guide helpful. (Im working my ass off to be able to afford a better miner than 190GH/s..) Wink
Bitcoin address: 1Fq1z5pt6mWqNJe52Ez6NjEJiJnV7zPHu2
OKCash address: PQZRRuwxY3fKebtYsfSs3jW6wFcQXPSRWR
OKtoshi
Hero Member
*****
Offline Offline

Activity: 910


OK


View Profile
January 29, 2016, 06:51:25 AM
 #152

OS already has a lot of the libraries required to compile most of cryptocurrencies, you can try compiling your altcoin daemon like this:


- git clone http://[githubofaltcoin]

- cd altcoin

- cd src

- make -f makefile.unix USE_UPNP=-

that should compile the daemon for that altcoin, feel free to share feedback or ask any question in the official thread so it can remain for future users with same doubts, we will share more friendly manuals later on.


P.S: you should remember to open the ports of that altcoin in the firewall, you can do it with

- sudo ufw allow PORT/TCP


Cheers.

Hello! I am trying to install an altcoin wallet following your little guide here. but I get a error message when I am typing "make -f makefile.unix USE_UPNP=-"

this is how I did it:
git clone https://github.com/hirosakaim/JIFFYCOIN.git
cd JIFFYCOIN
cd src
make -f makefile.unix USE_UPNP=-

and I get the following error message:
Code:
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -02 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/pi/JIFFYCOIN/src/leveldb/include -I/home/pi/JIFFYCOIN/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/db.d -o obj/db.o db.cpp
In file included from db.cpp:7:0:
db.h:16:20: fatal error: db_cxx.h: No such file or directory
 #include <db_cxx.h>
                             ^
compilation terminated.
makefile.unix:175: recipe for target 'obj/db.o' failed
make: *** [obj/db.o] Error 1

Can someone please help me?

Need to let it know where is the db, add this step:

on terminal:

Code:
export CPATH="/usr/local/BerkeleyDB.4.8/include"

export LIBRARY_PATH="/usr/local/BerkeleyDB.4.8/lib"

and then the:

Code:
cd JIFFYCOIN
cd src
make -f makefile.unix USE_UPNP=-

Njoy

OK is open-source; its design is public, nobody owns or controls OK and everyone can take part.
OKtoshi
Hero Member
*****
Offline Offline

Activity: 910


OK


View Profile
January 29, 2016, 07:01:29 AM
 #153

I decided to make a guide how to install ROKOS Core on a Raspberry Pi 2 for complete noobs like me. I guess im not the only noob out there..? Smiley

---Prepare the MicroSD/MicroSDHC card---
(I did this on a Windows computer, and I dont know what tool to use for Mac to install the iso file Image burner, for this guide you will have to figure out that yourself, if you use Mac)


1. Download and install SD Formatter 4.0 (This is the tool to format the SD card) from:
Windows: https://www.sdcard.org/downloads/formatter_4/eula_windows/SDFormatterv4.zip
Mac: https://www.sdcard.org/downloads/formatter_4/eula_mac/SDFormatter_4.00B.pkg
(or find it yourself at: https://sdcard.org/downloads)

2. Insert the MicroSD/MicroSDHC card into your PC/Mac. (You will probably need an MicroSD to SD adapter for this).

3. Start SD Formatter 4.0 and click the [Option] button. In there you change from "FORMAT TYPE: QUICK" to "FORMAT TYPE: (FULL)Erase", just leave the "FORMAT SIZE ADJUSTMENT" in OFF and click the [OK] button so start the format. When the card is completely formatted click the [Exit] button to close SD Formatter.

4. Download and install Win32 Disk Imager (This is the iso file Image burner) from:
Windows: http://sourceforge.net/projects/win32diskimager/files/latest/download

5. Download ROKOS Core (rokosv4core.img.zip) and unzip the ISO file (This is the awesome ROKOS Core "Operating System" that we are going to install on the SD card) from:
Download: https://drive.google.com/folderview?id=0B6j6kd8yGRsmVkU3VjBCbVRQa1k&usp=sharing
(or find it yourself at: http://rokos.space

6. Start Win32 Disk Imager, press the "little blue folder" and select the "rokosv4core.img" file that you did extract. Make sure your SD card is selected in the list to the right and press the [Write] button. It will tell you that it can corrupt the SD card, just press [Yes] to continue the installation, when the installation to the SD card is done press the [Exit] button to close Win32 Disk Imager.

7. Now "Safely remove" your SD card from the computer.

8. Put the MicroSD/MicroSDHC card in your Raspberry Pi 2, and make sure you got an USB Keyboard, Monitor (via HDMI), and and Internet cable connected to the Raspberry Pi 2 before you connect the power cable to your Raspberry Pi 2.



---Installing ROKOS Core---
(The first boot of ROKOS Core)


1. Type:
Code:
sudo raspi-config
(and press enter)

2. Select:
Code:
1. Expand Filesystem
(and press enter) press enter again on the <Ok> button.

3. Select:
Code:
2. Change user password
(and press enter) press enter again on the <Ok> button. Type a new password (you will not see the letters) and press enter, type your new password again, and press enter. Then press the <Ok> button.

4. Select:
Code:
5. Internationalisation Options
(and press enter) Then select:
Code:
I2. Change Timezone
(Choose your timezone)

5. Press the "TAB" button on your keyboard two times to get to the <Finish> button, and press enter. Then choose <Yes> to restart your system.

6. Type:
Code:
startx
(and press enter) your system will now start up and you are DONE!

ENJOY THIS AWESOME OPERATING SYSTEM!



Please donate some Bitcoins or JiffyCoins if you did find this guide helpful. (Im working my ass off to be able to afford a better miner than 190GH/s..) Wink
Bitcoin address: 1Fq1z5pt6mWqNJe52Ez6NjEJiJnV7zPHu2
JiffyCoin address: JQX3AmZ6FjkCgxMGmNBCHWVrUFQu6NPdgV

Awesome Guide!

Will add it to the ANNs, website (coming tutorials section), and the website github to help new users with proper credit of course!

(let Jiffy devs know of: claims for integration to ROKOS in case they want to get integrated into the ROKOS flavors releases would gladly do so, already at 3/5 ready for the coming release so short time left to get in this one)

Again, great job with the guide and pushing crypto forward by helping and empowering the users!

Thank you.

OK is open-source; its design is public, nobody owns or controls OK and everyone can take part.
SwedishBitMiner
Newbie
*
Offline Offline

Activity: 28


View Profile
January 29, 2016, 11:16:52 AM
 #154

Im glad I can help Smiley I managed to get the JiffyCoin wallet running as daemon aswell, thanks to all the help I got from this crew. I will make an detailed guide on how to install and run an altcoin wallet in ROKOS Core, in a few days.
OKtoshi
Hero Member
*****
Offline Offline

Activity: 910


OK


View Profile
January 30, 2016, 09:33:49 AM
 #155

Im glad I can help Smiley I managed to get the JiffyCoin wallet running as daemon aswell, thanks to all the help I got from this crew. I will make an detailed guide on how to install and run an altcoin wallet in ROKOS Core, in a few days.

Yw, and sounds like a plan, the crypto community appreciates it.

OK is open-source; its design is public, nobody owns or controls OK and everyone can take part.
OKtoshi
Hero Member
*****
Offline Offline

Activity: 910


OK


View Profile
January 30, 2016, 09:38:35 AM
 #156



ROKOS Bitcoin Fullnode is now an official partner for the upcoming and
most expected cryptocurrency event yet, CoinFestUK.


http://coinfestuk.org/

https://twitter.com/BitcoinFullnode/status/693156316664221696



OK is open-source; its design is public, nobody owns or controls OK and everyone can take part.
SwedishBitMiner
Newbie
*
Offline Offline

Activity: 28


View Profile
January 30, 2016, 05:19:13 PM
 #157

oh sorry, I did accidently add my JiffyCoin address in my guide for donation, it was supposed to be an OKCash address, I just had JiffyCoin in my head the night i wrote the guide since I was trying to get the wallet running on the OS, now it's changed to OKCash to support you guys! Awesome OS! It made me love my new Raspberry even more! Grin
OKtoshi
Hero Member
*****
Offline Offline

Activity: 910


OK


View Profile
January 30, 2016, 06:55:37 PM
 #158

oh sorry, I did accidently add my JiffyCoin address in my guide for donation, it was supposed to be an OKCash address, I just had JiffyCoin in my head the night i wrote the guide since I was trying to get the wallet running on the OS, now it's changed to OKCash to support you guys! Awesome OS! It made me love my new Raspberry even more! Grin

No problem, we support friendly and cross collaborative communities, thanks for the support will get added to the guides on site,

Thanks! very glad that you like it and that it helps get you empowered and to like more your Pi while making history with this devices!

OK is open-source; its design is public, nobody owns or controls OK and everyone can take part.
OKtoshi
Hero Member
*****
Offline Offline

Activity: 910


OK


View Profile
February 04, 2016, 07:37:34 PM
 #159

New Bitcoin client is awesome, you can prune the blockchain to a 2Gb size, here is the update procedure.

Code:
sudo apt-get install libevent-dev

git clone -b 0.12 https://github.com/bitcoin/bitcoin

cd bitcoin

export CPATH="/usr/local/BerkeleyDB.4.8/include"

export LIBRARY_PATH="/usr/local/BerkeleyDB.4.8/lib"

./autogen.sh

./configure --enable-upnp-default --with-gui

make -j2

sudo make install

Enjoy your new and updated Bitcoin Fullnode 0.12

OK is open-source; its design is public, nobody owns or controls OK and everyone can take part.
OKtoshi
Hero Member
*****
Offline Offline

Activity: 910


OK


View Profile
February 04, 2016, 08:02:27 PM
 #160

New Bitcoin client is awesome, you can prune the blockchain to a 2Gb size, here is the update procedure.

Code:
sudo apt-get install libevent-dev

git clone -b 0.12 https://github.com/bitcoin/bitcoin

cd bitcoin

export CPATH="/usr/local/BerkeleyDB.4.8/include"

export LIBRARY_PATH="/usr/local/BerkeleyDB.4.8/lib"

./autogen.sh

./configure --enable-upnp-default --with-gui

make -j2

sudo make install

Enjoy your new and updated Bitcoin Fullnode 0.12


About Bitcoin Pruning and How to  (Bitcoin 0.12)

Block file pruning
This release supports running a fully validating node without maintaining a copy of the raw block and undo data on disk. To recap, there are four types of data related to the blockchain in the bitcoin system: the raw blocks as received over the network (blk???.dat), the undo data (rev???.dat), the block index and the UTXO set (both LevelDB databases). The databases are built from the raw data.

Block pruning allows Bitcoin Core to delete the raw block and undo data once it’s been validated and used to build the databases. At that point, the raw data is used only to relay blocks to other nodes, to handle reorganizations, to look up old transactions (if -txindex is enabled or via the RPC/REST interfaces), or for rescanning the wallet. The block index continues to hold the metadata about all blocks in the blockchain.

The user specifies how much space to allot for block & undo files. The minimum allowed is 550MB. Note that this is in addition to whatever is required for the block index and UTXO databases. The minimum was chosen so that Bitcoin Core will be able to maintain at least 288 blocks on disk (two days worth of blocks at 10 minutes per block). In rare instances it is possible that the amount of space used will exceed the pruning target in order to keep the required last 288 blocks on disk.

Block pruning works during initial sync in the same way as during steady state, by deleting block files “as you go” whenever disk space is allocated. Thus, if the user specifies 550MB, once that level is reached the program will begin deleting the oldest block and undo files, while continuing to download the blockchain.

For now, block pruning disables block relay. In the future, nodes with block pruning will at a minimum relay “new” blocks, meaning blocks that extend their active chain.

Block pruning is currently incompatible with running a wallet due to the fact that block data is used for rescanning the wallet and importing keys or addresses (which require a rescan.) However, running the wallet with block pruning will be supported in the near future, subject to those limitations.

Block pruning is also incompatible with -txindex and will automatically disable it.

Once you have pruned blocks, going back to unpruned state requires re-downloading the entire blockchain. To do this, re-start the node with -reindex. Note also that any problem that would cause a user to reindex (e.g., disk corruption) will cause a pruned node to redownload the entire blockchain. Finally, note that when a pruned node reindexes, it will delete any blk???.dat and rev???.dat files in the data directory prior to restarting the download.

To enable block pruning on the command line:

    -prune=N: where N is the number of MB to allot for raw block & undo data.

Modified RPC calls:

    getblockchaininfo now includes whether we are in pruned mode or not.
    getblock will check if the block’s data has been pruned and if so, return an error.
    getrawtransaction will no longer be able to locate a transaction that has a UTXO but where its block file has been pruned.

Pruning is disabled by default.

OK is open-source; its design is public, nobody owns or controls OK and everyone can take part.
Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!