I hereby claim:
- I am monkins1010 on github.
- I am monkins (https://keybase.io/monkins) on keybase.
- I have a public key ASA98Scwn1nhEVZHQNkM9MidR_jcixxzQYnClM6txzFqOAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| {(VRSCTEST)VRST: 0x21890391d54930092E69968Da1239826Ba438C15 , (Bridge.vETH) BETH: 0x5ef378642a309485fd0f27850ec7f0550104f530, USDC: 0xeb8f08a975ab53e34d8a0330e0d34de942c95926} |
| 0x3da9BB5acdD969a4F37d989670859dD8502e95ee |
| // kernel-interface: john SHA256d | |
| #ifdef VECTORS4 | |
| typedef uint4 u; | |
| #elif defined VECTORS2 | |
| typedef uint2 u; | |
| #else | |
| typedef uint u; | |
| #endif |
| __device__ __forceinline__ uint64_t ROTL64(const uint64_t value, const int offset) { | |
| uint2 result; | |
| if (offset >= 32) { | |
| asm("shf.l.wrap.b32 %0, %1, %2, %3;" : "=r"(result.x) : "r"(__double2loint(__longlong_as_double(value))), "r"(__double2hiint(__longlong_as_double(value))), "r"(offset)); | |
| asm("shf.l.wrap.b32 %0, %1, %2, %3;" : "=r"(result.y) : "r"(__double2hiint(__longlong_as_double(value))), "r"(__double2loint(__longlong_as_double(value))), "r"(offset)); | |
| } | |
| else { | |
| asm("shf.l.wrap.b32 %0, %1, %2, %3;" : "=r"(result.x) : "r"(__double2hiint(__longlong_as_double(value))), "r"(__double2loint(__longlong_as_double(value))), "r"(offset)); | |
| asm("shf.l.wrap.b32 %0, %1, %2, %3;" : "=r"(result.y) : "r"(__double2loint(__longlong_as_double(value))), "r"(__double2hiint(__longlong_as_double(value))), "r"(offset)); |
| // mul2.cpp : Defines the entry point for the console application. | |
| // | |
| #include "stdafx.h" | |
| // ConsoleApplication1.cpp : This file contains the 'main' function. Program execution begins and ends there. | |
| // | |
| #pragma warning (disable : 4146) | |
| //#include "pch.h" | |
| #include <iostream> |
| #include <cuda_helper.h> | |
| #define EQNONCE_OFFSET 30 /* 27:34 */ | |
| #define NONCE_OFT EQNONCE_OFFSET | |
| static bool init[MAX_GPUS] = { 0 }; | |
| static u128 data_key[MAX_GPUS][VERUS_KEY_SIZE128] = { 0 }; // 552 required | |
| extern "C" void GenNewCLKey(unsigned char *seedBytes32, u128 *keyback) |
| static const int PROTOCOL_VERSION = 170002; | |
| #include <cuda_helper.h> | |
| #define EQNONCE_OFFSET 30 /* 27:34 */ | |
| #define NONCE_OFT EQNONCE_OFFSET | |
| static bool init[MAX_GPUS] = { 0 }; | |
| static int valid_sols[MAX_GPUS] = { 0 }; | |
| static uint8_t _ALIGN(64) data_sols[MAX_GPUS][10][1536] = { 0 }; // 140+3+1344 required |
| extern "C" int scanhash_verus(int thr_id, struct work *work, uint32_t max_nonce, unsigned long *hashes_done) | |
| { | |
| uint32_t _ALIGN(64) endiandata[35]; | |
| const char *pdata = (const char*)work->data; | |
| uint32_t *ptarget = work->target; | |
| int dev_id = device_map[thr_id]; | |
| unsigned char block_41970[] = { 0xfd, 0x40, 0x05, 0x01 }; | |
| uint8_t _ALIGN(64) full_data[140 + 3 + 1344] = { 0 }; | |
| uint8_t* sol_data = &full_data[140]; |
| R"===( | |
| /* | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or | |
| * any later version. | |
| * | |
| * This program is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |