SomberNight
88307357ec
add some type hints
...
mostly related to hw wallets
2019-11-22 22:59:33 +01:00
SomberNight
c2b0039935
bitcoin.py: remove some remnants of TYPE_ADDRESS, TYPE_SCRIPT
2019-11-21 18:51:38 +01:00
SomberNight
b8e4ce9ba1
hardware wallets: handle when label is None
...
follow-up 56c3de0e1e
2019-11-18 18:13:26 +01:00
SomberNight
56c3de0e1e
hardware wallets: better handle label collision when selecting device
...
related: #5759
2019-11-17 01:15:44 +01:00
SomberNight
f8c84fbb1e
hardware wallets: create base class for HW Clients. add some type hints
2019-11-11 17:04:12 +01:00
SomberNight
cc4f6804b0
psbt: follow-ups: fix trezor
2019-11-05 23:32:00 +01:00
SomberNight
e6c841d05f
psbt: put fake xpubs into globals. keystores handle xfp/der_prefix missing
2019-11-04 22:24:59 +01:00
SomberNight
bafe8a2fff
integrate PSBT support natively. WIP
2019-11-04 22:24:36 +01:00
SomberNight
ab76a1fe5b
wallet.add_hw_info: also store "is_change" in output_info
...
as it seems every consumer wants to know this and has its own hacks to
figure it out
2019-09-03 14:34:10 +02:00
SomberNight
371e1a6ebf
hw: allow bypassing "too old firmware" error when using hw wallets
...
The framework here is generic enough that it can be used for any hw plugin,
however atm only Trezor is implemented.
closes #5391
2019-05-31 04:09:03 +02:00
SomberNight
3385a94753
logging: basics
2019-05-02 15:19:03 +02:00
SomberNight
e7f38467d7
move opcodes to bitcoin.py
2019-02-22 17:39:58 +01:00
SomberNight
8c3920a0db
hw: check_libraries_available now gets version of incompatible libs
...
previously we would return early and the user would
just see "missing libraries"
2018-12-06 19:39:58 +01:00
matejcik
5411ad9633
plugins can also check maximum library version
2018-11-27 15:32:33 +01:00
SomberNight
bd32b88f62
introduce UserFacingException
...
we should not raise generic Exception when wanting to communicate with
the user. it makes distinguishing programming errors and messages hard,
as the caller will necessarily need to catch all Exceptions then
2018-11-08 19:46:15 +01:00
SomberNight
9037f25da1
kill old-style namedtuples
2018-10-28 00:28:29 +02:00
SomberNight
70c32590a9
hw plugins: fix only_hook_if_libraries_available
...
follow-up f9a5f2e183
2018-09-30 00:25:36 +02:00
SomberNight
f9a5f2e183
fix #4698
2018-09-19 20:02:03 +02:00
SomberNight
91c369e392
hw wallets: generalise 'minimum_library' for those that provide a version number
2018-08-23 18:31:14 +02:00
SomberNight
5f3408dd70
transaction.py: introduce TxOutputHwInfo namedtuple
2018-08-14 19:15:15 +02:00
SomberNight
2eb72d496f
transaction: introduce TxOutput namedtuple
2018-08-01 19:10:08 +02:00
SomberNight
c9c8b7656d
follow-up prev. sanity check OP_RETURN outputs
...
based on 86c63a3a08
2018-07-31 13:03:34 +02:00
Janus
097ac144d9
file reorganization with top-level module
2018-07-13 14:01:37 +02:00