Commit Graph

123 Commits

Author SHA1 Message Date
ade796c700
fixes after new merging PR #23 2020-02-19 16:31:42 +05:30
23a8ab2c19
fixes after new merging 2020-02-19 15:38:27 +05:30
jai.s
2da3ab9a3a
Solved message not receiving issue and solved address generation pubkey related issue 2020-02-05 19:04:54 +05:30
jai.s
ec618d9d1a
Solved sending message issues 2020-01-27 21:41:46 +05:30
jai.s
eb2b948576
Added changes for inventory and inbox issues 2020-01-27 21:36:24 +05:30
lakshyacis
3211fca953
formatting and shorten line length 2020-01-22 15:55:26 +05:30
lakshyacis
b6a81f1252
Formatting and fix License 2020-01-15 16:17:26 +05:30
07469f1c0f
conflicts resolved 2020-01-09 16:19:39 +05:30
lakshyacis
e436b8ecf6
commit after conflicts 2020-01-06 16:44:13 +05:30
lakshyacis
ca6a56fcb9
python3 formatting and indentation fixes 2019-12-25 20:21:08 +05:30
jai.s
9b1088b2e2
updated origin with upstream changes 2019-12-23 16:48:37 +05:30
5a35de6bca
Fix sendOnionPeerObj() broken in 9923e97 2019-12-21 13:14:28 +02:00
3150956cdc
fix conflicts after merging 2019-12-18 16:38:10 +05:30
lakshyacis
9923e97279
class_singleWorker quality fixes 2019-11-25 10:48:35 +05:30
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
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
lakshyacis
8f09140513
Code fixes 3 regarding PR#11 2019-09-25 17:06:12 +05:30
Navjot
c86ab075b7
added sending message feature for android 2019-09-18 14:39:29 +05:30
Navjot
1177e17c81
resolve conflicts 2019-09-17 19:08:05 +05:30
3549330dce
Remove unused print statement 2019-09-17 15:38:12 +05:30
73ce4b4c83
rebase conflict fix and Ui Enhancement with dynamic addressbook updation and sent screen updation
Ui Enhancement with dynamic addressbook updation and sent screen updation

Changes made for Sent Items refresh feature with auto add new message in kivy
2019-09-17 15:38:12 +05:30
Navjot
7f272e8aba
wokred on updating database query of sent table 2019-08-16 20:26:19 +05:30
ad2a2b3fb4
Inherit helper_threading.StoppableThread from threading.Thread
and do random.seed() in its __init__
2019-08-06 18:07:19 +03:00
c9acd463d4
Remove unused print statement 2019-08-02 14:29:20 +05:30
ed6cd83cae
rebase conflict fix and Ui Enhancement with dynamic addressbook updation and sent screen updation
Ui Enhancement with dynamic addressbook updation and sent screen updation

Changes made for Sent Items refresh feature with auto add new message in kivy
2019-08-02 14:28:03 +05:30
38e5d93272
Resend onionpeer object if it expired while the node ran 2019-06-14 12:38:48 +03:00
f868c1ad11
Fixing my bug in 453e045 2019-06-06 09:21:59 +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
3adadd398f
Removed from shared the functions duplicating protocol:
decryptAndCheckPubkeyPayload, isBitSetWithinBitfield
2019-02-04 22:19:39 +02:00
coffeedogs
0a30eb0225
Changes based on style and lint checks. (final_code_quality_7) 2018-11-12 14:21:56 +00:00
coffeedogs
8979a1bef5
Fixed: Addressed PR comments 2018-05-08 12:53:58 +01:00
coffeedogs
c99c3fc782
Fixed: Codacy issues in src/class_*.py 2018-05-03 19:05:39 +01:00
6562502416
Even more unused variables 2018-03-22 13:48:07 +02:00
e43bd36618
More unused variables 2018-03-22 13:23:36 +02:00
d91c3a6b0c
Removed unnecessary comment and percent formatting in logger.error 2018-03-22 12:13:47 +02:00
d447db907c
Address operations: simplified the code a bit 2018-03-22 12:13:47 +02:00
006b98389b
Address operations: flake8 2018-03-22 12:13:47 +02:00
Mahendra
1ad321b08a
replace random.xxx with calls to the helper_random function 2018-03-21 17:22:23 +05:30
1e4400a207
Remove obsolete code
- PendingDownload and PendingUpload in inventory.py are obsolete
- the replacement functions only provide lengths and are in
  network/stats.py
2018-03-13 07:32:23 +01:00
f97ada87
be0e724b23
implement stealth ack objects 2017-09-30 19:45:40 +10:00
a48dff3bee
PoW init reordering
- inited by the worker thread on its own init, instead of when the
imports are being evaluated
- also got rid of windows-style newlines in OpenCL PoW
2017-08-15 12:24:43 +02:00
6c695c8ac7
Remove non-asyncore network code (partial) 2017-08-09 17:36:52 +02:00
02a07e5119
Asyncore update
- default to true (original attempt didn't work correctly)
2017-05-29 03:16:14 +02:00
73c41bff9d
typo
-BMConfigParser. instead of BMConfigParser().
2017-05-29 02:30:18 +02:00
c85d52b8e8
Asyncore updates
- asyncore is now on by default
- inv announcements implemented
- bandwidth limit implemented / fixed
- stats on download / upload speed now work
- make prints into logger
- limit knownNodes to 20k as it was before
- green light fixed
- other minor fixes
2017-05-29 00:24:07 +02:00
9f4a1fa0a4
Config file defaults and address unification
- bmconfigpaser.py now allows to put default values for a specific
option in the file
- addresses as sections are now detected by "BM-" rather than
just ignoring bitmessagesettings. There can now be other sections
with a cleaner config file
2017-05-15 12:18:07 +02:00
8d829b587e
Reset OpenCL when settings change
- previously, changing the OpenCL vendor (or turning it on/off) required
  a restart and this wasn't clear
2017-02-28 22:59:44 +01:00
511b89ebbe
PoW Worker should wait for sql thread to init
- I think this was causing freezing queue on launch if not empty
- I can't reproduce the bug anymore
2017-02-26 20:44:56 +01:00