Skip to content

wcummings/UFOCoin

Repository files navigation

UFOCoin

MADE WITH ALIEN TECHNOLOGY. UFOCOIN GOES TO THE MOON!

What (barely) works

  • [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

Building

Run the type-checker (dialyzer):

mix dialyzer

Build w/ mix:

mix release --env=prod

Currently everything is configured through configs.exs.

Docker

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

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages