首页 文章 精选 留言 我的

精选列表

搜索[operators],共294篇文章
优秀的个人博客,低调大师

Chaincode for Operators(运营商的链码手册)

原文地址:https://hyperledger-fabric.readthedocs.io/en/latest/chaincode4noah.html 链码是什么? Chaincode is a program, written in Go, and eventually in other programming languages such as Java, that implements a prescribed interface. Chaincode runs in a secured Docker container isolated from the endorsing peer process. Chaincode initializes and manages ledger state through transactions submitted by applications.链码是用Go编写的程序,最终用Java等其他编程语言编写,实现指定的接口。链码运行在与背书对等进程隔离的安全Docker容器中。链码通过应用程序提交的事务初始化和管理分类帐状态。 A chaincode typically handles business logic agreed to by members of the network, so it may be considered as a “smart contract”. State created by a chaincode is scoped exclusively to that chaincode and can’t be accessed directly by another chaincode. However, within the same network, given the appropriate permission a chaincode may invoke another chaincode to access its state.链码通常处理网络成员同意的业务逻辑,因此可以将其视为“智能契约”。由链码创建的状态仅限定于该链码,不能被另一个链码直接访问。但是,在相同的网络中,在适当的权限下,chaincode可以调用另一个chaincode来访问它的状态。 In the following sections, we will explore chaincode through the eyes of a blockchain network operator, Noah. For Noah’s interests, we will focus on chaincode lifecycle operations; the process of packaging, installing, instantiating and upgrading the chaincode as a function of the chaincode’s operational lifecycle within a blockchain network.在下面的部分中,我们将通过区块链网络运营商Noah的视角来研究链路代码。为了挪亚的利益,我们将关注链码生命周期操作;将链码包装、安装、实例化和升级为区块链网络中链码操作生命周期的函数的过程。 链码生命周期 The Hyperledger Fabric API enables interaction with the various nodes in a blockchain network - the peers, orderers and MSPs - and it also allows one to package, install, instantiate and upgrade chaincode on the endorsing peer nodes. The Hyperledger Fabric language-specific SDKs abstract the specifics of the Hyperledger Fabric API to facilitate application development, though it can be used to manage a chaincode’s lifecycle. Additionally, the Hyperledger Fabric API can be accessed directly via the CLI, which we will use in this document.Hyperledger Fabric API允许与区块链网络中的各个节点(对等节点、定序者和MSPs)进行交互,并且它还允许在已背书的对等节点上打包、安装、实例化和升级链码。特定于Hyperledger Fabric语言的SDKs抽象了Hyperledger Fabric API的细节以促进应用程序开发,尽管它可以用来管理一个链代码的生命周期。此外,可以通过CLI直接访问Hyperledger Fabric API,我们将在本文中使用CLI。We provide four commands to manage a chaincode’s lifecycle: package, install, instantiate, and upgrade. In a future release, we are considering adding stop and start transactions to disable and re-enable a chaincode without having to actually uninstall it. After a chaincode has been successfully installed and instantiated, the chaincode is active (running) and can process transactions via the invoke transaction. A chaincode may be upgraded any time after it has been installed.我们提供了四个命令来管理链码的生命周期:打包、安装、实例化和升级。在未来的版本中,我们正在考虑添加stop和start事务来禁用和重新启用链码,而不必真正卸载它。在成功安装和实例化链码之后,链码是活动的(正在运行),并且可以通过invoke事务处理事务。链码在安装后可以随时升级。 打包 安装 实例化 升级

优秀的个人博客,低调大师

书籍:python图像处理 Image Operators - Image Processing in Python - 2019

简介 几十年来,研究人员一直在开发算法来操纵和分析图像。由此,一组通用的图像工具现在出现在许多高级编程语言中。因此,多年来用户所需的编码量显着减少。虽然用于图像分析的库与一个通用工具包合并,但图像分析的语言仍然停滞不前。通常,分析协议的文本描述比执行过程所需的计算机代码消耗更多的空间。此外,文本解释有时模糊或不完整。本书为图像处理领域提供了精确的数学语言。定义的运算符直接对应于标准库例程,极大地方便了数学描述和计算机脚本之间的转换。本文以Python 3示例的形式呈现。本文将为图像处理提供统一的语言为伴随Python(R)脚本提供理论基础,以精确描述图像处理应用程序中的步骤将介绍脚本与通过操作符的理论之间的联系所有章节将包含理论,运算符等价,示例, Python(R)代码和练习 出版社: Productivity Press (201

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册