上一页 1 ··· 41 42 43 44 45 46 47 48 49 ··· 79 下一页
摘要: 1. geth attachgeth attach ipc:\\.\pipe\geth.ipc2. "Error: insufficient funds for gas * price + value"networkId 不能为0 3. REMIX | Not possible to connect 阅读全文
posted @ 2019-04-30 19:24 雪溯 阅读(747) 评论(0) 推荐(0) 编辑
摘要: 题目 https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2637 题意 积木,有左视图和前视图,问最少几块积木 思路 明显,把前视图视作列,左视 阅读全文
posted @ 2019-04-12 22:21 雪溯 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 题目 https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2095 题意 球赛,n个球队,每两个之间赛两场,胜得三分,平得1分。梦之队是胜利场数最 阅读全文
posted @ 2019-04-12 21:54 雪溯 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 题目 https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1267 题意 田忌赛马,问最多能赢到多少钱?每局200元 思路 明显,把田忌的赛马排列 阅读全文
posted @ 2019-04-09 09:38 雪溯 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 题目 https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2384 题意 n个司机,n个白天路线,n个晚上路线,要求每个司机一个白天一个晚上路线。设司机2个路线 阅读全文
posted @ 2019-04-08 21:19 雪溯 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 定价两次-同一事件在确认前再次发生 改价失败-同一事件再次发生前就完成了流程 多人支付,总量不足-异步调用的问题,没能区别总成交量=目前已经完成的成交量+已经允许,但还没有callback的成交量,忽视了后面这一部分(Improper Check on Ether) 没有在异步调用时区别身份-异步调 阅读全文
posted @ 2019-03-27 11:52 雪溯 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 核心数据结构: core.types.transaction.go Transaction.data 辅助数据结构 core/tx_list.go txList txList.txs txSortedMap txSortedMap.index nonceHeap 类似的结构,txPricedList 阅读全文
posted @ 2019-03-22 13:46 雪溯 阅读(325) 评论(0) 推荐(0) 编辑
摘要: A: js指令转化为新transaction 在web3上操作流程 1. import to web3 2. connect to peers 3. read local key store 4. decrypt local key store 5. create a transaction obj 阅读全文
posted @ 2019-03-21 12:36 雪溯 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 首先从共识引擎-Engine开始记录 Engine是一个独立于具体算法的共识引擎接口 Author(header) (common.Address, error) 返回打包header对应的区块的矿工地址 VerifyHeader(chain ChainReader, header, seal bo 阅读全文
posted @ 2019-03-20 15:01 雪溯 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1. 整体概览 makefile CANDY: .PHONY: geth android ios geth-cross swarm evm all test clean 已知phony 目标并非是由其它文件生成的实际文件,make 会跳过隐含规则搜索。这就是声明phony 目标会改善性能的原因,即使 阅读全文
posted @ 2019-03-16 20:43 雪溯 阅读(601) 评论(0) 推荐(0) 编辑
上一页 1 ··· 41 42 43 44 45 46 47 48 49 ··· 79 下一页