Bitcoin Forum
May 11, 2024, 12:09:22 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 »
1  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] [XSH] TOR/i2p, Quantum proof, MN, PoS/PoW, Fully ano, SHIELD on: February 04, 2019, 10:24:18 PM
Hopefully devs get back on track. Shield has some good features that make it superior to other cryptos.
2  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][ZEN] Horizen: Bringing Privacy To Life [EX ZenCash] on: January 31, 2019, 02:57:47 PM
Is this built using Zcash?  or what privacy features does this have. I am looking for privacy coins to invest in.
3  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][AIRDROP]X-CASH | First CNv8 based coin with public & private transactions on: January 31, 2019, 02:52:28 PM
What privacy features does this coin have?  and does it have masternodes?
4  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Foodchain - tracking food products life cycle [MN/POS] on: January 29, 2019, 04:29:12 AM
Idea is nice but what is this? Is it an ICO, Airdrop...mineable only? 
5  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Litecoin - a lite version of Bitcoin. Launched! on: January 25, 2019, 06:00:27 PM
Any new updates coming to Litecoin?  What about adding a privacy feature?
6  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][NIM] - Nimiq - The Browser Based Blockchain on: January 25, 2019, 05:58:23 PM
Is it like the Brave browser? what are the advantages over Brave browser?
7  Economy / Games and rounds / Re: DirectBet Ice Hockey Prediction Game *** Win Free Bets ! *** Free to Enter ! on: February 09, 2017, 11:35:13 PM
Nashville Predators 5 @ 2 New York Rangers
8  Economy / Games and rounds / Re: DirectBet American Football Prediction Game ! Win Free Bets ! Free to Enter ! on: February 05, 2017, 10:10:43 PM
New England Patriots 33 @ 23 Atlanta Falcons
9  Bitcoin / Mining software (miners) / Re: New .Net Miner (now with GPU and long poll!) on: July 19, 2011, 03:36:02 PM
Hmm. I had this problem on a Windows Server 2008 box. I just did a little work, and I think it's a missing dependency for the C++ stuff.

I believe you need the Microsoft Visual C++ Runtime (x64) installed.

http://www.microsoft.com/download/en/details.aspx?id=14632

I might be wrong.
10  Bitcoin / Mining software (miners) / Re: New .Net Miner (now with GPU and long poll!) on: July 16, 2011, 01:50:39 AM
I should also note that I'm kind of an architecture snob. I don't like hacks. I like clean, well designed code, with lots of separation between layers, and lots of comments. This is mostly just a for-fun project for me, so I will probably have strong opinions about how something should be designed. It's practice.
11  Bitcoin / Mining software (miners) / Re: New .Net Miner (now with GPU and long poll!) on: July 16, 2011, 01:49:15 AM
Sweet. Any places you feel the code needs immediate attention? I'll probably screw around with it this weekend.

Well, BFI_INT stuff needs to be added. That's pretty crappy to do though.

Most of the outstanding stuff I need to do requires a bit of rearch. I want to add support for running miner plugins out of process of the main program. Once that is in, the processes can be started and stopped dynamically in the Console session, so they have GPU access.

I need more events flowing from the miner processes up to the main program. They already expose Resources, which represent something like a CPU, or a GPU, but those Resources can be a bit more descriptive. Hash count tracking per-resource would be nice. Then, when the main program is getting events from all of the stuff it's running, the console UI can be updated a bit (maybe using curses stuff) to show exactly what's happening. What GPUs are running. What pools are running. What GPUs are working on work from what pool, etc.

I'd like a miner plugin factory to be able to, with a resource, also advertise possible run-modes of the miner. Such as work group size, vector modes, etc. This way, instead of the user having to specify what options he wants the program to use, it just tries them all during the test phase, and picks the fastest.

Pool configuration stored in some other structure than System.Configuration would be nice. Or maybe System.Configuration is fine, but it needs to be configurable at runtime. You need to be able to alter the pools at runtime... for a future WPF UI.

12  Bitcoin / Mining software (miners) / Re: New .Net Miner (now with GPU and long poll!) on: July 15, 2011, 01:27:48 PM
Ok, this is very cool.  I was looking for someone who had done this. If you need help with this, give me a hollar.  There is a reason I may be an ideal coding partner on this, which I will share over PM if you're interested.

You beat me to it.  I was still on the OpenCL .NET wrapper step.  That said, I've only been looking into Bitcoin for 9 days Smiley

Next step:  .NET pushpool.

That may be my next "side" project...

Well there's work to be done on it, so just do it. Wink
13  Bitcoin / Mining software (miners) / Re: New .Net Miner (now with GPU and long poll!) on: July 13, 2011, 09:15:30 PM

I've never even noticed this! Assumed you were talking about the SHA256 one. I'm still going to assume it's faster for all the same reasons minus the P/Invoke.
14  Bitcoin / Mining software (miners) / Re: New .Net Miner (now with GPU and long poll!) on: July 13, 2011, 05:58:06 PM
What speed are you seeing on the completly managed SHA256 hasher you've made compared to the one built into the .net libary?

Don't know. Never tried the .Net one. I assume much faster. The .Net one's interface requires you to submit a byte[] of the data, which it no doubt has to split up internally into 64 byte blocks, and add the padding to. Additionally, when output, it probably reverses the endian. And thus it has to reverse it again when doing the second hash. And the second hash no doubt has to be copied, and padded, too. Also, I suspect that it probably uses CryptoAPI, so results in a P/Invoke.
15  Other / CPU/GPU Bitcoin mining hardware / Re: DiabloMiner GPU Miner (Long Poll, BFI_INT, and never fail async networking) on: July 11, 2011, 03:46:25 PM

The LP spec doesn't say "the LP request is not a JSON RPC request" explicitly. If it did, then, yes, I could get away with doing GET. Receiving a JSON RPC response is questionable at best in the case that this is true (although normal JSON over HTTP obviously is GETtable).

I don't particularly like the idea of mixing JSON RPC and non JSON RPC in the same protocol. If the LP spec says that you don't need to send a JSON RPC request, then the LP spec is wrong.

I agree. It's not much of a spec. It's more like, 5 half-assed written paragraphs. But that's fine. We do with it what we can.

Perhaps the problem is you shouldn't consider LP as JSON-RPC. Maybe it's not. After all, if it was, it would not specifically mention GET. It's just a hack. I don't see any other way to interpret it. It's a GET request whose response is a JSON-RPC method response packet, completely outside of the normal JSON-RPC flow.

It should also be noted that no matter what you POST to it, it works. You can post completely arbitrary data, and it will still respond with a JSON-RPC response. Or you can post nothing. It is clearly not JSON-RPC.
16  Other / CPU/GPU Bitcoin mining hardware / Re: DiabloMiner GPU Miner (Long Poll, BFI_INT, and never fail async networking) on: July 10, 2011, 05:56:31 PM
From deepbit: Miner starts a request to long polling URL with GET method and same basic authorization as on main connection.

It does not specify whether there is a body. I should note, that I do not use a body, and it works fine, with every pool I've seen. If it does expect a body, it is a contradictory spec, as you said.
17  Bitcoin / Mining software (miners) / Re: New .Net Miner (now with GPU and long poll!) on: July 10, 2011, 04:04:21 PM
Okay. I now support multiple pools. The format of the .config file has changed.


    <bitmaker.miner>
        <pools>
            <add
                url="http://user:pass@host:8332/" />
            <add
                url="http://user:pass@host:8332/" />
            <add
                url="http://user:pass@host:8332/" />
        </pools>
    </bitmaker.miner>


Each time a thread desires work, it starts at the top and works it's way down. So, the pool at the top, if it's working, is currently always used. If it fails, the next one is tried. Work gets submitted back to the correct pool.

Thinking of implementing some sort of priority classing and load balancing to that. Maybe poolGroup or something.
18  Other / CPU/GPU Bitcoin mining hardware / Re: DiabloMiner GPU Miner (Long Poll, BFI_INT, and never fail async networking) on: July 10, 2011, 02:50:27 PM
ANY client that EVER uses GET for JSON RPC is wrong. Read the HTTP spec, GETs should never have message bodies. DiabloMiner follows the HTTP specification and uses POST for all requests.


Can you clarify this a bit? My understanding is that a LP URL does not have a body, and thus using GET is just fine.
19  Bitcoin / Mining software (miners) / Re: New .Net Miner (now with GPU and long poll!) on: July 08, 2011, 01:38:43 AM
It's decent. It's a proper wrapping of OpenCL. There's a small annoyance with a memory leak of ComputeEvent's being generated even though you pass null as a event list for most calls. That's easy enough to solve by passing a list to put them in and disposing of them immediately though. The only thing really wrongn with it is a complete lack of documentation as far as I can see. That's fine though, since it's nothing but a loose wrapper over OpenCL itself.
20  Bitcoin / Mining software (miners) / Re: New .Net Miner (now with GPU and long poll!) on: July 08, 2011, 12:37:09 AM
You don't really yet. It loads and attempts to run every plugin it finds. If the .Gpu assembly is in the same folder as the .exe, it's tested, and runs.

If the .Sse assembly is there, it's tested and runs. Same with .Managed.

Step #1 for me was getting an actual working miner. Next steps are making the thing configurable, usable, etc. I had previously decorated the code with Console.WRiteLIne's for each plugin, so you could see what the hell was going on, but kind of removed them all.
Pages: [1] 2 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!