API接口测速
httpstat 相对于curl得封装简化
python: https://github.com/reorx/httpstat
go: https://github.com/davecheney/httpstat
curl: https://cizixs.com/2017/04/11/use-curl-to-analyze-request/
API接口测速工具
EOSIO SDK for Rust
用于Rust的EOSIO SDK –用于在Rust中的EOSIO区块链上构建智能合约的API
项目地址:
https://github.com/sagan-software/eosio-rust
开发文档:
https://sagan-software.github.io/eosio-rust/quick-start.html
ubuntu 18.04 编译安装 russellcoin
安装依赖
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install g++ git automake
udo apt-get install autoconf make libtool pkg-config libqt4-network libqtgui4
sudo apt-get install libboost-all-dev git libdb++-dev libssl-dev
clone & 编译
cd
git clone https://github.com/russellcoinpay/russellcoin.git
cd russellcoin
./autogen.sh
cd depends
make -j`nproc`
cd ..
./configure --prefix=`pwd`/depends/x86_64-unknown-linux-gnu --disable-tests --with-gui=no
make
异常
由于当前链代码依赖得qt版本为4.6.4,当前系统gcc 和 g++ 较高版本时,会导致语法错误
qmap.h:509:45: error: value-initialization of incomplete type ‘char []’
node = node_create(d, update, akey, T());
解放方法,gcc和g++降级到4.8
gcc 降级4.8
sudo apt-get install gcc-4.8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 100
sudo update-alternatives --config gcc
gcc --version
g++ 降级4.8
sudo apt-get install g++-4.8
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 100
sudo update-alternatives --config g++
g++ --version
根本解决
参考anoncoin 升级qt为5.7.1版本
参考
https://anoncoin.github.io/How_to_build_Anoncoin_from_source/
https://www.cnblogs.com/in4ight/p/6626708.html
https://github.com/Anoncoin/anoncoin/issues/26
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.
区块链私钥管理开源库- a blockchain private key management library
https://github.com/consenlabs/token-core-android
https://github.com/consenlabs/token-core-ios
String prvKey = WalletManager.exportPrivateKey(ethereumWallet.getId(), SampleKey.PASSWORD);
System.out.println(String.format("PrivateKey: %s", prvKey));
String mnemonic = WalletManager.exportMnemonic(ethereumWallet.getId(), SampleKey.PASSWORD).getMnemonic();
System.out.println(String.format("Mnemonic: %s", mnemonic));
String json = WalletManager.exportKeystore(ethereumWallet.getId(), SampleKey.PASSWORD);
System.out.println(String.format("Keystore: %s", json));
// output:
// PrivateKey: f653be3f639f45ea1ed3eb152829b6d881ce62257aa873891e06fa9569a8d9aa
// Mnemonic: tide inmate cloud around wise bargain celery cement jungle melody galaxy grocery
// Keystore: {"id":"c7575eba-3ae3-4cc3-86ba-2eb9c6839cad","version":3,"crypto":{"ciphertext":"7083ba3dd5470ba4be4237604625e05fa6b668954d270beb848365cbf6933ec5","mac":"f4f9ea8d42ff348b11fc146c396da446cc975309b3538e08a58c0b218bddd15d","cipher":"aes-128-ctr","cipherparams":{"iv":"db3f523faf4da4f1c6edcd7bc1386879"},"kdf":"pbkdf2","kdfparams":{"dklen":32,"c":10240,"prf":"hmac-sha256","salt":"0ce830e9f888dfe33c31e6cfc444d6f588161c9d4128d4066ee5dfdcbc5d0079"}},"address":"4a1c2072ac67b616e5c578fd9e2a4d30e0158471"}