Bitcoin Forum
October 02, 2025, 08:02:30 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 5 6 7 »
1  Alternate cryptocurrencies / Altcoin Discussion / Resources on how to make a trading bot? on: August 02, 2015, 01:03:15 AM
I'm curious about making a bot that can buy and sell from multiple markets (Bter, Poloniex, etc.) but I'm not familiar with API's, JSON, or anything like it  Huh.

Are their any recommendations or guides for how to do this?
Any books that might get me started?
2  Bitcoin / Development & Technical Discussion / Re: SHA256 Scheduler? on: March 08, 2015, 02:40:08 AM
Sorry about that. I just wanted to make sure I knew W and K like the back of my hand. Thank you for all the help. I am extremely grateful for it. Sorry if it was really troublesome.
3  Bitcoin / Development & Technical Discussion / Re: SHA256 Scheduler? on: March 08, 2015, 02:05:17 AM


I understand what is going on with K here, its the constants that the NSA provided.
I also notice that W does not go to each round. Is their a formula/rule for when W gets inputted?
4  Bitcoin / Development & Technical Discussion / Re: SHA256 Scheduler? on: March 07, 2015, 08:16:20 PM
Values as in inputs?

I know they denote SHA256 as having 8 inputs with A-H, each capable of taking in 32 bits. Inputs A and E require processing but everything else just gets shifted over.
5  Bitcoin / Development & Technical Discussion / Re: SHA256 Scheduler? on: March 07, 2015, 05:54:27 PM
How does the padding work?

I had another question, not sure if its related, but Avalon documentation shows they do some form of preprocessing before sending it to the actual ASIC to "improve efficiency".
Is it padding or something to do with expansion?

6  Bitcoin / Development & Technical Discussion / Re: SHA256 Scheduler? on: March 07, 2015, 04:56:13 AM
Does Bitcoin just use the standard 64 rounds or does it require less?
7  Bitcoin / Development & Technical Discussion / Re: SHA256 Scheduler? on: March 06, 2015, 02:50:38 PM
Wt is derived from the inputted data, which gets expanded by the expander and Kt are just the constants. One constant is used per 64 rounds.

Would it be detrimental if you failed to perform 64 rounds?
8  Bitcoin / Development & Technical Discussion / Re: SHA256 Scheduler? on: March 06, 2015, 05:16:24 AM
I notice that a lot of these diagrams show the expander as a seperate component to the compressor ( which is understandable )
However, I keep getting confused between the diagrams I see in official documents and this one



I hate to ask these seemingly simple questions but if I'm understanding this right, Kt are the predefined constants and Wt is derived from the inputted data. They get combined each round. right?
9  Bitcoin / Development & Technical Discussion / Re: SHA256 Scheduler? on: March 03, 2015, 02:18:28 PM
Why does it need to be expanded if the input has already been compressed/padded?

You state that is expands it into an array of 64 x 4 bytes which turns into the message schedule.

From what I'm seeing, the data in the message scheduler is also part of the data you're compressing but it is somehow separate from the "compressor" as labeled in the diagram.
This "Expander", which is part of the message scheduler, takes in "Wt", a chunk of data from the message schedule and "Kt", a predefined constant. I assume I understand this correctly?
10  Bitcoin / Development & Technical Discussion / Re: SHA256 Scheduler? on: March 03, 2015, 05:26:25 AM


The scheduler also appears to have the same two functions as this "Expander" which I have no clue what it's for.
11  Bitcoin / Development & Technical Discussion / Re: SHA256 Scheduler? on: March 03, 2015, 04:33:49 AM
Since Bitcoin uses a Double SHA256, I've heard you can "carry over" data. And why 64 rounds? Is that a standard?
I realized the more rounds you have, the harder it gets to "reverse".
12  Bitcoin / Development & Technical Discussion / Re: SHA256 Scheduler? on: March 03, 2015, 03:17:44 AM
SHA-256 involves 64 rounds per block (512 bit input) and each block is broken into eight 32 bit words.  The message schedule refers to the movement of the words through the algorithm.



Word A for round n becomes word B for round n+1 is part of the message schedule.


So the data from the previous round just gets shifted? And what exact are Wt and Kt? From what I can gather, they are where you put the initialization values the NSA supplies.
13  Bitcoin / Development & Technical Discussion / SHA256 Scheduler? on: March 03, 2015, 02:51:45 AM
What is it pretty much. I've wrapped my head around the four functions ( five if you count the Modulo 32 ) and compression to a degree ( padding and splitting or "chunking" as I like to call it).
What is this "Message Scheduler"?

I've been looking through the NIST documents on SHA256 and I see something called a "message scheduler" not sure what that is  Sad
Any ideas or explanations?
14  Bitcoin / Development & Technical Discussion / Re: SHA256 Compression? on: March 02, 2015, 06:26:54 PM
I've got a pretty good idea of how the hashing actually woks although I have difficulty wrapping my head around the compression.

From what I've gathered, the data is split into suitable chunks and then hashed. If its less then ideal, it becomes padded although I doubt Bitcoin hashing requires it.

The Avalon data sheets point to a method of sorts for preprocessing where the data is split up outside the chip before being sent to it.

I also remember TheRealSteve telling me that a difference exists between typical SHA256 and the Merkle-Damgard construct...or Merkle Tree, if my vernacular is correct.
15  Bitcoin / Development & Technical Discussion / Re: SHA256 Compression? on: March 02, 2015, 04:38:27 PM
The instructions were easy. I had difficulty finding the right PDF. Thank you and sorry for the extra work you had to put in to link it.  Wink
Tip me a coffee, I think that's fair recompense Wink
( wait, does that tip bot thing even monitor BCT yet? Dangit. )

Maybe when I actually have BTC to start with.
16  Bitcoin / Development & Technical Discussion / Re: SHA256 Compression? on: March 02, 2015, 03:05:34 PM
The instructions were easy. I had difficulty finding the right PDF. Thank you and sorry for the extra work you had to put in to link it.  Wink
17  Bitcoin / Development & Technical Discussion / Re: SHA256 Compression? on: March 02, 2015, 02:54:21 PM
That looks like real useful piece of information. Is it possible to get that e-mailed please?
18  Bitcoin / Development & Technical Discussion / Re: SHA256 Compression? on: March 01, 2015, 03:29:13 PM
Are you trying to design a generic SHA256 ASIC, or a Bitcoin mining ASIC?  There's a fair bit of difference there.

If the latter, I'd suggest looking at some of the public documents for the older FPGA miners, Avalon's chips, the data mining software sends to simple chips (i.e. not miners with their own controller board). etc.
For a quick "ahhh", see: http://crypto.stackexchange.com/questions/1862/how-can-i-calculate-the-sha-256-midstate

Bitcoin mining ASIC. Thanks for the link. I'll look it over  Smiley
19  Bitcoin / Development & Technical Discussion / Re: SHA256 Compression? on: March 01, 2015, 02:24:18 AM
Thanks. Is it possible to get this moved?
20  Bitcoin / Development & Technical Discussion / SHA256 Compression? on: March 01, 2015, 02:15:06 AM
I have been trying to design my own SHA256 ASIC for a while now and I'm starting to nearly grasp how the entire hashing algorithm works.
The only thing I seem to have difficulty understanding is how the hash function deals with "extended" strings of data.

That is, its ability to deal with varying lengths of data.
How does it deal with it and does it interfere much with ASIC hashing?
Pages: [1] 2 3 4 5 6 7 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!