lakshyacis
e534994ee3
class_addressGenerator quality fixes
4 years ago
lakshyacis
77b8b5aa42
bmconfigparser quality fixes
4 years ago
lakshyacis
af52d95503
bitmessagemain quality fixes
4 years ago
Dmitri Bogomolov
d9fa6a94f4
More docstrings and formatting fixes in highlevelcrypto and shutdown
4 years ago
Dmitri Bogomolov
a7da0c0eff
Fixed google style docstrings in addresses
4 years ago
Dmitri Bogomolov
aa7e7dd658
Fixed some docstrings in shared and state
4 years ago
Dmitri Bogomolov
f18f534c48
Formatted protocol and its docstrings
4 years ago
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.
4 years ago
bug Lady
7e1f1d2604
fix 'true' not True
...
else error
4 years ago
Dmitri Bogomolov
35a2962552
Fixed misleading comment about receiveDataThreads in queues
4 years ago
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:.
4 years ago
Dmitri Bogomolov
d6c1845b71
Moved Peer from state to network.node
...
and trustedPeer to network.connectionpool.BMConnectionPool attribute
4 years ago
Dmitri Bogomolov
388de96495
Alphabetical internal import order in bitmessagemain
4 years ago
Dmitri Bogomolov
0967f03b40
addresses: raise varintEncodeError in encodeVarint()
...
instead of SystemExit (looks like a bug)
4 years ago
Dmitri Bogomolov
7a1f803c92
network.BMConnectionPool: added shortcuts connections()
...
and establishedConnections(), some formatting fixes
4 years ago
Dmitri Bogomolov
4d8d9b169f
Moved ObjectProcessorQueue to queues, added some doc
4 years ago
Dmitri Bogomolov
341651973a
Reduced imports:
...
- exported from network package all objects used outside;
- made all threads available in threads module.
Wrote some module docstrings.
4 years ago
lakshyacis
58e5fac6d7
tr quality fixes
4 years ago
lakshyacis
fda5d23c2d
state quality fixes
4 years ago
lakshyacis
b9ad6a3bac
singleinstance quality fixes
4 years ago
lakshyacis
503d0b33d0
shutdown quality fixes
4 years ago
lakshyacis
6f91ba1b33
shared quality fixes
4 years ago
lakshyacis
27be035e51
paths quality fixes
4 years ago
lakshyacis
cacac00e21
openclpow quality fixes
4 years ago
lakshyacis
1181db66e0
l10n quality fixes
4 years ago
lakshyacis
afce500085
knownnodes quality fixes
4 years ago
lakshyacis
ee5be28179
helper_threading quality fixes
4 years ago
Dmitri Bogomolov
1a7ef791e5
message_data_reader is obsolete
4 years ago
George McCandless
f871cd450c
Add test for 'onionservicesonly' mode.
...
Credit to Dmitri Bogomolov in commit 557a8cc6d2bec881b8a3c531d3f725460ed515f5.
4 years ago
George McCandless
b42f536d23
Add a checkbox to the network settings tab that allows restricting outbound connections to onion services (i.e., hosts that end with '.onion').
4 years ago
Dmitri Bogomolov
f0b4e4ded4
Replaced logging.getLogger() in other possible places
4 years ago
Dmitri Bogomolov
a48b51721d
Test new logging approach, both debug.logger and resetLogging
4 years ago
Dmitri Bogomolov
bbdbca253b
Added warnings about changing port settings in api and network.tcp
4 years ago
Dmitri Bogomolov
d2a896697d
Used logger.isEnabledFor() to prevent unneeded calculations
4 years ago
Dmitri Bogomolov
7a89109fc9
New logging approach in order to reduce imports from submodules
...
and use logging without risk of circular import. Only subpackage
that imports from debug is bitmessageqt - because it also uses
debug.resetLogging().
Instead of from debug import logger is now recommended to use:
import logging
logger = logging.getLogger('default')
All subclasses of StoppableThread now have a logger attribute.
All threading related stuff except for set_thread_name()
was moved from helper_threading to network.threads.
Fixed two my mistakes from previous edit of debug in a1a8d3a:
- logger.handlers is not dict but iterable
- sys.excepthook should be set unconditionally
4 years ago
Dmitri Bogomolov
c63ed02153
Minimal changes to document Singleton and class definitions it wraps
4 years ago
Dmitri Bogomolov
86f0860cb2
Slightly rewritten docstrings in singleinstance
4 years ago
Dmitri Bogomolov
9e72e3b2af
Rewritten epytext strings in qidenticon and removed __all__
4 years ago
Dmitri Bogomolov
53cc08edec
Renamed invalid python module http-old
4 years ago
Dmitri Bogomolov
4d15c8e590
Fix fallback package docstring
4 years ago
Dmitri Bogomolov
b5df242141
Fixed badly formatted docstrings and some wrong text
4 years ago
Dmitri Bogomolov
c99997dbb9
Fix mistakes in Exception() instantiation
4 years ago
Dmitri Bogomolov
9a438c1a1a
flake8: paths
4 years ago
lakshyacis
e5b92e29a2
vote pylint fixes
4 years ago
lakshyacis
9aa7dd9d78
message pylint fixes
4 years ago
lakshyacis
40e15579fd
messagetypes init flake and pylint fixes
4 years ago
lakshyacis
fba2d6d837
storage pylint fixes
4 years ago
lakshyacis
e924e9208f
storage flake8 fixes
4 years ago
lakshyacis
da5d085a39
sqlite pylint fixes
4 years ago
lakshyacis
54ebbcb7db
sqlite flake8 fixes
4 years ago
lakshyacis
ac341482d4
filesystem pylint fixes
4 years ago
lakshyacis
6f910f67c0
filesystem flake8 fixes
4 years ago
lakshyacis
433cb9818b
sound_playfile pylint fixes
4 years ago
lakshyacis
a86e43c108
sound_gstreamer pylint fixes
4 years ago
lakshyacis
a86c5188c4
sound_canberra pylint fixes
4 years ago
lakshyacis
df1994d6f3
proxyconfig_stem pylint fixes
4 years ago
lakshyacis
e50f99419f
plugin pylint fixes
4 years ago
lakshyacis
7aa9b94c11
notification_notify2 pylint fixes
4 years ago
lakshyacis
4c1568a3eb
menu_qrcode pylint fixes
4 years ago
lakshyacis
36775ae88b
indicator_libmessaging pylint fixes
4 years ago
lakshyacis
a6f951d37f
openssl pylint fixes
4 years ago
lakshyacis
4448e6ee7b
hash pylint fixes
4 years ago
lakshyacis
e0d81bb7e8
cipher pylint fixes
4 years ago
lakshyacis
fa65b17fc9
__init__ pylint fixes
4 years ago
lakshyacis
944c30f9b4
test_config pylint fixes
4 years ago
lakshyacis
7839f83f20
test_api pylint fixes
4 years ago
lakshyacis
8ed1d48799
core pylint fixes
4 years ago
Dmitri Bogomolov
88f2c51595
quzwelsuziwqgpt2.onion:8444 is also a bootstrap server
4 years ago
Dmitri Bogomolov
a7cfe5ba32
Try to test with tor
4 years ago
Dmitri Bogomolov
6a0c3ae075
Remove obsolete helper_bootstrap and bundled SocksiPy
4 years ago
Dmitri Bogomolov
bcb29facaa
A test for bootstrapping, have problem with test_tcpconnection ):
4 years ago
Dmitri Bogomolov
bdb09c2d00
Ignore self node in connectionchooser.chooseConnection()
4 years ago
Dmitri Bogomolov
7215003c6f
No DNS resolving in knownnodes
4 years ago
Dmitri Bogomolov
4825c5a136
Universal bootstrap procedure for any connection type
4 years ago
Dmitri Bogomolov
0a06567071
Connect to bootstrap nodes by name
4 years ago
Dmitri Bogomolov
42a89ad367
Delete from addressbook by pressing DEL
4 years ago
Dmitri Bogomolov
7d0e23e31a
Delete from addressbook only by address ( Fixes : #1484 )
4 years ago
lakshyacis
4c7f9487e2
init file fixes for pylint
4 years ago
Dmitri Bogomolov
24ae91ad0a
Set dontconnect temporary, completely avoiding saving
4 years ago
Dmitri Bogomolov
df66277e2d
state.resetNetworkProtocolAvailability() is obsolete
4 years ago
Dmitri Bogomolov
18392017c6
Do not propose user to restart Bitmessage
...
if network settings have changed, drop network connections instead
4 years ago
Dmitri Bogomolov
8a3074f3ff
ui-file based Settings dialog
4 years ago
lakshyacis
a961a4a2fb
proxy pylint fixes
4 years ago
lakshyacis
1e446b768c
node pylint fixes
4 years ago
lakshyacis
915bfb757d
networkthread pylint fixes
4 years ago
lakshyacis
e74affe636
udp pylint fixes
4 years ago
lakshyacis
498232dbea
tls pylint fixes
4 years ago
lakshyacis
dccb1dbb3c
tls flake8 fixes
4 years ago
lakshyacis
fcffb42629
stats pylint fixes
4 years ago
lakshyacis
7d0bd1cf7a
stats flake8 fixes
4 years ago
lakshyacis
8182e159df
socks5 flake8 fixes
4 years ago
lakshyacis
79d1b1b9e2
socks4a pylint fixes
4 years ago
lakshyacis
253cec15c4
proxy flake8 fixes
4 years ago
lakshyacis
fa6ef4f933
objectracker pylint fixes
4 years ago
lakshyacis
db1593f428
https flake8 fixes
4 years ago
lakshyacis
77651eebe3
objecttracker flake8 fixes
4 years ago
lakshyacis
ef77a9816e
invthread pylint fixes
4 years ago
lakshyacis
97cbe43294
invthread flake8 fixes
4 years ago
lakshyacis
28e954902d
httpd flake8 fixes
4 years ago
lakshyacis
2c71612a4b
http pylint fixes
4 years ago