No video

Adding Transactions to the Blockchain: Implementation - Blockchain In Rust #05: Transactions 2

  Рет қаралды 5,069

GeekLaunch

GeekLaunch

Күн бұрын

Cool features of the Rust language, maintaining an unspent output pool, and more in this doozy of a video! Ha. I'm not a security professional; for all practical purposes I'm a random guy on the Internet. DYOR, IANAL, RTFM, CYA, kthxbye.
This video is super long because there was a heckin lotta code to write.
Timestamps
00:17 Iterators
02:20 Implement: Transaction & Output
14:13 Errors in Rust
15:51 Null in Rust
16:46 Updating our Blockchain
18:31 Implement: Transaction checking
36:42 Writing a working example
37:55 Implement: Working example
42:32 First run and various testing
47:21 Notes/security concerns
Links
Code repo: github.com/Gee...
Slides: geeklaunch.net...
Iterator: doc.rust-lang....
Result: doc.rust-lang....
panic!: doc.rust-lang....
Option: doc.rust-lang....
geeklaunch.net/
Support GeekLaunch on Patreon: / geeklaunch
Follow GeekLaunch on Twitter: / geek_launch
Not a geek? Start today!

Пікірлер: 44
@gurejalectures
@gurejalectures 5 жыл бұрын
Never stop sharing this knowledge. .. i appropriate you bro
@GeekLaunch
@GeekLaunch 5 жыл бұрын
Thank you! :D
@annwang2990
@annwang2990 Жыл бұрын
This video is a treasure! I love how you explained things so straightforward and clear! It is the best teaching video. Looking forward to see your smart contract video.
@davidmoradi6390
@davidmoradi6390 5 жыл бұрын
This is amazing. keep up the good work.
@GeekLaunch
@GeekLaunch 5 жыл бұрын
Thanks, I plan to!
@jeremyallam2351
@jeremyallam2351 4 жыл бұрын
This series is great! Thank you for posting it. Any idea when/if the smart contracts video is coming?
@Nothing-cx4jt
@Nothing-cx4jt Жыл бұрын
This is the best one so far on building a blockchain using Rust. Love the way you explained things. Also your coding style
@tolumideshopein
@tolumideshopein 3 жыл бұрын
Thank you so much for this Jacob. When do you intend to continue please 😊
@satarius9941
@satarius9941 Жыл бұрын
I like the way how you talk and educate, please for the love of god or whatever your thing is just get up and do the next video, much love and thanks for the all the fish.
@salad7389
@salad7389 Жыл бұрын
Loved the series, would love to see more related videos!
@user-rs4sg2tz6k
@user-rs4sg2tz6k 2 жыл бұрын
Thank you so much!! I really appreciated this all lectures!! Please do make some more like these videos please!! You are very talented to educate this way
@phillipmektiev5063
@phillipmektiev5063 4 жыл бұрын
Really cool video! Can't wait for smart contracts!
@jixs4v
@jixs4v 3 жыл бұрын
Hey, did you drop the smart contracts video? Is it coming soon? If it is, looking forward to it!
@shirshak6738
@shirshak6738 5 жыл бұрын
will be waiting for next vids :)
@GeekLaunch
@GeekLaunch 5 жыл бұрын
Smart contracts, coming soon! :D
@jasonxrowland
@jasonxrowland 5 жыл бұрын
Great work! Looking forward to the next video
@GeekLaunch
@GeekLaunch 5 жыл бұрын
Haha, I'm in the process of moving. I intended to get the next video out sooner but life got in the way. Everything is prepared, I just have to find the time to sit down and hit record.
@rad1m
@rad1m 2 жыл бұрын
Great stuff man! I've been looking for some tutorials for Polkadot Smart Contracts and even this is something else, it's a great start. Practical explanation of Rust and how is blockchain working.
@ycemilk
@ycemilk Жыл бұрын
Are you going to share another video about making blockchain in Rust? If it's unfinished, please make videos, you produce great content. Especially about the little-known Rust.
@mahmoudfathy2074
@mahmoudfathy2074 5 жыл бұрын
I love these vids man, I am new to Rust I thought it will be productive to learn Rust through a concept that I am familiar with like blockchain which also enforces using the capabilities of the language. But I am did not expose myself to smart contracts and that makes me wait for your video now, Hope so 😃
@GeekLaunch
@GeekLaunch 5 жыл бұрын
Ach, I'm so sorry I've been so tardy releasing the next video!! It's been like 6 months. :( I was very busy with school so I had no time! I still plan to make it... sometime...
@mahmoudfathy2074
@mahmoudfathy2074 5 жыл бұрын
@@GeekLaunch hehehe yeah it's been really 6 months, it's totally fine though, you can write a short teaser-like article about it if you already have the code, then you take your time to make a verbose video much later.
@GeekLaunch
@GeekLaunch 5 жыл бұрын
I think that's a good idea! I'll do that 😊 Thanks!!
@mahmoudfathy2074
@mahmoudfathy2074 5 жыл бұрын
You're the one to be thanked for your awesome work
@oxXPinkyzXxo
@oxXPinkyzXxo 5 жыл бұрын
Great video ! This should get way more views !!
@GeekLaunch
@GeekLaunch 5 жыл бұрын
Why, thank you! I've been trying to do a little extra promo; maybe I need to do more.
@oxXPinkyzXxo
@oxXPinkyzXxo 5 жыл бұрын
@@GeekLaunch I shared it on twitter and reddit, let's hope it help.
@GeekLaunch
@GeekLaunch 5 жыл бұрын
OMG thanks so much! ♥️
@hedgehog826
@hedgehog826 4 жыл бұрын
Amazing series! any chance you will release that next video?
@luisnegrao5951
@luisnegrao5951 2 жыл бұрын
Here i am in 2022 wondering if you would like to continue this series XD
@mehradkavian8017
@mehradkavian8017 4 жыл бұрын
Amazing series. Although I think you explained much better in previous videos. for example, I don't understand why you &input_hashes - &self.unspent_outputs in your blockchain.rs file. Anyhow, keep up the good work!
@InMemoryOfNeo
@InMemoryOfNeo Жыл бұрын
we already memorized your name is jakob :D
@adam-the-dev
@adam-the-dev 3 жыл бұрын
Still waiting on the smart contracts video!
@brendanarsechter8117
@brendanarsechter8117 Жыл бұрын
Are there any plans do keep working on this series?
@liucharles2973
@liucharles2973 5 жыл бұрын
want next video! thanks
@vishalkulkarni3977
@vishalkulkarni3977 Жыл бұрын
i think coinbase.output_value>total_fee {error} not coinbase.output_value
@shirshak6738
@shirshak6738 5 жыл бұрын
do we still need to use crate:: things ? I think extern crate etc are optional now ?
@GeekLaunch
@GeekLaunch 5 жыл бұрын
So, `crate::` syntax is new in 2018 edition, I believe. `extern crate` is still necessary if you want to use macros from the crate.
@GeekLaunch
@GeekLaunch 5 жыл бұрын
See doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html
@BoaConstrictorStyle
@BoaConstrictorStyle 5 жыл бұрын
Hi! Thanks for the educating lectures. I would like to ask if there is an example that evaluates !(&input_hashes & &block_spent).is_empty() to true? github.com/GeekLaunch/blockchain-rust/blob/master/src/blockchain.rs#L65 I tried several examples and never got this line executed.
@GeekLaunch
@GeekLaunch 5 жыл бұрын
Oh, geez, sorry. Totally missed this comment. So this would (should?) get executed if you try to spend the same input twice in the same block. IDK, maybe I messed it up? I think that should work...
Making Magic Internet Money? - Blockchain In Rust #02: Mining
25:02
Comfortable 🤣 #comedy #funny
00:34
Micky Makeover
Рет қаралды 17 МЛН
طردت النملة من المنزل😡 ماذا فعل؟🥲
00:25
Cool Tool SHORTS Arabic
Рет қаралды 10 МЛН
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 12 МЛН
SCHOOLBOY. Последняя часть🤓
00:15
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 13 МЛН
A Simpler Way to See Results
19:17
Logan Smith
Рет қаралды 105 М.
Make invalid states unrepresentable: the untaught revelation
14:48
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 353 М.
Solana Free 2-hour course : How to Build Smart Contracts (Rust)
1:37:48
The Greenwich Meridian is in the wrong place
25:07
Stand-up Maths
Рет қаралды 792 М.
Rustlang Project: CLI Toy Blockchain
20:27
Tensor Programming
Рет қаралды 14 М.
How This New Battery is Changing the Game
12:07
Undecided with Matt Ferrell
Рет қаралды 174 М.
Comfortable 🤣 #comedy #funny
00:34
Micky Makeover
Рет қаралды 17 МЛН