Samples for Hyperledger Fabric
Find a file
Yuki Kondo f26477c99d [FAB-11796]high-throughput:Remove unnecessary prunesafe
fabric-samples/high-throughput is a sample Chaincode for
delta-based transaction model. When executing `update`, a new delta
for a particular variable is updated to the ledger. The sum of a
variable is updated to ledger by deleting all of its delta rows
while computing the sum. The current Chaincode has two types of
pruning functions. However, there is no difference in terms of
Fabric's transaction model.

This CR adds the following changes.
- Remove unnecessary `pruneSafe` function.
- Change the name of function from `pruneFast` to `prune`.
- Update or delete related scripts.
- Improve a related documentation.

FAB-11796 #done

Change-Id: I5daa21554e53d77b7b5081f02a2846a85ec06f9a
Signed-off-by: Yuki Kondo <yuki.kondo@hal.hitachi.com>
2019-02-15 18:27:15 +00:00
.github Configure Stale ProBot 2018-12-30 02:02:14 -08:00
balance-transfer FAB-13372 Fabric-Samples return error msg 2019-01-04 14:23:38 +00:00
basic-network [FAB-12878] Add fabcar app using new prog model (TS) 2018-12-07 22:18:37 +00:00
chaincode [FAB-13862] Rename example02 ABstore 2019-01-30 09:02:23 +01:00
chaincode-docker-devmode [FAB-13862] Rename example02 ABstore 2019-01-30 09:02:23 +01:00
commercial-paper [FAB-13862] Rename example02 ABstore 2019-01-30 09:02:23 +01:00
fabcar [FAB-13126] Align fabric-samples with 1.4.0-rc1 release 2018-12-12 07:55:08 -05:00
first-network [FAB-13862] Rename example02 ABstore 2019-01-30 09:02:23 +01:00
high-throughput [FAB-11796]high-throughput:Remove unnecessary prunesafe 2019-02-15 18:27:15 +00:00
interest_rate_swaps [FAB-11951] Interest-rate swap example for SBE 2018-12-26 10:30:57 -05:00
scripts FABC-781 Remove fabric-ca sample 2019-01-04 09:38:39 -05:00
.gitignore [FAB-9330] Refactor top-level .gitignore into subdirs 2018-04-04 06:26:20 -04:00
.gitreview [FAB-9893] Add .gitreview file for quicker Gerrit setup 2018-05-04 11:46:33 -04:00
CODE_OF_CONDUCT.md FAB-9362 add CONTRIBUTING.md and CODE_OF_CONDUCT.md 2018-04-04 19:25:55 -04:00
CONTRIBUTING.md FAB-9362 add CONTRIBUTING.md and CODE_OF_CONDUCT.md 2018-04-04 19:25:55 -04:00
Jenkinsfile FAB-13433 - Update Jenkinsfile configuration 2019-01-02 22:54:53 -05:00
LICENSE FAB-4853 initial content 2017-06-21 07:30:04 +08:00
MAINTAINERS.md FAB-4853 initial content 2017-06-21 07:30:04 +08:00
README.md [FAB-13407] Align fabric-samples with 1.4.0-rc2 release 2018-12-20 17:11:36 -05:00

Hyperledger Fabric Samples

Please visit the installation instructions to ensure you have the correct prerequisites installed. Please use the version of the documentation that matches the version of the software you intend to use to ensure alignment.

Download Binaries and Docker Images

The scripts/bootstrap.sh script will preload all of the requisite docker images for Hyperledger Fabric and tag them with the 'latest' tag. Optionally, specify a version for fabric, fabric-ca and thirdparty images. Default versions are 1.4.0-rc2, 1.4.0-rc2 and 0.4.14 respectively.

./scripts/bootstrap.sh [version] [ca version] [thirdparty_version]

License

Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Hyperledger Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.