SomberNight
1d711eeadc
interface: split up 'step'; binary search of headers
7 years ago
SomberNight
58a5346d72
network: switch lagging interface
7 years ago
SomberNight
27e42b4826
interface: if header is on other chain already, just switch (regression)
7 years ago
SomberNight
3fc9326c43
interface: try hard not to infinite loop while getting headers
7 years ago
SomberNight
da23e71db1
interface: block header search simplifications
7 years ago
SomberNight
ab94a47b8e
network: mv request_chunk to interface
this is a bugfix: the old code always tried to connect the chunk to
network.blockchain(). the correct behaviour is to connect to the
blockchain of the interface.
7 years ago
SomberNight
6f5a4a5502
fix prev: rm incorrect assert
7 years ago
SomberNight
482259df8b
interface: further clean-up in 'step'
7 years ago
SomberNight
beb37aafc5
interface: clean-up 'step'; backwards search
7 years ago
SomberNight
e4bd445a38
network.new_interface: clarify how timed out interfaces are closed
7 years ago
SomberNight
64ab8222f7
interface: if request times out, no need to dump trace
7 years ago
SomberNight
c93d137c5e
interface: minor clean-up split out _set_proxy from init
7 years ago
SomberNight
c40468a8d3
interface: disable bw rate limiting done by aiorpcx
7 years ago
SomberNight
cad4fb80c1
interface: throttle messages
7 years ago
SomberNight
47a97279af
rename CustomTaskGroup to SilentTaskGroup
7 years ago
SomberNight
2039c07a2d
interface.mark_ready: handle cancellation
7 years ago
SomberNight
1419a5c60d
interface: change how GracefulDisconnect is handled
7 years ago
SomberNight
152c6abb86
network: fix another race in session.subscribe
key in session.subscriptions does not imply key in session.cache
7 years ago
SomberNight
ab3c3c5ed7
interface: small clean-up
7 years ago
SomberNight
014c0d3a41
network: update UI when downloading chunks
7 years ago
SomberNight
518c6280e9
interface: minor clean-up re timeouts
7 years ago
SomberNight
ecc296cf67
fix race in session.subscribe
7 years ago
SomberNight
8b8ca14c6d
move get_index from network to session
7 years ago
SomberNight
e829d6bbcf
wallet: put Sync and Verifier in their own TaskGroup, and that into interface.group
7 years ago
Janus
09dfb0fd1d
fix off-by-one error when syncing from genesis w/o checkpoints
7 years ago
ThomasV
3b6af914e1
add multiplexing capability to NotificationSession, simplify interface
7 years ago
SomberNight
1728dff576
fix prev: that's not how you use the context manager...
7 years ago
SomberNight
557334aa36
interface: introduce tip_lock
7 years ago
SomberNight
19e244a85e
interface: rm unnecessary writes to self.tip
7 years ago
SomberNight
b279d351d8
interface.session: add default timeout to send_request
7 years ago
SomberNight
526319630e
network: minor fix in switch_to_interface
7 years ago
SomberNight
6b2509b106
interface.run: catch OSError instead of subtypes
7 years ago
SomberNight
3d424077fd
introduce NetworkParameters namedtuple
7 years ago
SomberNight
ecf4ea9ba7
move (de)serialize_server to interface; and use it
7 years ago
SomberNight
b381a7fdbf
follow-up prev
7 years ago
SomberNight
48a5b8527a
split up interface.run
7 years ago
SomberNight
cdca74aa39
move max_checkpoint from network to constants
7 years ago
SomberNight
2f224819ac
interface: small clean-up
7 years ago
SomberNight
57e66324cb
batch fee estimates
7 years ago
SomberNight
ddee03d324
interface.run: catch more exceptions
7 years ago
SomberNight
136df7e5ee
wallet: recreate Synchronizer and Verifier when switching servers
not that nice but solves races
7 years ago
SomberNight
64a03c245c
small timeout change
(re KeyError: can happen after proxy settings change)
7 years ago
SomberNight
7500b1fbee
detect lost connection
supersedes #4697
7 years ago
SomberNight
56c3c76d8b
follow-up 26172686b8
7 years ago
SomberNight
26172686b8
restructure synchronizer/verifier <--> interface coupling
7 years ago
SomberNight
0ad504bdf0
interface: catch many common exceptions explicitly
7 years ago
ThomasV
5ef04a039b
move NotificationSession
7 years ago
ThomasV
234273809a
set interface.session before marking as ready
7 years ago
Janus
d367199553
async block headers: remove BlockHeaderInterface and Conn classes, make self.height a local
7 years ago
Janus
9c363db440
async block headers: avoid duplicate tip fields, handle electrumx server skipping blocks
7 years ago