Guest User

Untitled

a guest
Jun 21st, 2018
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. # aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906
  2.  
  3. # eosio
  4.  
  5. 查看EOS主网账号eosio的信息
  6.  
  7. 可以看到其没有设置permissionsd的owner和active公钥
  8.  
  9. 而是通过accounts把权限赋予了账号eosio.prods
  10.  
  11. ```
  12. $ cleos get account eosio -j
  13. {
  14. "account_name": "eosio",
  15. "head_block_num": 1706911,
  16. "head_block_time": "2018-06-20T13:14:29.000",
  17. "privileged": true,
  18. "last_code_update": "2018-06-09T14:16:04.000",
  19. "created": "2018-06-08T08:08:08.500",
  20. "ram_quota": -1,
  21. "net_weight": -1,
  22. "cpu_weight": -1,
  23. "net_limit": {
  24. "used": -1,
  25. "available": -1,
  26. "max": -1
  27. },
  28. "cpu_limit": {
  29. "used": -1,
  30. "available": -1,
  31. "max": -1
  32. },
  33. "ram_usage": 39874917,
  34. "permissions": [{
  35. "perm_name": "active",
  36. "parent": "owner",
  37. "required_auth": {
  38. "threshold": 1,
  39. "keys": [],
  40. "accounts": [{
  41. "permission": {
  42. "actor": "eosio.prods",
  43. "permission": "active"
  44. },
  45. "weight": 1
  46. }
  47. ],
  48. "waits": []
  49. }
  50. },{
  51. "perm_name": "owner",
  52. "parent": "",
  53. "required_auth": {
  54. "threshold": 1,
  55. "keys": [],
  56. "accounts": [{
  57. "permission": {
  58. "actor": "eosio.prods",
  59. "permission": "active"
  60. },
  61. "weight": 1
  62. }
  63. ],
  64. "waits": []
  65. }
  66. }
  67. ],
  68. "total_resources": null,
  69. "self_delegated_bandwidth": null,
  70. "refund_request": null,
  71. "voter_info": null
  72. }
  73. ```
Add Comment
Please, Sign In to add comment