tinychain
tinychain copied to clipboard
The tiniest blockchain implementation in the world
As promised, here are some real urgent fixes.
Right now, in testnet1, the network behaves in a single-producer many-follower consensus mode. While the block DAG correctly determines the heaviest chain from a history of blocks, the sync algorithm...
* The block DAG is how the blockchain is represented, as a directed acyclic graph. Technically speaking, it's a tree, since child blocks cannot link to parent blocks (the parent...
tinychain testnet 1 is running, and we've sent a couple txs and mined a bunch of blocks. lots of todo items that are spread out among different areas of the...
``` 2024/07/25 14:57:41 [sync] (downloader) Peer summary table 2024/07/25 14:57:41 [sync] (downloader) Peer #0: jobs=9 success=9 failed=0 avg_duration=318.78 ms rate_per_s=3.14 panic: sync: WaitGroup is reused before previous Wait has returned...
Basically the coinbase is not validated at all right now. It will mint whatever the amount is contained in Amount. It should be something like a bitcoin supply curve -...
Readings
LMD GHOST - https://github.com/protolambda/lmd-ghost