Thanks to visit codestin.com
Credit goes to github.com

Skip to content

daedalus/factoring

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Factoring

Mining code for the FACT0RN blockchain. For the binaries and instructions on how to run a node see FACT0RN. To run the miner you will need Docker.

You will need the scriptPubKey from an address in your wallet. For instructions on how to get a wallet, an address in your wallet and get the scriptPubKey for that address see the instructions on FACT0RN.

These instructions are for the case where you are mining on the same machine where you have a node running:

  1. From the parent folder of this repo, build the image:
docker build -t factorn_mining .
  1. Now, to run a container do this:
docker run -ti -e SCRIPTPUBKEY="ValidScriptPubKey" -e YAFU_THREADS=4 -e YAFU_LATHREADS=4 --network host factorn_mining  bash -c "python3 FACTOR.py"

I'd recommend to run as many container as you have physical cores mines one. So, if you have 4 cores, run 3 containers by executing step 2 three times.

Happy factoring!

Note: There are a few sophiscated software implemntations for factoring. Currently, we use YAFU by default. For advanced users, you can look into YAFU, ECM-GMP and CADO-NFS. A setup using CADO-NFS is welcomed. If you create one, please let us know.

Contact

Website: https://fact0rn.io
Whitepaper: https://fact0rn.io/FACT0RN_whitepaper.pdf
Coinbase: https://blog.coinbase.com/fact0rn-blockchain-integer-factorization-as-proof-of-work-pow-bc48c6f2100b
E-mail: [email protected]
Discord: https://discord.gg/gG7MXxS5Fd
Twitter: https://twitter.com/LionesEscanor
Reddit: https://www.reddit.com/r/FACT0RN/

About

Mining code for the FACT0RN blockchain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 52.1%
  • Cuda 45.0%
  • Assembly 1.3%
  • Python 0.7%
  • Dockerfile 0.3%
  • C++ 0.3%
  • Other 0.3%