Pronounced "C-Sharp". A computer language developed by Microsoft.

learn more… | top users | synonyms

1
vote
0answers
17 views

Matching KeyPath in application with Wallet32 Keypath for Bip44 wallets

I have an application where I create an HD wallet with a passphrase and save the public master key to the database for the user. Then, I want the user to be able to back up the wallet to their own ...
2
votes
2answers
143 views

Options for a Client Only C# application

If I want to create a client only, C# desktop application, what are my options for working with Bitcoin? I could try to port BitcoinJ, which seems like a lot of overhead in terms of initial effort ...
1
vote
1answer
114 views

What encoding is “pubkey” from the JSONRPC validateaddress command?

I need to convert a public key into a form suitable for use with BouncyCastle. To do this I open the debugger and write: ListAddressGroupings I then pick an address and write validateaddress ...
3
votes
1answer
331 views

JSON-RPC signrawtransaction returns false when using private keys

I've been working with BitcoinLib testing various parameters on the signrawtransaction rpc call. It's been mostly successful, however there seems to be a persisting problem when using only private ...
1
vote
0answers
182 views

Mt.Gox API v2 with C# - authentication problem 403

I'm trying to access the Mt.Gox API v2 via C# and HTTP requests. I've put together the following code based on various examples I found online (e.g. the nitrous documentation). private string ...
1
vote
0answers
2k views

C# - JSON-RPC - How to build the json object before serialization (createrawtransaction)

I am trying to build a C# application working on JSON-RPC with Bitcoin-qt (server mode). I am using Bitsharp, though I don't think this should matter at all. First off the InvokeMethod: ...
1
vote
1answer
388 views

Coinbase IPN test page not posting data?

On Coinbase under Merchant Profile I'm entering the URL: https://www.scirra.com/handlers/coinbasecallback.ashx For the IPN tester. This ashx page has the code: var r = ""; foreach(string name in ...
1
vote
1answer
327 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
2k 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
341 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
538 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
120 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 ...
8
votes
6answers
3k 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
1k 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
107 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
2answers
4k 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
151 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 ...