Code Monkey home page Code Monkey logo

synthga's Introduction

Synthetic GA search tool

This code is based on @bkampsch's synthga tool. I've added changes such that it now performs at 3-10x the amount of its/sec. If you find a synthetic GA, please share that you've used this tool. Good luck!

Quickstart

Check if gcc is installed:

$ gcc -v

Pull batch-wise keypair generation:

$ ./fetch_and_update.sh

Then:

$ cd secp256k1_fast_unsafe
$ ./autogen.sh
$ ./configure
$ make
$ ./tests # optional
$ sudo make install # optional

Now the secret sauce (ignore warnings):

$ gcc -Wall -Wno-unused-function -O2 -march=native -I src/ -I ./ -shared bprivvy.c -lgmp -fPIC -o bprivvy.so  

Set up python(3):

[optional] $ pipenv install
[optional] $ pipenv shell
$ pip install pysha3

Configure parameters in closed_beta.py

Let's go:

$ python closed_beta.py

Tune parameters

reconfigure and run $ bash fetch_and_update.sh

Troubleshooting

autogen is complaining: sudo apt-get install libtool libtool-bin

make is complaining about future time: $ touch */*

make is complaining about gmpl: $sudo apt-get install -y libgmp-dev

Install gcc

From https://linuxize.com/post/how-to-install-gcc-compiler-on-ubuntu-18-04/

$ sudo apt update
$ sudo apt install build-essential
$ sudo apt-get install manpages-dev
$ gcc --version

synthga's People

Contributors

ori0n-zoe avatar rvorias avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.