-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-1443] Extend sharedconfig with BatchTimeout
https://jira.hyperledger.org/browse/FAB-1443 As things stand right now, the solo consenter uses the local config file to load the batchTimeout value. This however belongs to the shared config. This changeset: 1. Defines a `BatchTimeout` proto message (and a `BatchTimeout` key). 2. Extends the `sharedconfig.Manager` interface with a `BatchTimeout` getter. 3. Modifies the solo consenter so that it fetches the value from the `sharedconfig.Manager` (via the `ConsenterSupport` object). 4. Modifies the mock `sharedconfig` implementation accordingly. Change-Id: Ibb5c73733febd0d27f5d7eebfd6b3208864e659e Signed-off-by: Kostas Christidis <kostas@christidis.io>
- Loading branch information
1 parent
e757dbf
commit 8f1e830
Showing
9 changed files
with
169 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.