The c# tag has no wiki summary.
1
vote
1answer
28 views
MtGox http api “trades since” requests keep being timed out
i wrote a simple function to retrieve trades from mtgox with following HTTP API call:
https://data.mtgox.com/api/1/BTCUSD/trades?since
documented here: ...
2
votes
2answers
328 views
MtGox websockets api returning “400 Bad Request”
I want to get started with the Mt. Gox websockets API, but I can't seem to get a good response from the server.
I'm sending the following (captured with Wireshark):
GET /mtgox HTTP/1.1
User-Agent: ...
2
votes
0answers
96 views
bitcoind 400 bad request - what's wrong with this code?
As per this code sample, I'm attempting to make a .net httpwebrequest from my local machine to a local bitcoind -daemon server. However, I'm only receiving a 400 bad request at ...
3
votes
1answer
233 views
What is wrong with this C# code that converts a block's bits into a target?
UPDATE: The code in this question works for all test cases (Hurray!) however I don't like how GetCompact uses the Math.Abs function and don't think it's true to the OpenSSL implementation.
Fixing ...
1
vote
1answer
65 views
Looking for unit testing data for Block.Bits to & from a JSON-RPC string
I'm trying to convert the JSON-RPC result of a Block's compressed bits property into a C# float with the following constraint
//3 bytes mantissa, the leading byte as exponent (where only the 5 ...
6
votes
3answers
874 views
Are there any C# Bitcoin libraries and/or mining pool software packages?
I was keen to write/launch a .Net pooled mining server as an exercise of getting into the Bitcoin universe.
Are there any C# ports of the libraries needed to achieve this?
If not
Are there any ...
2
votes
1answer
266 views
How do I Base58 Checked encode / decode an address in C#? What does “normalize leading zeros” mean?
I am trying to encode and decode a Base58 address in C#. The following function is a start, but it has a few issues:
This code does not normalize leading zeros (what does that look like?)
If this ...
4
votes
1answer
55 views
I'm developing on the Test network. Are there any “rules” or communication methods I should adopt?
I'm testing a C# port of the client on the Test network and need to test for a variety of conditions.
Should I communicate to others regarding my actions on the network? If so, what method of ...
3
votes
1answer
610 views
How do I call JSON RPC API using C#?
How do I access the JSON RPC API in C# in such a way that I can also read the errors that the interface provides?
2
votes
2answers
78 views
Does FIPS 140-2 crypto certification matter for Bitcoin?
I'm implementing part of the Bitcoin client in C# and noticed that I have the choice between FIPS 140-2 and non certified versions of SHA256. Supposedly both versions give the same hash.
Does the ...