Git Product home page Git Product logo

solanity's Introduction

Hi there 👋

mcf-rocks/mcf-rocks is a ✨ special ✨ repository because its README.md (this file) appears on your GitHub profile.

Here are some ideas to get you started:

  • 🔭 I’m currently working on ...
  • 🌱 I’m currently learning ...
  • 👯 I’m looking to collaborate on ...
  • 🤔 I’m looking for help with ...
  • 💬 Ask me about ...
  • 📫 How to reach me: ...
  • 😄 Pronouns: Illustrious Majesty / Supreme Apostle
  • ⚡ Fun fact: ...

History is ... stories we agree to tell each other over and over, until we forget that it's a lie.

solanity's People

Contributors

limitedatonement avatar mcf-rocks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

solanity's Issues

No grinding is being done

I compiled the program for RTX 3070 under Ubuntu 22.04 using Cuda 12.0 with the following changes:

diff --git a/src/gpu-common.mk b/src/gpu-common.mk
index 460b14e..2cb057a 100644
--- a/src/gpu-common.mk
+++ b/src/gpu-common.mk
@@ -1,6 +1,6 @@
 NVCC:=nvcc
-GPU_PTX_ARCH:=compute_35
-GPU_ARCHS?=sm_37,sm_50,sm_61,sm_70
+GPU_PTX_ARCH:=compute_86
+GPU_ARCHS?=sm_86
 GPU_CFLAGS:=--gpu-code=$(GPU_ARCHS),$(GPU_PTX_ARCH) --gpu-architecture=$(GPU_PTX_ARCH)
 CFLAGS_release:=--ptxas-options=-v $(GPU_CFLAGS) -O3 -Xcompiler "-Wall -Werror -fPIC -Wno-strict-aliasing"
 CFLAGS_debug:=$(CFLAGS_release) -g

However, when I run the program, no grinding is apparently being done, and the program ends almost immediately. Here's the output:

...
2023-02-15 21:44:13 Iteration 99996 Attempts: 0 in 0.000000 at 0.000000cps - Total Attempts 0 - keys found 0
2023-02-15 21:44:13 Iteration 99997 Attempts: 0 in 0.000000 at 0.000000cps - Total Attempts 0 - keys found 0
2023-02-15 21:44:13 Iteration 99998 Attempts: 0 in 0.000000 at 0.000000cps - Total Attempts 0 - keys found 0
2023-02-15 21:44:13 Iteration 99999 Attempts: 0 in 0.000000 at 0.000000cps - Total Attempts 0 - keys found 0
2023-02-15 21:44:13 Iteration 100000 Attempts: 0 in 0.000000 at 0.000000cps - Total Attempts 0 - keys found 0
Iterations complete, Done!

Any help would be much appreciated.

Building on Windows

Noob question - how do I build this on windows? Or do I need a Linux simulator? Tried researching but its basically all impossible for me to read.

No running attempts

$ ./run
GPU: Initializing Memory
GPU: 0 (NVIDIA GeForce 840M <256, 3, 1>) -- W: 32, P: 3, TPB: 1024, MTD: (1024x, 1024y, 64z), MGS: (2147483647x, 65535y, 65535z)
Initialising from entropy: 2798214100199473097
END: Initializing Memory
...
2023-02-18 21:57:15 Iteration 999992 Attempts: 0 in 0.000003 at 0.000000cps - Total Attempts 0 - keys found 0
2023-02-18 21:57:15 Iteration 999993 Attempts: 0 in 0.000068 at 0.000000cps - Total Attempts 0 - keys found 0
2023-02-18 21:57:15 Iteration 999994 Attempts: 0 in 0.000002 at 0.000000cps - Total Attempts 0 - keys found 0
2023-02-18 21:57:15 Iteration 999995 Attempts: 0 in 0.000003 at 0.000000cps - Total Attempts 0 - keys found 0
2023-02-18 21:57:15 Iteration 999996 Attempts: 0 in 0.000003 at 0.000000cps - Total Attempts 0 - keys found 0
2023-02-18 21:57:15 Iteration 999997 Attempts: 0 in 0.000003 at 0.000000cps - Total Attempts 0 - keys found 0
2023-02-18 21:57:15 Iteration 999998 Attempts: 0 in 0.000003 at 0.000000cps - Total Attempts 0 - keys found 0
2023-02-18 21:57:15 Iteration 999999 Attempts: 0 in 0.000003 at 0.000000cps - Total Attempts 0 - keys found 0
2023-02-18 21:57:15 Iteration 1000000 Attempts: 0 in 0.000003 at 0.000000cps - Total Attempts 0 - keys found 0
Iterations complete, Done!

Error when running . mk

I have ran

export PATH=/usr/local/cuda/bin:$PATH
. mk

I am in the /solanity directory. And the following error appears at last.


/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
  435 |         function(_Functor&& __f)
      |                                                                                                                                                 ^ 
/usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
  530 |         operator=(_Functor&& __f)
      |                                                                                                                                                  ^ 
/usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’

After this, when I run . run, this appears
bash: ./src/release/cuda_ed25519_vanity: No such file or directory

What does it mean?

I don't understand what i need to do help please

$ export PATH=/usr/local/cuda/bin:$PATH
$ make -j$(nproc)

Running

LD_LIBRARY_PATH=./src/release ./src/release/cuda_ed25519_vanity

Troubles with modern CUDA

C:/MinGW/bin/mingw32-make V=release -C src
mingw32-make[1]: Entering directory 'E:/wow/wow/solanity/src'
nvcc -rdc=true --ptxas-options=-v --gpu-code=sm_37,sm_50,sm_61,sm_70,compute_35 --gpu-architecture=compute_35 -O3 -Xcompiler "-Wall -Werror -fPIC -Wno-strict-aliasing" -DENDIAN_NEUTRAL -DLTC_NO_ASM -Icuda-headers -Icuda-sha256 -c cuda-ecc-ed25519/vanity.cu -o release/ecc_scan.o
nvcc fatal : Value 'sm_37' is not defined for option 'gpu-code'
Makefile:92: recipe for target 'release/ecc_scan.o' failed
mingw32-make[1]: *** [release/ecc_scan.o] Error 1
mingw32-make[1]: Leaving directory 'E:/wow/wow/solanity/src'
Makefile:15: recipe for target 'cuda_crypt' failed
mingw32-make: *** [cuda_crypt] Error 2

sm_37 doesnt support in up-to-date versions cuda

nvcc fatal : Value 'sm_37' is not defined for option 'gpu-code'

Whar Mah Keys?

When I run the application without modifications (searching for prefixes AAAA and BBBB), I get the following output:

GPU: Initializing Memory
GPU: 0 (NVIDIA GeForce GTX 750 Ti <256, 5, 1>) -- W: 32, P: 5, TPB: 1024, MTD: (1024x, 1024y, 64z), MGS: (2147483647x, 65535y, 65535z)
Initialising from entropy: 9766175900048351535
END: Initializing Memory
2022-09-21 12:10:04 Iteration 1 Attempts: 18446744072890306048 in 7.977868 at 2312239793040888320.000000cps - Total Attempts 18446744072890306048 - keys found 21964
Enough keys found, Done! 

Looks like it found 21964 keys which seems believable I guess, but where are they? According to /src/cuda-ecc-ed25519/vanity.cu:424 and /README.md:11, I expect to see a MATCH message, bit I don't see it. I also don't see any new files that might contain the desired keys.

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.