-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add x16rt algo #338
base: next
Are you sure you want to change the base?
Add x16rt algo #338
Conversation
This x16rt currently works for upcoming Gincoin fork. Uses standard BTC block header. Not for Veil.
sph_sha256_context is already in sha3/sph_sha2.c |
|
||
uint32_t *in32 = (uint32_t*) input; | ||
uint32_t ntime = in32[17]; | ||
uint8_t timeHash[8]; /* was uint32_t _ALIGN(64) timeHash[8]; */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is incorrect, a sha256d is 32 bytes (256bits)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try to correct this. Also replace sha256d with existing sha256_double_hash.
So when will veil be added ? |
Does not work! |
does this work now? has it been tested with veil or gin? |
This x16rt currently works with the upcoming Gincoin fork, which uses standard block header - not for Veil.