Skip to content

Rust-for-bitcoiners/6-blockchain-tx-graph-David-glitc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Assignment 6

Implementing Graph in Rust

First implement the graph.rs file, make sure you pass all the tests. Write your own tests for complicated cases. Try to finish this by next Monday without fail.

Build transaction graph for profiling

Download the blocks from [start_height, end_height] inclusive. Build the graph as explained in the build_transaction_graph function of profile_transactions.rs file. Write some tests using Regtest node to verify your implementation works correctly. Use bitcoind crate to start the bitcoin crate programmatically in regtest mode. This test might be involved and will require patience and lots of thoughts from your end. You can take your time for this.

Also learning to test like this is a valuable skill that you will require to build production ready bitcoin applications in Rust.

About

rust-for-bitcoiners-classroom-2-6-blockchain-tx-graph-rfb_2_2024_6 created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%