- 03 Aug, 2016 6 commits
-
-
Srinivasan Muralidharan authored
Chaincode events were originally stored in TransactionResults in NonHashData(see fabric.proto). TransactionResults was removed as part of removing error transactions from ledger which broke sending of chaincode events. This is fixed in the patch which stores chaincode events directly in NonHashData. Sample is also enhanced. Change-Id: Ifee8facb2e4760e878f15716af0e48346536c476 Signed-off-by:
Srinivasan Muralidharan <muralisr@us.ibm.com>
-
Jonathan Levi authored
-
Jonathan Levi authored
-
Brad Gorman authored
Vendoring doesn't work unless you run from $GOPATH/src/hyperledger/fabric. Previous fix attempted to correct package name assumptions, but this fix works better and won't keep breaking. Change-Id: Ib2489eb98d363be6a51a4fad5022f6b5e4d7f784 Signed-off-by:
Bradley Gorman <bgorman@au1.ibm.com>
-
Baohua Yang authored
Remove the period at the head line, and make it more readable. Change-Id: I09956d5e289cc6653f5830684eb7ffd4db09d7d3 Signed-off-by:
Baohua Yang <baohyang@cn.ibm.com>
-
Jonathan Levi authored
-
- 02 Aug, 2016 8 commits
-
-
Sheehan Anderson authored
-
Greg Haskins authored
-
agaragiola authored
Before start the ACA server the property "aca.enabled" is read and the ACA server is started only if "aca.enabled = true" avoiding resource consuming and confusing log in the console. Fixes: #2348 https://github.com/hyperledger/fabric/issues/2348 Change-Id: If90af171b1056b8c142db444b8476f68908159ea Signed-off-by:
agaragiola <garagiol@ar.ibm.com>
-
Sheehan Anderson authored
-
sheehan authored
The proto build script was broken with the introduction of Java chaincode. PR #2162 resolved this and simplified the script. Due to the script simplification, there were a few changes in the .pb.go files after they were recompiled. It was also necessary to change the package name of dah.proto to avoid compile errors after compiling with the updated script. Change-Id: Ie009c0b790db859e356645dd204082641ee7eab5 Signed-off-by:
Sheehan Anderson <sheehan@us.ibm.com>
-
Julian Carrivick authored
Moving PR #2317 from github. Split peer/main.go into multiple packages desginated by each of the peer commands. The current file is >1100 lines and this will improve maintainability and pave the way for tests to be written. Also break up each of the subcommands into their own files, pending tests to be written so they can be disentangled from the global variables and also placed into seperate packages. Change-Id: I4549a44d20b9ce51f6fcd2d145dcf75f96c6476e Signed-off-by:
Julian Carrivick <cjulian@au1.ibm.com>
-
jiangyaoguo authored
This commit is migrated from https://github.com/hyperledger/fabric/pull/2322 . Change-Id: Id205b5c74be0975d3c2f1648ca40b8dd210cebb7 Signed-off-by:
jiangyaoguo <jiangyaoguo@gmail.com>
-
Baohua Yang authored
Move the default clone server from github to gerrit. Change-Id: If9d090f95d5b18054b5237d2905af88b17247901 Signed-off-by:
Baohua Yang <baohyang@cn.ibm.com>
-
- 01 Aug, 2016 7 commits
-
-
Sheehan Anderson authored
-
grapebaba authored
Change-Id: I5d8e3888d30e9a0ecba73f275b50c0677859aa71 Signed-off-by:
grapebaba <281165273@qq.com>
-
Jonathan Levi authored
-
Jonathan Levi authored
-
Jonathan Levi authored
-
Sheehan Anderson authored
-
grapebaba authored
Currently db will open when GetDBHandle method is invoked first time, so GetDBHandle method needs to use mutex. This patch makes db open and close in its lifecycle methods Start and Stop, invokes Start only when peer starts and invokes Stop when peer stops. After that, methods in db do not need to support concurrency. Change-Id: Id8612f2a846c5d626bd42c5cd4ae482076f6a975 Signed-off-by:
grapebaba <281165273@qq.com>
-
- 31 Jul, 2016 4 commits
-
-
Christopher Ferris authored
-
Baohua Yang authored
Add more popular way to usage git review with automatic push to corresponding branch and to support update patch. Change-Id: Ica27111dd4a26bae89f022593320e4810104325b Signed-off-by:
Baohua Yang <baohyang@cn.ibm.com>
-
Christopher Ferris authored
reassign port numbers to 7050-7060 range to avoid conflicts with Windows port usage (5000). Fixes #2283 https://github.com/hyperledger/fabric/issues/2283 Port assignments as follows: 7050 REST 7051 peer gRPC 7052 peer CLI 7053 peer events 7054 eCAP 7055 eCAA 7056 tCAP 7057 tCAA 7058 tlsCAP 7059 tlsCAA NOTE: when this PR lands, it will require people to rebuild their Vagrant development environment(s), so we will want to make an announcement. Also @bcbrock recommended that we eventually seek a block of ports from IANA. We should hold off on that until we sort out Consensus next. Change-Id: I1e54d45589e155a69a2a779b1dac447d5473cf03 Signed-off-by:
Christopher Ferris <chrisfer@us.ibm.com>
-
Christopher Ferris authored
Moved logging modules from core to its own package so it could be shared, renamed flogging. Fixes #897 https://github.com/hyperledger/fabric/issues/897 patch set from https://github.com/hyperledger/fabric/pull/2300 address review comment rebased Change-Id: I1124bf8f771dbf4d34cc836437caa1d5526f4f43 Signed-off-by:
Christopher Ferris <chrisfer@us.ibm.com>
-
- 30 Jul, 2016 9 commits
-
-
Christopher Ferris authored
-
Christopher Ferris authored
-
Baohua Yang authored
Existing go-dockerclient pkg does not support latest docker API, e.g., Docker 1.12. This patch will update docker client pkg to latest version, and update related dependencies, including: * some sub pkgs of github.com/docker/docker * github.com/docker/engine-api/types/filters * github.com/docker/engine-api/types/versions * github.com/fsouza/go-dockerclient * github.com/docker/go-units * github.com/hashicorp/go-cleanhttp * github.com/opencontainers/runc * github.com/Sirupsen/logrus On the other hand, to meet the usage of go vendor, move docker client dependent pkgs to outside for easier further updating. This patch also fix #2044 when using the Docker 1.12 client. Change-Id: Id9793f5acad05358476cdb2142551b4c41a4c968 Signed-off-by:
Baohua Yang <baohyang@cn.ibm.com>
-
Kostas Christidis authored
Change-Id: I2b641f44231ddc6b4dc583e501ae2339f79b9a81 Signed-off-by:
Kostas Christidis <kostas@christidis.io>
-
Baohua Yang authored
Update doc in the protos pkg, to match with the latest code. Change-Id: Ic0aeabd07b5cad38fe897ff8f70687863c7471a7 Signed-off-by:
Baohua Yang <baohyang@cn.ibm.com>
-
Baohua Yang authored
Fix the typos and code expression in the block-listener doc. Change-Id: I059ce8dca2d919839d046ac037ef47dd87b10c07 Signed-off-by:
Baohua Yang <baohyang@cn.ibm.com>
-
Jonathan Levi authored
-
Christopher Ferris authored
Fixes golint errors in core and peer package revert reverted change address review comments Change-Id: I6c5a8ade6c7be80acfabe3d4198a3489a2882904 Signed-off-by:
Christopher Ferris <chrisfer@us.ibm.com>
-
Jonathan Levi authored
-
- 29 Jul, 2016 6 commits
-
-
Jonathan Levi authored
-
Christopher Ferris authored
-
rameshthoomu authored
Exit, if the peer and membersrvc executables doesn't exist where they belong to Bug-Url: https://github.com/hyperledger/fabric/issues/2272 Change-Id: I15be6e8f933c2a5024150a267bc9b2557e5d9672 Signed-off-by:
rameshthoomu <rameshbabu.thoomu@gmail.com>
-
Christopher Ferris authored
With the transition from GitHub to Gerrit for source control needed to update the documentation that specifically pertained to GitHub workflow. Additional refactoring also made sense to eliminate additional redundancy. Address review comments on patchset #2 fixed mkdocs.yml Change-Id: Iea06647d9c413200fe7313e56aa0cf6cad8c52e7 Signed-off-by:
Christopher Ferris <chrisfer@us.ibm.com>
-
agaragiola authored
-Rename example to 'attributes_to_state' avoiding 'chaincode_example_XX' pattern. -Rename ambiguous functions "query" and "invoke" to "read" and "submit" respectively. -Fix a compilation error. Why: Fixes #2235 https://github.com/hyperledger/fabric/issues/2235 Checklist: X I have added a Signed-off-by. X This change requires no new documentation. X This change requires no new tests. X I have run golint and have fixed valid warnings in code I have added or modified. Change-Id: Ib15f49d91620ec633019115f81298e95d3473928 Signed-off-by:
agaragiola <garagiol@ar.ibm.com>
-
Jonathan Levi authored
-