-
Notifications
You must be signed in to change notification settings - Fork 129
Update multi-signatures.md #271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
GordonLtron
wants to merge
1
commit into
tronprotocol:master
Choose a base branch
from
GordonLtron:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -155,11 +155,15 @@ localwitness = [ | |
| 以上费用可通过提案调整。 | ||
|
|
||
| ## 接口与操作示例 | ||
| ### 1. 修改权限操作流程 | ||
| ### 1. 修改权限操作流程(SR 切换 witness) | ||
| 1. 使用 `getaccount` 查询当前账户权限结构; | ||
| 2. 构造新的权限配置; | ||
| 3. 调用 `AccountPermissionUpdateContract`; | ||
| 4. 签名并广播交易。 | ||
| 2. 准备新的账号授予witness; | ||
| 3. 停止目前正在产块的SR节点; | ||
| 4. 使用 SR owner 账号修改多签权限,调用 `AccountPermissionUpdateContract`(100 trx),将witness权限授予给新 witness 账号; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 注意需要开启多签功能,未开启时需要使用提案开启 |
||
| 5. SR 节点配置文件修改密钥为新 witness 账号私钥; | ||
| 6. 重新启动 SR 节点进行产块。 | ||
|
|
||
| 注意! 一定要先停止目前正在产块的SR节点, 因为SR不能打包修改自己witness权限的交易,否则区块会验签失败,SR节点会被其他节点断开网络连接1小时作为惩罚。 | ||
|
|
||
| #### 示例请求: | ||
| ``` | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里是不是也可以提一下使用
CreateAccount去创建用户呢?