Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
ブロックチェーンのマイニングとはなにか
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Tetsuya Negishi
June 01, 2018
Programming
110
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ブロックチェーンのマイニングとはなにか
Tetsuya Negishi
June 01, 2018
More Decks by Tetsuya Negishi
See All by Tetsuya Negishi
SOLIDから考える良いコンポーネントの設計原則
tetsuyanegishi
1
1.6k
React Hooksで美しいコードを書く / Writing beautiful code using React Hooks
tetsuyanegishi
0
210
TypeScriptの型定義が JavaScriptのバグを駆逐する
tetsuyanegishi
3
970
React初学者が知らない コンポーネント分割テクニック
tetsuyanegishi
1
520
AWS Amplifyで作るサーバーレスバックエンド
tetsuyanegishi
3
2.1k
リアルタイムデータベース Cloud Firestore入門
tetsuyanegishi
10
9k
スクラム開発の手法と実例
tetsuyanegishi
0
280
Other Decks in Programming
See All in Programming
パーソナライズPodcastを作った話
repunit11
0
130
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
460
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
480
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
3k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
540
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
APNsからLive Activityを開始する話
yumnumm
0
160
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
8
5.6k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
700
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
200
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
Featured
See All Featured
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
540
YesSQL, Process and Tooling at Scale
rocio
174
15k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Deep Space Network (abreviated)
tonyrice
0
360
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
920
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Crafting Experiences
bethany
1
380
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Transcript
ϒϩοΫνΣʔϯͷ ϚΠχϯάͱͳʹ͔ ࠜ؛ ప
݁ ϚΠχϯάͱ ࠷ॳʹ͕̌ͨ͘͞Μଓ͘ HashΛ୳͢͜ͱ
ϒϩοΫνΣʔϯ σʔλ ʢϒϩοΫʣ σʔλ ʢϒϩοΫʣ σʔλ ʢϒϩοΫʣ ϒϩοΫͷHashͰͭͳ͕͍ͬͯΔ
Hash σʔλ ʢϒϩοΫʣ Hashؔ 0000000002e34… Hash
Hashͷجຊࣝ • ೖྗͨ͠σʔλ͕ಉ͡ → Hashಉ͡ • ೖྗͨ͠σʔλ͕ҧ͏ → Hashҧ͏ •
Hash͔Βೖྗ͞ΕͨσʔλΛ༧ଌ͢Δ͜ͱͰ͖ͳ͍ • ೖྗͨ͠σʔλগ͠Ͱҧ͏ͱશ͘ҧ͏HashʹͳΔ • SHA256(1) → 6B86B273FF34FCE19D6B804EF… • SHA256(2) → D4735E3A265E16EEE03F59718…
ϏοτίΠϯͷϒϩοΫνΣʔϯ • https://blockchain.info/ja/block/ 000000000000000000012de7a51a56578eb8a1f2560 89db3e666fbb53ac5e9a9
ϏοτίΠϯͷϒϩοΫνΣʔϯ
ϒϩοΫͷσʔλߏ ϔομ τϥϯβΫ γϣϯ • લͷϒϩοΫͷhash • nonce ͳͲ •
ϏοτίΠϯͷసૹ (୭͕୭ʹ͍͘ΒૹΔ͔)
ϒϩοΫͷσʔλߏ ϔομ τϥϯβΫ γϣϯ • લͷϒϩοΫͷhash • nonce ͳͲ •
ϏοτίΠϯͷసૹ (୭͕୭ʹ͍͘ΒૹΔ͔)
nonceͱ • ϒϩοΫͷHashΛௐ͢ΔͨΊͷ • nonceͷΛม͑ͯϒϩοΫͷ Hashͷઌ಄ʹ0͕ฒͿΑ͏ʹ͢Δ → ϚΠχϯά
nonceͱ
ٙࣅϚΠχϯά • ϚΠχϯάΛͬͯΈΔ • ϒϩοΫʹؚ·ΕΔͷ • લͷϒϩοΫͷHash (Prev) • nonce
(Nonce) • τϥϯβΫγϣϯ ( Transaction) • ex. Transaction:{A→B:100, C→D:200} • ϒϩοΫͷHash0͕1ͭଓ͘ͷΛݟ͚ͭΔ
ϚΠχϯάͯ͠ΈΔ { Prev: 6B86B273FF34FCE19D6B804EFF5A3F5747ADA4EAA22F1D49C 01E52DDB7875B4B Nonce:9 Transaction:{A→B:100} } ϒϩοΫ1 Hashɿ
0682D5D287D84082C738577C209A19BD64E62 D7E9D10646E9C95E979EEF7840F
ϚΠχϯάͯ͠ΈΔ { Prev: 0682D5D287D84082C738577C209A19BD64E62D7E9D10646E9 C95E979EEF7840F Nonce:? Transaction:{C→B:500, D→A:800} } ϒϩοΫ2
ϚΠχϯάͯ͠ΈΔ • ܭࢉͯ͠ΈΔ http://www.convertstring.com/ja/Hash/SHA256
ϚΠχϯάͯ͠ΈΔ { Prev: 0682D5D287D84082C738577C209A19BD64E62D7E9D10646E9 C95E979EEF7840F Nonce:43 Transaction:{C→B:500, D→A:800} } ϒϩοΫ2
Hashɿ 0E9E4781F1169EAB922D86A2BB632238 A6B57B02986C275AA9B0F2D2165D5D75
ϚΠχϯάͯ͠ΈΔ { Prev: 6B86B273FF34FCE19D6 B804EFF5A3F5747ADA4 EAA22F1D49C01E52DD B7875B4B Nonce:9 Transaction:{A→B:100} }
{ Prev: 0682D5D287D84082C7385 77C209A19BD64E62D7E9D 10646E9C95E979EEF7840F Nonce:43 Transaction:{C→B:500, D→A:800} } 0682D5D287D84082C73857 7C209A19BD64E62D7E9D1 0646E9C95E979EEF7840F 0E9E4781F1169EAB922D86A2BB6 32238A6B57B02986C275AA9B0F2 D2165D5D75
݁ ϚΠχϯάͱ ࠷ॳʹ͕̌ͨ͘͞Μଓ͘ HashΛ୳͢͜ͱ