Commit Graph

106 Commits

Author SHA1 Message Date
Kashiko Koibumi
74a453ba31
Merge branch 'py3' into py3qt 2024-08-03 04:50:31 +09:00
Kashiko Koibumi
c1949434a0
Merge branch 'v0.6' into py3 2024-08-03 04:48:38 +09:00
anand k
5cd4ecb437
Moved invQueue to network module 2024-07-04 17:57:11 +05:30
Kashiko Koibumi
1f092c0596
Merge branch 'py3' into py3qt 2024-05-30 21:48:01 +09:00
Kashiko Koibumi
01296a86b9
Merge branch 'strict-blob' into py3 2024-05-30 20:06:32 +09:00
Kashiko Koibumi
d676ea3ec2
quick workaround for BLOB as TEXT problem (#2247) 2024-05-30 18:13:15 +09:00
Kashiko Koibumi
e5c065416f
fix types 2024-05-30 01:49:57 +09:00
Kashiko Koibumi
6637f56ae7
Merge branch 'qt5-wip' into py3qt 2024-05-29 21:39:16 +09:00
Kashiko Koibumi
6ec9fb1a7e
Merge branch 'binary' into py3 2024-05-28 08:40:40 +09:00
Kashiko Koibumi
96c764bd94
refined: read from and write to SQLite database in binary mode
This modification is a preparation for migration to Python3.
2024-05-27 22:43:01 +09:00
Kashiko Koibumi
5ccfd520b8
Merge branch 'bytes-key' into py3 2024-05-27 00:09:56 +09:00
Kashiko Koibumi
a4c4338190
use bytes() on keys to be hashable in Python3 2024-05-26 23:38:41 +09:00
Kashiko Koibumi
ba49d3289d
use binary literals for compatibility to Python3 2024-05-26 12:05:31 +09:00
Kashiko Koibumi
f181b85d97
replace all of arg() occurrences to format() 2024-05-22 17:14:00 +09:00
Kashiko Koibumi
aa9edcba2e
Merge branch 'v0.6' into qt5-wip 2024-05-22 08:27:27 +09:00
3a04e351cc
Move RIPEMD160 hash to highlevelcrypto and export to_ripe() (closes: #1796) 2024-05-20 15:07:20 +03:00
anand k
5faef8d40e
moved inventory in state - global runtime variable from singleton 2024-04-19 08:21:19 +05:30
3ed84a5863
Start adding hashes with double SHA512 2024-04-13 03:17:39 +03:00
13d090e344
Use protocol.decodeObjectParameters() for sending ACK - put it in the inventory 2024-04-05 00:38:30 +03:00
anand-skss
d33959defc
Code Quality 2024-02-29 17:49:43 +00:00
d545630ac7
Code quality 2024-02-22 13:44:04 +08:00
0c07bb6257
Move all the network constants into the protocol, define also magic.
Closes: #1788.
2023-11-25 17:18:42 +02:00
9187e0c52d
Forgotten pylint comment for os._exit 2023-10-20 03:31:51 +03:00
d03aa7c412
Add a timeout for sql_ready waiting, exit from object processor if reached 2023-10-19 16:23:46 +03:00
e4488ba370
Move loading cryptors into objectProcessor init. 2023-10-19 16:23:15 +03:00
93c283a467
Place obvious bandit nosec comments 2022-05-02 18:00:55 +03:00
a5773999fe
Refactor BMConfigParser as a Module variable 2022-02-15 17:12:43 +05:30
3202082e76
No more arg() call on result of _translate() 2021-12-15 19:07:36 +02:00
3450066ea2
flake8 in class_objectProcessor, save vertical space,
removed duplicate encodeAddress()
2021-08-30 22:22:31 +03:00
navjot
9c5d329c90
replace print with logger and remove unused file 2021-01-18 23:31:45 +05:30
e084d7f53c
objectProcessor waits for sqlThread ready
- fixes #1702
2021-01-03 11:14:27 +01:00
navjot
1c304125e8
fixed CQ issues 2020-11-21 13:53:10 +05:30
navjot
4681d37377
validate address in insert method and improve test cases 2020-11-21 13:53:10 +05:30
navjot
360539b320
Fixed CQ of class_objectProcessor, bitmessagecurses and bitmessageqt module 2020-11-21 13:53:10 +05:30
navjot
61f7f32dfc
removed unused code and return ackdata from inset method insted of msgid 2020-11-21 13:53:10 +05:30
navjot
beaece254c
omitted unused code and optimized it 2020-11-21 13:53:10 +05:30
navjot
89254064f6
fixed default variables in insert method 2020-11-21 13:53:10 +05:30
navjot
a9e9f25b5d
change helper_sent.insert methods 2020-11-21 13:53:10 +05:30
d56191ebba
Move knownnodes module into network package 2020-07-21 16:21:43 +03:00
0dd49761d0
Populate knownnodes from inventory when singleWorker starts 2020-07-21 16:21:42 +03:00
185ad66ea5
Moved most of variables from shared elsewhere (mostly to state) 2020-05-05 17:27:38 +03:00
lakshyacis
6f35da4096
Imported packages sequencing and formatting 2020-01-30 12:14:40 +05:30
lakshyacis
3211fca953
formatting and shorten line length 2020-01-22 15:55:26 +05:30
lakshyacis
4a369f70c1
formatting and docstring 2020-01-07 12:13:51 +05:30
lakshyacis
059e82e2a2
class_objectProcessor quality fixes 2019-11-25 10:41:57 +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
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
d2a896697d
Used logger.isEnabledFor() to prevent unneeded calculations 2019-10-18 09:35:31 +03:00
ad2a2b3fb4
Inherit helper_threading.StoppableThread from threading.Thread
and do random.seed() in its __init__
2019-08-06 18:07:19 +03:00
4a097e99b3
Fixes for @omkar1117 2019-05-10 12:24:47 +03:00