Commit Graph

89 Commits

Author SHA1 Message Date
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
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
01d4fbe60b
Resolved pylint warnings 2019-05-10 12:24:46 +03:00
453e045ae5
Minimal implementation of onionpeer object 2019-05-10 12:24:41 +03:00
e163137893
Added pycrypto fallback for RIPEMD160 hash function 2019-04-22 12:53:59 +03:00
394c676ba2
Moved successfullyDecryptMessageTimings to class_objectProcessor 2019-02-04 22:23:28 +02:00
3adadd398f
Removed from shared the functions duplicating protocol:
decryptAndCheckPubkeyPayload, isBitSetWithinBitfield
2019-02-04 22:19:39 +02:00
625e83f4b4
Corrected style a bit 2018-10-27 17:55:02 +03:00
49985a435f
Special class BMStringParser for sending ACK (resolves #1374) 2018-10-27 17:55:02 +03:00
7c7d6781a2
Removed old code from protocol, shared, state
and class_objectProcessor modules (#1374), temporarily commented
  shared.checkAndShareObjectWithPeers() call
2018-10-27 17:55:01 +03:00
40dc7d330d
flake8: class_objectProcessor 2018-05-18 13:55:55 +03:00
coffeedogs
ed4a092c51
Removed: # nosec directives until further security review. 2018-05-08 12:13:49 +01:00
coffeedogs
c99c3fc782
Fixed: Codacy issues in src/class_*.py 2018-05-03 19:05:39 +01:00
f9a648d720
Message decoding exception handler fix
- was unfinished and caused the object processor thread to crash
2018-02-13 13:24:37 +01:00
066b419e16
Bugfixes
- typo in dandelion
- stealth ackdata fix for broadcasts and mailing lists
2018-02-09 00:49:08 +01:00
08ac8a077b
Merge branch '1062' into v0.6 2018-01-28 10:41:09 +01:00
4ee9d05446
Randomise key order during decryption
- may help against timing/radio attacks
2017-11-30 20:08:14 +01:00
a013814c6b
Network tab updates
- handle add/remove entry instead of recreating the whole connection
list
- update processed object counts after each object
2017-10-19 08:39:09 +02:00
f97ada87
be0e724b23
implement stealth ack objects 2017-09-30 19:45:40 +10:00