These days I'm working on compiling the latest steem code on my machine: Lenovo Thinkpad W540 and X200. Let me share some tips.
Please use linux not windows
Last year, I can compile steem on windows and linux. But now I can't. I tried different boost version and Visual Studio version but failed. As you may know, steem use BOOST heavily, while Visual C++ is not a 'fashion' C++ compiler.
I use Mint
I like Debian and use it in my projects. However, when I want a GUI, Mint is my favorite Linux package. After almost 3 hours, I got my steem build!
How to download the blockchain data to my witness_node_dir first?
In the old days(last year), I can download blockchain data from some website and then update it to latest in my box. Currently, steem use a huge mapfile to keep the data. Could I use the old way to download blockchain data first? or I have to download it from the first block? I know this is not a problem for VPS or AWS EC2 node.
Blow is Chinese version.
最近又开始折腾编译steem了。我用的是Thinkpad W540 和X200。在编译的过程中,有些心得分享给大家。
不要用Windows了
原来可以直接在Windows系统里编译运行steem,现在不可以了。我试过各种组合的Visual C++版本,BOOST版本,结果还是有问题。干脆放弃了,直接在X200上装一个Linux来玩。
Mint大法好
我一直用Debian,后来朋友介绍Mint,说是图形界面很干净,适合我。用过一段时间,感觉还不错。经过3个多小时的编译,顺利运行steemd。
哪里下载Blockchain数据
原来可以预先下载一部分Blockchain数据,然后用steemd来更新。现在不可以了,数据文件夹里有个巨大的mapfile,网上的下载链接也都不好用了。哪位大侠知道怎么搞么?多谢。如果是在VPS或者AWS的机器上好办,我自己的机器反倒是麻烦,我下载了一个晚上,早上来看,才到去年8月份,而且进程死掉了。我杀掉了进程,结果原来下载的数据貌似接不上了。
支持一下技术贴
多谢支持。大家一起努力。
经过研究,发现可以这样恢复断掉的blockchain数据:
steemd --replay-blockchain
小机器又开始运行了。我去忙别的了。
支持下