Bitcoin Forum
December 16, 2017, 06:06:53 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Protocol Documentation?  (Read 558 times)
zekesonxx
Jr. Member
*
Offline Offline

Activity: 42



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.

15i71qq4vx2enRoz2aGR8LvHWnhgzdoTZT
Bitcoin Foundation is a scam. SatoshiDICE is spam. [this spot for sale for 5 BTC/day]
1513404413
Hero Member
*
Offline Offline

Posts: 1513404413

View Profile Personal Message (Offline)

Ignore
1513404413
Reply with quote  #2

1513404413
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513404413
Hero Member
*
Offline Offline

Posts: 1513404413

View Profile Personal Message (Offline)

Ignore
1513404413
Reply with quote  #2

1513404413
Report to moderator
1513404413
Hero Member
*
Offline Offline

Posts: 1513404413

View Profile Personal Message (Offline)

Ignore
1513404413
Reply with quote  #2

1513404413
Report to moderator
1513404413
Hero Member
*
Offline Offline

Posts: 1513404413

View Profile Personal Message (Offline)

Ignore
1513404413
Reply with quote  #2

1513404413
Report to moderator
lclc
Sr. Member
****
Offline Offline

Activity: 280



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: 366



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.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!