Questions tagged [json-rpc]

This tag should be used for questions relating to the Bitcoin Core/bitcoind JSON-RPC interface.

Filter by
Sorted by
Tagged with
3
votes
1answer
532 views

Running Miner as embedded system (No OS) - Can it be done?

I've been messing about with TCP/IP stacks on some fairly powerful MCU's lately (mostly the ARM M4 series), and this sort of led to the crazy idea, that I could somehow create an embedded platform ...
5
votes
3answers
4k views

How can I code a Bitcoin JSON-RPC “getwork” request in Java?

I'm not entirely sure whether to ask this question on Bitcoin-SE or Stack Overflow, but I decided to post it here due to the direct relevancy of the question to Bitcoin and the general prominence of ...
2
votes
2answers
720 views

How would one inject a blockchain fork to the Bitcoin network?

For theoretical purposes, how would one inject a blockchain fork in to the Bitcoin network? For example, lets say we have a small chain of blocks prepared in a program that is not a standard client / ...
0
votes
1answer
210 views

Which miners support generating their own midstate?

Currently I was testing RPCMiner on my Mac running a custom pool, and it appears to crash because I can't generate a proper midstate value. Which miners support generating their own midstate (as per ...
2
votes
1answer
273 views

Getwork and GetMemoryPool - why is previous block hash different?

When I called: print bitcoin.getmemorypool() print bitcoin.getwork() using Python JSON for a testnet BitcoinQT server, I got the following responces: {'previousblockhash': '...
3
votes
1answer
341 views

How to merged mine with getmemorypool RPC command?

The getmemorypool RPC command lists all transactions that are to be included in a block, with the exclusion of the generating transaction. In merged mining, one needs to add an extra transaction ...
1
vote
0answers
452 views

Move all coins from an address via RPC

Let's say I generated some coins with a given address and I want to send a specific amount of coins to a specific addresses, and move the remaining balance to another specific address. I want to do it ...
2
votes
1answer
340 views

Which Bitcoin miners allow one to use paths in URLs?

I've recently been experimenting with implementing a pool and testing it against GUIminer. To my surprise, it was not able to handle paths in URL of the pool, only subdomains. For example, calling: ...
4
votes
1answer
222 views

Can one send bitcoind transactions that will only be valid after a certain amount of time?

The standard client only allows one to spend coins from a transaction after getting 6 confirmations (120 in case of mining rewards). Can one send bitcoind a JSON-RPC command telling it to send those ...
2
votes
1answer
1k views

Bitcoin RPC SSL error

I recently tried running Bitcoin-QT as a server with SSL enabled, but when I was testing the connection, with this command: openssl s_client -connect 111.11.111.111:8332 I got this error: CONNECTED(...
4
votes
1answer
205 views

API calls - “not yet implemented”?

I tried sending some commands to my Bitcoin-QT running on Mac, and when I called "encryptwallet", I got this response: Not Yet Implemented: use GUI to encrypt wallet, not RPC command What API calls ...
8
votes
3answers
1k views

What's the best way for a website to detect payments from green addresses?

Does any proven third party code exist for this? Edit* To be more specific, what I haven't been able to find out is how to get the sender's bitcoin address when receiving a transaction. As far as ...
2
votes
1answer
623 views

Miners - HTTP JSON-RPC or JSON-RPC?

Does the main miner software used currently use HTTP JSON-RPC, or JSON-RPC? That is, do they use HTTP calls to obtain getwork, or TCP/IP?
9
votes
2answers
2k views

How secure is calling bitcoind JSON-RPC?

How secure is calling bitcoind through a JSON-RPC? For example, if I run it on one of my computers, and try calling it from another computer (provided neither of them are compromised), can someone ...
4
votes
2answers
334 views

Merged mining custom bitcoind

What are the core changes to bitcoind that allow one to merge-mine? Are there any new JSON-RPC commands that are enabled, or changes to the existing ones?
4
votes
1answer
1k views

JSON-RPC getwork data field

I recently tried playing around with the getwork command for JSON-RPC and I'm trying to understand what I got out of it. According to the API Call List wiki entry, the "data" field should contain the ...
24
votes
2answers
12k views

Bitcoin-Qt command line control on Mac

I'm trying to communicate with the new Bitcoin-Qt -server via a command line on Mac. I run ./Bitcoin-Qt -server, the application starts, but my terminal window is stuck on an empty line (no matter ...
2
votes
2answers
326 views

Mining software not using Json-RPC?

Is there some mining software out there that doesn't use Json-RPC as a communication method with the mining pool? If so, what protocol are they using?
6
votes
1answer
3k views

What is the standard protocol for pools/miners?

The Bitcoin client protocol is well documented in the Bitcoin Wiki, but I can't find much on the protocol used by pools and miners. Is it described anywhere?