lakshyacis
26d75d99fd
Logging and modules issues fixes
2020-01-20 19:57:58 +05:30
lakshyacis
4d385a9c79
Code quality issues fixes
2020-01-20 18:59:51 +05:30
lakshyacis
8e6c2f3cfd
Kivy database and safegetint issues
2020-01-18 17:13:06 +05:30
jai.s
6b1abe7048
Updated origin by upstream
2020-01-15 12:26:23 +05:30
jai.s
480fc9b2e8
Fixed Inventory issue
2020-01-10 21:10:10 +05:30
lakshyacis
882aa9d970
remove useless code
2020-01-10 20:10:47 +05:30
lakshyacis
eb98abbabf
Code Formatting
2020-01-10 19:46:15 +05:30
jai.s
5ff6c26efc
Solved python3 database issue and now network connection created via using the python3 db
2020-01-10 19:06:21 +05:30
lakshyacis
f0bc74e658
Network fixes
2020-01-10 16:51:17 +05:30
jai.s
706ec5991e
Updated the branch by origin and added changes on the knownNodes file
2020-01-10 15:21:01 +05:30
jai.s
5a8fbbe429
Solved person-to-person,brodcast,publickey,objects In network section via using the python2 database
2020-01-08 17:13:55 +05:30
lakshyacis
81872c7f2f
network code quality fixes
2020-01-08 12:53:04 +05:30
lakshyacis
e436b8ecf6
commit after conflicts
2020-01-06 16:44:13 +05:30
lakshyacis
69eedf7bc2
network files fixes python3
2020-01-02 16:25:52 +05:30
03316496b7
Stop UDPSocket on socket.error 101 (Network is unreachable)
2019-12-24 12:41:01 +02:00
jai.s
9b1088b2e2
updated origin with upstream changes
2019-12-23 16:48:37 +05:30
jai.s
d8d57024db
Added new changes for the network issue
2019-12-07 20:07:35 +05:30
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
jai.s
ded1defb1f
Worked on network issue and stopped the udp connection aand required the select's epoll condition and instead used select pollar method
2019-11-30 13:18:15 +05:30
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
jai.s
0e593b66ad
Added iteritems issues
2019-11-15 20:12:19 +05:30
jai.s
a08b0707bb
Working on the network issues
2019-11-15 16:01:14 +05:30
jai.s
fdbf7ad0f2
Worked on the network issues
2019-11-14 20:39:26 +05:30
d6c1845b71
Moved Peer from state to network.node
...
and trustedPeer to network.connectionpool.BMConnectionPool attribute
2019-11-11 17:13:12 +02:00
7a1f803c92
network.BMConnectionPool: added shortcuts connections()
...
and establishedConnections(), some formatting fixes
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
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').
2019-10-21 00:03:41 +00:00
bbdbca253b
Added warnings about changing port settings in api and network.tcp
2019-10-18 09:35:31 +03:00
d2a896697d
Used logger.isEnabledFor() to prevent unneeded calculations
2019-10-18 09:35:31 +03:00
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
2019-10-18 09:35:24 +03:00
53cc08edec
Renamed invalid python module http-old
2019-10-18 01:06:02 +03:00
b5df242141
Fixed badly formatted docstrings and some wrong text
2019-10-18 01:06:02 +03:00
jai.s
95990d8def
Solved new address creations issues
2019-10-09 18:21:29 +05:30
jai.s
c813f679ae
Solved bmconfigparser python3 incompatibility issue and removed unrequired comment and line of code which are added during python3 plotting
2019-10-09 17:57:13 +05:30
jai.s
42ee9d910b
launch py3 convert app for first phase(need to do more checks)
2019-10-09 17:57:13 +05:30
jai.s
afb368e770
initial commit for python forward porting
2019-10-09 17:57:13 +05:30
88f2c51595
quzwelsuziwqgpt2.onion:8444 is also a bootstrap server
2019-09-25 18:55:02 +03:00
bdb09c2d00
Ignore self node in connectionchooser.chooseConnection()
2019-09-25 18:55:01 +03:00
4825c5a136
Universal bootstrap procedure for any connection type
2019-09-25 18:55:01 +03:00
0a06567071
Connect to bootstrap nodes by name
2019-09-25 18:55:01 +03:00
lakshyacis
a961a4a2fb
proxy pylint fixes
2019-09-16 19:13:56 +05:30
lakshyacis
1e446b768c
node pylint fixes
2019-09-16 19:13:56 +05:30
lakshyacis
915bfb757d
networkthread pylint fixes
2019-09-16 19:13:55 +05:30
lakshyacis
e74affe636
udp pylint fixes
2019-09-16 19:13:55 +05:30
lakshyacis
498232dbea
tls pylint fixes
2019-09-16 19:13:54 +05:30
lakshyacis
dccb1dbb3c
tls flake8 fixes
2019-09-16 19:13:54 +05:30
lakshyacis
fcffb42629
stats pylint fixes
2019-09-16 19:13:54 +05:30
lakshyacis
7d0bd1cf7a
stats flake8 fixes
2019-09-16 19:13:53 +05:30
lakshyacis
8182e159df
socks5 flake8 fixes
2019-09-16 19:13:53 +05:30
lakshyacis
79d1b1b9e2
socks4a pylint fixes
2019-09-16 19:13:53 +05:30