Skip to content

Commit

Permalink
[FAB-17428] Deprecate --outputAnchorPeersUpdate flag in configtxgen
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Cao <dcao@us.ibm.com>
  • Loading branch information
caod123 authored and mastersingh24 committed Jan 27, 2020
1 parent ded1729 commit 2777611
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/configtxgen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func main() {
flag.StringVar(&configPath, "configPath", "", "The path containing the configuration to use (if set)")
flag.StringVar(&inspectBlock, "inspectBlock", "", "Prints the configuration contained in the block at the specified path")
flag.StringVar(&inspectChannelCreateTx, "inspectChannelCreateTx", "", "Prints the configuration contained in the transaction at the specified path")
flag.StringVar(&outputAnchorPeersUpdate, "outputAnchorPeersUpdate", "", "Creates an config update to update an anchor peer (works only with the default channel creation, and only for the first update)")
flag.StringVar(&outputAnchorPeersUpdate, "outputAnchorPeersUpdate", "", "[DEPRECATED] Creates a config update to update an anchor peer (works only with the default channel creation, and only for the first update)")
flag.StringVar(&asOrg, "asOrg", "", "Performs the config generation as a particular organization (by name), only including values in the write set that org (likely) has privilege to set")
flag.StringVar(&printOrg, "printOrg", "", "Prints the definition of an organization as JSON. (useful for adding an org to a channel manually)")

Expand Down
6 changes: 6 additions & 0 deletions release_notes/v2.0.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ FAB-16477 and FAB-17116 The orderer config `general.genesismethod` and
`general.genesisfile` will be replaced by the new `general.bootstrapmethod` and
`general.bootstrapfile`.

FAB-17428 - The configtxgen flag `--outputAnchorPeersUpdate` is officially deprecated.
This flag was originally used for creating channel config updates to update an anchor peer
and only worked for the first update of the default channel creation. The flag will be
officially removed in FAB-17427 in favor of using the `configtx.yaml` for the default
channel configuration.

Known Vulnerabilities
---------------------
FAB-8664 - Peer should detect and react when its org has been removed
Expand Down

0 comments on commit 2777611

Please sign in to comment.