Created
December 18, 2018 17:01
-
-
Save monacoinproject/4ac8df17318ff4e25f7f5db053ce39fb to your computer and use it in GitHub Desktop.
プラグイン更新(18/12/19)
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
・スレッド関連の更新 | |
ミューテックスの追加(CreateMutex、DeleteMutex、Lock、Unlock) | |
Sleepの追加(luasocketにもsleepはあります) | |
マルチスレッドサンプルの更新(thread_test.lua) | |
・rawtransaction APIの追加 | |
fundrawtransaction | |
getrawtransaction | |
createrawtransaction | |
decoderawtransaction | |
decodescript | |
sendrawtransaction | |
combinerawtransaction | |
signrawtransaction | |
gettxoutproof | |
verifytxoutproof | |
・luasocketの組み込み | |
以下のサンプルを追加 | |
http_get.lua | |
http_post.lua | |
tcp_client.lua | |
luasocketの組み込みによって、プラグインから tcp, udp, http, ftp, smtp 等が使えるようになりました。 | |
これにより、monacoindと外部サービスとの連携がより簡単に行えるようになると思います。 | |
(他のcoindやmonaparty等をmonacoindから操作して連動させるとか) | |
自宅で動いているmonacoindから、レンタルWebサーバーに対して情報をPOSTする、なんてこともできます。 | |
その際ポートの開放は必要なくmonacoindが外部から操作される心配もありません。 | |
入金の度にmonacoindからメールを送信するようなものも作れます。 | |
また、OnBlockNotifyやOnWalletNotify等のイベント駆動だけでなく、スレッドによってunloadされるまで | |
持続する処理も可能です。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment