Commit Graph

3145 Commits

Author SHA1 Message Date
Dmitri Bogomolov e3ccc3c7c8
Support for socksproxytype plugins in Settings dialog 2020-01-04 14:28:45 +02:00
Dmitri Bogomolov 5160a68c28
Moved start_proxyconfig to helper_startup;
no more prints in helper_startup
2020-01-04 14:28:45 +02:00
Dmitri Bogomolov 44cb975a61
Fixed bug in plugin.get_plugins(), edited docstrings 2020-01-04 14:28:44 +02:00
Dmitri Bogomolov c35f48bd0b
Fix setting socksproxytype and return in proxyconfig_stem:
socksproxytype is set to SOCKS5 temporary if proxyconfig succeeds.
2020-01-04 14:28:44 +02:00
Peter Šurda 168c4a5696
Checkdeps fix
- an exception can be triggered if too many requirements are fulfilled
2020-01-03 23:21:54 +01:00
sandakersmann 9119507b03
Changed copyright year to 2020 2019-12-27 18:23:02 +01:00
Dmitri Bogomolov 03316496b7
Stop UDPSocket on socket.error 101 (Network is unreachable) 2019-12-24 12:41:01 +02:00
Dmitri Bogomolov 5a35de6bca
Fix sendOnionPeerObj() broken in 9923e97 2019-12-21 13:14:28 +02:00
Dmitri Bogomolov c79636863d
If tray is not available, disable settings group "Tray"
and related checkboxes; set checkBoxMinimizeToTray to false by default
2019-12-20 11:25:15 +02:00
Peter Šurda a69732f060
Addrthread finish
- addrthread is supposed to spread addresses as they appear. This was never
  finished during migration to asyncore
- conservative to prevent flood and loops
- randomises order
- move protocol constants into a separate file
- move addr packet creation into a separate file
- see #1575
2019-11-30 13:47:24 +01:00
lakshyacis e47b573b3e
helper_sql pylint fixes 2019-11-25 15:17:40 +05:30
lakshyacis ece3005f42
helper_sent pylint fixes 2019-11-25 15:17:40 +05:30
lakshyacis d271996ac1
helper_sent flake8 fixes 2019-11-25 15:17:40 +05:30
lakshyacis d5f541a2ab
helper_search pylint fixes 2019-11-25 15:17:40 +05:30
lakshyacis 9041b8f644
helper_search flake8 fixes 2019-11-25 15:17:40 +05:30
lakshyacis 28cfe78e67
helper_random pylint fixes 2019-11-25 15:17:40 +05:30
lakshyacis 05cda087d6
helper_msgcoding pylint fixes 2019-11-25 15:17:40 +05:30
lakshyacis f4c7ac5604
helper_inbox pylint fixes 2019-11-25 15:17:40 +05:30
lakshyacis 27c58b05f3
helper_bitcoin pylint fixes 2019-11-25 15:17:32 +05:30
lakshyacis 31e3d60fb0
helper_ackPayload pylint fixes 2019-11-25 15:13:53 +05:30
lakshyacis e97d02ed78
depends pylint fixes 2019-11-25 15:13:53 +05:30
lakshyacis 21faf52f2f
debug pylint fixes 2019-11-25 15:13:53 +05:30
lakshyacis a9991a7a5a
class_sqlThread pylint fixes 2019-11-25 15:13:52 +05:30
lakshyacis dbbf454c15
class_sqlThread flake8 fixes 2019-11-25 15:13:52 +05:30
lakshyacis 4a54c200d4
class_smtpServer quality fixes 2019-11-25 10:48:35 +05:30
lakshyacis 9923e97279
class_singleWorker quality fixes 2019-11-25 10:48:35 +05:30
lakshyacis 80b2bc1c9a
class_singleCleaner.py quality fixes 2019-11-25 10:48:29 +05:30
lakshyacis 059e82e2a2
class_objectProcessor quality fixes 2019-11-25 10:41:57 +05:30
lakshyacis e534994ee3
class_addressGenerator quality fixes 2019-11-25 10:41:56 +05:30
lakshyacis 77b8b5aa42
bmconfigparser quality fixes 2019-11-25 10:41:56 +05:30
lakshyacis af52d95503
bitmessagemain quality fixes 2019-11-25 10:41:55 +05:30
Dmitri Bogomolov 49d731c478
.readthedocs.yml 2019-11-18 13:34:01 +02:00
Dmitri Bogomolov d9fa6a94f4
More docstrings and formatting fixes in highlevelcrypto and shutdown 2019-11-18 13:34:01 +02:00
Dmitri Bogomolov a7da0c0eff
Fixed google style docstrings in addresses 2019-11-18 13:34:00 +02:00
Dmitri Bogomolov aa7e7dd658
Fixed some docstrings in shared and state 2019-11-18 13:34:00 +02:00
Dmitri Bogomolov f18f534c48
Formatted protocol and its docstrings 2019-11-18 13:34:00 +02:00
Peter Šurda 2a165380bb
Restrict outbound connections on network groups
Logic borrowed from bitcoin, see CNetAddr::GetGroup() in src/netaddress.cpp
Simplified, so may not work fully identically but for our purposes it's good
enough. Won't connect to more than one host from a /16 subnet on IPv4 and a /32
subnet on IPv6.
2019-11-18 12:20:29 +01:00
bug Lady 7e1f1d2604
fix 'true' not True
else error
2019-11-14 13:32:15 +01:00
Dmitri Bogomolov 35a2962552
Fixed misleading comment about receiveDataThreads in queues 2019-11-11 17:13:20 +02:00
Dmitri Bogomolov c40c70f807
Marked variables comments in defaults for use in doc.
Allowed autodoc in bitmessagemain, class_objectProcessor, defaults:
seems safe now.

Changed docs conf: don't sort module members, treat any string
inside backticks as :obj:.
2019-11-11 17:13:20 +02:00
Dmitri Bogomolov d6c1845b71
Moved Peer from state to network.node
and trustedPeer to network.connectionpool.BMConnectionPool attribute
2019-11-11 17:13:12 +02:00
Dmitri Bogomolov 388de96495
Alphabetical internal import order in bitmessagemain 2019-11-11 12:03:04 +02:00
Dmitri Bogomolov 0967f03b40
addresses: raise varintEncodeError in encodeVarint()
instead of SystemExit (looks like a bug)
2019-11-11 12:03:04 +02:00
Dmitri Bogomolov 7a1f803c92
network.BMConnectionPool: added shortcuts connections()
and establishedConnections(), some formatting fixes
2019-11-11 12:03:04 +02:00
Dmitri Bogomolov 4d8d9b169f
Moved ObjectProcessorQueue to queues, added some doc 2019-11-11 12:03:04 +02:00
Dmitri Bogomolov 341651973a
Reduced imports:
- exported from network package all objects used outside;
  - made all threads available in threads module.

Wrote some module docstrings.
2019-11-11 12:03:03 +02:00
bug Lady 061a9ef973
fix typos
and flesh out placeholder
2019-11-10 04:07:50 +01:00
lakshyacis 58e5fac6d7
tr quality fixes 2019-10-31 14:52:43 +05:30
lakshyacis fda5d23c2d
state quality fixes 2019-10-31 14:52:43 +05:30
lakshyacis b9ad6a3bac
singleinstance quality fixes 2019-10-31 14:52:43 +05:30