Commit Graph

3336 Commits

Author SHA1 Message Date
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
49d731c478
.readthedocs.yml 2019-11-18 13:34:01 +02:00
d9fa6a94f4
More docstrings and formatting fixes in highlevelcrypto and shutdown 2019-11-18 13:34:01 +02:00
a7da0c0eff
Fixed google style docstrings in addresses 2019-11-18 13:34:00 +02:00
aa7e7dd658
Fixed some docstrings in shared and state 2019-11-18 13:34:00 +02:00
f18f534c48
Formatted protocol and its docstrings 2019-11-18 13:34:00 +02:00
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
35a2962552
Fixed misleading comment about receiveDataThreads in queues 2019-11-11 17:13:20 +02:00
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
d6c1845b71
Moved Peer from state to network.node
and trustedPeer to network.connectionpool.BMConnectionPool attribute
2019-11-11 17:13:12 +02:00
388de96495
Alphabetical internal import order in bitmessagemain 2019-11-11 12:03:04 +02:00
0967f03b40
addresses: raise varintEncodeError in encodeVarint()
instead of SystemExit (looks like a bug)
2019-11-11 12:03:04 +02:00
7a1f803c92
network.BMConnectionPool: added shortcuts connections()
and establishedConnections(), some formatting fixes
2019-11-11 12:03:04 +02:00
4d8d9b169f
Moved ObjectProcessorQueue to queues, added some doc 2019-11-11 12:03:04 +02:00
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
lakshyacis
503d0b33d0
shutdown quality fixes 2019-10-31 14:52:43 +05:30
lakshyacis
6f91ba1b33
shared quality fixes 2019-10-31 14:52:43 +05:30
lakshyacis
27be035e51
paths quality fixes 2019-10-31 14:52:43 +05:30
lakshyacis
cacac00e21
openclpow quality fixes 2019-10-31 14:52:43 +05:30
lakshyacis
1181db66e0
l10n quality fixes 2019-10-31 14:52:43 +05:30
lakshyacis
afce500085
knownnodes quality fixes 2019-10-31 14:52:43 +05:30
lakshyacis
ee5be28179
helper_threading quality fixes 2019-10-29 11:45:51 +05:30
1a7ef791e5
message_data_reader is obsolete 2019-10-28 09:14:48 +02:00
George McCandless
f871cd450c
Add test for 'onionservicesonly' mode.
Credit to Dmitri Bogomolov in commit 557a8cc6d2bec881b8a3c531d3f725460ed515f5.
2019-10-24 19:35:32 +00:00