You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Golang と Blockchain 技術の勉強に、こちら の記事を参考にして Bitcoin の SPV Wallet を Golang で実装してみました。 github.com 結構雑ですが、とりあえず以下のことができます。 Bitcoin Address の生成 UTXOをかき集めて残高を計算 UTXOをかき集めて指定したBitcoin Addressに送金 実用には耐えませんが簡単なSPV Walletの一通りの機能は実装できたかなと思います (そんなことなくてエラーハンドリングが雑だったりP2Pノードとしての役目を放棄してたり、取得するmerkleblockをハードコードした高さより高いblockのみ取得するようになってたりする) 参考 実装の際には主に @lotz氏のこちらの記事を参考に実装しました(ほとんど氏の実装をGolangに移植しただけw + 計算したUTXOを使っ
If this isn’t your first time reading this post, check out Part 2: Networking here! This tutorial is adapted from this excellent post about writing a basic blockchain using Javascript. We’ve ported it over to Go and added some extra goodies like viewing your blockchain in a web browser. The data examples in this tutorial will be based on your resting heartbeat. We are a healthcare company after al
以前に 200 行のコードへのブロックチェーンの実装 というエントリを読み、たった 200 行の Javascript で実装された Blockchain である Naivechain の存在を知った。本エントリは、その Naivechain の Go 版を実装してみたので、本家 Naivechain と合わせてご紹介しますという話。ちなみに、コードの短さは求めずになるべく構造化してわかりやすさ重視で書いた(つもり)なので、200 行ではない。 自分の Naivechain 以外に、300 行で実装された Go 実装 もあったりするので、短いコードがお好みの方はそちらもご参照あれ。 そもそもこれは Blockchain なの? Blockchain の定義についてここで深く議論するつもりはない。界隈でも厳密なコンセンサスが取れているわけではないと思うし。一応、JBA の定義 を紹介しておく
A Complete Beginners Guide to Blockchain Technology Part 5 of 6. Slides from the #StartingBlock2015 tour by @blockstrap Part 1: http://www.slideshare.net/Blockstrap/cbgtbt-part-1-workshop-introduction-primer Part 2: http://www.slideshare.net/Blockstrap/02-blockchains-101 Part 3: http://www.slideshare.net/Blockstrap/03-transactions-101 Part 4: http://www.slideshare.net/Blockstrap/cbgtbt-part-4-mini
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く