Commit graph

454 commits

Author SHA1 Message Date
Lex Berezhny
7b86b3843f refactored and updates all list commands to always be paginated 2019-10-26 00:15:19 -04:00
Julin S
c61fae05d6 Convert some format() strings in lbry and torba to fstrings 2019-10-25 20:47:39 -04:00
Lex Berezhny
a7f8febed7 dont error if blank password was set previously 2019-10-23 10:45:55 -04:00
Lex Berezhny
ad6bd840a9 make decrypt atomic, if it fails the state for all encrypted values in account does not change 2019-10-18 18:08:43 -04:00
Lex Berezhny
0fa9e8d9f5 if decrypted private key is empty, no longer save the encrypted empty string as private key 2019-10-18 18:08:43 -04:00
Lex Berezhny
583833017b refactor save and encryption check 2019-10-18 18:08:43 -04:00
Lex Berezhny
d50ebcf9eb do not save wallet if gap did not change, also dont encrypt on save if already encrypted 2019-10-18 18:08:43 -04:00
Lex Berezhny
81ddf7e1d2 use an assert to check password 2019-10-18 18:08:43 -04:00
Lex Berezhny
180035296e support unlocking with blank password but throw an error when encrypting with blank password 2019-10-18 18:08:43 -04:00
Lex Berezhny
5cebc7f5cd pylint 2019-10-18 12:02:36 -04:00
Lex Berezhny
1c8aad7a07 fix for encrypted wallet with import read-only channel accounts 2019-10-17 22:28:44 -04:00
Lex Berezhny
7b5f23e17d incorporate password in the wallet.hash 2019-10-16 15:49:10 -04:00
Lex Berezhny
d1a123997d sync_apply always updates local password if encrypt-on-disk is enabled 2019-10-16 12:06:05 -04:00
Lex Berezhny
bcd69f812e sync_apply overwrites local password when encrypt-on-disk is true 2019-10-16 12:06:05 -04:00
Lex Berezhny
e5be1ff157 bug fixes and encrypt-on-disk preference 2019-10-16 12:06:05 -04:00
Lex Berezhny
b8b24da292 encrypt/decrypt/lock/unlock commands return True 2019-10-14 12:57:09 -04:00
Lex Berezhny
45eef03576 fixes 2019-10-14 12:57:09 -04:00
Lex Berezhny
270f77df24 wallet encryption 2019-10-14 12:57:09 -04:00
Lex Berezhny
fea7275148 mypy fixes 2019-10-12 20:23:29 -04:00
Lex Berezhny
64581fc81b pylint 2019-10-12 20:23:29 -04:00
Lex Berezhny
37ae302fc6 timestamped top-level wallet preferences 2019-10-12 20:23:29 -04:00
StrikerRUS
eb8a88dbd6 refactored integration folder as well 2019-10-11 10:31:54 -04:00
StrikerRUS
62e3258dda revert spaces fixes 2019-10-11 10:31:54 -04:00
StrikerRUS
9959d2c70d use more specific asserts in torba tests 2019-10-11 10:31:54 -04:00
Hugo
3a3a9b5f4e Fix spelling 2019-10-03 21:40:06 -04:00
Victor Shyba
b3f087dbc7 fix fastest session for when online but unavailable 2019-09-30 10:58:11 -04:00
Victor Shyba
4231e7f3ff fix for new pylint in torba 2019-09-24 12:23:34 -03:00
Lex Berezhny
1b0d802941 is_change bug fix 2019-09-23 13:49:50 -04:00
Lex Berezhny
1d090765ba pylint dict comp 2019-09-23 13:49:50 -04:00
Lex Berezhny
6c6050528a windows doesnt have json_group_object sqlite function available, switching to group_concat 2019-09-23 13:49:50 -04:00
Lex Berezhny
ea434e3469 wallet_id related test fixes 2019-09-23 13:49:50 -04:00
Lex Berezhny
84587ac232 wallet commands and wallet_id argument to other commands 2019-09-23 13:49:50 -04:00
Victor Shyba
9c86cb7954 proper dict formatting on tests 2019-09-18 19:28:11 -04:00
Victor Shyba
ef94c1eccc use existing donation_address instead 2019-09-18 19:28:11 -04:00
Victor Shyba
64eaa5e3aa add options to set server description, payment address and daily fee 2019-09-18 19:28:11 -04:00
Victor Shyba
817f01593e call the correct method on is_valid_address 2019-09-18 19:19:34 -04:00
Jack Robison
abac82c1c6
skip test_fetchall_prevents_sqlite_misuse on travis
-print how many attempts the race condition took to trigger
2019-09-17 12:44:43 -04:00
Jack Robison
02c51c6059
typing 2019-09-17 12:09:19 -04:00
Jack Robison
46b45d0387
gotta fetch 'em all 2019-09-17 12:09:19 -04:00
Jack Robison
1aa2983216
fix db errors during shutdown 2019-09-17 12:09:19 -04:00
Jack Robison
287902f01b
test fetchall prevents SQLITE_MISUSE 2019-09-17 12:09:19 -04:00
Jack Robison
7dc3e4e7a1
test verbosity 2019-09-17 12:09:19 -04:00
Jack Robison
0b31aad901
test binding errors vs sqlite_misuse race errors 2019-09-17 12:09:19 -04:00
Lex Berezhny
b7c2054a66 mypy fixes 2019-09-17 09:08:29 -04:00
Lex Berezhny
81f16d7061 refactored address_list API to be more detailed 2019-09-17 09:08:29 -04:00
Lex Berezhny
3c46c6cbb9 fix mypy type issue 2019-09-16 13:21:45 -04:00
Lex Berezhny
d31f09c174 client wallet db versioning 2019-09-16 13:21:45 -04:00
Lex Berezhny
7c22111ae0 channel certificate and channel claim can be different accounts, also JSON RPC responses now include a field showing if the channel certificate is available 2019-09-16 13:21:45 -04:00
Alex Grintsvayg
2026848a77
default wallet server to LBC coin 2019-09-16 12:01:38 -04:00
Jack Robison
5fcca6ed0c
feedback
-add comment for the fetchall() that if removed will cause SQLITE_MISUSE
2019-09-10 15:03:17 -04:00