2

Ultimate Go: Advanced Engineering Episode 17

 1 year ago
source link: https://www.ardanlabs.com/blog/2023/01/ultimate-go-advanced-engineering-episode-17.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Ultimate Go: Advanced Engineering Episode 17

Author image

Cheikh Seck

January 19, 2023

Introduction

In episode 16, Bill implemented additional means of verification for his blockchain’s transactions. The first update he made was to verify if a transaction is destined for his blockchain by reading the first byte of the signature. The next one Bill made was to recalculate the public address from a signature and compare it with the from field of the transaction to verify if the request is valid. While building this, Bill demonstrates how a user’s private key transforms into their public address.

In this video, Bill will begin to design the system that will track his blockchain’s account balances. He plans on building an accounting database that is stored entirely in memory. The first step Bill takes is to reuse a concept from the first segment of the series and leverage a memory pool as a means to store account balances. Watch and learn how to determine the account balances of the users on your blockchain.

Things you will learn in this video

  • How to determine a user’s account balance on the blockchain.
  • Implementing an in-memory database.

Video


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK