ThomasV
af780e7519
Default auto_connect to True. In Qt, the question is asked by the wizard
9 years ago
ThomasV
54df0b2845
follow up previous commit
9 years ago
ThomasV
96f144eb03
make sure the broadcast tx thread always times out
9 years ago
ThomasV
305843999e
Relicensing
9 years ago
ThomasV
bd5effb1b8
follow up 6f72fa4
9 years ago
ThomasV
6f72fa4e94
try to fix issue #1682
9 years ago
ThomasV
04c7d2b455
add 'donate to server' menu item
9 years ago
ThomasV
4dd479cf59
server_is_lagging: return True if no height
9 years ago
Neil Booth
371f8d6dc3
network: gracefully handle EINTR in select syscall
9 years ago
ThomasV
da8fce1914
if available, use relayfee from server instead of hard coded value
9 years ago
Eagle[TM]
2c797cd75b
Update default server list
9 years ago
ThomasV
9ec4cbeed1
fix issue #1572
9 years ago
ThomasV
74a9e2296c
separate Network and Plugins
9 years ago
ThomasV
90a2a049f4
network fix: callbacks were not called
9 years ago
ThomasV
042f8ef832
network: cache subscription responses
9 years ago
ThomasV
43df795b1f
network: separate callbacks from unanswered_requests
9 years ago
ThomasV
2934fd17be
fix websockets
9 years ago
Neil Booth
ae4cfc9f0b
Unregister network callbacks from QT gui
Rework the callback system in QT to make this easy, and avoid
leaking window references that prevent the window from being
GC-ed on close
9 years ago
Neil Booth
206e38fb7c
Make use of trigger_callback easier to understand
9 years ago
Neil Booth
8cc3b58364
Allow syncronizer to be GC-ed
Proper fix for #1525 .
Using python's GC module, I've verified that the daemon, when running,
now releases all verifiers, synchronizers and wallets - all the resources
we care about releasing.
9 years ago
ThomasV
6aefaf7b3e
populate network.connecting before the thread is started (fixes KeyError in self.connecting.pop)
9 years ago
Neil Booth
58bd655f1d
In debug mode, show every queued request
9 years ago
Neil Booth
fb5e8068ce
Simplify following on from prior dead code removal
9 years ago
Neil Booth
f9547a194e
Remove more dead code
As everything is in-process now, nothing sends
"network.*" messages.
9 years ago
Neil Booth
fe2e731a70
Remove dead code
9 years ago
Neil Booth
3746050fe6
Subscribed address fix
Add an addr to the subcribed address set on receiving a response,
not on sending a request.
9 years ago
Neil Booth
cbf9052dae
Remove address caching
9 years ago
Neil Booth
b14aae5ebc
Clear self.interface when switching
When switching and the interface isn't immediately available,
we should clear self.Interface as otherwise requests will
still be going to it.
9 years ago
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.
9 years ago
Neil Booth
abee263710
Remove obsolete server from DEFAULT_SERVERS
9 years ago
Neil Booth
da5c18b2f9
Be patient whilst connecting
On startup we make several connections simultaneously. Socket
maintenance code checks if we're not connected, and if not
switches to a connected interface if auto_connect.
Unfortunately this meant that we frequently didn't reconnect to
the prior good server on startup, because some other connection
would happen first and this code would decide to switch to it.
Instead, only switch if a connection attempt is not in progress.
If that times out at the O/S level the switch will happen.
9 years ago
Neil Booth
b5f986ee56
Torwards sane signalling for exchange_rate plugin
9 years ago
Neil Booth
6c69849be9
Fix uninitialized var from select merge
9 years ago
Neil Booth
cdcd4d7215
Fix 'tuple' object has no attribute 'copy'
Occurred when switching interfaces and there were unanswered
requests that need resending. This bug isn't new; it's been
there since at least 3rd June.
9 years ago
Neil Booth
119aa5bf2e
Move message so it doesn't repeat when connecting
9 years ago
Neil Booth
72f429c353
Remove unused callback
9 years ago
Neil Booth
a5e0265010
Make exchange rate plugin a network thread job
This fixes a lot of thread error noise when closing down electrum.
9 years ago
Neil Booth
2ee506ac03
Fix typo.
9 years ago
Neil Booth
2d05e7d891
Merge the network and network_proxy
9 years ago
Neil Booth
a056f9804b
Notify when a chunk of headers is validated
And a couple of cosmetic changes.
This should fix #1379 .
9 years ago
Neil Booth
49a48d52ac
Use select.
10 years ago
ThomasV
713fa00d86
fix estimatefee for daemon
10 years ago
ThomasV
43880d452e
dynamic fees
10 years ago
Eagle[TM]
4578777c29
network: Update default servers
10 years ago
Neil Booth
5acbe00cbf
Suggested auto_connect daemon mode fix for #1336
10 years ago
ThomasV
604d5d432c
sanitize server at the interface level (follow up to issue #1330 )
10 years ago
ThomasV
0ac3aebb88
fix proxy setting issue #1330
10 years ago
ThomasV
118052d815
v2.4 will require protocol v0.10
10 years ago
ThomasV
fdd43bd5ad
fix issue in f307b18546
10 years ago
ThomasV
f894af90d7
fix deserialize_proxy. fixes #1309
10 years ago