SomberNight
9bbb3f81b3
fix: import_address() for existing Imported_Wallet was willing to import anything
2017-11-03 07:42:38 +01:00
ThomasV
f36024e216
hardware wallets: pass xtype to get_xpub
2017-10-31 11:45:25 +01:00
ThomasV
8467663448
Merge pull request #3141 from SomberNight/locktime_local_height
...
txn: set locktime to local height for RBF, CPFP, sweep
2017-10-28 22:41:48 +02:00
SomberNight
211fa9a062
txn: set locktime to local height for RBF, CPFP, sweep
2017-10-28 10:02:37 +02:00
SomberNight
5109075e4f
fix: sweep p2pk - small display bug (unknown -> pubkey)
2017-10-28 08:59:44 +02:00
ThomasV
6f3c822867
Merge pull request #3125 from SomberNight/sweep_p2pk
...
try to sweep p2pk outputs from old type WIF privkeys
2017-10-27 21:01:56 +02:00
ThomasV
0af700bda0
fix typo
2017-10-27 12:04:26 +02:00
ThomasV
a220932711
serialize txin-type in xpub/xprv
2017-10-27 12:04:26 +02:00
SomberNight
1c31177d03
try to sweep p2pk outputs from old type WIF privkeys
2017-10-26 01:17:46 +02:00
SomberNight
1f102913e9
typo in wallet.import_private_key()
2017-10-25 06:54:51 +02:00
ThomasV
ccf1f0f5d1
add class Simple_Wallet
2017-10-15 10:14:55 +02:00
ThomasV
0dbb976baf
update unsigned tx format, so that imported wallets can sign all address types
2017-10-14 15:47:36 +02:00
SomberNight
e406829904
fix: Imported_Wallet cannot spend from p2wpkh or p2wpkh-p2sh
2017-10-11 14:00:38 +02:00
ThomasV
de85b56e0a
re-enable locktime
2017-10-11 12:24:55 +02:00
SomberNight
0a1ebea669
sweep txs are now always RBF
2017-10-10 19:53:28 +02:00
ThomasV
401d8bc534
fix #2890
2017-10-10 11:48:27 +02:00
ThomasV
8fbabfd796
update delete_address for imported wallets
2017-10-10 11:38:30 +02:00
ThomasV
5873fe8eaf
follow up previous commit
2017-10-09 10:45:43 +02:00
ThomasV
5480b7dff5
add_input_info: add txin value for RBF with segwit inputs
2017-10-07 12:54:50 +02:00
ThomasV
332c5d41e6
return dict in get_addr_utxo
2017-10-07 12:52:52 +02:00
ThomasV
9aa3f2d9e2
add txin_type in add_input_info, remove inefficient search
2017-10-07 12:15:18 +02:00
ThomasV
fefcd7bbcd
sweep: use scripthash rpc
2017-10-06 09:56:54 +02:00
gdvine
5ce8508cd5
Fix low value error message
2017-10-05 20:06:26 +01:00
ThomasV
15ab48aaa8
fix sweep
2017-10-05 20:08:16 +02:00
ThomasV
3dabb94046
convert wallet format for imported wallets
2017-10-05 19:40:41 +02:00
ThomasV
e299df7b82
add message signing/decryption for segwit addresses
2017-10-05 14:44:44 +02:00
ThomasV
34a786ee43
fix export_private_key of Imported_Wallet
2017-10-05 09:44:37 +02:00
SomberNight
4aa385e0b3
follow-up of wallet.get_private_key() -> wallet.export_private_key()
2017-10-04 23:22:33 +02:00
ThomasV
0f4b5abc15
add use_compressed_pubkeys field to keystores. fix #2973
2017-10-04 13:04:21 +02:00
ThomasV
34628533fb
fix typo
2017-09-30 13:00:52 +02:00
ThomasV
e8b564c0e7
Extend Wallet Import Format with txin type. Extend class Imported_Wallet.
2017-09-29 15:32:55 +02:00
ThomasV
9bdac1aae0
detect txintype in keystore. fix #2912
2017-09-23 09:39:12 +02:00
ThomasV
fcea2a065d
add support for p2wsh-in-p2sh
2017-09-18 08:52:06 +02:00
ThomasV
5416a4ea8a
serialize value for segwit-p2sh inputs too
2017-09-17 16:56:52 +02:00
ThomasV
d7dc804b32
fix iteration bug
2017-09-15 12:07:57 +02:00
ThomasV
63a1db1172
make xpub/xprv version information user-visible
2017-09-13 11:33:28 +02:00
ThomasV
d9f2edf6b0
support native segwit transactions
2017-09-13 11:32:40 +02:00
ThomasV
6b871a7cfd
mmonir python3 fix
2017-09-04 14:21:02 +02:00
ThomasV
4d3e079778
rename bc_address functions
2017-08-31 10:21:57 +02:00
ThomasV
794baa16c8
move address_to_script to bitcoin.py
2017-08-31 09:59:40 +02:00
ThomasV
ab15ff3a00
updates for python3
2017-08-26 08:28:24 +02:00
ThomasV
c3388d9677
misc python3 updates:
...
- use jsonrpclib-pelix
- update the kivy gui
- update plugins
2017-08-26 08:28:24 +02:00
Dmitry Sorokin
362ca96f38
x509 fixes and plugins
2017-08-26 08:28:24 +02:00
Dmitry Sorokin
0693403358
sending fixed
2017-08-26 08:28:24 +02:00
Dmitry Sorokin
f02d18226b
misc ui and lib fixes for py3
2017-08-26 08:27:47 +02:00
Dmitry Sorokin
d304ccdf17
py3 in qtgui
2017-08-26 08:27:47 +02:00
Dmitry Sorokin
5be78950ca
py3
2017-08-26 08:27:47 +02:00
Sebastian Volland
d95e79efab
add missing import
2017-08-16 19:11:07 +02:00
ThomasV
08fab753e8
change default value of confirmed_only, spending unconfirmed coins
2017-08-08 06:03:47 +02:00
ThomasV
0c6de8ff56
fix undo_verification
2017-07-20 06:38:49 +02:00
ThomasV
9576f8510d
undo verified tx when swapping chains
2017-07-19 06:50:48 +02:00
ThomasV
9c28489bc0
fix wallet.can_export
2017-07-10 09:46:11 +02:00
ThomasV
b02ce2d02c
disable locktime until keepkey firmware is updated
2017-07-09 21:06:21 +02:00
ThomasV
777a3aa8bf
Fixes for TrustedCoin plugin:
...
- reset billing_info after broadcast
- when bumping tx fee, do not use Trustedcoin output
2017-07-06 16:03:21 +02:00
ThomasV
faa17f9818
Option to send only confirmed coins ( fix #2395 )
2017-07-03 07:46:27 +02:00
ThomasV
cad3798f84
follow-up previous commit
2017-06-30 18:52:49 +02:00
ThomasV
7ea2cb41e8
fix #2509 : reset pubkeys to None when x_pubkeys are unsorted
2017-06-30 18:31:37 +02:00
ThomasV
853b6169ed
hardware wallet support for locktime
2017-04-19 15:02:25 +02:00
ThomasV
6fc6d1ec7d
timelock tx to current height. see #2349
2017-04-19 11:55:31 +02:00
ThomasV
0bc777a10c
follow-up previous commit
2017-04-05 09:52:52 +02:00
ThomasV
50587c7a24
fix #2353 : show error when sweeping dust
2017-04-05 09:17:42 +02:00
ThomasV
57baed4728
check parameter type of create_new_address
2017-04-04 13:52:16 +02:00
ThomasV
1d84029173
input_script: return txin.scriptSig if available. replace txin.is_coinbase with type. fixes #2321
2017-03-21 09:08:16 +01:00
ThomasV
737a7f0bfb
fix #2302 : signing with imported wallet
2017-03-20 10:47:03 +01:00
ThomasV
107adb186f
sort unconfirmed transactions by height
2017-03-15 18:05:05 +01:00
ThomasV
584b19a11e
fix for older formats
2017-03-11 14:54:03 +01:00
ThomasV
c506c3e720
fix password message issue #2277
2017-03-11 11:32:00 +01:00
ThomasV
ff9d00ba1d
minor fix: do_update_fee
2017-03-06 21:05:48 +01:00
ThomasV
dcffea150e
store contacts and invoices in wallet file. fix #1482
2017-03-06 17:12:27 +01:00
ThomasV
411832c4ce
cleanup storage and fix tracvis test
2017-03-06 08:33:35 +01:00
ThomasV
fb3e09c24e
better error message if fee estimates are missing
2017-03-05 20:39:00 +01:00
ThomasV
9cb576a88c
fix multisig update_password
2017-03-04 10:30:05 +01:00
ThomasV
a90431320c
fix sweep
2017-03-02 11:57:24 +01:00
ThomasV
fcc92c1ebd
Wallet file encryption:
...
- a keypair is derived from the wallet password
- only the public key is retained in memory
- wallets must opened and closed explicitly with the daemon
2017-03-01 13:58:04 +01:00
ThomasV
ff39068867
new wallet structure:
...
- store addresses instead of pubkeys
- derive pubkeys only for serialization
- fix #2024
2017-02-26 08:33:44 +01:00
Johann Bauer
03fc29c4ac
Remove newlines from transaction labels
...
Closes : #2176
2017-02-19 22:56:31 +01:00
shsmith
df733e8e4c
fix AttributeError: 'Standard_Wallet' object has no attribute 'account'
...
If you use wallet.change_gap_limit with a value below the current gap
limit, you get this exception:
`>> wallet.change_gap_limit(1)
Traceback (most recent call last):
File "lib\wallet.py", line 1455, in change_gap_limit
elif value >= self.min_acceptable_gap():
File "lib\wallet.py", line 1479, in min_acceptable_gap
addresses = self.account.get_receiving_addresses()
AttributeError: 'Standard_Wallet' object has no attribute 'account'
>> `
2017-02-11 12:29:28 -08:00
ThomasV
15b404b9de
add CPFP (child pays for parent) dialog to the Qt GUI
2017-02-01 12:26:30 +01:00
ThomasV
aed2b04dbd
return txid for unsigned segwit transactions
2017-01-31 16:32:11 +01:00
ThomasV
af54ba023b
add wallet.is_segwit
2017-01-31 11:56:59 +01:00
ThomasV
6bfbc9a718
fix: replace remaining occurences of public_key_to_bc_address
2017-01-29 06:34:35 +01:00
ThomasV
f937472928
fix typos
2017-01-26 19:23:17 +01:00
ThomasV
ce11a2fac5
replace segwit wallet class with custom xpub type
2017-01-26 13:53:31 +01:00
ThomasV
3a64ec0f2e
Initial segwit support (testnet only)
2017-01-25 21:42:15 +01:00
ThomasV
9302cea725
fix #2107
2017-01-10 07:55:05 +01:00
ThomasV
a2e7fc32ef
Add fee slider class with network callback.
2017-01-09 12:36:15 +01:00
ThomasV
2450c1d481
fix typo
2017-01-08 13:14:15 +01:00
ThomasV
7af5d42324
qt: show addresses and utxos in separate tabs
2017-01-08 13:00:57 +01:00
ThomasV
d042d6e970
initial testnet support (petrkr)
2017-01-07 16:58:59 +01:00
ThomasV
253df89af5
fix #2101
2017-01-06 18:12:10 +01:00
ThomasV
d09e91e631
Show fee slider for static fees too. Add fee slider to RBF dialog ( fix #2083 )
2017-01-06 10:45:05 +01:00
ThomasV
dcfa7b508a
fix password issue #2097
2017-01-05 06:20:02 +01:00
ThomasV
a8c23f9bf0
always display a receiving address ( fix #2031 )
2017-01-04 19:09:14 +01:00
ThomasV
1e24dbd94b
fix #2096 (variable name)
2017-01-04 18:08:58 +01:00
ThomasV
63cff71f91
workaround inefficiency in add_input_info
2017-01-04 15:17:11 +01:00
ThomasV
0dabfd4764
do not save transactions until wallet is closed
2017-01-04 00:18:51 +01:00
ThomasV
65ee3416f6
rename P2PK to P2PKH to avoid confusion
2017-01-02 11:02:36 +01:00
ThomasV
e123774ea8
Improve 'send all coins' function:
...
* do use coin chooser when sending all coins (fixes #2000 )
* allow "!" syntax for multiple outputs (fixes #1698 )
2016-12-31 16:29:18 +01:00
ThomasV
a660590a70
fix #2034
2016-12-20 16:53:01 +01:00
ThomasV
d61ccd4275
throttle send_requests
2016-11-09 13:23:10 +01:00
ThomasV
191ed8cc05
fix #2027
2016-11-08 16:59:15 +01:00
ThomasV
af55fec764
fix #2022
2016-11-07 10:22:50 +01:00
ThomasV
f7cf90d268
fix #2007
2016-10-27 14:32:27 +02:00
ThomasV
92d2395e3d
add_hw_info only if a hw wallet is there. that should fix #1995
2016-10-24 10:34:55 +02:00
ThomasV
86c3655080
improve bump_fee ( fix #1985 )
2016-10-21 12:59:55 +02:00
ThomasV
15546d817c
remove dust output when bumping fee
2016-10-17 14:46:51 +02:00
ThomasV
9d2e322760
revert 98b1271
(it freezes the gui on retsore)
2016-10-17 08:47:43 +02:00
ThomasV
98b12715a9
remove while loop from wallet.synchronize; we are already in a job
2016-10-17 06:58:01 +02:00
ThomasV
5e92e09044
fix pubkey ordering in multisig wallets. fix #1975
2016-10-16 19:17:32 +02:00
ThomasV
4cc76c8a64
bump_fee: fix error message
2016-10-15 10:57:18 +02:00
ThomasV
bab15a245b
simplification (get rid of get_mnemonic)
2016-10-14 12:09:43 +02:00
ThomasV
e64f630433
bump_fee: add_input_info is needed
2016-10-14 05:38:43 +02:00
ThomasV
f225a26952
minor fix: varname
2016-10-12 12:07:32 +02:00
ThomasV
f0611c4569
fix pubkey indexing in imported wallets
2016-10-12 12:03:56 +02:00
ThomasV
1e518e7b64
add number of confirmations in payment request status. fixes #1757
2016-10-10 19:13:34 +02:00
ThomasV
5d44474aeb
bound number of tx inputs in sweep
2016-10-08 11:40:03 +02:00
ThomasV
1e55f4fda0
fix fee computation in sweep
2016-10-08 11:17:53 +02:00
Serge Victor
55d392c274
Spread payment requests to subdirs
...
Currently Electrum stores all payment requests in main requests
directory. It's not going to be efficient when we have thousands of
thousands of payment requests. This patch spreads that files across
two level of subdirectories.
2016-10-01 05:40:40 +00:00
ThomasV
0fd813f229
fix #1938
2016-09-29 11:50:32 +02:00
ThomasV
fa487ae0ca
fix: get_public_keys method of p2pk wallets
2016-09-29 09:47:45 +02:00
ThomasV
68ed60ca87
fix: check_password method of Multisig wallets
2016-09-28 17:54:35 +02:00
Serge Victor
07280730d4
Intoducing websocket_announce configuration
...
Currently electrum daemon runs websocket server on a configured host and
port and sends the same information to merchant payments. There is
likely that those two may be different, when websocket traffic is being
reverse proxied and sent over via different hosts.
This patch introduces two fully optional parameters,
websocket_server_announce and websocket_port_announce, which when
set, are sent to the merchant payments instead of websocket_server and
websocket_port values.
2016-09-22 18:57:23 +00:00
ThomasV
7982cadd22
follow-up pevious commit
2016-09-22 13:38:59 +02:00
ThomasV
0d671e67c5
sign_transaction: do not stop if a keystore raises an exception
2016-09-22 10:57:28 +02:00
ThomasV
08543584c5
fix cold storage signing for imported wallets
2016-09-21 16:23:24 +02:00
Serge Victor
f2820944f1
Adding possibility of websockets configuration
...
Up to now, websockets configuration was possible for the daemon only,
this patch passes that information to the client via json file
produced with the payment request.
2016-09-21 10:54:09 +00:00
ThomasV
7a47d2341e
fix bug in trustedcoin constructor
2016-09-02 10:28:52 +02:00
ThomasV
b1b15f510c
Fix can_sign and cold storage
2016-09-01 19:45:01 +02:00
ThomasV
abeb781879
fix #1916
2016-09-01 09:23:05 +02:00
ThomasV
e38abb95d7
minor fix tx status
2016-08-31 18:45:58 +02:00
ThomasV
16ed48d52d
Format upgrade: increment seed_version to make sure that old versions of Electrum refuse to open new wallet files.
2016-08-31 15:04:57 +02:00
ThomasV
ab53ee27f1
fix bug with change addresses
2016-08-27 22:24:41 +02:00
ThomasV
86e23d9989
save wallet label in keystore, to facilitate pairing
2016-08-26 11:45:12 +02:00
ThomasV
80675121ce
allow several hardware cosigners in the same wallet
2016-08-22 12:50:24 +02:00
ThomasV
afe39330dc
update wallet format again, for keystore
2016-08-21 11:58:15 +02:00
ThomasV
8423f8394f
dynfees: set default
2016-08-20 09:16:03 +02:00
ThomasV
24a9ff3fef
simplify wallet types
2016-08-19 17:35:58 +02:00
ThomasV
f6e393d7b6
fix: import addresses and private keys
2016-08-17 10:39:30 +02:00
ThomasV
a088940496
add Wallet.can_import
2016-08-16 12:11:39 +02:00
ThomasV
b87c5d12fa
- fix sign/verify messages
...
- fix hardware wallet tx_outputs
2016-08-14 13:03:52 +02:00
ThomasV
b0afdf4614
fix command line: create, restore, importprivkey
2016-08-12 11:56:27 +02:00
ThomasV
1159f85e05
Major refactoring
...
- separation between Wallet and key management (Keystore)
- simplification of wallet classes
- remove support for multiple accounts in the same wallet
- add support for OP_RETURN to Trezor plugin
- split multi-accounts wallets for backward compatibility
2016-08-12 11:02:28 +02:00
ThomasV
f061fe047d
add lock to storage.write
2016-07-07 06:54:57 +02:00
ThomasV
824f86475e
add get_master_public_key to all wallets
2016-07-01 17:46:11 +02:00
ThomasV
59825c913c
follow up c6a46df158
2016-07-01 17:32:13 +02:00
ThomasV
c6a46df158
fix issue #1853
2016-07-01 16:19:26 +02:00
ThomasV
342d6633a6
wizard: add capability to restore multisig
2016-07-01 11:44:26 +02:00
ThomasV
9182392b55
kivy: separate base wizard class from gui
2016-06-18 16:32:20 +02:00
ThomasV
9896718f09
get_tx_info: fix types
2016-06-09 18:10:13 +02:00
ThomasV
8886e5098a
fix get_tx_info
2016-06-08 14:15:17 +02:00