NEM LIFE

nem、xemに関する最新のニュースを翻訳してお届けします!

NEM-ツール:委任ハーベスティングの自動再スタート

以下は下記記事を和訳したものです。
https://nemflash.io/nem-tools-automated-restart-delegated-harvesting/

NEM-ツール:委任ハーベスティングの自動再スタート
ジュリアン・2018年5月22日更新

発行元:marc0o(35)、steemitにて

f:id:jijikokkoku:20190105193445p:plain

紹介
 もしいまハーベスティング、委任ハーベスティング、一般的なNEMブロックチェーンについてあまり詳しくないのであれば、はじめにこれらの記事を読むことをおすすめします:

重要性の証明(POI)とは何か、なぜそれが良いのか、ベスティングとは何か?
NEMブロックチェーンにおいての重要性をどのように理解すればよいか?
ローカルハーベスティングと委任ハーベスティングの仕組み
ナノウォレットで委任ハーベスティングをアクティブ化し、はじめるには


 委任ハーベスティングの問題とは何か
 NEMブロックチェーンで委任ハーベスティングを活用する人はみんな、同じ頭痛に直面しています:
■委任ハーベスティングは、あなたがハーベスティングしているノードがなんらかの理由により再起動した場合、停止します。
■フリースロットのあるノードを手動で探す必要があります(ナノウォレットを使用するのにいらいらする可能性があります)
 ■フリースロットのある素晴らしいノードを紹介
■あなたが休暇中、再起動することができません
 ■新しいブロックのハーベスティングのチャンスを逃します


 解決策
 NEM-tools.comはこの作業をあなたのために自動的に作動するサービスを提供します。委任ハーベスティングの自動再スタートに登録すると、このサービスは5分おきに、あなたのアカウントの委任ハーベスティングが尚活動中になっているかどうかチェックします。

 もしあなたの遠隔アカウントのハーベスティングに使われているノードが再起動するか、ハーベスティングがその他の何らかの理由で停止した場合、サービスがこれを自動的に探知しフリースロットの新しいノードを探します。無人化ハーベスティングが無事に再開されると、その分野の情報とともにあなたのもとにメールが届きます。


備考
 このサービスは、委任ハーベスティングの自動再スタートができるようにするためにはあなたの委任アカウントのプライベートキーが必要となります。

 ■あなたのプライベートキーは暗号化されデータベースに保管されます(そして環境変数として保管されているシークレットキーがあるときのみ復号されます)
 ■理論的には、あなたの委任アカウントのプライベートキーを発行するのは問題にはなりません。なぜならあなたの委任アカウントはモザイクの形(XEMやその他)ではどんな価値も蓄えていないからです。


注意
 委任アカウントのプライベートキーを発行するのには問題がないことはわかりましたね?それではなぜサービスを利用するのに注意点があるのでしょうか?

 NEMは人々のPoI(さらに読む)を計算することで利益をもたらし、その人の重要度スコアが高くなればなるほど、新しいブロックのハーベスティングの可能性は高くなります。

 より多くの人々がこのサービスを使えば使うほど、ハッカーがデータベースにある委任アカウントの暗号化されたプライベートキーを集め復号化したくなるような魅力が高まることを認識しなければなりません。このサービスがハッカーにより傷つけられないことを証明しようと努めましたが、誰かがプライベートキーを漏らす可能性を保証できません。


 もしハッカーがデータベースに蓄積されたプライベートキーを漏らすと、何が起こるか?
■ハッカーはすべての口座のハーベスティングを停止することができ、彼の”本物の”PoIを増すことができます。なぜなら、このサービスを使うすべての人々が、委任ハーベスティングを停止すると新しいブロックをハーベスティングできなくなるためです。
■彼(彼女)らがアクセスできなかった資金(モザイク)はあなたの主要口座に保管されます。
■最悪の場合の筋書きは、このサービスを使う人みんなが新しい口座を開設し、資金を新しい口座に移し委任ハーベスティングをアクティブ化させなければいけなくなります。
 ■もし私の仮説が間違っていたら訂正してください(!)
 ■この話題について、どのような議論も歓迎いたします。🙂
 ■確かであるのは、利用者が10.000XEM以上保有していたら再度待たなければならないことです。(保有しているXEMを計算する)


十分読めた、じゃあ何をしなければならないか、教えて!
 ここをクリックしてください: http://nem-tools.com/#/harvesting
 3項目、フォームを埋める必要があります:
1. あなたのe-mailアドレス
■購読の確認(または解除)をしてください
 2. 委任アカウントのパブリックキー
   ■NanoWalletを開く
   ■”Services”をクリック
   ■“Manage delegated account”をクリック
   ■”show delegated account keys”をクリック
 3. 委任アカウントのプライベートキー
   ➝ 委任アカウントパブリックキーの下にパスワードを入力し、”プラス”マークをクリック(後ほどハーベスティング再開に必要な委任アカウントのプライベートキーが表示されます)

f:id:jijikokkoku:20190105193525p:plain

 次のステップ
1. メールが届くのでリクエストを確認してください
2. NEMツールが委任ハーベスティングを再開したとき、または、何らかの理由で委任ハーベスティング再開の途中でエラーがあった場合、毎回メールが届きます。


備考
 ■ハーベスティングが本当に活動しているかどうかをNanoWalletで見たい場合は、カスタムノードチェックのためのメールで受信したIP/hostnameを手動で設定する必要があります。
  ■多くの人がここで混乱します
  ■NanoWalletはNEMツールのハーベスティングするサービスのどのノードかの判断ができないので、この過程は必須です。
  ■もしNanoWalletの中でこれを手動で変えられなかったら、委任ハーベスティングが活動中でも停止中と表示されます。

 ■もしサービスから退会したかったら、届いたメールにあるリンクをクリックしてください。
  ■この瞬間に、あなたのデータが即座にすべてデータベースから削除されます。


 質問、疑問、提案がある場合は?
 公式NEMフォーラムのスレッドにお気軽にコメントやご参加ください:
 ■https://forum.nem.io/t/nem-tools-com-automated-delegated-harvesting-export-of-transactions-and-more/5648/15


 気に入っていただけましたか?
 お忘れのないよう投票をお願いします。また、お気軽にXEMやその他のモザイクをお送りください😉

 ■NBEZ5S43KR7KXPPLW26TK4JPKC6U2GFM6AI6XF6U
  
 f:id:jijikokkoku:20190105193545p:plain


・・・
以下原文
・・・

NEM-tools: Automated restart of delegated harvesting
BY JULIAN · MAY 22, 2018
EM-tools: Automated restart of delegated harvesting
marc0o (35) in nem, first appeared on steemit

Introduction
If you are currently not familiar with harvesting, delegated harvesting or the NEM-blockchain in general I suggest you to read these articles first:
 What is Proof-of-Importance (POI) and Why Is It Better, and What Is Vesting?
 How Do I Get Importance on the NEM Blockchain?
 How Local and Delegated Harvesting Works
 How To Activate & Start Delegated Harvesting in NanoWallet
The “problem” with delegated harvesting
Everybody who makes use of delegated harvesting on the NEM-blockchain is facing the same headaches:
 delegated harvesting stops when the node you are harvesting on is getting rebooted for some reason
 you need to manually search for a node with free slots (can be frustrating using NanoWallet)
 show me supernodes with free slots
 maybe you are on vacation and you cannot afford to restart harvesting
 you miss the chance to harvest new blocks
Solution
NEM-tools.com provides a service that performs this task for you automatically. When you register for automated restart of delegated harvesting the service will check every 5 minutes whether delegated harvesting for your account is still active or not.
If the node your remote account used to harvest was rebootet or harvesting stopped for some other reason the service will detect this and automatically search for a new node with free slots. If delegated harvesting was successfully restarted you will receive an e-mail with respective information.
Note
The service needs the private key of your delegated account in order to be able to automatically restart delegated harvesting.
 your delegated private key will be stored encrypted in a database (and can only be decrypted with a secret-key that is stored as environment-variable)
 in theory it isn’t problematic to publish the private key of your delegated account since your delegated account doesn’t store any value in form of mosaics (XEM or others)
Cautions
Well you noticed that it shouldn’t be a problem to give out the private key of your delegated account, right? So why should there be cautions to use the service?
NEM is rewarding people by calculating their PoI (read more) and the higher someones importance score is, the higher is his/her chance to harvest new blocks.
You have to be aware of that the more people use this service, the higher will be the attraction for hackers trying to collect and decrypt these encrypted private keys of the delegated accounts stored in the database. Although I tried my best to ensure that this service cannot be compromised by hackers, I cannot guarantee that someone is able to reveal the private keys.
What could happen if a hacker is able to reveal all private keys stored in the database?
 the hacker would be able to stop harvesting for all accounts and so increase his own “real” PoI because all of the people using this service would not be able to harvest new blocks if he/she stops delegated harvesting for all of you
 he/she could NOT access the funds (mosaics) that are stored on your main-account
 worst case scenario would be that everyone who used this service would have to create a new account/wallet, transfer his/her funds to a new account and activate delegated harvesting again
 correct me if I am wrong with this assumption (!)
 I am open for any discussion about this topic
 for sure they would have to wait again that they have a minimum of 10.000 XEM vested (calculate vested XEM)
Ok I have read enough, now tell me what I have to do!
You need to go click here: http://nem-tools.com/#/harvesting
You have to fill in 3 entries in the given formular:
1. your e-mail address
 needed to confirm (or delete) your subscription
2. the public key of your delegated account
 open NanoWallet
 click on “Services”
 click on “Manage delegated account”
 click on “show delegated account keys”
3. the private key of your delegated account

  • > enter the password of your wallet below the delegated public key and click on the “plus”-sign (afterwards the private key of your delegated account which is needed to restart harvesting is shown)


Further steps
1. You will receive an e-mail and need to confirm your request
2. You will receive an e-mail every time the service of nem-tools restarts delegated harvesting for you
or
if there occured an error while restarting delegated harvesting for some reason
Note
 in order to be able to see in NanoWallet whether harvesting is really active you need to manually set the IP/hostname you received via mail as custom node to check against
 many people get confused by this
 this is necessary because the NanoWallet doesn’t know on which node the service of nem-tools started harvesting on
 if you do not change this manually in NanoWallet delegated harvesting may seem to be inactive although it is active
 If you want to unsubscribe from this service you can click on the link provided in the e-mail you receive
 at this moment all of your provided data will be deleted immediately from the database!
Questions, doubts, suggestions?
Feel free to comment this entry or participate in the thread of the official NEM-forum:
https://forum.nem.io/t/nem-tools-com-automated-delegated-harvesting-export-of-transactions-and-more/5648/15
You like this service?
Do not forget to upvote and feel free to send me some XEM or other mosaics
 NBEZ5S43KR7KXPPLW26TK4JPKC6U2GFM6AI6XF6U