﻿<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>学习日记 &#187; EOS</title>
	<atom:link href="https://www.softwareace.cn/?cat=117&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>https://www.softwareace.cn</link>
	<description>时刻想着为自己的产品多做一些对他好的事情</description>
	<lastBuildDate>Fri, 20 Mar 2026 06:58:28 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>cleos system newaccount failed with &#8220;to account does not exist&#8221; error message</title>
		<link>https://www.softwareace.cn/?p=1794</link>
		<comments>https://www.softwareace.cn/?p=1794#comments</comments>
		<pubDate>Fri, 01 Jun 2018 10:30:23 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[EOS]]></category>

		<guid isPermaLink="false">http://www.softwareace.cn/?p=1794</guid>
		<description><![CDATA[[crayon-69e2e884186ae158022998/] //创建系统预留账户 cleos creat [&#8230;]]]></description>
				<content:encoded><![CDATA[<p></p><pre class="crayon-plain-tag">The following accounts need to be created before you can use eosio.system contract via cleos system newaccount to create accounts:

systemAccounts = [
    'eosio.bpay',
    'eosio.msig',
    'eosio.names',
    'eosio.ram',
    'eosio.ramfee',
    'eosio.saving',
    'eosio.stake',
    'eosio.token',
    'eosio.upay',
]</pre><p>//创建系统预留账户<br />
cleos create account eosio eosio.bpay EOS5iezVa6bsmvZ3HNxdqgyX6GFRMWzE7FsjS3cui8Foavxnj8CfR EOS5iezVa6bsmvZ3HNxdqgyX6GFRMWzE7FsjS3cui8Foavxnj8CfR<br />
cleos create account eosio eosio.msig EOS8K1wkfCzPmxAjjfqvqw6zQ1Dbc82YsQyR8MmwNFLcRHcJtth89 EOS8K1wkfCzPmxAjjfqvqw6zQ1Dbc82YsQyR8MmwNFLcRHcJtth89<br />
cleos create account eosio eosio.names EOS5ps938c5zj6UqhdCfssyAy7WSbHgfZoraqD6HrnbpmpEwPwX7S EOS5ps938c5zj6UqhdCfssyAy7WSbHgfZoraqD6HrnbpmpEwPwX7S<br />
cleos create account eosio eosio.ram EOS7DA8jGA6HfZXYcGSGJNsWJL5Q6t5bWcvm4zNykN3Jw7tASzBCR EOS7DA8jGA6HfZXYcGSGJNsWJL5Q6t5bWcvm4zNykN3Jw7tASzBCR<br />
cleos create account eosio eosio.ramfee EOS7R1Ds4zLMPN6onVXjL8XGgKHHCMWjLT7wn3bHcHnQX3dVLErjE EOS7R1Ds4zLMPN6onVXjL8XGgKHHCMWjLT7wn3bHcHnQX3dVLErjE<br />
cleos create account eosio eosio.saving EOS4uDMpca1dAK7HZZRQ1SqWZHvJNnakzsSuTmM12crvzwRorwQcQ EOS4uDMpca1dAK7HZZRQ1SqWZHvJNnakzsSuTmM12crvzwRorwQcQ<br />
cleos create account eosio eosio.stake EOS6BDfFaFZgvx889BQbdaGTMYSn5tUuxaynGQDhpDGD662eBGwkF EOS6BDfFaFZgvx889BQbdaGTMYSn5tUuxaynGQDhpDGD662eBGwkF<br />
cleos create account eosio eosio.upay EOS7zS7sHctU54oD6is2oPfq11duCMSWfda3HXJAghSfqqr2BZZnV EOS7zS7sHctU54oD6is2oPfq11duCMSWfda3HXJAghSfqqr2BZZnV</p>
]]></content:encoded>
			<wfw:commentRss>https://www.softwareace.cn/?feed=rss2&#038;p=1794</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Not producing block because the irreversible block is too old&#8221; when start nodeos after changing system time</title>
		<link>https://www.softwareace.cn/?p=1791</link>
		<comments>https://www.softwareace.cn/?p=1791#comments</comments>
		<pubDate>Fri, 01 Jun 2018 09:49:28 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[EOS]]></category>

		<guid isPermaLink="false">http://www.softwareace.cn/?p=1791</guid>
		<description><![CDATA[We added a command line argument (&#8211;max-irreversib [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><span style="color: #6a737d;">We added a command line argument (&#8211;max-irreversible-block-age) that will cause a node to automatically stop production when the last irreversible block time is older than N seconds, an indication that there are not enough producers confirming blocks for the chain to continue forward. This option prevents producers from producing an excessive number of blocks that will need to be rationalized upon resuming production once enough producers rejoin the network.</span></p>
]]></content:encoded>
			<wfw:commentRss>https://www.softwareace.cn/?feed=rss2&#038;p=1791</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>大白话讲解 节点间数据安全传输神器WireGuard</title>
		<link>https://www.softwareace.cn/?p=1782</link>
		<comments>https://www.softwareace.cn/?p=1782#comments</comments>
		<pubDate>Thu, 24 May 2018 02:05:15 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[EOS]]></category>

		<guid isPermaLink="false">http://www.softwareace.cn/?p=1782</guid>
		<description><![CDATA[首先说明一下：今天好多朋友都在问EOS DAWN 4.0怎么还没出来？不是说好5.11号出来吗？对，是5.11 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p style="color: #5a6169;">首先说明一下：今天好多朋友都在问EOS DAWN 4.0怎么还没出来？不是说好5.11号出来吗？<span style="font-weight: bold;">对，是5.11号，是BM所在地区的时间，不是北京时间。所以，如果是按惯例的话，应该是明天早上5点-6点之间出来</span>。</p>
<p style="color: #5a6169;">
<p style="color: #5a6169;">现在EOS社区的技术氛围越来越浓，许多大陆候选节点/华人参与的候选节点，都在积极参与社区的技术讨论。安全一直是讨论的重中之重。除了防DDoS，还有如何在节点之间安全传输数据，特别是主网刚启动的时候。</p>
<p style="color: #5a6169;">
<p style="color: #5a6169;">社区推荐了一个VPN&#8211;WireGuard。官网为：https://www.wireguard.com/</p>
<p style="color: #5a6169;"><img src="https://bihu2001.oss-cn-shanghai.aliyuncs.com/img/1af8f5b776e071d768411070266253da.png?x-oss-process=style/size_lg" alt="" /></p>
<p style="color: #5a6169;">
<p style="color: #5a6169;">对于非技术人员，我希望能讲清楚它的特点和工作原理。对于技术人员，我会提供更多的安装使用细节。</p>
<p style="color: #5a6169;">WireGuard的特色，我觉得可以概括为三点：好友白名单，通信加密，非法请求过滤。</p>
<p style="color: #5a6169;">好友白名单：</p>
<p style="color: #5a6169;">只有相互加白名单，才能彼此通信。比如Bean要和EOS Cannon通信，一定要先互相加好友。</p>
<p style="color: #5a6169;">通信加密：</p>
<p style="color: #5a6169;">发出去的任何消息，都是通过对方的公钥加密，收消息方需要用私钥解密。</p>
<p style="color: #5a6169;">非法请求过滤：</p>
<p style="color: #5a6169;">非白名单的连接会被拒绝，解密失败的消息会直接丢掉。</p>
<p style="color: #5a6169;">
<p style="color: #5a6169;">
<p style="color: #5a6169;">官方提供了一个完整的发送和接收的例子：</p>
<p style="color: #5a6169;">当一个网卡A发送数据给B：</p>
<p style="color: #5a6169;">1. 如果一个数据包要发送给192.168.30.8（<span style="font-weight: bold;"><span style="color: #c24f4a;">假如这是B</span></span><span style="font-weight: bold;"><span style="color: #c24f4a;">的虚拟地址</span></span>）。WireGuard先会看192.168.30.8是否已注册。如果未注册，数据包直接丢掉。</p>
<p style="color: #5a6169;">2.如果B已经注册，使用B的公钥加密数据包。</p>
<p style="color: #5a6169;">3.再看数据包要发送的<span style="font-weight: bold;"><span style="color: #c24f4a;">外网真实地址和端口</span></span>，如果和B的不匹配，则数据包直接丢掉。</p>
<p style="color: #5a6169;">4.以上检查完毕，发送数据包。</p>
<p style="color: #5a6169;">
<p style="color: #5a6169;">当一个网卡B收到A的数据：</p>
<p style="color: #5a6169;">1. 监听的端口收到数据包，准备解密。</p>
<p style="color: #5a6169;">2.用B的私钥解密，检查数据中包含的B的外网地址和端口，以确定是A发送给B的。</p>
<p style="color: #5a6169;">3.检查数据包中A的虚拟地址。</p>
<p style="color: #5a6169;">4.如果A的虚拟地址未在B处注册，则直接丢掉，接受该数据包</p>
<p style="color: #5a6169;">
<p style="color: #5a6169;">以下偏技术：</p>
<p style="color: #5a6169;">WireGuard在ubuntu上的安装步骤：</p>
<p style="color: #5a6169;">sudo add-apt-repository ppa:wireguard/wireguard</p>
<p style="color: #5a6169;">sudo apt-get update</p>
<p style="color: #5a6169;">sudo apt-get install wireguard</p>
<p style="color: #5a6169;">
<p style="color: #5a6169;">配置：</p>
<p style="color: #5a6169;">生成公私钥：</p>
<p style="color: #5a6169;">wg genkey | tee privatekey | wg pubkey &gt; publickey</p>
<p style="color: #5a6169;">
<p style="color: #5a6169;">配置文件和内容：</p>
<p style="color: #5a6169;"><img src="https://bihu2001.oss-cn-shanghai.aliyuncs.com/img/bf09cb502df1408a6cf4aafd2c402527.png?x-oss-process=style/size_lg" alt="" /></p>
<p style="color: #5a6169;">[Interface]部分为本机的配置。Address为虚拟地址。</p>
<p style="color: #5a6169;">[Peer]为信任方的配置，可以有多个[peer]。PublicKey为peer方的公钥。AllowedIPs为peer方的虚拟地址。Endpoint为peer方的外网地址和wireguard监听端口。</p>
<p style="color: #5a6169;">
<p style="color: #5a6169;">启动：</p>
<p style="color: #5a6169;">ip link del dev wg0 &amp;&amp; wg-quick up wg0</p>
<p style="color: #5a6169;">
<p style="color: #5a6169;">验证：</p>
<p style="color: #5a6169;">wg show</p>
<p style="color: #5a6169;"><img src="https://bihu2001.oss-cn-shanghai.aliyuncs.com/img/462332aac604e8758e41688cb58f6c93.png?x-oss-process=style/size_lg" alt="" /></p>
<p>https://bihu.com/article/362924</p>
]]></content:encoded>
			<wfw:commentRss>https://www.softwareace.cn/?feed=rss2&#038;p=1782</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set contract eosio.system error 3080006: transaction took too long (2)</title>
		<link>https://www.softwareace.cn/?p=1776</link>
		<comments>https://www.softwareace.cn/?p=1776#comments</comments>
		<pubDate>Mon, 21 May 2018 02:46:57 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[EOS]]></category>

		<guid isPermaLink="false">http://www.softwareace.cn/?p=1776</guid>
		<description><![CDATA[[crayon-69e2e8841902e441696874/] &#160;]]></description>
				<content:encoded><![CDATA[<p></p><pre class="crayon-plain-tag">$ nodeos --max-transaction-time=1000 --resync

$ cleos create key  # for eosio.token
$ cleos wallet import ...
$ cleos create account eosio eosio.token ...
$ cleos set contract eosio.token build/contracts/eosio.token
$ cleos push action eosio.token create '[ "eosio", "10000000000.0000 SYS", 0, 0, 0]' -p eosio.token
$ cleos push action eosio.token issue '[ "eosio", "1000000000.0000 SYS", "memo" ]' -p eosio

$ cleos set contract eosio build/contracts/eosio.system</pre><p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.softwareace.cn/?feed=rss2&#038;p=1776</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EOS Error 3080006: transaction took too long</title>
		<link>https://www.softwareace.cn/?p=1773</link>
		<comments>https://www.softwareace.cn/?p=1773#comments</comments>
		<pubDate>Thu, 17 May 2018 11:07:06 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[EOS]]></category>

		<guid isPermaLink="false">http://www.softwareace.cn/?p=1773</guid>
		<description><![CDATA[[crayon-69e2e8841921a983216299/] &#160;]]></description>
				<content:encoded><![CDATA[<p></p><pre class="crayon-plain-tag">cd eos/build
make install
cleos set contract build/contracts/eosio eosio.system -x 1000</pre><p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.softwareace.cn/?feed=rss2&#038;p=1773</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EOS 重置依赖项 重新编译 MAC</title>
		<link>https://www.softwareace.cn/?p=1771</link>
		<comments>https://www.softwareace.cn/?p=1771#comments</comments>
		<pubDate>Thu, 17 May 2018 11:05:16 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[EOS]]></category>

		<guid isPermaLink="false">http://www.softwareace.cn/?p=1771</guid>
		<description><![CDATA[[crayon-69e2e884193f2469814556/] &#160;]]></description>
				<content:encoded><![CDATA[<p></p><pre class="crayon-plain-tag">brew remove --force boost
brew remove --force llvm
cd /path/to/eos
rm -rf build/
git pull
git submodule update --init --recursive
./eosio_build.sh</pre><p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.softwareace.cn/?feed=rss2&#038;p=1771</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EOS ERROR: Linking /usr/local/Cellar/python/3.6.5… Error: Permission denied @ dir_s_mkdir – /usr/local/Frameworks</title>
		<link>https://www.softwareace.cn/?p=1769</link>
		<comments>https://www.softwareace.cn/?p=1769#comments</comments>
		<pubDate>Thu, 17 May 2018 11:03:20 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[EOS]]></category>

		<guid isPermaLink="false">http://www.softwareace.cn/?p=1769</guid>
		<description><![CDATA[需要执行以下命令 [crayon-69e2e884195bf086793419/] &#160;]]></description>
				<content:encoded><![CDATA[<p><span style="color: #1a1a1a;">需要执行以下命令</span></p><pre class="crayon-plain-tag">sudo mkdir /usr/local/Frameworks
sudo chown $(whoami):admin /usr/local/Frameworks</pre><p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.softwareace.cn/?feed=rss2&#038;p=1769</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EOS ERROR:&#8217;stdint.h&#8217; file not found when running the example of smart contract “Hello World”</title>
		<link>https://www.softwareace.cn/?p=1767</link>
		<comments>https://www.softwareace.cn/?p=1767#comments</comments>
		<pubDate>Thu, 17 May 2018 11:02:28 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[EOS]]></category>

		<guid isPermaLink="false">http://www.softwareace.cn/?p=1767</guid>
		<description><![CDATA[需要执行以下命令 [crayon-69e2e8841977f475496764/] 参考链接https://g [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><span style="color: #1a1a1a;">需要执行以下命令</span></p><pre class="crayon-plain-tag">cd ~/eos/build
sudo make install</pre><p><span style="color: #1a1a1a;">参考链接</span><br style="color: #1a1a1a;" /><a style="color: #007acc;" href="https://github.com/EOSIO/eos/issues/1718">https://github.com/EOSIO/eos/issues/1718</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.softwareace.cn/?feed=rss2&#038;p=1767</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EOS ERROR: Could not find a package configuration file provided by &#8220;LLVM&#8221; (requested version 4.0) with any of the following names</title>
		<link>https://www.softwareace.cn/?p=1765</link>
		<comments>https://www.softwareace.cn/?p=1765#comments</comments>
		<pubDate>Thu, 17 May 2018 11:00:43 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[EOS]]></category>

		<guid isPermaLink="false">http://www.softwareace.cn/?p=1765</guid>
		<description><![CDATA[需要执行以下命令（检查一下你有没有这个目录，没有的话搜索一下） [crayon-69e2e8841994671 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><span style="color: #1a1a1a;">需要执行以下命令（检查一下你有没有这个目录，没有的话搜索一下）</span></p><pre class="crayon-plain-tag">export LLVM_DIR=/usr/local/Cellar/llvm\@4/4.0.1/lib/cmake</pre><p><span style="color: #1a1a1a;">参考链接</span><br style="color: #1a1a1a;" /><a style="color: #007acc;" href="https://github.com/EOSIO/eos/issues/43">https://github.com/EOSIO/eos/issues/43</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.softwareace.cn/?feed=rss2&#038;p=1765</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EOS ERROR: Failed to find Gettext libintl (missing: Intl_INCLUDE_DIR)</title>
		<link>https://www.softwareace.cn/?p=1763</link>
		<comments>https://www.softwareace.cn/?p=1763#comments</comments>
		<pubDate>Thu, 17 May 2018 10:58:59 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[EOS]]></category>

		<guid isPermaLink="false">http://www.softwareace.cn/?p=1763</guid>
		<description><![CDATA[执行 eosio_build.sh ERROR: Failed to find Gettext libintl [&#8230;]]]></description>
				<content:encoded><![CDATA[<h3 id="toc_0">执行 eosio_build.sh</h3>
<p><span style="color: #1a1a1a;">ERROR: Failed to find Gettext libintl (missing: Intl_INCLUDE_DIR)</span><br style="color: #1a1a1a;" /><span style="color: #1a1a1a;">需要执行以下命令</span></p><pre class="crayon-plain-tag">brew unlink gettext &amp;&amp; brew link --force gettext
find /usr -name libintl* -print 2&gt;/dev/null</pre><p><span style="color: #1a1a1a;">参考链接</span><br style="color: #1a1a1a;" /><a style="color: #007acc;" href="https://github.com/EOSIO/eos/issues/2028?ref=tokendaily">https://github.com/EOSIO/eos/issues/2028?ref=tokendaily</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.softwareace.cn/?feed=rss2&#038;p=1763</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
