Commit Graph

87 Commits

Author SHA1 Message Date
navjot
569fe43871
telenium test cases for each module 2021-03-06 04:44:43 +05:30
navjot
df2dd7eeda
created separate module for each functionality 2021-03-04 04:28:11 +05:30
487eab6f78
fix conflicts after merging 2020-06-10 15:46:16 +05:30
d09782e53d
Obsolete bitmessagemain.connectToStream(), use BMConnectionPool method 2020-05-05 17:30:31 +03:00
413283f3b0
Implement payment hidden address feature for subscription 2020-03-20 13:48:17 +05:30
jai.s
fdbc175769
Updated origin and solved conflicts 2020-01-08 17:05:29 +05:30
lakshyacis
e436b8ecf6
commit after conflicts 2020-01-06 16:44:13 +05:30
jai.s
863558dad0
Updated origin by upstream 2020-01-06 15:13:31 +05:30
74036147e5
Merge branch 'v0.6' of https://github.com/surbhicis/PyBitmessage into UiChanges 2020-01-06 15:04:47 +05:30
5160a68c28
Moved start_proxyconfig to helper_startup;
no more prints in helper_startup
2020-01-04 14:28:45 +02:00
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
d6c1845b71
Moved Peer from state to network.node
and trustedPeer to network.connectionpool.BMConnectionPool attribute
2019-11-11 17:13:12 +02:00
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
42ee9d910b
launch py3 convert app for first phase(need to do more checks) 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
29f9cd9545
Handle bad trustedpeer setting 2019-06-07 13:54:47 +03:00
coffeedogs
6d98a4ef44
Changes based on style and lint checks. (final_code_quality_17) 2018-11-26 14:58:16 +00:00
529559d06a
Reduced BMConfigParser in the sake of readability 2018-07-04 17:59:58 +03:00
ba5caf3fda
Sorted out configuration loading/updating a bit:
- used BMConfigParser.safeGet.. methods instead of try .. except
  - moved all config checks from class_sqlThread into helper_startup
  - commented out initialization of settings which are then rewritten
    by updateConfig()
2018-07-04 17:59:58 +03:00
c7d3784b80
No need to import namecoin early because it's really used only in Qt UI 2018-06-30 16:11:11 +03:00
coffeedogs
dd1ee618a5
Fixed: Simple Codacy errors and warnings in src/helper_*
* Some local pickle operations and non-cryptographic random operations
were marked as safe to the bandit linter
 * A bandit config file was added and assert warnings are now ignored globally
 * Tightened up exception handling and code style
2018-05-02 15:52:47 +01:00
Mahendra
4840b2db5c
add docstring for sqlQuery and sqlBulkExecute methrod in helper_sql and removed query method of sqlBulkExecute class 2018-04-07 19:20:29 +05:30
Mahendra
a012d4a707
helper_startup formating 2018-04-07 13:35:31 +05:30
Mahendra
1a36361ef9
replace all random.xxx with helper random function 2018-03-21 19:26:27 +05:30
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
Justin Ramos
fd95f8f519
allowing for max outbound connection configuration
Signed-off-by: Justin Ramos <justin.ramos@gmail.com>
2017-02-21 16:28:54 -06:00
157881bc63
Cyclic import fix
- networkDefaultProofOfWorkNonceTrialsPerByte and
  networkDefaultPayloadLengthExtraBytes cyclic import fix
- PyBitmessage should launch now when there's no keys.dat
2017-02-08 20:37:42 +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
bd520a340f
Trustedpeer fix and more refactoring
- fixed trustedPeer (thanks to anonymous bug reporter)
- moved trustedPeer and Peer into state.py
2017-01-12 06:58:35 +01:00
fa0a3135e7
Fixes pointed out by landscape.io
- missing/wrong/obsolete imports
- logger formatting
2017-01-11 17:26:25 +01:00
ac348e4e6b
Fixes and refactoring
- fixes errors introduced in the earlier refactoring
- more variables moved to state.py
- path finding functions moved to paths.py
- remembers IPv6 network unreachable (in the future can be used to skip
  IPv6 for a while)
2017-01-11 17:00:00 +01:00
8bcfe80ad0
Refactoring of config parser and shared.py
- got rid of shared config parser and made it into a singleton
- refactored safeConfigGetBoolean as a method of the config singleton
- refactored safeConfigGet as a method of the config singleton
- moved softwareVersion from shared.py into version.py
- moved some global variables from shared.py into state.py
- moved some protocol-specific functions from shared.py into protocol.py
2017-01-11 14:27:19 +01:00
d35062b49c
Half-open connection limit warning fix
- it only should complain if on Windows and can't determine the Windows
  version
2016-11-13 08:50:09 +01:00
Louis-Guillaume DUBOIS
afa715cf1b
Fixes #867 - Changes default time format to %c 2016-06-18 14:19:23 +02:00
mailchuck
8136b022bc Typos
Still regarding portable mode path fixes
2016-05-02 15:00:22 +02:00
mailchuck
5a45d7dd8f Portable mode fixes
Fixes Bitmessage#379, Bitmessage#341
2016-05-02 15:00:22 +02:00
Henrik Olsson
57575d0a39 Fix some typos
Author:    Henrik Olsson <henrik@fixme.se>
2016-05-02 15:00:20 +02:00
Jonathan Warren
ba27f6e8a6 Made error message for Raspberry Pi users less serious-sounding 2015-03-19 18:09:04 -04:00
Jonathan Warren
9044e84093 some specifyTTL work completed 2015-03-03 14:04:12 -05:00
Jonathan Warren
50c392c197 resolve merge conflict 2014-12-25 20:37:04 -05:00
Yuri
34824c044e Moved all keys.dat writing code into writeKeysFile in shared.py 2014-09-14 23:34:33 -07:00
Jonathan Warren
0865e863ec Added ability to limit network transfer rate 2014-09-10 16:47:51 -04:00
Jonathan Warren
c84cdecba4 Normalize the noncetrialsperbyte and payloadlengthextrabytes for each of the user's existing addresses 2014-09-02 19:25:03 -04:00
Jonathan Warren
c306062282 Bitmessage Protocol Version Three 2014-08-27 03:14:32 -04:00
Jonathan Warren
38d7db24ad Merge pull request #639 from bpeel/wip/trusted-peer
Add a 'trustedpeer' option to keys.dat
2014-04-30 17:42:28 -04:00
Neil Roberts
03263156de Add a 'trustedpeer' option to keys.dat
If this option is specified in keys.dat then Bitmessage will connect
to the host specified there instead of connecting to the hosts in the
list of known nodes. It will also stop listening for incoming
connections and the timing attack mitigation will be disabled.

The expected use case is for example where a user is running a daemon
on a dedicated machine in their local network and they occasionally
want to check for messages using a second instance of the client on
their laptop. In that case it would be much faster to catch up with
the messages by directly downloading from the dedicated machine over
the LAN. There is no need to connect to multiple peers or to do the
timing attack mitigation because the daemon is trusted.

The host is specified as hostname:port. Eg, ‘192.168.1.8:8444’.
2014-02-06 13:16:07 +00:00