- 28 Feb, 2019 1 commit
-
-
Gari Singh authored
When peers communicate with other peers or orderers, the list of trusted CAs for TLS communication is derived from the channel configs. For the peer, the list is the aggregate of all roots across all channels. For the orderer, the list is per channel. This CR adds the option to specify a static list of CAs via peer.tls.serverRootCAs.files in core.yaml and a flag peer.deliveryclient.staticRootsEnabled for the deliveryclient to use. Note: the properties are intentionally not being added to the sample config because they should not be used in most situations. Fixes FAB-14420 Change-Id: Ic381dc99bbb6dc5f7ceafd93738b34c5e24fe60c Signed-off-by:
Gari Singh <gari.r.singh@gmail.com>
-
- 15 Jan, 2019 1 commit
-
-
Saad Karim authored
Added health check for CouchDB Change-Id: If2d32b2197162b5f04997ab71ba2d292701cd0b9 Signed-off-by:
Saad Karim <skarim@us.ibm.com> Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com> (cherry picked from commit 8768567a9c626b2feb533f3c4909d2243d44aac9)
-
- 12 Jan, 2019 1 commit
-
-
muralisr authored
This CR adds endorser metrics - #proposals received - #successful proposals - #proposals that failed validation - #proposals that failed due to tx dup. - #proposals that failed due to endorsement failures - #proposals that failed chaincode instantiations - #duration of successful proposals Metrics from other parts in the stack such as chaincode are left to those components. FAB-13088 #done Change-Id: I16a472540b2cd6e31c93d89cce9b5e69940d2db4 Signed-off-by:
muralisr <srinivasan.muralidharan99@gmail.com> Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com> (cherry picked from commit 2d2cd3366bf7693e5e7545682fe1e55ed913512f)
-
- 09 Jan, 2019 2 commits
-
-
Matthew Sykes authored
Created counters to track the number of log records checked and written. (filtered = checked - written) Change-Id: I1b4dcbdc636891e8deca41440c40d58415edc438 Signed-off-by:
Saad Karim <skarim@us.ibm.com> Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com> (cherry picked from commit 312f11343942d312510027a8a4787cf3be98fce1)
-
Matthew Sykes authored
Change-Id: I912f3a28525c6583caee451adfd25578e7c299ad Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com> (cherry picked from commit 33800edf869bb3127992a14ec01e4890365f641a)
-
- 18 Dec, 2018 1 commit
-
-
Will Lahti authored
FAB-13190 #done Change-Id: I038119a3f5e7c70164093788c4186ad6f50aa625 Signed-off-by:
Will Lahti <wtlahti@us.ibm.com> Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com> (cherry picked from commit 969faf9f70ce89cfa430d333a8c5f2704d8e11c7)
-
- 07 Dec, 2018 1 commit
-
-
Matthew Sykes authored
FAB-13084 #done Change-Id: I808e7566227a59fa55a408c8b1e5e618f740218d Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
- 30 Nov, 2018 2 commits
-
-
wenjian3 authored
Before v1.4 cut, disable prover service and invalidate token tx After v1.4 cut, restore the code. Change-Id: I5e123c59b8fd0416335ec44ceee5f3fa75394495 Signed-off-by:
Wenjian Qiao <wenjianq@gmail.com>
-
Matthew Sykes authored
FAB-13083 #done Change-Id: I6ee6b1e4e30b5e3b7fdb7b0b1c145f33acfd92af Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
- 29 Nov, 2018 1 commit
-
-
Will Lahti authored
This CR adds metrics for streams opened/closed, requests received/completed, and blocks sent. FAB-9570 #done Change-Id: I8ffc8c1107bbe31dd0b1e7f8447e8424363ca14d Signed-off-by:
Will Lahti <wtlahti@us.ibm.com> Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
- 27 Nov, 2018 1 commit
-
-
Matthew Sykes authored
Change-Id: I0f0a95922bc914a814af1ad4fdc4cd57284cc80c Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
- 21 Nov, 2018 2 commits
-
-
wenjian3 authored
- Add CapabilityChecker interface and implementation - ProcessCommand checks if FabToken capability is enabled and returns error response if not enabled Change-Id: I74d4b4222507c169b44d7aee87f58c7a8623f905 Signed-off-by:
Wenjian Qiao <wenjianq@gmail.com>
-
wenjian3 authored
- Register prover grpc service at peer startup time - Define token resources and policies - Leverage ACLProvider for PolicyChecker Change-Id: Ieb0c69c86fcd90985c2f51583d8886178f7e6012 Signed-off-by:
Wenjian Qiao <wenjianq@gmail.com>
-
- 20 Nov, 2018 1 commit
-
-
Will Lahti authored
Add metric for chaincode container build duration. FAB-12868 #done Change-Id: Ie28259ef3d6214616f6ef8d4eb5bbcdb13a4c599 Signed-off-by:
Will Lahti <wtlahti@us.ibm.com> Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
- 19 Nov, 2018 1 commit
-
-
Saad Karim authored
SIGUSR1 is not available in windows, added build tags to build code for windows that does not use that signal. Change-Id: I57009c6c23c2bbe4f6bc39698d5fd75b8719faeb Signed-off-by:
Saad Karim <skarim@us.ibm.com>
-
- 16 Nov, 2018 3 commits
-
-
Will Lahti authored
Adds metrics for transactions received, completed, and transaction duration. FAB-12797 #done Change-Id: I4bd48ed57e37e2be8ac95319a996889d61fa09e2 Signed-off-by:
Will Lahti <wtlahti@us.ibm.com> Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
Saad Karim authored
Collect information about all of the currently executing go routines within a process by handling SIGUSR1. SIGUSR1 will not terminate the process. Change-Id: Ide5a26a8f1ee9bae93d3c6ba4b0b178661cbfd6c Signed-off-by:
Saad Karim <skarim@us.ibm.com> Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
Matthew Sykes authored
Change-Id: I79a199f192370c8153b3e32485aa11215332edb8 Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
- 14 Nov, 2018 1 commit
-
-
manish authored
This CR introduces a dependency of ledger package on metrics provider and passes down the metrics provider from peer to ledgermgmt Change-Id: I0af8c4b685996c0fad610c17249f9307bf523237 Signed-off-by:
manish <manish.sethi@gmail.com>
-
- 09 Nov, 2018 1 commit
-
-
Matthew Sykes authored
This introduces the configuration for metrics in the peer, initializes the metrics provider, wires grpc interceptors for metrics and logging, and establishes basic integration tests to ensure some metrics are exported by the peer. FAB-12713 #done FAB-12711 #done Change-Id: I47f44df4e11e3aeaaf401cb6a200bd4161a6e4db Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
- 30 Oct, 2018 1 commit
-
-
Will Lahti authored
FAB-12610 #done Change-Id: If71efa93555adb3445945c0324acfda4cc262974 Signed-off-by:
Will Lahti <wtlahti@us.ibm.com>
-
- 25 Oct, 2018 1 commit
-
-
Hui Kang authored
orderingEndpoint is used nowhere in the code Change-Id: I56db43d3e76e2ccb5d03895045f7c1f90fcac7d5 Signed-off-by:
Hui Kang <kangh@us.ibm.com>
-
- 19 Oct, 2018 1 commit
-
-
Saad Karim authored
A new environment variable (FABRIC_LOGGING_SPEC) has been added, and support for the CORE_LOGGING_LEVEL and log module overrides has been removed. FAB-12487 #done Change-Id: Ia8d72b3b41dd5ac9e37747209fdc51c9014b2811 Signed-off-by:
Saad Karim <skarim@us.ibm.com> Signed-off-by:
Will Lahti <wtlahti@us.ibm.com>
-
- 14 Oct, 2018 1 commit
-
-
Matthew Sykes authored
Change-Id: Ieabe30f932ee981514b3f3046990c99041c2a88d Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
- 28 Sep, 2018 1 commit
-
-
Matthew Sykes authored
Change-Id: If235a1cb7a678569285b6d4678cc6f4fb7a98108 Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
- 26 Sep, 2018 2 commits
-
-
Jason Yellick authored
This CR exposes the underlying peer function of persisting a chaincode to disk through the new lifecycle SCC. Makes #Done FAB-10725 Change-Id: Idab96e10a8f1377265b108087c7ed62c3ab641be Signed-off-by:
Jason Yellick <jyellick@us.ibm.com>
-
nirro authored
had to refactor a bit, as membership provider creation was dependant on collectionStore, which is created per channel, therefore membership provider was also created per channel. changed it such that we can create a single membership provider FAB-11780 - #done Change-Id: I2c44ebf00d6eea1fc1d713b3168328f95074c6b5 Signed-off-by:
nirro <nirro@il.ibm.com>
-
- 05 Sep, 2018 1 commit
-
-
Alessandro Sorniotti authored
Make sure that a chaincode can invoke the new metadata-related getters and setters only if the channel operates in 1.2 mode. Change-Id: I15e77cd88a6e7ef0e802b02743a7e3cbdcc30ee3 Signed-off-by:
Alessandro Sorniotti <ale.linux@sopit.net> Signed-off-by:
Matthias Neugschwandtner <eug@zurich.ibm.com>
-
- 04 Sep, 2018 1 commit
-
-
Gari Singh authored
Add an error level log message when the GRPCServer rejects TLS client connections FAB-11855 #done Change-Id: I8191670c5e2237bcbab200eab3547e2be0d5f16d Signed-off-by:
Gari Singh <gari.r.singh@gmail.com>
-
- 29 Aug, 2018 1 commit
-
-
Baohua Yang authored
This patchset cleans up the peer start process by moving the chaincode service separately in a single method. There will be several following-up patchsets to improve the entire start process of the peer node. FAB-11536 #done Change-Id: I7d3eccd3dcdf3835fc02ca4ab2ac1ba9a84dca5f Signed-off-by:
Baohua Yang <yangbaohua@gmail.com>
-
- 27 Aug, 2018 1 commit
-
-
Matthew Sykes authored
It's dead. Change-Id: Idcaa0087b968c9f2ae48049081537bd246c9bb85 Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
- 24 Aug, 2018 3 commits
-
-
Matthew Sykes authored
Replace go-logging with a zap based implementation. The implementation is mostly compatible with the legacy format but differs in a two key ways: 1. CRITICAL and NOTICE log levels no longer exist. Calls to Critical get mapped to error and NOTICE gets mapped to INFO. The methods associated with these levels will be removed in a future CR. 2. The log level constants are now sourced from the zap/zapcore packages. These values are incompatible wit the go-logging constants. Please be sure to use the appropriate constant when necessary. The existing go-logging package is still used by the chaincode shim to reduce the risk of negatively impacting legacy chaincode. Change-Id: Iaf5fac807244883a8285892ccd350c5256959782 Signed-off-by:
Matthew Sykes <sykesmat@us.ibm.com>
-
manish authored
This CR implements interface 'DeployedChaincodeInfoProvider' based on the current logic of how lscc maintains chaincode and collection configuration information FAB-11563 #done Change-Id: I2ca75040e3c219b353c3140d2f326e9bc74898e6 Signed-off-by:
manish <manish.sethi@gmail.com>
-
manish authored
This CR - Introduces an interface 'DeployedChaincodeInfoProvider' for decoupling the ledger code from chaincode lifecycle code - Declares ledger's dependency on this interface explicitly. The intent is that ledger code will use this dependency for listening to chaincode lifecycle events and for querying the information about the deployed chaicodes - Introduces a convenient function in legder that other modules can use directly to get information about the chaincodes FAB-11562 #done Change-Id: I3eb0e798f00ceb18203128fd9da93822fc2bca2b Signed-off-by:
manish <manish.sethi@gmail.com>
-
- 20 Aug, 2018 1 commit
-
-
Baohua Yang authored
This patchset cleans up the peer start process by moving the gossip service init process separately in a single method. There will be several following-up patchsets to improve the entire start process of the peer node. Keep each change small and focused. Change-Id: Id59ba860e140f354991b3874c140993c39a190cb Signed-off-by:
Baohua Yang <yangbaohua@gmail.com>
-
- 16 Aug, 2018 1 commit
-
-
Jason Yellick authored
This CR simply bootstraps a new SCC called '+lifecycle' which actually does nothing. It simply implements the chaincode interface, but always returns error on invoke. Makes #Done FAB-11519 Change-Id: I81cb11b4494a811c5e8653a144238cc934abe1d9 Signed-off-by:
Jason Yellick <jyellick@us.ibm.com>
-
- 15 Aug, 2018 1 commit
-
-
Will Lahti authored
This CR enables the cclifecycle to utilize both the old ChaincodeDeploymentSpec package as well as the new ChaincodeInstallPackage by adding a function to list installed chaincodes to the persistence package provider. It first searches both the persistence store as well as the ccprovider. FAB-11211 #done Change-Id: I7869f0fa10f884daec1adb5616e2cd11edfb07d9 Signed-off-by:
Will Lahti <wtlahti@us.ibm.com>
-
- 31 Jul, 2018 1 commit
-
-
Will Lahti authored
This CR adds a new shim package provider which retrieves the code package for a given chaincode name/version and updates the peer to use it at startup. It first searches for a ChaincodeInstallPackage with the given name/version and falls back to searching for a ChaincodeDeploymentSpec. FAB-11201 #done Change-Id: I064dc2b364a1c8e1280ec1f2b3ffc21c8b3e2e96 Signed-off-by:
Will Lahti <wtlahti@us.ibm.com>
-
- 26 Jul, 2018 1 commit
-
-
Will Lahti authored
This CR removes the EventHub and all references to it from the peer. FAB-11123 #done Change-Id: I6cac64a43d29aab1ed3a3b6986e040410ab9868d Signed-off-by:
Will Lahti <wtlahti@us.ibm.com>
-
- 16 Jul, 2018 1 commit
-
-
Jason Yellick authored
Per comments left in the ccprovider package, the chaincode cache was always intended to be on by default (in fact, in production, it is always enabled). However, the option to toggle it on and off was preserved for some poorly written tests. Since there seem to be no tests which fail when the cache is enabled, removing this option entirely. Change-Id: Id2a74c538e9e3c72b2bafd9bb324792da2040bb4 Signed-off-by:
Jason Yellick <jyellick@us.ibm.com>
-