eip title author type category status created 55 Mixed-case checksum address encoding Vitalik Buterin Standards Track ERC Final 2016-01-14 Specification(python) from ethereum import utils def checksum_encode(addr): # Takes a -byte binary address as i…
虚拟货币钱包 钱包顾名思义是存放$$$.但在虚拟货币世界有点不一样,我的帐户资讯(像是我有多少钱)是储存在区块链上,实际存在钱包中的是我的帐户对应的 key.有了这把 key 我就可以在虚拟货币世界证明我的身份.就可以更改我帐户的状态(像是送钱给别人).这样来说,虚拟货币钱包实际上是管理和储存 key 的工具.这把 key 就是我的私钥,而帐户是从我的公钥衍伸出来. -Ledger 虚拟货币钱包- BIP32, BIP39, BIP44 BIP 全名是 Bitcoin Improvement P…
https://github.com/PhABC/EIPs/blob/is-valid-signature/EIPS/eip-1271.md Standard Signature Validation Method for Contracts eip title author discussions-to status type category created 1271 Standard Signature Validation Method for Contracts Francisco G…
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1078.md eip title author discussions-to status type category created requires 1078 Universal login / signup using ENS subdomains Alex Van de Sande <avsa@ethereum.org> https://ethereum-magicians.o…
1.使用HD钱包的好处(链接:https://www.jianshu.com/p/53405db83c16) 备份更容易 传统钱包的问题是一个钱包可能存有一堆密钥地址,每个地址都有一些比特币.这样备份钱包的时候,需要备份所有的密钥.但如果之后生成了一个新地址,你就需要重新备份一次.事实上,每次生成新地址的时候,你都需要做一次备份. HD钱包允许你从一个主(根)密钥创建海量的子密钥.这意味着,一旦你控制了主密钥,你就可以生成所有的子密钥,主密钥和子密钥形成树状结构.所以你就不需要频繁的备份钱包,你…
核心数据结构: core.types.transaction.go type Transaction struct { data txdata // caches hash atomic.Value size atomic.Value from atomic.Value } Transaction.data type txdata struct { AccountNonce uint64 `json:"nonce" gencodec:"required"` Pric…
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-100.md 创世纪区块的难度是131,072,有一个特殊的公式用来计算之后的每个块的难度.如果某个区块比前一个区块验证的更快,以太坊协议就会增加区块的难度. 区块的难度影响nonce,它是在挖矿时必须要使用proof-of-work算法来计算的一个hash值. 区块难度和nonce之间的关系用数学形式表达就是: Hd代表的是难度. 找到符合难度阈值的nonce唯一方法就是使用proof-…
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-191.md eip title author status type category created 191 Signed Data Standard Martin Holst Swende (@holiman), Nick Johnson <arachnid@notdot.net> Draft Standards Track ERC 2016-01-20 摘要 这个ERC提议了一个…
EIP 161: State trie clearing - makes it possible to remove a large number of empty accounts that were put in the state at very low cost as a result of earlier DoS attacks. With this EIP, 'empty' accounts are removed from the state whenever 'touched'…
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-725.md eip title author discussions-to status type category created 725 Proxy Identity Fabian Vogelsteller (@frozeman) https://github.com/ethereum/EIPs/issues/725 Draft Standards Track ERC 2017-10…
什么是ERC20 token 市面上出现了大量的用ETH做的代币,他们都遵守REC20协议,那么我们需要知道什么是REC20协议. 概述 token代表数字资产,具有价值,但是并不是都符合特定的规范. 基于ERC20的货币更容易互换,并且能够在Dapps上相同的工作. 新的标准可以让token更兼容,允许其他功能,包括投票标记化.操作更像一个投票操作 Token的持有人可以完全控制资产,遵守ERC20的token可以跟踪任何人在任何时间拥有多少token.基于eth合约的子货币,所以容易实施.只…
转:http://phrack.org/papers/attacking_javascript_engines.html Title : Attacking JavaScript Engines: A case study of JavaScriptCore and CVE-2016-4622 Author : saelo Date : October 27, 2016 |=-------------------------------------------------------------…
This issue has been observed in 2015.3, 2015.4, and 2015.4.1 builds of Vivado. When you create and add a Custom AXI Peripheral, the xparameters.h file which defines the base and high address of the custom IP peripheral is incorrect in SDK. For a Zynq…
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1.md 介绍了什么是EIP等等的详细信息: eip title status type author created 1 EIP Purpose and Guidelines Active Meta Martin Becze <mb@ethereum.org>, Hudson Jameson <hudson@ethereum.org>, and others https:/…
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-712.md eip title author discussions-to status type category created requires 712 Ethereum typed structured data hashing and signing Remco Bloemen <remco@wicked.ventures>, Leonid Logvinov <logv…
eip title author type category status created 170 Contract code size limit Vitalik Buterin Standards Track Core Final 2016-11-04 Hard fork Spurious Dragon Parameters FORK_BLKNUM: 2,675,000 CHAIN_ID: 1 (main net) Specification If block.number >= FORK_…
您可能想知道为什么VirtualAlloc在64K边界分配内存,即使页面粒度为4K. 你有Alpha AXP处理器,感谢你. 在Alpha AXP上,没有“加载32位整数”指令.要加载32位整数,实际上要加载两个16位整数并将它们组合起来. 因此,如果分配粒度小于64K,则重新定位在内存中的DLL 将需要每个可重定位地址两个修正:一个到高16位,一个到低16位.如果这改变了两半之间的进位或借位,事情会变得更糟.(例如,来自0x1234F000移动地址4K到0x12350000,这迫使这两个地址的…
一丶Switch Case语句在汇编中的第一种表达方式 (引导性跳转表) 第一种表达方式生成条件: case 个数偏少,那么汇编中将会生成引导性的跳转表,会做出 if else的情况(类似,但还是能分辨出来的) 1.高级代码: #include "stdafx.h" int main(int argc, char* argv[]) { switch(argc) { : printf("case 0\n"); break; : printf("case 1\…
背景:最近用到统计之类的复杂Sql比较多,有种"提笔忘字"的感觉,看书练习,举一反三,巩固加强. (一) <SQL进阶教程>学习记录--CASE (二) <SQL进阶教程>学习记录--GROUP BY.PARTITION BY 1.语法 两种写法:简单 CASE 表达式(simple case expression).搜索 CASE 表达式(searched case expression) -- 简单 CASE 表达式 CASE sex WHEN '1' TH…
Low-Level API These are advanced, low-level API features that should, for most people not be necessary to worry about. They are lightly documented here, and in the future will have more documentation, but the emphasis at this point is documenting the…
当你打开Visual Studio 2019 for Mac检查更新时,如果下载更新包很慢,可以尝试如下操作: 打开Finder(访达),找到~/Library/Caches/VisualStudio/8.0/TempDownload文件夹路径下的index.xml 使用XPath工具,用XPath表达式: //Url提取所有更新包的下载链接,然后用迅雷或IDM下载,再逐一安装更新即可. 截至2019.10.3 09:40,Visual Studio 2019 for Mac Preview通道…
Background C++ is one of the main development languages used by many of Google's open-source projects. As every C++ programmer knows, the language has many powerful features, but this power brings with it complexity, which in turn can make code more…
模拟PHP Memcache 类.当服务器没有开启Memcache扩展的时候.可以采用本类使用方法class_exists('Memcache') or include './Memcache.class.php';$mem = new Memcache;$mem->add('key','value');$mem->get('key') 目前已实现方法Memcache::connect ( string $host [, int $port ] )Memcache::get( string $…
前言 目前区块链是互联网中最最火的风口,没有之一.我周围的很多朋友也加入了“炒币”行列,但很不幸,几乎都被“割韭菜”了.而经过我的几天研究,发现,如果自己要发行一种空气币,简直太简单了.只需要下面几个步骤: 1.使用MetaMask 2.找Solidity代码模板 3.部署智能合约 4.空气币转账测试 一.MetaMask 在Chrome浏览器的网上应用店搜索MetaMask,如下图所示,如果搜到小狐狸logo的插件就对了,这就是以太坊浏览器(如果有无法打开Chrome网上应用店的朋友,就去搜索…
Google C++ Style Guide   Table of Contents Header Files Self-contained Headers The #define Guard Forward Declarations Inline Functions Names and Order of Includes Scoping Namespaces Unnamed Namespaces and Static Variables Nonmember, Static Member, an…
ERC165: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md 就是一种发布并能检测到一个智能合约实现了什么接口的标准 这么做的原因: it is sometimes useful to query whether a contract supports the interface and if yes, which version of the interface, in order to adapt the way i…
Providers A Provider abstracts a connection to the Ethereum blockchain, for issuing queries and sending signed state changing transactions. provider抽象到Ethereum区块链的连接,用于发出查询和发送签名状态更改交易. The EtherscanProvider and InfuraProvider offer the ability to con…
Abstract "HTML5 Differences from HTML4" describes the differences of the HTML5 specification from those of HTML4. Status of This Document This section describes the status of this document at the time of its publication. Other documents may supe…
vCard The Electronic Business Card Version 2.1 A versit Consortium Specification September 18, 1996 Copyrights © 1996, International Business Machines Corp., Lucent Technologies, Inc., and Siemens. All rights reserved. Permission is granted to copy a…
SQL return codes that are preceded by a minus sign (-) indicate that the SQL statement execution was unsuccessful. IBM DB2 SQL error code list 官方文档地址:https://www.ibm.com/support/knowledgecenter/SSEPEK_10.0.0/codes/src/tpc/db2z_n.html -007STATEMENT CO…