您正在查看: surou 发布的文章

以太坊分片研究纲要

这是一个持续策划的列表,将添加或删除条目以反映与当前研究状态最相关的文章。

无国籍客户和证人

跨分片通信

基本信息和规格

权益证明理论

股权证明常见问题解答:https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ
Casper FFG 论文:https://arxiv.org/abs/1710.09437
基于证明委员会的完整 PoS 链:https://ethresear.ch/t/attestation-committee-based-full-pos-chains/2259

Casper FFG/GHOST/信标链模拟

卡斯帕CBC

CBC Casper 教程:https://vitalik.ca/general/2018/12/05/cbc_casper.html
Casper CBC,简化!:https://medium.com/@aditya.asgaonkar/casper-cbc-simplified-2370922f9aa6
信标链友好型 CBC Casper:https://ethresear.ch/t/beacon-chain-friendly-cbc-casper/4710/2
按位 LMD GHOST:https://ethresear.ch/t/bitwise-lmd-ghost/4749/5
LMD GHOST 实现:https://ethresear.ch/t/comparing-lmd-ghost-implementations/4945/3

外部链接

各种各样的

轻客户端

存储维护费/租金

监护证明

数据可用性证明

随机性

时间戳

数据结构

杂项杂项

英文原文:https://notes.ethereum.org/@serenity/H1PGqDhpm?type=view
翻译来自:谷歌

mac socks5 转http

安装privoxy

brew install privoxy

修改默认配置

sudo vi /usr/local/etc/privoxy/config

去掉注释修改

forward-socks5   /     用户:密码@代理IP:代理端口 

另外监听接口默认开启的 localhost:8118 如果有需要可以配置,没有需要就不用

启动privoxy

brew services start privoxy

参考

https://www.jianshu.com/p/7cc17860caaa
https://javasgl.github.io/transfer_socks5_to_http_proxy/

浏览器扩展

https://proxy-switchyomega.com/download/

jenkins pipeline read json

def props = readJSON file: 'dir/input.json'
assert props['attr1'] == 'One'
assert props.attr1 == 'One'

def props = readJSON text: '{ "key": "value" }'
assert props['key'] == 'value'
assert props.key == 'value'

def props = readJSON text: '[ "a", "b"]'
assert props[0] == 'a'
assert props[1] == 'b'

def props = readJSON text: '{ "key": null, "a": "b" }', returnPojo: true
assert props['key'] == null
props.each { key, value ->
    echo "Walked through key $key and value $value"
}

依赖插件
https://plugins.jenkins.io/pipeline-utility-steps/#releases
https://updates.jenkins.io/download/plugins/snakeyaml-api/1.30.2-76.vc104f7ce9870/snakeyaml-api.hpi

参考文档
https://www.jenkins.io/doc/pipeline/steps/pipeline-utility-steps/#readjson-read-json-from-files-in-the-workspace

markdown to html 在线帮助文档

https://docsify.js.org/
https://github.com/mkdocs/mkdocs/

mkdocs 环境部署

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py
pip3 install mkdocs

Material for MkDocs can be installed with pip:

pip install mkdocs-material

Add the following lines to mkdocs.yml:

theme:
  name: material

https://github.com/squidfunk/mkdocs-material

参考

https://www.mkdocs.org/getting-started/
https://www.wheelodex.org/entry-points/mkdocs.themes/
https://github.com/squidfunk/mkdocs-material