WengQiang's Blog

where there is a will, there is a way!

shadowsocks-libev 版本安装

centos 7(64) 系统

  • 前提准备

    安装一些必要的软件以及依赖

    1
    2
    3
    yum install git vim wget -y
    yum install epel-release -y
    yum install gcc gettext autoconf libtool automake make pcre-devel asciidoc xmlto udns-devel libev-devel mbedtls-devel -y
    阅读全文 »

获取文件夹下的所有文件

  1. aux_source_directory(<dir>, <variable>) collects the names of all source files in the specified directory and store the list in the variable provided.

1
2
3
4
AUX_SOURCE_DIRECTORY(libraries/api API_SRC)
AUX_SOURCE_DIRECTORY(libraries/net NET_SRC)
AUX_SOURCE_DIRECTORY(libraries/rpc RPC_SRC)

阅读全文 »

发明人以及相关节点时间

  1. 中本聪于2008-10-31号提出了比特币的设计白皮书
  2. 2009年公布了最初的实现代码, 第一个比特币是2009-01-03(18:15:05)生成
阅读全文 »

数字签名算法(digital signature algorithm)

ECDSA (elliptic curve digital signature algorithm) secp256k1(the parameters of ecdsa used in bitcoin)

  1. private key: 32 bytes(256 bit)
  2. compressed or uncompressed public key: 33 bytes / 65 bytes
  3. signature or compact_signature: 72 bytes/ 65 bytes
    阅读全文 »
0%