MLSNews

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

View project on GitHub

​MLSNEWS

——————◆ 20190722 ◆——————

  • Gavin Wood 突发奇想的波卡新设计 Parathreads

    「平行线程 (Parathreads)」 的设计是为了 解决现有 「平行链 (Parachain)」 插槽竞拍潜在风险问题 而推出的一种新的接入中继链的模式 。今年 5-6 月份 Polkawallet 创始人姜富耀在 Polkadot 的 Github 上提出 #282 问题 详细阐述了现有平行链插槽竞拍机制的一些潜在风险:

    1. 当运行已久的平行链,续租插槽竞拍失败,几周内会比较危险

    2. 「劣平行链」 驱逐 「良平行链」

    3. 空手套白狼获得插槽的方法

    4. 二级中继链,不会缓解炒作,反而会促进

    5. 二级中继链如果失去插槽问题

  • 以太坊伊斯坦布尔升级中将包含 Calldata 的 Gas 费用降低为原来 1/4 的改进

    以太坊开发者上周在主网上测试分析区块大小和叔块率数据后,决定将 EIP-2028 改进提案中的 Calldata 的 Gas 费用从原来的 68 Gas 每字节减少为 16 Gas 每字节,该优化包含在伊斯坦布尔硬分叉升级中(10 月 16 日)。开发者在讨论中还提到 Calldata 的 Gas 费用还有继续降低的可能性,但是减少 Calldata 的费用还可能会增加区块大小和增加网络传播区块的延迟。

  • 使用Web3j和Infura在Android上进行以太坊开发入门

    1.在项目中设置Web3j

    在Android中使用Web3j的第一步是将其添加到您的项目中。由于Web3j有一个maven插件,这很简单:只需将mavencentral添加到项目build.gradle文件中,然后将web3j作为依赖项添加到应用程序build.gradle文件中(确保使用的是Android版本)。

    2.确定要使用的节点类型以及通过它连接的节点

    与以太坊区块链通信时,必须通过节点进行此操作。解释节点的确切内容将超出本文的范围,但是,重要的是它们用于向以太坊区块链发送信息和从以太坊区块链接收信息。

    3.创建钱包

    让我们创建一个钱包,这样我们就可以发送和接收testnet ether了。

    4.获取地址并加载钱包

    太棒了,现在我们有了钱包,让我们得到它的地址,这样我们就可以用Rinkeby 龙头上的一些Testnet以太装载它 。

    5.发送交易

    在我们的钱包加上一些Rinkeby Ether之后,让我们尝试将其发回

    1.Setting up Web3j in your project

    The first step of working with Web3j in Android is to add it to your project. Since Web3j has a maven plugin, this is very easy: Simply add mavencentral to your project build.gradle file and then add web3j as a dependency to your application build.gradle file (make sure you are using the Android version).

    2.Deciding on what type of node to use and connecting through it

    When communicating with the Ethereum blockchain, one must do this through a node. Explaining what a node is exactly would be out of the scope of this article, however, what is important about these is that they are used to send and receive information to and from the Ethereum blockchain.

    3.Creating a wallet

    Let’s create a wallet so we can send and receive testnet ether next.

    4.Getting the address & loading the wallet

    Great, now that we have a wallet, let’s get its address so we can load it with a bit of Testnet ether from the Rinkeby faucet.

    5.Sending Transactions

    After having loaded our wallet with some Rinkeby Ether, let’s try sending it back