Questions tagged [http]

Hypertext Transfer Protocol

The Hypertext Transfer Protocol is an application protocol for distributed, collaborative, hypermedia information systems.

10 questions
7
votes
2 answers

Bitcoin over HTTP?

Are there any implementations of a Bitcoin client that would run over HTTP, allowing one to communicate by, for example, sending raw message bytes as a POST? Edit: I'm not looking for ways to control a Bitcoin client remotely, for example telling it…
ThePiachu
  • 42,931
  • 25
  • 138
  • 347
5
votes
1 answer

What are the differences and advantages of stratum to HTTP?

I understand that Stratum is a kind of protocol specifically designed for ASIC miners. I found this page from its creator, but it is very technical. I want to know, in layman's terms, what are the differences between Stratum and HTTP. I also want to…
frеdsbend
  • 1,668
  • 3
  • 21
  • 39
4
votes
1 answer

How do I get merkle branches using the Stratum protocol?

I need to get the merkle branch quickly for a known TX. I have connected to various stratum servers, but whenever I send the method below I get "HTTP code 405 - Method not allowed". { \"id\": 1, \"method\": \"blockchain.transaction.get_merkle\",…
3
votes
1 answer

Please explain getwork

Request: POST / HTTP/1.1 Host: de.btcguild.com:8332 Accept: */* Accept-Encoding: deflate, gzip Content-type: application/json X-Mining-Extensions: longpoll midstate rollntime submitold Content-Length: 44 User-Agent: bfgminer 2.99.1 {"method":…
Mike Hunt
  • 61
  • 1
  • 4
2
votes
1 answer

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?
ThePiachu
  • 42,931
  • 25
  • 138
  • 347
1
vote
0 answers

Using Decred's atomic swap; "transport connection broken: malformed HTTP response"

I am trying to run the initiate command according to the example at https://github.com/decred/atomicswap This is my input: $ btcatomicswap --testnet --rpcuser=myuser --rpcpass=mypass initiate n3GPmHiV1MieHSN1s8zFDGEbVCpTYWRyFX 1.0 after getting…
Chant
  • 21
  • 2
1
vote
0 answers

What is the minimum amount of network messaging needed to get the latest block hash from a node?

Reference: https://en.bitcoin.it/wiki/Protocol_documentation#inv I want to be able to write the simplest possible script that is able to contact a Bitcoin full node (given it's IP and port) and get the latest block hash. I don't need to verify…
pinhead
  • 4,932
  • 2
  • 23
  • 38
0
votes
1 answer

GDAX Java Limit Order (HTTP Post)

Trying to send HTTP Post request to GDAX with auth. The 'GET' requests work fine and I'm unsure if I am passing the json params correctly as I keep getting Bad Request. private static JsonObject LimitOrder(String symbol, boolean side, String…
X4RQ
  • 3
  • 1
0
votes
1 answer

What are some http mining pools out there?

The open source FPGA miner with source available at https://github.com/progranism/Open-Source-FPGA-Bitcoin-Miner does not support stratum, so in order to test it, I need an http pool. Are there any left?
-1
votes
1 answer

application layer protocol for propagation between nodes

for the propagation process between nodes in the networks, witch application layer protocol they use, HTTP or WebSocket? And if they use WebSocket, does each node maintain a continuous connection with each of the other nodes?
Zag Gol
  • 99