Skip to content

Commit

Permalink
Let users know that anchor peer tx is deprecated
Browse files Browse the repository at this point in the history
Signed-off-by: NIKHIL E GUPTA <negupta@us.ibm.com>
  • Loading branch information
NIKHIL E GUPTA authored and denyeart committed Apr 20, 2020
1 parent f69dc30 commit bdab474
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
14 changes: 9 additions & 5 deletions docs/source/commands/configtxgen.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,20 @@ for channel reconfiguration workflows, such as adding a member).
configtxgen -printOrg Org1
```

### Output anchor peer tx

Output a configuration update transaction to `anchor_peer_tx.pb` which sets the
anchor peers for organization Org1 as defined in profile
SampleSingleMSPChannelV1_1 based on `configtx.yaml`.
### Output anchor peer tx (deprecated)

Output a channel configuration update transaction `anchor_peer_tx.pb` based on
the anchor peers defined for Org1 and channel profile SampleSingleMSPChannelV1_1
in `configtx.yaml`. Transaction will set anchor peers for Org1 if no anchor peers
have been set on the channel.
```
configtxgen -outputAnchorPeersUpdate anchor_peer_tx.pb -profile SampleSingleMSPChannelV1_1 -asOrg Org1
```

The `-outputAnchorPeersUpdate` output flag has been deprecated. To set anchor
peers on the channel, use [configtxlator](configtxlator.html) to update the
channel configuration.

## Configuration

The `configtxgen` tool's output is largely controlled by the content of
Expand Down
14 changes: 9 additions & 5 deletions docs/wrappers/configtxgen_postscript.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,20 @@ for channel reconfiguration workflows, such as adding a member).
configtxgen -printOrg Org1
```

### Output anchor peer tx

Output a configuration update transaction to `anchor_peer_tx.pb` which sets the
anchor peers for organization Org1 as defined in profile
SampleSingleMSPChannelV1_1 based on `configtx.yaml`.
### Output anchor peer tx (deprecated)

Output a channel configuration update transaction `anchor_peer_tx.pb` based on
the anchor peers defined for Org1 and channel profile SampleSingleMSPChannelV1_1
in `configtx.yaml`. Transaction will set anchor peers for Org1 if no anchor peers
have been set on the channel.
```
configtxgen -outputAnchorPeersUpdate anchor_peer_tx.pb -profile SampleSingleMSPChannelV1_1 -asOrg Org1
```

The `-outputAnchorPeersUpdate` output flag has been deprecated. To set anchor
peers on the channel, use [configtxlator](configtxlator.html) to update the
channel configuration.

## Configuration

The `configtxgen` tool's output is largely controlled by the content of
Expand Down

0 comments on commit bdab474

Please sign in to comment.