您正在查看: EOS-新手问答 分类下的文章

curl is not working on Ubuntu 18.04 LTS

解决办法

sudo apt remove -y libcurl4
sudo apt install -y libcurl4 curl

参考

https://askubuntu.com/questions/1029273/curl-is-not-working-on-ubuntu-18-04-lts

EOS离线下载块历史数据地址

The archive consists of state, blocks, and state-history archives, plus a copy of a portable snapshot made by EOS Sweden on the day prior to the snapshop. This should help if your environment is different. The archives are made with eosio_1.8.1-1-ubuntu-18.04_amd64.deb Debian package.

https://snapshots.eosamsterdam.net/eos/

编译合约没有生成abi文件

如果-o文件名与合同名称不同,则ABI生成失败
比如

struct [[eosio::table, eosio::contract("bcs.ibc")]] extract_token

及此合约文件的名字必须为bcs.ibc.hpp/cpp

https://github.com/EOSIO/eosio.cdt/issues/588

unable to find plugin: eosio::wallet_api_plugin

wallet_api_plugin is no longer supported as part of nodeos. Use keosd instead.
https://developers.eos.io/keosd/docs

参考

https://github.com/EOSIO/eos/issues/7833

eos 1.8 启动 mongo_db_plugin 插件 ENABLE_MONGO

./eosio_build.sh -m // 添加参数支持mongo

支持的参数

function usage() {
   printf "Usage: $0 OPTION...
  -P          Build with pinned clang and libcxx
  -o TYPE     Build <Debug|Release|RelWithDebInfo|MinSizeRel> (default: Release)
  -s NAME     Core Symbol Name <1-7 characters> (default: SYS)
  -b DIR      Use pre-built boost in DIR
  -i DIR      Directory to use for installing dependencies & EOSIO (default: $HOME)
  -y          Noninteractive mode (answers yes to every prompt)
  -c          Enable Code Coverage
  -d          Generate Doxygen
  -m          Build MongoDB dependencies
   \\n" "$0" 1>&2
   exit 1
}

https://github.com/EOSIO/eos/blob/51f6a070200c69eb4d82e21aa2f750d43e8491d1/scripts/eosio_build.sh#L35