Transaction lifecycle | Substrate Seminar

Channel:
Subscribers:
5,190
Published on ● Video Link: https://www.youtube.com/watch?v=3pfM0GOp02c



Duration: 58:16
1,372 views
41


Today we discuss the lifecycle of transactions in Substrate and the various types of transactions that exist.

0:00 Transactions are created and signed in a user agent
4:20 Structure of SignedExtensions
9:13 Sending the transaction to the blockchain
11:23 Transaction enters the tx pool
20:25 Transaction is gossipped to other nodes
25:32 Monitoring the status of a tx in the pool
31:56 Included in a block
34:02 Chain Reorganizations and Finality
35:23 When do offchain workers run?
44:28 Tagged Transaction Pool
49:45 Inherents

Other helpful links:
Gav's Sub0 talk on Weight: https://www.crowdcast.io/e/sub0-online/6

Helpful chat from the call:
LG: Why not re-executing the offchain worker for 3’ and 4’, instead of just 5?
Tomasz Drwięga: It depends on the use cases, but yeah we want to enable that in Offchain Workers 2.0
There is even more to this, cause we only run OCW when you are fully synced, and there are use cases where you would like to run OCW for EVERY imported block.
Our current approach is that offchain-workers are triggering some "side-effects" and most likely you don't want these side effects to be triggered multiple times (re-org case). But as I mentioned, we want that to be configurable in the future (hopefully near)

⎼⎼⎼⎼⎼⎼⎼

→ For more videos on blockchain development and building Web 3.0,
subscribe to the channel: https://www.youtube.com/channel/UCSs5vZi0U7qHLkUjF3QnaWg?sub_confirmation=1

→ Website: https://www.parity.io/

→ To stay informed about Parity updates and events,
subscribe to the newsletter: https://www.parity.io/newsletter/

→ Follow us on Twitter (@ParityTech): https://twitter.com/ParityTech

→ Check our code on GitHub: https://github.com/paritytech/

#substrate #rustlang #blockchaindevelopment #transactions




Other Videos By Parity Tech


2020-05-25Sub0 Online: Introducing Moonbeam - Derek Yoo, Purestake
2020-05-25Sub0 Online: Blockchain for Squares - Spencer Judge, Transparent Systems
2020-05-25Sub0 Online: Weights, Why and How - Gavin Wood, Founder of Polkadot
2020-05-25Sub0 Online: Launch your first blockchain in 5 minutes using Substrate IDE - Phil Li , Obsidian Labs
2020-05-25Sub0 Online: Runtime Upgrade - Ricardo Rius, Parity Technologies
2020-05-25Sub0 Online: Rust: Lifetimes, Traits, and Generics - Maciej Hirsz, Parity Technologies
2020-05-25Sub0 Online: Offchain Workers - Tomasz Drwięga, Igor Matuszewski, Bernhard Schuster, Rakan Al-Hneiti
2020-05-25Sub0 Online: Substrate Ideas Lab - Fabi Gompf, Frederik Harryson, Shawn Tabrizi
2020-05-22Offline Phragmen and Hybrid Consensus | Substrate Seminar | Archives
2020-05-12Build a blog UI with VueJS | Substrate Seminar
2020-05-12Transaction lifecycle | Substrate Seminar
2020-05-06Substrate Execute Block Code Walkthrough with Joe Petrowski and Shawn Tabrizi
2020-05-06Substrate Transaction Queue Code Walkthrough with Joe Petrowski and Tomasz Drwięga
2020-04-23The Present and Future of Building Blockchains with Substrate
2020-04-22Building a UTXO chain from scratch | Substrate Seminar
2020-04-22Customize your Substrate chain CLI using StructOpt | Substrate Seminar
2020-04-16Substrate Social Recovery Pallet Code Walkthrough with Joe Petrowski and Shawn Tabrizi
2020-04-07Implement an uncollateralized stablecoin and storage adapters | Substrate Seminar
2020-04-07Manual seal and instant seal | Substrate Seminar
2020-03-27The EVM Pallet and Purestake's Moonbeam | Substrate Seminar | Archives
2020-03-25Intro to Substrate Off-Chain Workers with Joe Petrowski and Tomasz Drwięga



Tags:
Substrate
Blockchain
Seminar
Transaction