Coder Social home page Coder Social logo

xenminer's People

Contributors

jacklevin74 avatar lbelyaev avatar nibty avatar treecitywes avatar xenpool-eth 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xenminer's Issues

PLEASE SUPPORT AMD GPU!!!!!!!!!!!!!!

I strongly condemn and protest against you, why are you ignoring our AMD users? I will tell Lisa Su about your bad behavior and let her punish you on behalf of the law. I will pray to God and curse you for your AMD graphics card discrimination.😀😀😀😀😀😀😀😀😀😀😀😀😀😠😠😠😠😠😠😠😠😠😠😠😠😠😑😑😑😑😑😑😑😑😑😑😑😑😑🀬🀬🀬🀬🀬🀬🀬🀬🀬🀬🀬🀬🀬

updates so often / difficulty adjustment every 2-5mins ?

dear jack, i am a XENMINER from few days back and i can say its quite fun and so on, but now i have to say the updates are getting more and more and how this right now works its quite a job to keep my server up to date, and sadly since the last updates today it looks more or less that we are mining only for getting new diffculty some seconds later, and i also found a superblock but this is not counted on the official site/leaderboard but only on the https://xen.pub/xenminer/leaderboard. And what would you reccomment for updating the miner.py instant or waiting, because on some days there are updates inert 4-5min again, which is quite more work to update and do it again 20min later :-(

json_dumps

File "C:\xenminer-main\miner.py", line 353, in
result = mine_block(stored_targets, blockchain[-1]['hash'], account)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\xenminer-main\miner.py", line 300, in mine_block
file.write(json_dumps(payload) + '\n')
^^^^^^^^^^
NameError: name 'json_dumps' is not defined

XENGPUMiner core dump

./xengpuminer -b 1024 -m opencl ξ‚² βœ” ξ‚² system ξ˜—

Updated difficulty to 24500
Current difficulty: 24500
dlerror: libLLVMSPIRVLib.so.15: cannot open shared object file: No such file or directory
dlerror: libLLVMSPIRVLib.so.15: cannot open shared object file: No such file or directory
Using device #0: OpenCL Device 'Ellesmere':
Type: GPU
Available: 1
Compiler available: 1

Version: OpenCL 2.0 AMD-APP (3380.4)
OpenCL C Version: OpenCL C 2.0
Extensions: cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_khr_gl_depth_images cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_amd_copy_buffer_p2p

Vendor: Advanced Micro Devices, Inc.
Vendor ID: 4098

Platform name: AMD Accelerated Parallel Processing
Platform vendor: Advanced Micro Devices, Inc.
Platform version: OpenCL 2.1 AMD-APP (3380.4)
Platform extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices

Driver version: 3380.4 (PAL,HSAIL)
Little-endian: 1

Max compute units: 36
Max work-item dimensions: 3
Max work-item sizes: [1024, 1024, 1024]

Max clock frequency: 1360 MHz

Address bits: 64
Max memory allocation size: 7073274265 bytes
Max parameter size: 1024 bytes
Memory base address alignment: 2048 bits
Min data type alignment: 128 bytes

Unified memory: 0
Global memory cache type: Read-write
Global memory cacheline size: 64 bytes
Global memory cache size: 16384 bytes
Global memory size: 8589934592 bytes

Max constant buffer size: 7073274265 bytes
Max constant arguments: 8

Local memory type: Dedicated
Local memory size: 65536 bytes

Preferred vector width (char): 4 (native: 4)
Preferred vector width (short): 2 (native: 2)
Preferred vector width (int): 1 (native: 1)
Preferred vector width (long): 1 (native: 1)
Preferred vector width (float): 1 (native: 1)
Preferred vector width (double): 1 (native: 1)
Preferred vector width (half): 1 (native: 1)

Error correction supported: 0
Profiling timer resolution: 1 ns

Execution capabilites: OpenCL kernels
Command queue properties: Profiling

terminate called after throwing an instance of 'cl::Error'
what(): clCreateProgramWithSource
zsh: IOT instruction (core dumped) ./xengpuminer -b 1024 -m opencl

updated_memory_cost = 8 in miner.py

miner.py line 44:

updated_memory_cost = 8 # just initialize it`

It should be 8 * cores if cores and memory_cost are different than default (cores=1, memory_cost=8).

Otherwise the script gives this error:

_Genesis Block: 7d9e89df799138be2e985c80e9dd47fa68bf55a6c74d55e624b28419aea42eee
Mining block 1...
Mining: 90 Hashes [00:00, 1391.94 Hashes/s, Difficulty=16]Continuing to mine blocks with new difficulty
Mining: 99 Hashes [00:00, 1399.68 Hashes/s, Difficulty=16]
Restarting mining round
Mining block 1...
Traceback (most recent call last):
File "/root/xenminer/miner.py", line 187, in
result = mine_block(target_substr, blockchain[-1]['hash'])
File "/root/xenminer/miner.py", line 88, in mine_block
argon2_hasher = argon2.using(time_cost=difficulty, salt=b"XEN10082022XEN", memory_cost=memory_cost, parallelism=cores, hash_len = 64)
File "/usr/local/lib/python3.10/dist-packages/passlib/handlers/argon2.py", line 309, in using
subcls._validate_constraints(subcls.memory_cost, subcls.parallelism)
File "/usr/local/lib/python3.10/dist-packages/passlib/handlers/argon2.py", line 328, in validate_constraints
raise ValueError("%s: memory_cost (%d) is too low, must be at least "
ValueError: argon2: memory_cost (8) is too low, must be at least 8 * parallelism (8 * 2 = 16)

this error occured when:

memory_cost = 16
cores = 2

sync.py keep crashing aroud 60k block

sync.py keep crashing aroud 60k block:

Block 67031 is valid. Computed Merkle root match the stored Merkle root.
Block 67032 is valid. Computed Merkle root match the stored Merkle root.
Block 67033 is valid. Computed Merkle root match the stored Merkle root.
Block 67034 is valid. Computed Merkle root match the stored Merkle root.
Block 67035 is valid. Computed Merkle root match the stored Merkle root.
Block 67036 is valid. Computed Merkle root match the stored Merkle root.
Block 67037 is valid. Computed Merkle root match the stored Merkle root.
Block 67038 is valid. Computed Merkle root match the stored Merkle root.
Killed

It happens every time after restarting it and every time around 60k block.
My server has enough memory and free disk space

total used free shared buff/cache available
Mem: 1.9Gi 298Mi 1.6Gi 32Ki 105Mi 1.6Gi
Swap: 5.3Gi 57Mi 5.2Gi

Filesystem Size Used Avail Use% Mounted on
udev 959M 0 959M 0% /dev
tmpfs 197M 704K 196M 1% /run
/dev/vda2 52G 13G 37G 26% /
tmpfs 981M 0 981M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/vda1 511M 12M 500M 3% /boot/efi
tmpfs 197M 0 197M 0% /run/user/0

miner.py crashing

Platform- window
user- New
Error- When opening Miner.py, it's crashing. need help.

每欑都重启了

Mining: 19115 Hashes [05:03, 72.03 Hashes/s, Difficulty=12500]Updating difficulty to 12600
Mining: 19198 Hashes [05:05, 78.98 Hashes/s, Difficulty=12500]Continuing to mine blocks with new difficulty
Mining: 19199 Hashes [05:05, 62.94 Hashes/s, Difficulty=12500]
Restarting mining round
Mining block 1...

Error: Length of hash_to_verify should not be greater than 137 characters.

@jacklevin74 I'm coming across this error whenever I find a valid hash. My suspicion is that the issus is: $argon2id$v=19$m=17400,t=1,p=12$WEVOMTAwODIwMjJYRU4$NqNdXnXUNI9TMUnWg8p7pGqWWCOyOEMr4Ap5joa8hrvX80dKtsw0/I+AW1ZqOhJf3iFZU4AGg6u0hc6X6asX9g is 138 characters. Maybe $argon2id$v=19$m=17400,t=1,p= should be removed?

Found valid hash for target XUNI after 88937 attempts
Mining: 88937 Hashes [03:48, 388.74 Hashes/s, Difficulty=17400]
{'hash_to_verify': '$argon2id$v=19$m=17400,t=1,p=12$WEVOMTAwODIwMjJYRU4$NqNdXnXUNI9TMUnWg8p7pGqWWCOyOEMr4Ap5joa8hrvX80dKtsw0/I+AW1ZqOhJf3iFZU4AGg6u0hc6X6asX9g', 'key': 'a8a50221e724494bc25e07b12e5dda5a41b86c9a84d76d7dbbea0c0a7fd0a6b8', 'account': 'XXXXXXXXXXXXXX', 'attempts': 88937, 'hashes_per_second': 388.74010849438537, 'worker': None}
HTTP Status Code: 401
Server Response: {'message': 'Length of hash_to_verify should not be greater than 137 characters.'}

A question

Can you explain the minimum and recommended parameters for this project in readme

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.