Commit Graph

221 Commits

Author SHA1 Message Date
lakshyacis
6650876b57
quality fixes after pull 2020-03-18 16:28:33 +05:30
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
lakshyacis
6f35da4096
Imported packages sequencing and formatting 2020-01-30 12:14:40 +05:30
lakshyacis
fe3a98c2b6
unidiomatic-typecheck and logging-format-interpolation issue suprressed 2020-01-21 16:15:17 +05:30
lakshyacis
8e6c2f3cfd
Kivy database and safegetint issues 2020-01-18 17:13:06 +05:30
lakshyacis
b6a81f1252
Formatting and fix License 2020-01-15 16:17:26 +05:30
lakshyacis
256ca151ab
py3 fixes 2019-12-31 14:45:53 +05:30
jai.s
9b1088b2e2
updated origin with upstream changes 2019-12-23 16:48:37 +05:30
3150956cdc
fix conflicts after merging 2019-12-18 16:38:10 +05:30
aa7e7dd658
Fixed some docstrings in shared and state 2019-11-18 13:34:00 +02:00
lakshyacis
6f91ba1b33
shared quality fixes 2019-10-31 14:52:43 +05:30
jai.s
f3cb78557b
Solved encode-decode, pack-unpack, new address creation issues 2019-10-22 20:09:42 +05:30
lakshyacis
55085af208
py3 quality fixes 2019-10-22 19:13:05 +05:30
jai.s
f4d14c11e9
Solved encode-decode, pack-unpack, new address creation issues 2019-10-22 13:07:54 +05:30
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
afb368e770
initial commit for python forward porting 2019-10-09 17:57:13 +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
4b72a433c6
New config setting - extralowdifficulty to use for testing:
replaces shared.useVeryEasyProofOfWorkForTesting and automatically
applies to test-mode.
2019-04-22 11:32:29 +03:00
b52cb9360f
Moved unused timeOffsetWrongCount from shared to BMProto 2019-02-04 22:23:28 +02:00
394c676ba2
Moved successfullyDecryptMessageTimings to class_objectProcessor 2019-02-04 22:23:28 +02:00
c2a3b5faed
Removed unused varibles defined in shared:
alreadyAttemptedConnections*, needToWriteKnownNodesToDisk
2019-02-04 22:22:16 +02:00
3adadd398f
Removed from shared the functions duplicating protocol:
decryptAndCheckPubkeyPayload, isBitSetWithinBitfield
2019-02-04 22:19:39 +02:00
5b5ec2b63d
shared.connectedHostsList is obsolete 2019-01-04 16:17:01 +02: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
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
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
61ddc1208e
No more shared.daemon variable 2018-01-25 12:58:29 +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
fe93473fc5
getpubkey length handling
- don't try to process getpubkey that is too long
2017-04-04 10:44:53 +02:00
1af49a0165
Download tracking refactoring
- replace PendingDownload singleton dict with a Queue
- total memory and CPU requirements should be reduced
- get rid of somObjectsOfWhichThisRemoteNodeIsAlearedyAware. It has very
little practicle effect and only uses memory
2017-03-19 22:08:00 +01:00
6062277d60
Rename configparser.py to bmconfigparser.py
- it was causing problems with py2app because the source of python's own
  CongigParser is also configparser.py
2017-02-22 09:34:54 +01:00
2cc4435cfc
Imports, typos, syntax errors
- remove obsolete imports
- add missing imports
- fix typos
- fix syntax errors
- thanks to landscape.io for report
2017-02-08 14:19:02 +01:00
59f3a2fbe7
Reduce cyclic dependencies
- rearranged code to reduce cyclic dependencies
- doCleanShutdown is separated in shutdown.py
- shared queues are separated in queues.py
- some default values were moved to defaults.py
- knownnodes partially moved to knownnodes.py
2017-02-08 13:41:56 +01:00
7da36eccbd
Signal sender threads to close on shutdown
- when shutdown is running, add a shutdown command to the queues of all
  sender threads
2017-02-07 20:47:28 +01:00
e434825bb2
Pending download counter fix
- handles expired objects better
- counts objects that failed download more accurately
2017-02-06 11:02:03 +01:00
9ed59dd825
Shutdown procedure cleanup 2017-01-16 23:38:18 +01:00
94f0bdc731
Objects to be downloaded optimising
- treat requested but never arrived objects as expired. This is how it
  worked before the refactoring. Without this, the list won't go to
  zero.
2017-01-15 22:01:10 +01:00
f079ff5b99
Refactor objects to be downloaded
- moved logic into a Missing singleton
- shouldn't try to download duplicates anymore, only requests a hash
  once every 5 minutes and not from the same host
- removed obsoleted variables
- the "Objects to be synced" in the Network tab should now be correct
- removed some checks which aren't necessary anymore in my opinion
- fix missing self in Throttle (thanks landscape.io)
2017-01-15 19:21:24 +01:00
9bf17b34d1
Remove obsolete imports and code
- landscape.io pointed out obsolete imports
- there is also an obsolete variable and lock in throttle.py
- add Exception type to BMConfigParser().save
2017-01-15 11:40:31 +01:00
8cb0953401
Moved writeKeysFile into configparser
- shared.writeKeysFile -> BMConfigParser().save
- makes it easier to get rid of circular imports
2017-01-15 10:50:02 +01:00
689d697a40
Refactor bandwidth limit and speed calculator
- also fixes potential deadlocks
2017-01-14 23:21:00 +01:00
ad75552b5c
Move shutdown from shared.py to state.py 2017-01-14 23:20:15 +01:00
59cf33c9a1
Remove obsolete import 2017-01-13 12:01:38 +01:00
65701e5997
neededPubkeys fix
- was still using shared.neededPubkeys
2017-01-13 09:30:23 +01:00
810e50a040
Fix minor issues
- landscape.io complained
- obsolete imports
- ciphers -> self.ciphers
2017-01-12 07:26:04 +01:00