210 Commits (ac1872c6ab686e03a4874103f61985815e13472f)

Author SHA1 Message Date
ThomasV d6cdc085ea fix #1283 10 years ago
ThomasV e31ac7905d Clear address cache when interface changes. Send requests only if interface is connected. 10 years ago
Neil Booth 28f440350d Fix request handling. 10 years ago
ThomasV e517321f76 Network: fix handle_requests, must process requests even if we are not connected 10 years ago
ThomasV 6ea04e2d47 Network: Fix switch_to_interface (check that interface is connected) 10 years ago
Neil Booth caebdd0819 Need an interface to process a request. 10 years ago
Neil Booth d16714a1db Make the blockchain class not a thread 10 years ago
Neil Booth 76355e66c8 Make interface status tri-state. 10 years ago
Neil Booth 2b66f0d459 Remove pending_servers, self.interfaces is now the complete set of 10 years ago
Neil Booth 45a8740755 Common stale interface testing and switching 10 years ago
Neil Booth 39fe24b4d3 Rename auto_cycle to auto_connect in config 10 years ago
Neil Booth 4f6d2f3d32 Put getting of auto_cycle into one place. 10 years ago
Neil Booth 01d8f79a75 Clean up pick_random_server() and filter_protocol() and their 10 years ago
Neil Booth 89c1a1a0ab Improve logic in network.py's set_parameters() 10 years ago
ThomasV b029589fc1 fix issue #1233 10 years ago
Neil Booth 2f34f3db21 Only start if not already in pending_servers 10 years ago
Neil Booth 31ffd4b381 switch_to_interface() to start interface if not connected 10 years ago
Neil Booth 346e38674b Absorb add_interface and remove_interface 10 years ago
Neil Booth 274965468e Remove interfaces in one place only 10 years ago
Neil Booth 4873c455b9 Add documentation string. Fix uninitialized f error. 10 years ago
Neil Booth 05dd310431 Set 'connecting' status in one place. 10 years ago
Neil Booth 86626d8080 Consistency in handling of self.interface 10 years ago
Neil Booth c918e74039 Put common network start and stop code in one place. 10 years ago
ThomasV 5bd22d2378 follow-up to bd781d600b8ce2bc9dcebebbdb0fb60ad2fb892e: use pipe 10 years ago
Neil Booth c9a30eb5f2 Put interface notification handling in its own function. 10 years ago
Neil Booth bd781d600b Have queues passed to the network constructor. 10 years ago
ThomasV 2104e96a66 network: use get_nowait on one of the two queues 10 years ago
Neil Booth 63733ccd2a No need for thread to handle requests 10 years ago
ThomasV e33bc2473b network: don't store unanswered request if result is in cache 10 years ago
ThomasV 6d0bc5d9b3 fix: nodes retry 10 years ago
ThomasV 44f06de796 network: when interface is disconnected, clear cache and resend unanswered requests 10 years ago
ThomasV a1d1999545 move interfaces maintenance to its own function 10 years ago
ThomasV f2c2f9d738 network: fix confusion between addresses and cached responses 10 years ago
ThomasV 233fd8ed77 revert 175bfae9e6. store last known height in wallet instead 10 years ago
Neil Booth c07e956127 Pass the response_queue to the constructor, not start(). 10 years ago
Neil Booth 9cf2eff16b Make is_connected into a member function. No change in logic. 10 years ago
Neil Booth 175bfae9e6 Move away from requiring network and blockchain objects to be able to request local height. 10 years ago
ThomasV cdd5d6e130 fix #1136 10 years ago
ThomasV 911a60c02d separate timeouts for server and nodes retry 10 years ago
ThomasV 98cc9c53d1 do not write config file from network class 10 years ago
ThomasV a805afa900 save recent_servers in separate file 10 years ago
ThomasV cf0fcac9fa fix deserialize_server bug 10 years ago
ThomasV a4cb70649d fix synchronizer hanging when not connected. 10 years ago
ThomasV 72688a5cfa clean implementation of daemon threads 10 years ago
ThomasV 9e4eda24b5 fix #1082 10 years ago
ThomasV f32f1183fc print_error methods. request timeout for interface 10 years ago
ThomasV 1569cd0420 serialize/deserialize methods for servers 10 years ago
ThomasV c4d0314817 network: separate interface management from reconnection logic 10 years ago
ThomasV 799a08514b move proxy logic to network.py. reload socket module if proxy is disabled 10 years ago
ThomasV 0947eb7960 should test proxy_str. fixes issue #1073 10 years ago