Bitcoin Forum
August 21, 2018, 12:07:50 AM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Protocol Documentation?  (Read 567 times)
zekesonxx
Jr. Member
*
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.

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

Posts: 1534810070

View Profile Personal Message (Offline)

Ignore
1534810070
Reply with quote  #2

1534810070
Report to moderator
1534810070
Hero Member
*
Offline Offline

Posts: 1534810070

View Profile Personal Message (Offline)

Ignore
1534810070
Reply with quote  #2

1534810070
Report to moderator
1534810070
Hero Member
*
Offline Offline

Posts: 1534810070

View Profile Personal Message (Offline)

Ignore
1534810070
Reply with quote  #2

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

Activity: 318
Merit: 252


President 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?

President Bitcoin Association Switzerland
https://www.bitcoinassociation.ch/   ||   http://bitcoinlectures.tv
fireduck
Sr. Member
****
Offline Offline

Activity: 390
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:  

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!