Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906
- # eosio
- 查看EOS主网账号eosio的信息
- 可以看到其没有设置permissionsd的owner和active公钥
- 而是通过accounts把权限赋予了账号eosio.prods
- ```
- $ cleos get account eosio -j
- {
- "account_name": "eosio",
- "head_block_num": 1706911,
- "head_block_time": "2018-06-20T13:14:29.000",
- "privileged": true,
- "last_code_update": "2018-06-09T14:16:04.000",
- "created": "2018-06-08T08:08:08.500",
- "ram_quota": -1,
- "net_weight": -1,
- "cpu_weight": -1,
- "net_limit": {
- "used": -1,
- "available": -1,
- "max": -1
- },
- "cpu_limit": {
- "used": -1,
- "available": -1,
- "max": -1
- },
- "ram_usage": 39874917,
- "permissions": [{
- "perm_name": "active",
- "parent": "owner",
- "required_auth": {
- "threshold": 1,
- "keys": [],
- "accounts": [{
- "permission": {
- "actor": "eosio.prods",
- "permission": "active"
- },
- "weight": 1
- }
- ],
- "waits": []
- }
- },{
- "perm_name": "owner",
- "parent": "",
- "required_auth": {
- "threshold": 1,
- "keys": [],
- "accounts": [{
- "permission": {
- "actor": "eosio.prods",
- "permission": "active"
- },
- "weight": 1
- }
- ],
- "waits": []
- }
- }
- ],
- "total_resources": null,
- "self_delegated_bandwidth": null,
- "refund_request": null,
- "voter_info": null
- }
- ```
Add Comment
Please, Sign In to add comment