SomberNight
855a70bc66
network: new trigger 'blockchain_updated'
follow-up af63913189
needed to update history tab when new blocks come,
to refresh the number of confirmations (icons/tooltips)
7 years ago
SomberNight
9161e8c8f4
interface: refuse to overwrite blockchain of main interface
in case of conflicting forks
7 years ago
SomberNight
96b699e534
synchronizer: fix refresh bug
7 years ago
SomberNight
916cdebacb
network: send out update trigger when stopping/starting network
7 years ago
SomberNight
af63913189
network triggers: rm 'updated'; more fine-grained instead
rm 'interfaces'
add 'wallet_updated', add 'network_updated'
7 years ago
SomberNight
4360a785ad
blockchain: blockchains_lock needed to write/iterate global dict
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
2e61359d50
network: stop pending connections when stopping network
7 years ago
SomberNight
23f56ffa8a
network: avoid infinite reconnect loop to same server
7 years ago
SomberNight
e4bd445a38
network.new_interface: clarify how timed out interfaces are closed
7 years ago
SomberNight
78e9152723
network: get_servers to always include recent servers
7 years ago
SomberNight
1f14894c43
network: add server to recent_servers only after checks
7 years ago
SomberNight
a3fb865db0
follow-up prev
this is already running inside interface.group
7 years ago
SomberNight
6452582a17
network: batch requests in request_server_info
7 years ago
SomberNight
8cd08cc0fa
network: rm dead code; simplify
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
SomberNight
54cc822227
network: send out 'interfaces' event on new_interface
network dialog was not always showing up-to-date data
7 years ago
SomberNight
e2338581eb
broadcast_transaction: introduce async variant
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
b2547601a5
rm dead code
7 years ago
SomberNight
97ea4679a7
network: fix monkey-patching in set_proxy
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
096b3e6026
network.maintain_sessions: rm redundant 'update' notifications
7 years ago
SomberNight
e3fb991b1b
clean-up network start/stop a bit
7 years ago
SomberNight
cdca74aa39
move max_checkpoint from network to constants
7 years ago
SomberNight
77d86f074f
verifier: don't try to request same chunk multiple times
7 years ago
SomberNight
57e66324cb
batch fee estimates
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
fd40dee337
make sure to retry nodes for network
7 years ago
SomberNight
26172686b8
restructure synchronizer/verifier <--> interface coupling
7 years ago
SomberNight
1fa07c920c
network: restore previous API for broadcast_transaction
7 years ago
Janus
52b877ac3d
network: add singleton accessor classmethod, port trustedcoin to aiohttp
7 years ago
SomberNight
0ad504bdf0
interface: catch many common exceptions explicitly
7 years ago
Janus
6e80ba7b4f
asyncio: labels, crash_reporter, fx: migrate requests use to aiohttp
7 years ago
SomberNight
2187615c08
verifier: request proofs in batches
7 years ago
SomberNight
14a032a0b1
disconnect from servers on exception
7 years ago
SomberNight
2157eae499
fix request_chunk
7 years ago
Janus
e9ceeb85af
async block headers
7 years ago
Janus
f12074397f
aiorpcx: reintroduce periodic fee updates
7 years ago
Janus
9543a108be
aiorpcx: revive some maintain_sockets code, reintroduce NODES_RETRY_INTERVAL and SERVER_RETRY_INTERVAL usage, and fix --oneserver
7 years ago
ThomasV
5117a520ae
fix start_network
7 years ago
Janus
8f36c9167d
aiorpcx: remove callback based code, add session to Interface
7 years ago
Janus
b120584f97
aiorpcx address synchronizer
7 years ago
Janus
f733cb8947
aiorpcx: socks support
7 years ago
Janus
89a01a6463
aiorpcx: pin certificates
7 years ago
Janus
8080a713b2
aiorpcx: pass ssl context, sleep after connecting
7 years ago