Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
zistvan-public
StreamChain Prototype
Commits
227113df
Commit
227113df
authored
Jul 08, 2018
by
Gari Singh
Committed by
Gerrit Code Review
Jul 08, 2018
Browse files
Merge "[FAB-11050] Add OutputAnchorPeersUpdate command"
parents
299e286c
388f541d
Changes
1
Hide whitespace changes
Inline
Side-by-side
integration/nwo/commands/configtxgen.go
View file @
227113df
...
...
@@ -45,3 +45,25 @@ func (c CreateChannelTx) Args() []string {
"-outputCreateChannelTx"
,
c
.
OutputCreateChannelTx
,
}
}
type
OutputAnchorPeersUpdate
struct
{
ChannelID
string
Profile
string
ConfigPath
string
AsOrg
string
OutputAnchorPeersUpdate
string
}
func
(
o
OutputAnchorPeersUpdate
)
SessionName
()
string
{
return
"configtxgen-output-anchor-peers-update"
}
func
(
o
OutputAnchorPeersUpdate
)
Args
()
[]
string
{
return
[]
string
{
"-channelID"
,
o
.
ChannelID
,
"-profile"
,
o
.
Profile
,
"-configPath"
,
o
.
ConfigPath
,
"-asOrg"
,
o
.
AsOrg
,
"-outputAnchorPeersUpdate"
,
o
.
OutputAnchorPeersUpdate
,
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment