MADE WITH ALIEN TECHNOLOGY. UFOCOIN GOES TO THE MOON!
- [X] Peer discovery
- [X] Mining empty blocks
- [X] Append-only block store + indices
- [X] Block propagation/validation
- [X] UPnP
- [X] Difficulty adjustment
- [ ] “Headers only” sync
- [ ] Automatic checkpointing/”must be this high” limit
- [ ] Key management
- [ ] TX signing etc.
- [ ] NIF for merkle trees
- [ ] Everything else
Run the type-checker (dialyzer):
mix dialyzer
Build w/ mix:
mix release --env=prod
Currently everything is configured through configs.exs.
I’ve included docker and docker-compose configs, so you can run a testnet locally. The compose config will spin up 6 identical instances, one which matches an address in my test seed DNS: test1.wpc.io. If you don’t modify the seed DNS you risk getting some bad peers but it shouldn’t really matter if they cross-polinate, your nodes might just take longer to connect.
sudo docker-compose build
sudo docker-compose up