Commit Graph

3163 Commits

Author SHA1 Message Date
c6ae9f6843
Use proofofwork.calculate() everywhere 2025-01-15 19:36:58 +02:00
120b044e2e
Define a couple of functions in proofofwork for common calculations,
add a test checking the result of proofofwork.calculate(),
define common samples for the pow.
2025-01-15 19:36:58 +02:00
d5f8d84f78
Initial efforts for testing the proofofwork:
a test case, a test with data and python3 support.
2025-01-15 19:36:52 +02:00
bc5d46beb0
Add new API commands for managing black/white list (closes: #536) 2025-01-14 21:15:07 +02:00
41f3774ac4
Specify some new API commands for managing black/white list 2025-01-14 21:15:01 +02:00
f497d7ab51
Remove palette property from the STableWidget
and set background to Button role - should be the same as in TabWidget.
2024-12-23 04:26:51 +02:00
866920e60b
Set black foreground for colored items in the Network Status connections table 2024-12-23 04:24:58 +02:00
034bb19c6a
Set focus policy for NetworkStatus.tableWidgetConnectionCount 2024-12-23 04:24:50 +02:00
1ee3883898
Suppress flake8 error
- python3-only code
2024-10-20 10:33:37 +08:00
79ba94bc7f
supress pylint super complaint 2024-10-17 11:44:02 +05:30
3eec0da204
code-quality: Update code quality kivy/baseclass/inbox 2024-10-11 19:23:18 +05:30
41ce3ef1ba
code-quality: Update code quality kivy/baseclass/draft 2024-10-11 19:23:18 +05:30
db69b9885f
Suppress pylinit super complaint
- it's in python3-only code
2024-10-09 19:32:13 +08:00
4ad06d7c59
code-quality: Update code quality kivy/baseclass/allmail and related references 2024-10-08 11:35:02 +05:30
cf3716950f
Use mock for android build 2024-07-24 21:55:38 +02:00
d6823a6fb1
Fix python3 / kivy test 2024-07-07 21:26:29 +08:00
anand k
5b537eabe1
Moved portCheckerQueue and receiveDataQueue to network module 2024-07-07 19:42:41 +08:00
anand k
49e89ecdf2
Moved addrQueue to network module 2024-07-04 17:57:11 +05:30
anand k
5cd4ecb437
Moved invQueue to network module 2024-07-04 17:57:11 +05:30
anand k
6578b5b925
Moved multiqueue to network module 2024-07-04 17:57:11 +05:30
27e566140d
Add a check for default in TestProtocol.test_check_local() 2024-07-03 01:25:47 +03:00
anand k
e578759a3f
Reduced helper_randon dependency from network module 2024-06-21 07:36:48 +05:30
205e25337f
Use six to avoid obsolete unittest assertions 2024-06-17 00:42:07 +03:00
de445d6bd9
Suppress pylint complaint 2024-06-16 11:44:18 +08:00
de11bc484c
Make Windows the default window style on windows, not GTK+ 2024-06-12 19:42:16 +03:00
c3c41902cf
Use QtTest and QTimer.singleShot() to check the font dialog 2024-06-12 19:41:56 +03:00
d46af0835a
A rather rudimentary test with basic checks for the style setting 2024-06-12 19:41:56 +03:00
0ccbf6832f
Adjust the tabWidget font size relative to the base app font 2024-06-12 19:41:55 +03:00
ec1b05ee90
Allow user to set a base Qt window style and the font (family and size only) 2024-06-12 19:41:32 +03:00
21bef1058d
Improve the base class for bitmessageqt test cases 2024-06-11 16:05:08 +03:00
anand k
a71b44e95c
moved dandelion_enabled from state to Dandelion class as enabled attr 2024-06-11 14:48:29 +05:30
anand k
a209d65a26
Moved dandelion runtime var from state to network->dandelion 2024-05-27 09:20:21 +05:30
3a04e351cc
Move RIPEMD160 hash to highlevelcrypto and export to_ripe() (closes: #1796) 2024-05-20 15:07:20 +03:00
anand k
e571ba8a51
Replaced state.streamsInWhichIAmParticipating with pool.streams 2024-05-15 09:21:37 +05:30
anand k
657c1de16b
Remove state.shutdown or replaced with self._stopped from some network thread 2024-05-13 07:23:11 +05:30
anand k
28355d70c7
Made BMConnectionPool as global runtime variable in connectionpool from singleton 2024-05-09 19:53:54 +05:30
f28935f8fe
Avoid recursion when trying to build bitmsghash lib
in environments where prebuilt one is unusable and make doesn't work.
2024-05-05 23:22:34 +03:00
anand k
95af3a859b
Renamed dandelion flag to dandelion_enabled 2024-04-22 08:59:00 +05:30
anand k
1c8ae8fef3
moved Dandelion in state - global runtime variable from singleton 2024-04-21 22:40:19 +05:30
anand k
5faef8d40e
moved inventory in state - global runtime variable from singleton 2024-04-19 08:21:19 +05:30
anand k
d555a79200
Test cases for shared.py 2024-04-17 18:21:11 +05:30
0ed566500f
Use fallback.RIPEMD160Hash() in the test for deterministic keys 2024-04-16 20:18:37 +03:00
c51b2875df
Tests for keys generation
this implementation for deterministic keys requires a passphrase of type bytes
2024-04-16 20:18:37 +03:00
5c1dcc5645
Define functions for generating keys in the highlevelcrypto 2024-04-16 20:18:03 +03:00
d547a8be2f
Encode WIF string before passing to highlevelcrypto.decodeWalletImportFormat() 2024-04-15 05:27:45 +03:00
acab92c561
Add a test for random address generation 2024-04-15 05:27:45 +03:00
ae3ff8c07e
Fix outdated exception handlers for singleWorker._getKeysForAddress() 2024-04-14 04:58:26 +03:00
629efb253e
Update the test for disseminatePreEncryptedMsg API command 2024-04-13 17:16:46 +03:00
f6bd1546a7
Alias disseminatePreEncryptedMsg as disseminatePreparedObject, edit docstring 2024-04-13 06:34:30 +03:00
7836538290
Make PoW optional in disseminatePreEncryptedMsg 2024-04-13 06:34:30 +03:00