ThomasV
641968fcf8
Wizard: do not ask seed type, default to segwit
...
segwit addresses are widely supported today.
5 years ago
SomberNight
d1302d3384
mnemonic: tighten seed_type check for old "2fa" type seeds
...
Seeds in the set difference could already not be restored: they raised
an exception in the wizard; now these are not recognised as valid seeds
anymore (so e.g. OK button in wizard will be disabled).
Also see comments in code.
5 years ago
SomberNight
1851ec962f
trustedcoin: fix two-step wallet creation (offline->online)
...
got broken in c46fbf08a5
5 years ago
SomberNight
95b08e9961
plugins: remove 'on_new_window' hook
5 years ago
SomberNight
933d8861ce
mnemonic.make_seed: de-duplicate num_bits default magic number
5 years ago
ThomasV
427779350f
Trustedcoin: call wizard.terminate with aborted set to True in various failure conditions (see #4496 )
5 years ago
SomberNight
4a4b0922e5
trustedcoin: (trivial) add a stub method in plugin base class
6 years ago
SomberNight
e6e587b7da
trustedcoin: use psbt format on wire. rm psbt to legacy tx conversion.
...
closes #6123
6 years ago
ThomasV
9a462ac9b5
trustedcoin: fix wallet constructor
6 years ago
SomberNight
07f5d6b745
keystore: 'get_tx_derivations' no longer public
6 years ago
ThomasV
e1ce3aace7
Separate db from storage
...
- storage is content-agnostic
- db and storage are passed to wallet contructor
6 years ago
SomberNight
d2f132738a
wallet: only select mature coins by default
...
this is a regression from #5721
Removed the `TxInput.is_coinbase` method as I think it is a confusing API,
instead we now have `TxInput.is_coinbase_input` and `TxInput.is_coinbase_output`.
related #5872
6 years ago
SomberNight
c2b0039935
bitcoin.py: remove some remnants of TYPE_ADDRESS, TYPE_SCRIPT
6 years ago
SomberNight
bafe8a2fff
integrate PSBT support natively. WIP
6 years ago
SomberNight
04edad9984
config: no longer singleton. it is passed to Wallet.__init__
...
The few other cases that used SimpleConfig.get_instance() now
either get passed a config instance, or they try to get a reference
to something else that has a reference to a config.
(see lnsweep, qt/qrcodewidget, qt/qrtextedit)
6 years ago
ThomasV
16e293c289
follow-up cefa4762ba
6 years ago
SomberNight
99b83f7527
fix #5617
6 years ago
SomberNight
a42a773d19
storage: replace STO_EV_* ints with IntEnum
6 years ago
SomberNight
f60f690ca9
change many str(e) to repr(e) as some exceptions were cryptic
...
it's often valuable to see the type of the exception
(especially as for some exceptions str(e) == '')
7 years ago
SomberNight
003e6c3e79
fix 2fa wallet creation via qt gui
...
closes #5334
7 years ago
SomberNight
3385a94753
logging: basics
7 years ago
SomberNight
1cfac928f9
trustedcoin: longer timeout for server signing
...
fixes #5221
7 years ago
SomberNight
a62bf2a53a
trustedcoin: better UX in Qt when cannot connect to TC server
...
closes #5184
7 years ago
ThomasV
cb9dcb8e26
load wallet plugin in Wallet factory, fix trustedcoin wizard on kivy
7 years ago
ThomasV
d5790ea109
wizard: do not use on storage object during wallet creation
7 years ago
SomberNight
072ce9c7ac
do not raise BaseException
7 years ago
SomberNight
85a7aa291e
bip32: refactor whole module. clean-up.
7 years ago
SomberNight
b39c51adf7
mv "electrum seed" stuff from bitcoin.py to mnemonic.py
7 years ago
SomberNight
9dedf51afd
trustedcoin: nicer 'ErrorConnectingServer' exception
7 years ago
SomberNight
d4e209dc3a
trustedcoin: print messages in both direction when debugging
7 years ago
SomberNight
026448837f
no more "import *"
...
fixes #5101
fixes #5105
7 years ago
SomberNight
9013f6d59e
wizard: make 'stack' private
7 years ago
SomberNight
16bac5fd73
rm qt icons file
...
so we don't need pyrcc5, which is not deterministic,
and so we don't need the submodule for the icons
based on electrumsv/electrumsv@bf8802c2eaf0bf75565b5423a95bcb85ec7eb781
7 years ago
SomberNight
dac5af8eca
trustedcoin: friendlier error msg for invalid otp when signing
7 years ago
ThomasV
502a4819b6
trustedcoin: do not set wallet.plugin in constructor
7 years ago
ThomasV
467e40b555
trustedcoin: serialize using PARTIAL_TXN_HEADER_MAGIC
7 years ago
ThomasV
040b5b3f88
trustedcoin: fix get_xkeys
7 years ago
SomberNight
84519752c3
trustedcoin: fix prev. remove temp xpubs.
7 years ago
ThomasV
852f2a0d65
trustedcoin: do not require wallet file upgrade
7 years ago
SomberNight
7b90d69443
trustedcoin: p2wpkh billing addresses
7 years ago
SomberNight
eeea4fcb31
rename 2fa non-segwit type to "legacy 2fa" and make segwit the default
7 years ago
ThomasV
5a93bf054e
2fa segwit (from ghost43's PR)
7 years ago
Janus
e1f4865844
digitalbitbox, trustedcoin: proxied http client
...
use common cross-thread HTTP method, which is put in network.py,
since that is where the proxy is. TrustedCoin tested successfully,
but DigitalBitbox can't be tested completely due to #4903
before this commit, digitalbitbox would not use any proxying
7 years ago
SomberNight
a88a2dea82
split bip32 from bitcoin.py
7 years ago
SomberNight
4a88ca1a3a
fix --offline option for fx and trustedcoin
7 years ago
Janus
52b877ac3d
network: add singleton accessor classmethod, port trustedcoin to aiohttp
7 years ago
SomberNight
2eb72d496f
transaction: introduce TxOutput namedtuple
7 years ago
Janus
097ac144d9
file reorganization with top-level module
8 years ago