178 Commits (9938316400ad263ab9bec40e93f7e0b10c2ed9cd)

Author SHA1 Message Date
Neil Booth 6c69849be9 Fix uninitialized var from select merge 9 years ago
Neil Booth cdcd4d7215 Fix 'tuple' object has no attribute 'copy' 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 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 10 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
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