Skip to content

Instantly share code, notes, and snippets.

View RamCSingh's full-sized avatar

Ram RamCSingh

View GitHub Profile
@TestSubjector
TestSubjector / Blockchain.jl
Last active August 12, 2024 06:27
A very basic implementation of a blockchain in Julia.
using SHA
using Dates
"""
An individual block structure
"""
struct Block
index::Int
timestamp::DateTime
data::String
previous_hash::String