Commit graph

23 commits

Author SHA1 Message Date
Neil Booth
6f1367fea6 Unify message IDs between network and interfaces
Previously network.py had its own idea of request IDs,
and each interface had its own which was sent on the wire.
The interface would jump through hoops to translate one
to the other.

This unifies them so that a message ID is passed when
queueing a request, in addition to the method and params.
network.py is now solely responsible for message ID management.

Apart from being simpler and clearer, this also should be faster
as there is much less data structure manipulation and rebuilding
happening.
2015-09-09 21:00:25 +09:00
ThomasV
ad9f7411d7 peers script: handle missing fields 2015-07-05 23:28:05 +02:00
ThomasV
43c8fd43c4 update peers and txradar scripts 2014-09-15 14:52:28 +02:00
ThomasV
2c36518e46 handle non-answering servers in peers script 2014-08-15 08:09:43 +02:00
ThomasV
a6091780d0 change server in peers script 2014-08-08 14:47:55 +02:00
ThomasV
466f325b88 fix peers script 2014-08-06 04:03:16 +02:00
ThomasV
a4d904bfd3 update peers script 2014-08-05 12:44:43 +02:00
ThomasV
291038a586 update peers script 2014-08-05 12:36:26 +02:00
ThomasV
45514c7ba9 global timeout in peers script 2014-04-28 14:46:07 +02:00
ThomasV
0f44ebac55 handle timeout in peers script 2014-03-22 11:04:52 +01:00
ThomasV
9994bbc56f sort by height 2014-03-11 09:37:39 +01:00
ThomasV
55e4aa2a47 minor improvements to scripts 2014-03-10 16:14:45 +01:00
ThomasV
370e2dd7ec increase timeout 2014-03-04 22:49:43 +01:00
ThomasV
b0796daee4 more legible output for scripts/peers 2014-03-04 22:31:12 +01:00
ThomasV
e355c290f8 peer script 2014-02-11 14:08:48 +01:00
ecdsa
d140383d03 exit wait_until_connected() when all servers have been tried 2013-12-16 19:59:35 +01:00
thomasv
0bba8e4549 improve 'peers' script 2013-12-16 16:26:49 +01:00
ThomasV
66f224eab4 update a few scripts 2013-10-06 12:28:45 +02:00
thomasv
f4c26dfac0 update peers script 2013-08-14 16:22:13 +02:00
ThomasV
2da0c0b77e big refactoring of the interface
addition of the wallet verifier class for SPV
2012-10-21 22:55:16 +02:00
thomasv
1a781036cf move init_socket in constructor 2012-10-12 16:09:20 +02:00
thomasv
5444f55e6b big refactoring: command line options and electrum.conf options override settings in wallet file. 2012-10-11 20:10:12 +02:00
thomasv
e70c20803f create scripts directory 2012-10-08 15:19:05 +02:00
Renamed from peers (Browse further)