EOS Multisig
Multisig란..
action을 하는데 있어서 여러명이 sign하거나 동의하는 것을 의미함.
root@ubuntu-s-4vcpu-8gb-nyc1-01:~# cleos -u https://mainnet.eoscalgary.io get account funkridereos
created: 2018-06-23T06:50:22.000
permissions:
owner 1: 1 EOS5MwHgaaKtcRXWaaSmLVJbqjyktEZRHPoGAdK1KDnnD5WfuL7ib
active 1: 1 EOS62vVaChpie9Kt9z9m2NWh8Ba3FX64r7VWkufjBcXwLkJgmfeEi
memory:
quota: 19.79 KiB used: 3.779 KiB
net bandwidth:
staked: 1.0000 EOS (total stake delegated from account to self)
delegated: 0.0000 EOS (total staked delegated to account from others)
used: 304 bytes
available: 682.6 KiB
limit: 682.9 KiB
cpu bandwidth:
staked: 1.0000 EOS (total stake delegated from account to self)
delegated: 0.0000 EOS (total staked delegated to account from others)
used: 558 us
available: 645 us
limit: 1.203 ms
EOS balances:
liquid: 0.0005 EOS
staked: 2.0000 EOS
unstaking: 0.0000 EOS
total: 2.0005 EOS
producers:
eoscafeblock eoseouldotio eosiomeetone
eosliquideos eosnodeonebp eosriobrazil
eosyskoreabp
funkridereos 계정은 일반적인 active, onwer키를 가지는 single sig계정임. Threshold 1, weight 1
root@ubuntu-s-4vcpu-8gb-nyc1-01:~# cleos -u https://mainnet.eoscalgary.io get account g42tknzvhege
created: 2018-06-09T12:20:58.000
permissions:
owner 2: 1 EOS5gmUNsxp7RTTx4TnKiUPGqdaX1grPD5hrrMX9N4MhZZHrQg7jD, 1 funkridereos@owner
active 1: 1 EOS5gmUNsxp7RTTx4TnKiUPGqdaX1grPD5hrrMX9N4MhZZHrQg7jD
memory:
quota: 41.02 KiB used: 10.35 KiB
net bandwidth:
staked: 10.0000 EOS (total stake delegated from account to self)
delegated: 0.0000 EOS (total staked delegated to account from others)
used: 4.368 KiB
available: 6.665 MiB
limit: 6.669 MiB
cpu bandwidth:
staked: 50.0000 EOS (total stake delegated from account to self)
delegated: 0.0000 EOS (total staked delegated to account from others)
used: 25.64 ms
available: 38.98 ms
limit: 64.63 ms
EOS balances:
liquid: 1.2196 EOS
staked: 60.0000 EOS
unstaking: 0.0000 EOS
total: 61.2196 EOS
producers:
acroeos12345 alohaeosprod argentinaeos
aus1genereos blocksmithio cypherglasss
eos42freedom eosamsterdam eosauthority
eoscafeblock eoscanadacom eosdacserver
eosdublinwow eoseouldotio eosflareiobp
eosiodetroit eosliquideos eosmedinodes
eosmetaliobp eosnairobike eosnationftw
eosnewyorkio eosphereiobp eosriobrazil
eosswedenorg eostitanprod eosvenezuela
eosyskoreabp libertyblock teamgreymass
g42tknzvhege계정은 owner permission만 multisig가 되어 있음. Threshold 2, 하나는 funkridereos, 하나는 EOS5gmUNsxp7RTTx4TnKiUPGqdaX1grPD5hrrMX9N4MhZZHrQg7jD
그런데 이 Key는 "g42tknzvhege"계정의 active key임.
root@ubuntu-s-4vcpu-8gb-nyc1-01:~# cleos -u https://mainnet.eoscalgary.io get account eosfunkrider
created: 2018-10-05T13:42:40.000
permissions:
owner 1: 1 EOS5MwHgaaKtcRXWaaSmLVJbqjyktEZRHPoGAdK1KDnnD5WfuL7ib
active 1: 1 EOS5Vwa8vazj7uN1jizBpN1xnvay2qEmYeMD56ptKj133VaW7risi
memory:
quota: 5.253 KiB used: 3.49 KiB
net bandwidth:
staked: 0.0100 EOS (total stake delegated from account to self)
delegated: 0.0010 EOS (total staked delegated to account from others)
used: 1001 bytes
available: 6.534 KiB
limit: 7.512 KiB
cpu bandwidth:
staked: 0.0000 EOS (total stake delegated from account to self)
delegated: 0.1000 EOS (total staked delegated to account from others)
used: 3.52 ms
available: 0 us
limit: 138 us
EOS balances:
liquid: 0.0002 EOS
staked: 0.0100 EOS
unstaking: 0.0000 EOS
total: 0.0102 EOS
eosfunkrider계정은 single sig의 일반 계정임.
결론적으로 위의 세개의 계정 중 genesis계정인 "g42tknzvhege" 의 owner permission multisig가 되어 있고, threshold가 2이기 때문에 설정된 2계정 모두 eosio.msig contract을 사용한 승인이 되어야 updateauth등의 transaction을 처리할수 있음.
g42tknzvhege 계정의 threshold도 이미 msig가 설정되었기 때문에 threshold변경을 위해서는 모두의 동의를 받아야 함.
eostoolkit에서 메뉴를 찾아보았는데...cleos가 아닌 eostoolkit에서는 어떻게 하는지 모르겠습니다.
Sorry.
일단 EOStoolkit.io 텔방에 문의는 넣어 놓았습니다.
- eostoolkit의 advanced permission에서 설정이 가능하고,
- 일단 설정이 되면 multisig mode로 바꾸어서 처리해야 한다고 합니다.
여기서 궁금한 건..approval후에 exec해야 하는데..이를 어떻게 처리 하는지가 궁금.!
Congratulations @dabble! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
Click here to view your Board of Honor
If you no longer want to receive notifications, reply to this comment with the word
STOP
To support your work, I also upvoted your post!
Do not miss the last post from @steemitboard:
제가 요즘 스팀잇에는 잘 들어오지 않는데(그 이유는 아시지요?), 들어와서 길막테디님의 글을 읽게 될 줄이야 몰랐군요.
저는 이 글의 내용을 전혀 이해할 수 없어요. 기술적이군요. 아무튼 좋은 내용으로 알고 풀보팅을 합니다. 데블의 발전을 위해 더욱 애써 주세요. 어차피 저도 데블에 글을 많이 썼기 때문에 일정한 지분을 갖고 있다고 생각합니다. 화이팅!
멀티 sign은 어디에활용할수있나요??