Commit graph

17 commits

Author SHA1 Message Date
ThomasV
8c5b6bdaf3 Read default server list from file. Update list with 1.1 servers. Remove nolnet option. 2017-09-13 11:30:30 +02:00
ThomasV
70af22c9e4 update scripts/servers to display server version 2017-09-07 09:41:21 +02:00
ThomasV
ff5074207c scripts: use config in get_peers 2017-09-06 17:35:41 +02:00
ThomasV
557b2c1896 update scripts for python3 2017-09-05 15:27:08 +02:00
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
Neil Booth
01d8f79a75 Clean up pick_random_server() and filter_protocol() and their
call sites.

Remove unused imports and redundant random pick of server
2015-05-24 21:07:35 +09:00
Neil Booth
4d55cb9528 First of several incremental patches tightening up interface.py.
Remove some unneeded imports, a constant and a line of dead code.
Document the current external API interface.py provides.
2015-05-05 14:02:51 +09:00
ThomasV
c3419eb7bb update script 2014-09-15 15:01:09 +02:00
ThomasV
e355c290f8 peer script 2014-02-11 14:08:48 +01:00
ThomasV
33db7a0c43 fix servers script 2013-10-06 14:13:20 +02:00
ecdsa
0ccca356e1 fix servers script 2013-04-29 10:21:27 +02:00
thomasv
82531131ee interface: do not connect inside the constructor 2012-10-22 12:58:57 +02:00
thomasv
4fbd2ea66e use named callbacks with the interface 2012-10-22 11:34:21 +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
fff922b5d7 fix: random_choice -> random.choice 2012-10-20 17:21:12 +02:00
thomasv
11a8e04dd0 add timeout 2012-10-17 17:47:48 +02:00
ThomasV
2fc173a76b new script showing server status 2012-10-14 18:31:08 +02:00