Commit Graph

3136 Commits

Author SHA1 Message Date
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
44a4a370a6
Use defaults while doing PoW for a preencrypted msg 2024-04-13 06:34:30 +03:00
e1ae33389c
Properly format all the keys samples 2024-04-13 06:33:59 +03:00
7348568c78
The test for double SHA512 2024-04-13 03:19:55 +03:00
3ed84a5863
Start adding hashes with double SHA512 2024-04-13 03:17:39 +03:00
1b9773f2cf
A dummy test for randomBytes 2024-04-12 15:47:06 +03:00
c7a3bfacfa
Move randomBytes to highlevelcrypto 2024-04-12 15:46:32 +03:00
feaee60632
Add a test for WIF decoding and encoding 2024-04-07 03:30:56 +03:00
c1ca7044d2
Moved decodeWalletImportFormat() from shared to highlevelcrypto,
not addresses, where it's supposed to be because it uses
pyelliptic.arithmetic, addresses.decodeBase58() returns int which needs
to be encoded. Defined encodeWalletImportFormat() and replaced all uses.
2024-04-07 03:30:50 +03:00
17a09a665b
Moved samples into the samples module 2024-04-06 03:47:51 +03:00
5a48ee0ad5
Add tests for base58 and WIF decoding using pyelliptic.arithmetic 2024-04-06 03:47:19 +03:00
799237c7ff
Don't use BMConfigParser in highlevelcrypto, instead use digestAlg kwarg,
both in .sign() and .verify(), extend TestHighlevelcrypto.test_signatures().
2024-04-05 03:10:24 +03:00
fd3567b3fa
Add a test for sign() and verify() 2024-04-05 02:44:28 +03:00
13d090e344
Use protocol.decodeObjectParameters() for sending ACK - put it in the inventory 2024-04-05 00:38:30 +03:00
2a93b04332
Fix api.HandleDisseminatePreEncryptedMsg() for python3 2024-04-05 00:38:30 +03:00
8fb6410097
Enable inventory item setting for python3 2024-04-05 00:38:30 +03:00
2030e08db3
A test for disseminatePreEncryptedMsg API command 2024-04-05 00:38:30 +03:00
1794384f01
Use decodeObjectParameters() in disseminatePreEncryptedMsg API command handler 2024-04-05 00:38:29 +03:00
9747f65884
Define a protocol function for decoding object parameters outside of network 2024-04-05 00:37:50 +03:00
anand k
a39fc2cff5
Test cases for helper_inbox.py 2024-03-29 07:46:20 +05:30
anand-skss
b8749c6d7c
Rename mockpb dir to mockbm 2024-03-22 08:54:15 +00:00
anand k
563e557b1b
Test cases for helper_sent 2024-03-22 11:53:12 +05:30
anand k
2e98a1eb2d
Test cases for helper_sql & Added mock library dependency in requirements.txt 2024-03-21 11:25:10 +05:30
anand k
6d8c7f3bbc
Renamed mock dir to mockpb 2024-03-20 07:27:38 +05:30
7dc91af6d8
Fix typo and formatting in tests.core 2024-03-14 21:26:43 +02:00
anand k
d8843791ab
Test cases for multiqueue 2024-03-08 20:07:05 +05:30
95659b6f6c
Fix bandit comments:
- suppress B301 in the single place where it appears,
  - fix placement of B607, B603 in proofofwork and B324 in bitmessagekivy.
2024-03-06 13:59:13 +02:00
anand-skss
6a33fe58e1
Code Quality 2024-03-04 15:37:03 +00:00