上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 27 下一页
摘要: https://hyperledger-fabric.readthedocs.io/en/latest/tutorials.html Tutorials(教程) ​ Application developers can use the Fabric tutorials to get started 阅读全文
posted @ 2021-05-30 18:17 TR_Goldfish 阅读(40) 评论(0) 推荐(0) 编辑
摘要: https://hyperledger-fabric.readthedocs.io/en/latest/channels.html Channels A Hyperledger Fabric channel is a private “subnet” of communication between 阅读全文
posted @ 2021-05-30 17:12 TR_Goldfish 阅读(38) 评论(0) 推荐(0) 编辑
摘要: https://hyperledger-fabric.readthedocs.io/en/latest/readwrite.html Read-Write set semantics This document discusses the details of the current impleme 阅读全文
posted @ 2021-05-29 11:16 TR_Goldfish 阅读(53) 评论(0) 推荐(0) 编辑
摘要: https://hyperledger-fabric.readthedocs.io/en/latest/txflow.html Transaction Flow This document outlines the transactional mechanics that take place du 阅读全文
posted @ 2021-05-28 22:06 TR_Goldfish 阅读(52) 评论(0) 推荐(0) 编辑
摘要: https://www.php.cn/be/go/441360.html 阅读全文
posted @ 2021-05-20 15:47 TR_Goldfish 阅读(67) 评论(0) 推荐(0) 编辑
摘要: master和worker并不知道他们执行了什么,他们只是在执行 用户并不知道分布式具体是怎么实现的,对他而言写好map、reduce即可 mapreduce是不与具体任务耦合的 map、reduce就只是一个函数,他们有他们自己的返回值,仅此而已 shuffles GFS和Mapreduce混用减 阅读全文
posted @ 2021-05-08 20:23 TR_Goldfish 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 在Go中函数也是一种变量,我们可以通过type来定义它,它的类型就是所有拥有相同的参数,相同的返回值的一种类型,函数当做值和类型在我们写一些通用接口的时候非常有用 通过下面这个例子我们可以看到testInt类型是一个函数类型, 然后两个filter函数的参数和返回值与testInt类型一样的 但是我 阅读全文
posted @ 2021-05-03 14:05 TR_Goldfish 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 在linux中,利用man查看某个命令的使用手册的时候,该命令参数通常会有-和--两种情况。通常而言,-说明参数是字符形式,后面接的是单字母命令。而--说明参数是字符串形式,对应相应-命令的全称,两者是等价的,如 xx -h 和 xx --help。 --参数:--后面通常接的是字符串。通常情况参数 阅读全文
posted @ 2021-05-01 20:53 TR_Goldfish 阅读(541) 评论(0) 推荐(0) 编辑
摘要: Go语言引用传递与值传递 GO中只有值传递,没有引用传递 所谓值传递,就是实参通过拷贝将自身内容传递给形参。也就是将传递的内容拷贝一份,给函数。所以函数外和函数里对这个参数地址求值,应该是不一样的。 证明如下: func main() { slice := []int{0,1,2,3} m := m 阅读全文
posted @ 2021-04-20 21:45 TR_Goldfish 阅读(1186) 评论(0) 推荐(0) 编辑
摘要: runtime.Gosched(),用于让出CPU时间片,让出当前goroutine的执行权限,调度器安排其它等待的任务运行,并在下次某个时候从该位置恢复执行。这就像跑接力赛,A跑了一会碰到代码runtime.Gosched()就把接力棒交给B了,A歇着了,B继续跑。 runtime.Goexit( 阅读全文
posted @ 2021-04-20 20:38 TR_Goldfish 阅读(538) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 27 下一页