MLSNews

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

View project on GitHub

​MLSNEWS

——————◆ 20190620 ◆——————

  • 用模拟漏洞测试Watchtowers

    在Lightning Network上,有可能存在恶意的交易通道,对方用旧状态攻击您的通道。为了解决这个问题,你需要时刻保持警惕,注意惩罚那些一有机会就尝试的人。

    对于无法全天候在线保留的节点,或任何担心某些恶意交易审核的人,您可以拥有一个可靠的第三方服务器,密切关注链上,并惩罚任何试图用旧状态攻击您通道的人。这些被称为Watchtowers。

    On the Lightning network, there’s potential for a malicious (or mistaken) channel counter-party to close your channel with old state. To combat this, you need to stay vigilant (read: online) at all times, watching to punish someone who tries at a moment’s notice.

    For nodes unable to stay online 24/7, or anyone who’s worried about some malicious transaction censoring, the idea is that you could have a reliable third party server that keeps an eye on the chain, and punishes anyone who tries to close out your channels with an old invalid state. These are known as Watchtowers.

  • 连接区块链:Lightning跨链上的即时交易

    跨链原子交换用于在两个参与者之间交换资金,例如Alice和Bob,他们的资产位于不同的区块链上。这是通过让Alice和Bob执行保证传输原子性的协议来实现的。

    这里,交换的原子性是指协议应该只有两个结果的约束,Alice和Bob成功交换资产,或者没有任何反应。此属性至关重要,因为它确保任何一方都不会欺骗另一方,并提供一种在没有受信任的第三方的情况下交换加密货币的方法。

    使用Lightning即时交换货币的能力提供了许多好处,例如即时结算,改善的隐私和低交易费用。大家对这项技术感到特别兴奋,因为它简要介绍了去中心化,基于Lightning的交换基础设施的未来。

    A cross-chain atomic swap is used to exchange funds between two participants, say Alice and Bob, whose assets reside on separate blockchains. This is achieved by having Alice and Bob execute a protocol that guarantees the atomicity of the transfer.

    Here, the atomicity of a swap refers to the constraint that the protocol should only have two outcomes, either Alice and Bob successfully exchange assets, or nothing happens. This property is crucial, as it ensures that neither party can cheat the other, and offers a method of swapping cryptocurrencies without a trusted third-party.

    The ability to swap currencies instantly using Lightning offers a number of benefits, such as instant settlement, improved privacy, and low trading fees. We are particularly excited by this technology, as it provides a brief glimpse at the future of non-custodial, Lightning-based exchange infrastructures.

  • Cloudflare的以太网网关

    这是Cloudflare的分布式Web网关工具集中的另一个工具。目前,Cloudflare允许您在InterPlanetary文件系统(IPFS)上托管内容,并通过您自己的自定义域访问它。同样,新的以太坊网关允许访问以太坊网络,您可以通过自定义主机名进行配置。

    此设置可以将交互式元素添加到由以太网智能合约(一个分散的计算平台)提供支持的站点。并且,与IPFS网关一起,这允许以分散的方式托管网站和资源,并且还具有Cloudflare边缘网络提供的额外速度,安全性和可靠性的额外奖励。

    This is another tool in Cloudflare’s Distributed Web Gateway tool set. Currently, Cloudflare lets you host content on the InterPlanetary File System (IPFS) and access it through your own custom domain. Similarly, the new Ethereum Gateway allows access to the Ethereum network, which you can provision through your custom hostname.

    This setup makes it possible to add interactive elements to sites powered by Ethereum smart contracts, a decentralized computing platform. And, in conjunction with the IPFS gateway, this allows hosting websites and resources in a decentralized manner, and has the extra bonus of the added speed, security, and reliability provided by the Cloudflare edge network.