199 Commits (acbe67fd1f4d3bd0755707ee90b97295b5d7ff99)

Author SHA1 Message Date
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
ThomasV 73d8ba24d9 fix network connection issues 10 years ago
ThomasV e9b06f494d abort set_parameters if changes are not allowed by config 10 years ago
ThomasV 7a9141e509 deserialize network.proxy to prevent variability 10 years ago
ThomasV 510934d545 do not store protocol explicitly 10 years ago
ThomasV f489466709 fix: notify proxy when switching server 10 years ago
ThomasV 761871b900 sanitize server and protocol 10 years ago
ThomasV e389745491 remove appdata_dir and data_dir 10 years ago
ThomasV 03a88743a3 fix typo: stdout 10 years ago
ThomasV 3c6cfc8b70 disable server selector if server is passed from cmd line 10 years ago
ThomasV 8ca17a3e70 print traceback is an exception occurs in network.process_request 10 years ago
ThomasV 30763a6555 fix config: serialize/deserialize proxy 10 years ago