Bitcoin Forum
December 14, 2024, 09:39:56 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Protocol Documentation?  (Read 675 times)
zekesonxx (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0



View Profile
October 12, 2013, 07:01:00 AM
 #1

I'm working on a new client that would work great to have support for Electrum servers, but I can't find any kind of documentation for the protocol anywhere.
lclc
Sr. Member
****
Offline Offline

Activity: 298
Merit: 275


Bitcoin Association Switzerland


View Profile WWW
October 14, 2013, 01:08:32 PM
 #2

I've asked for that too a month ago: https://github.com/spesmilo/electrum/issues/284

I guess as long as Electrum is in active development (no 1.x release) we won't see any doc since, at least in theory, everything could change.
But you can uncomment
Code:
print_error( "<--",c )
on Line 99 and
Code:
print "-->",request
on line 395 to print the JSON request while running the Electrum client.

What language / technologie do you use for your client?

fireduck
Sr. Member
****
Offline Offline

Activity: 392
Merit: 251



View Profile
October 28, 2013, 10:21:51 PM
 #3

I've asked for that too a month ago: https://github.com/spesmilo/electrum/issues/284

I guess as long as Electrum is in active development (no 1.x release) we won't see any doc since, at least in theory, everything could change.
But you can uncomment
Code:
print_error( "<--",c )
on Line 99 and
Code:
print "-->",request
on line 395 to print the JSON request while running the Electrum client.

What language / technologie do you use for your client?

That was more or less my tactic as well.  The fun part is that it uses the same JSON exchange protocol as stratum miners. That basically means a JSON block followed by a return is a message and either side can send messages at any time.  Requests have IDs and responses to the request should have the same ID.

Bitrated user: fireduck.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!