Blockchain in Rust #04 & #05: Transactions

Part 1: Topics Covered: 00:40 Example transaction01:45 Transaction verification requirements04:55 The blockchain as a “distributed ledger”06:12 Structure of a transaction08:09 Regular transactions10:30 Coinbase transactions12:10 Transactions: Bad Artwork12:50 Recap13:24 Meeting tx...

Part 1:

Topics Covered:

  • 00:40 Example transaction
  • 01:45 Transaction verification requirements
  • 04:55 The blockchain as a “distributed ledger”
  • 06:12 Structure of a transaction
  • 08:09 Regular transactions
  • 10:30 Coinbase transactions
  • 12:10 Transactions: Bad Artwork
  • 12:50 Recap
  • 13:24 Meeting tx verification requirements
  • 13:38 Overspending
  • 14:10 Double spending
  • 15:36 Impersonation
  • 16:58 Further reading

Part 2:

Topics Covered:

  • 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
Year:

Functional Programming Jargon in Rust

Functional programming (FP) provides many advantages, and its popularity has been increasing as a result. However, each programming paradigm comes with its own unique jargon and FP is no exception. By providing a glossary, we hope to make learning FP easier. Where applicable, this document uses terms defined in the Fantasy Land spec and Rust programming language to give code examples.
Functional Programming Jargon in RustFunctional programming (FP) provides many advantages, and its popularity has been increasing as a result. However, each programming paradigm comes with its own unique jargon and FP is no exception. By providing a glossary, we hope to make learning FP easier.functional.works-hub.com

Hexadecimal in Rust

Daily programmer's recent hex colors challenge in Rust.
Note: Rust’s trait implementation has expanded lately. So, please consult the reference. TraitsA trait describes an abstract interface that types can implement. This interface consists of associated items, which come in three varieties:doc.rust-lang.org

Blockchain In Rust #03: Chains & Checks

In this basic blockchain implementation, you'll learn how to implement hashing and block verification.
Blockchain In Rust #03: Chains & ChecksWe can use the infrastructure we’ve built so far to secure the blockchainMedium Topics Covered: 00:37 Description of the Blockchain struct00:53 Implement: Blockchain Struct02:01 Creating a block-chain06:03 Review: Mining07:17 Block Verification10:16 Implement: Blockchain Verification17:33 Testing the verify() function