MLSNews

《未闻》区块链技术日报,聚焦业内技术更新,做您最好的眼睛。

View project on GitHub

​MLSNEWS

——————◆ 20190730 ◆——————

  • 闪电网络路由:正和博弈中的隐私和效率问题

    两点之间直线最短。这是人人皆知的道理。但这句话并不完全正确,至少在非欧几何里,它是错的。看过闪电的人都知道,闪电是不走直线的,而是在从空间中的一个点到达另一个点的过程中,一遇到电阻就避开,自动找到最高效的那条路径,一点一点窜过去。

    闪电网络支付也遇到了同样的挑战,不过它不像大自然那样自带优化程序。我们需要投入大量精力在闪电网络的思考、开发和调整上,才能使之变得稳健和高效。本文将解释支付路由是如何在闪电网络上运行的,有哪些方面依然需要改进,以及路由技术未来的发展方向在哪。

    目前,闪电网络使用的是源路由和洋葱路由。通过源路由,源节点负责计算从源到目的地的整条路径。为此,源节点需要下载完整的公开支付通道表,以便计算出一条路径,并根据这条路径涉及的所有通道的负载量来计算手续费成本和所需跳数。在点对点交易中,这个过程会涉及到大量数据,而且数据量还会随着网络的扩大而增加。

    The shortest distance between two points is a straight line. Everybody knows that. Except it’s not true — at least not outside of a Euclidean universe of mathematical abstraction. Everyone who’s watched lightning knows that it doesn’t travel in a straight line. Instead, lightning travels from one point in space to the next depending on the resistance it encounters, automatically finding the most efficient route, one infinitesimal segment at a time.

    Payments on the Lightning Network face a similar challenge, but the network doesn’t have nature’s optimization procedures built in. Lightning (we’re talking about the network now) requires plenty of thought, code, and adaptation to be as robust and efficient as possible. In this post, we’re going to explain how payment routing works on the Lightning Network, what aspects still need improvement, and the routing technologies of the future.

    Currently, Lighting uses source routing and onion routing. With source routing, the source node is responsible for calculating the entire route, from source to destination. To do so, a source node needs to download the entire graph of all public payment channels in order to calculate a route, considering the capacity of all the channels along the way, the cost in fees, and the number of hops required. This process involves a lot of data for a P2P transaction, and that amount will only grow with the network.

  • GitHub 限制克里米亚、古巴、朝鲜、伊朗和叙利亚等多个国家和地区账户访问

    基于美国的贸易政策影响,GitHub 限制克里米亚、古巴、朝鲜、伊朗和叙利亚等多个国家和地区账户访问。根据一名定居克里米亚的俄罗斯籍开发者 Anatoliy Kashkin 在 Hacker News 上发布帖子的描述,他收到了 GitHub 官方通知,告知其美国贸易控制法限制,用户账户被限制。 Anatoliy Kashkin 并不是唯一受到影响的开发者,他在克里米亚的朋友也遭遇了制裁相关的账号受限。另一位来自伊朗的开发者 Hamed Saeedi 也发表博文称,GitHub 封禁了他的账号,认为他「在开发核武器」。

  • Lightning Labs 推出 alpha 版本的闪电网络监测工具 Indmon

    Lightning Labs 为比特币 Layer 2 支付协议「闪电网络」设计了节点监测工具 Indmon,闪电网络用户可获取节点和网络状态信息,目前已推出 alpha 测试版本。Lightning Labs 开发人员 Valentine Wallace 表示,该工具可以便于节点运营商管理节点,让用户监控网络趋势甚至「发现并预防问题」,以及通过图表便于用户查看历史记录、帮助用户「设置最低交易手续费」等。