Commit Graph

3151 Commits

Author SHA1 Message Date
lakshyacis b927d51eb3
dandelion.py pylint fixes 2019-09-02 13:53:06 +05:30
lakshyacis f1b6b16940
connectionpool.py pylint fixes 2019-09-02 13:52:56 +05:30
lakshyacis 5521c16478
bmproto pylint fixes 2019-08-30 16:12:39 +05:30
lakshyacis 469d289a97
Announcethread Pylint Fixes 2019-08-30 15:23:20 +05:30
lakshyacis 548fcf0d0a
announcethread Flake8 Fixes 2019-08-29 19:24:13 +05:30
lakshyacis b48197ff0d
build_osx file flake8 Fixes 2019-08-29 16:32:14 +05:30
lakshyacis cc869d0426
bitmessagemain flake8 Fixes 2019-08-29 16:13:27 +05:30
Peter Šurda 395fbcd0f0
Add intermediary tests
- primitive serialisation (BN_bn2bin and ctypes) used in intermediary tests
2019-08-28 13:21:44 +02:00
Peter Šurda b934c4e01e
Minor refactoring to separate objects 2019-08-27 23:13:58 +02:00
Peter Šurda 076aeaa19f
Import path changes as requested 2019-08-27 23:13:55 +02:00
Peter Šurda 2e0f7755c6
Blind signature support in pyelliptic
- add blind signature functionality to pyelliptic as described in #1409
- add tests for blind signatures
- PEP8 fixes for pyelliptic
- some minor refactoring is necessary for further integration, this is just a
  minimal implementation to pass a test
2019-08-27 23:13:45 +02:00
Dmitri Bogomolov f180b1a5b0
Moved randomtrackingdict to network, it's used only there 2019-08-18 17:34:58 +03:00
Dmitri Bogomolov 709e194347
Fix #1504 (regression introduced in 0c1e516) 2019-08-16 12:32:16 +03:00
Dmitri Bogomolov e8bd427b9f
flake8 for bitmessageqt.safehtmlparser (with docstrings from #1368) 2019-08-13 10:57:52 +03:00
Dmitri Bogomolov 97366ede73
Do not save hidden service parameters if onionhostname is set 2019-08-08 11:46:57 +03:00
Dmitri Bogomolov 53d77ce911
Dumb tor configurator using stem 2019-08-08 11:46:57 +03:00
Dmitri Bogomolov ec11632297
Introduce pluggable proxy configurators 2019-08-08 11:46:50 +03:00
Dmitri Bogomolov 2bd75b87bd
Use config = BMConfigParser() in bitmessagemain.Main 2019-08-06 18:59:13 +03:00
Dmitri Bogomolov d8d76ed42d
No random.seed() in protocol.assembleVersionMessage() 2019-08-06 18:11:38 +03:00
Dmitri Bogomolov ad2a2b3fb4
Inherit helper_threading.StoppableThread from threading.Thread
and do random.seed() in its __init__
2019-08-06 18:07:19 +03:00
Dmitri Bogomolov a7a634be1b
Add self peers with rating 1 2019-08-02 17:56:40 +03:00
Dmitri Bogomolov 92c0196887
Add self peer into knownnodes if detected external IP with UPnP 2019-08-01 13:21:05 +03:00
Dmitri Bogomolov 668a73abf6
Fixed my mistake in knownnodes, in ef54bca 2019-08-01 12:58:43 +03:00
Dmitri Bogomolov ea5c447ea4
protocol: replace missing state.extPort by 'extport' setting
Fixes #1497
2019-08-01 12:40:50 +03:00
Dmitri Bogomolov c5ce2e36d5
shared.extPort is obsolete 2019-08-01 12:40:50 +03:00
Dmitri Bogomolov 9992626438
Fix API command 'shutdown' 2019-08-01 12:04:13 +03:00
Dmitri Bogomolov ae76d369f2
A test for API command 'shutdown' 2019-08-01 12:04:12 +03:00
Dmitri Bogomolov 27e74a15d7
flake8: network.connectionchooser 2019-07-29 15:54:19 +03:00
Dmitri Bogomolov 67d14f9e73
Docstrings in network.bmproto from #1362 2019-07-26 12:08:56 +03:00
Dmitri Bogomolov bbab0010e6
Moved a test script from network.tcp to tests.core 2019-07-26 12:08:42 +03:00
Dmitri Bogomolov 391b5ded87
Docstrings in network from #1368 2019-07-26 12:08:32 +03:00
Dmitri Bogomolov 2998599442
Docstrings in network from #1401 2019-07-26 12:08:18 +03:00
Dmitri Bogomolov 19ab56a979
network.connectionpool: get any setting with .safeGet.. 2019-07-26 12:08:18 +03:00
Dmitri Bogomolov 996e71ae6f
flake8 in network package 2019-07-26 12:07:57 +03:00
Peter Šurda 0eb4f46923
Formatting based on review 2019-07-11 15:32:00 +02:00
Peter Šurda 465a276c02
Dandelion fixes
- expiration wasn't handled correctly
- objects with no child stems never expired. While this is better for
  anonymity, it can cause objects getting stuck
- upon expiration the nodes weren't marked as not having the object, causing it
  to not be advertised
- I haven't tested it but at least I don't think can make things worse
2019-07-11 11:03:48 +02:00
Dmitri Bogomolov e07cd1462e
Added address menu plugins to each popup menu except for Blacklist,
closes #819
2019-07-08 16:56:41 +03:00
Dmitri Bogomolov e6f3e52014
qrcode plugin: added address label and adjusted formatting 2019-07-05 12:36:03 +03:00
Dmitri Bogomolov 8b065d2e57
Fix unwanted AttributeError in messagetypes 2019-07-05 12:13:55 +03:00
Dmitri Bogomolov c9bc97f4b2
Set status icon color to yellow if last inbound connection is lost 2019-06-29 22:37:35 +03:00
surbhi ff020c5192
fix windows header files api issue 2019-06-28 20:35:40 +05:30
Dmitri Bogomolov f7e1601185
flake8 imports in blacklist 2019-06-21 16:47:47 +03:00
Dmitri Bogomolov fbf5bcc74c
Blacklist object has no .statusBar() method - use UISignalQueue.put() 2019-06-21 16:47:42 +03:00
Dmitri Bogomolov 38e5d93272
Resend onionpeer object if it expired while the node ran 2019-06-14 12:38:48 +03:00
Dmitri Bogomolov a5300e8584
Took into account pylint undefined-loop-variable warnings 2019-06-08 11:22:03 +03:00
Dmitri Bogomolov 0c1e516921
Implemented folder and widget args in propagateUnreadCount(), removed the rest 2019-06-08 11:22:03 +03:00
Dmitri Bogomolov ffdd91b021
Fixed propagateUnreadCount() result when having unread messages in trash 2019-06-08 11:22:02 +03:00
Dmitri Bogomolov 29f9cd9545
Handle bad trustedpeer setting 2019-06-07 13:54:47 +03:00
Dmitri Bogomolov f868c1ad11
Fixing my bug in 453e045 2019-06-06 09:21:59 +03:00
Dmitri Bogomolov d0d0b2ec84
Insert exactly 16 bytes of encoded remote host name into version message 2019-05-24 11:21:23 +03:00