Zhenda's Blog

Stay hungry, stay humble, and keep shipping value.

Decentralization

去中心化在去中心化网络中,设计出合理的规则和技术方案,让每个节点在不依赖中心机构的情况下,能够公平、透明地参与到网络运行中,是去中心化技术的关键。 信任问题是去中心化系统需要解决的核心问题。它通过共识机制、防恶意行为、数据一致性、隐私保护、激励机制等手段,来保证网络的安全性、稳定性和可持续发展。 p2pP2P网络是一种去中心化的网络结构,节点之间直接连接,不 …

Python Pip

python 工具 pip 用来安装第三方包 命令 类别 命令 含义 在线安装 pip install xxx pip install -r requirements.txt 在线换源安装 pip config list 查看源 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple xxx 换源 离线 …

Go_base

资料 https://go.dev/doc/#references https://tour.go-zh.org/basics/1 https://pkg.go.dev/std 一个Go项目中只能有一个 main 包和一个 main() 函数 你会直接编辑 go.mod(虽然通常通过 Go 命令来做),但永远不应该手动编辑 go.sum 用于管理项目的依赖关 …

Python_basic

python 函数中, 参数的定义顺序 1 2 3 4 5 6 7 8 9 10 def func( pos1, # 位置参数 pos2, # 位置参数 pos3: int = 10, # 带默认值的参数 *args, # 可变位置参数 kw1, # 关键字参数 kw2: str = "test", # 带默认值的关键字参数 **kwargs …

Css Guide

css选择器 https://developer.mozilla.org/zh-CN/docs/Learn_web_development/Core/Styling_basics/Basic_selectors …