1 devlog
4h 12m 1s
I made it so nodes sync the blockchain on startup. Also, they exchange their public keys when they connect, I’ll use this to implement de-duplication of connections later! (I ran into a bug when implementing peer discovery where a node would just repeatedly connect to itself)
I know the demo isn’t very exciting but it shows the nodes connecting, exchanging keys, and syncing the blockchain.
Next is peer discovery!
Oh, I should also make the difficulty change dynamically and probably clean up the code a bit and maybe actually make it so transactions can be created through the cli, that seems important.
Log in to leave a comment