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
I have 0 peers, when I start run this chain. ```Puzzle solved waiting for new puzzle Received solution Solution: hash=1386aae6432de641411dadb15592a9fee8cb21f3de3a688b293c10bee8dfcc39 nonce=3 corenode: node.go:80: Mined new block: 1386aae6432de641411dadb15592a9fee8cb21f3de3a688b293c10bee8dfcc39 Verifying transaction 0...