Hyperledger Cookbook by Xun (Brian) Wu

Hyperledger Cookbook by Xun (Brian) Wu

Author:Xun (Brian) Wu [Xun (Brian) Wu]
Language: eng
Format: epub
Tags: COM083000 - COMPUTERS / Security / Cryptography, COM043050 - COMPUTERS / Security / Networking, COM018000 - COMPUTERS / Data Processing
Publisher: Packt
Published: 2019-04-30T11:55:42+00:00


The SDK is installed at /usr/lib/python3/dist-packages/sawtooth_sdk.

How to do it...

Let's go through a step-by-step guide to implement a transaction processor. We will highlight the important code segments to explain the logic for each step and the full example code implementation can be downloaded from the GitHub repository.

Registering the transaction handler to the transaction processor

The main module to start the transaction processor and register the transaction handler for the example application is at sawtooth_mkt/processor/main.py. The steps to do this are as follows:

Instantiate the general transaction processor and set the validator connection URL:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.