Commit graph

3912 commits

Author SHA1 Message Date
SomberNight
1f937aa6cd
fix: 'oneserver' could only be set in the CLI 2018-04-11 11:16:29 +02:00
SomberNight
7b50790584
do not raise BaseException 2018-04-07 17:10:30 +02:00
SomberNight
76e67daadd
changed some asserts to raise-exceptions in lib 2018-04-07 17:01:38 +02:00
ghost43
cf88e239d7
fix parsing values in setconfig (#4225) 2018-04-06 18:53:13 +02:00
SomberNight
4ff3791cb9
fix #4236 2018-04-06 16:43:11 +02:00
SomberNight
0180abc179
blockchain.py: check header length
related: #4212
2018-04-05 16:12:34 +02:00
SomberNight
e4dad0a425
fix #4198 2018-04-05 12:52:21 +02:00
SomberNight
d2a1179087
fix #4227 2018-04-05 12:22:01 +02:00
ThomasV
ad6dd73a03 do not catch OSError in pipe.send (fix ANR on some versions of Android) 2018-04-05 11:27:12 +02:00
SomberNight
de4fe9db69
fix a race condition in synchronizer
wallet.synchronizer gets assigned a newly constructed Synchronizer instance.
Synchronizer in tx_response refers to the value of wallet.synchronizer.
If the wallet has a missing txn, there could be a race condition that synchronizer asks for a txn and we get the callback from the network WHILE the constructor is still running, in which case wallet.synchronizer would still be None and we would consider the callback "orphan", and the wallet would get "stuck" synchronizing.
2018-04-05 08:32:02 +02:00
ThomasV
eb4463063f
Merge pull request #4214 from SomberNight/payto_read_rbf_from_config
payto: get RBF setting from config
2018-04-04 15:26:49 +02:00
SomberNight
92c45ac29a
fix prev: txns might be added in any order 2018-04-04 01:22:49 +02:00
SomberNight
17512f7f47
wallet: speed up get_address_history 2018-04-03 22:16:29 +02:00
SomberNight
ffe69cb328
fix #4220 2018-04-03 19:18:10 +02:00
SomberNight
13bd10e1cb
wizard: add naive debug message to hw device scan if none are found 2018-04-03 14:21:22 +02:00
SomberNight
42582b6a64
fix #4219 2018-04-03 02:48:55 +02:00
SomberNight
5a508f7b8d
fix #4218 2018-04-03 01:50:37 +02:00
SomberNight
4d15d4e459
payto: get RBF setting from config 2018-04-02 05:30:58 +02:00
SomberNight
58273fc841
tests: xpub version bytes 2018-04-01 16:56:17 +02:00
SomberNight
ff57c198b4
fix prev 2018-04-01 16:52:24 +02:00
fivepiece
192288c025 change testnet p2wsh-p2sh prefix to 0x024289ef to reflect Upub (#4210)
* change testnet p2wsh-p2sh prefix to 0x024289ef to reflect Upub

* add testnet p2sh-p2wsh 2of2 multisig test
2018-04-01 16:48:54 +02:00
SomberNight
9de4d19c5a
tests: refactoring in test_wallet_vertical.py 2018-04-01 16:44:59 +02:00
SomberNight
1eae16aa3e
tests: class TestCaseForTestnet 2018-04-01 15:50:24 +02:00
SomberNight
5926438847 fix #3294 2018-03-27 23:40:46 +02:00
SomberNight
ec33463426 fix #4184 2018-03-27 20:17:37 +02:00
ThomasV
c9c7f34ddf prepare version 3.1.2 2018-03-27 18:26:23 +02:00
ThomasV
2886bf8a05
Merge pull request #4061 from Yuki-Inoue/feature/current_wallet_path
daemon status shows current wallet path
2018-03-27 11:04:46 +02:00
ThomasV
032f40640e revert previous commit, use #4062 2018-03-25 23:38:55 +02:00
ThomasV
d9c0591425 do not set cmd_runner.wallet when wallet is loaded. closes #4062 2018-03-25 23:08:25 +02:00
ThomasV
95780a39a3
Merge pull request #4169 from SomberNight/open_utf8
use explicit utf-8 encoding when opening files in text mode
2018-03-25 10:35:37 +02:00
SomberNight
fa91cbf762 network - send_subscriptions: copy subscribed_addresses before iterating
see #4146
(this should at least avoid the RuntimeError)
2018-03-24 18:34:51 +01:00
SomberNight
9b7536e75c use explicit utf-8 encoding when opening files in text mode 2018-03-23 21:47:51 +01:00
ThomasV
05342c5537
Merge pull request #4117 from SomberNight/pay_to_script
fix paying to script
2018-03-23 19:42:04 +01:00
SomberNight
d146c369bf fix #4164 2018-03-22 21:48:51 +01:00
ThomasV
800c783580
Merge pull request #4115 from SomberNight/disallow_adding_requests_w_invalid_addresses
disallow adding receive requests without valid is_mine addresses
2018-03-22 15:34:05 +01:00
ThomasV
bf67920f7f
Merge pull request #4133 from laseryuan/patch-1
Fix the error: locktime is always reset to zero when serialize the js…
2018-03-22 12:25:58 +01:00
ThomasV
f8f00188ed
Merge pull request #4148 from SomberNight/hw_wallet_output_ismine_der
trezor/keepkey/dbb: provide derivation info for all is_mine txn outputs
2018-03-22 12:18:59 +01:00
SomberNight
c0a42b756b fix #4159 2018-03-22 08:18:27 +01:00
SomberNight
a00439b6f8 fix #4158 2018-03-22 07:27:18 +01:00
SomberNight
77c8010517 bitcoin.py: parameterise a few address-related methods with network 2018-03-20 17:02:49 +01:00
SomberNight
7d11812f55 trezor/keepkey/dbb: provide info for all is_mine txn outputs 2018-03-20 02:04:41 +01:00
ThomasV
35ae2a0064
Merge pull request #4143 from SomberNight/wallet_file_exception
Catch wallet file related exceptions in Qt wizard
2018-03-19 11:57:24 +01:00
SomberNight
5fef1e7980 close #4125
perhaps not proper fix but at least more descriptive exception text
2018-03-19 01:26:57 +01:00
SomberNight
36d52dfd5a fix #4129 2018-03-19 01:04:02 +01:00
SomberNight
22061b4555 transaction.get_address_from_output_script now handles witness version > 0 2018-03-18 06:18:48 +01:00
SomberNight
85b36e027f fix a bug with hw devices.
if a device is unplugged and then replugged before we notice (via scan_devices) then it will get into an unusable state, throwing all kinds of low level exceptions when we don't expect it. affects ledger, keepkey, dbb, but for some reason not trezor.
2018-03-18 03:54:28 +01:00
SomberNight
61a45edee0 Catch wallet file related exceptions in Qt wizard. 2018-03-17 22:56:20 +01:00
SomberNight
c79de3ab3c fix #4139 2018-03-16 22:06:38 +01:00
Laser Yuan
8a5d27dcf4
Fix the error: locktime is always reset to zero when serialize the json data
The "lockTime" field in the json object was ignored due to the wrong attribute name "locktime" was called.
2018-03-16 12:06:33 +08:00
SomberNight
c0ae266d39 DeviceMgr: scan_devices can work without hid 2018-03-16 00:55:45 +01:00