ThomasV
c186dc18d4
fix tests
2017-09-22 09:55:30 +02:00
SomberNight
2fbc70d860
Moving to virtual tx size instead of total tx size.
2017-09-22 09:49:05 +02:00
SomberNight
6e0c2cffd8
replace deprecated assertEquals
2017-09-21 06:07:52 +02:00
SomberNight
0e89745c2b
send server.version before subscriptions
2017-09-20 15:21:41 +02:00
ThomasV
c12c1685d7
serialize value of incomplete inputs in the witness field. fix p2wsh-in-p2sh deserialization
2017-09-18 09:41:19 +02:00
ThomasV
fcea2a065d
add support for p2wsh-in-p2sh
2017-09-18 08:52:06 +02:00
ThomasV
10b35e3545
follow-up 0abb38cf51
2017-09-17 17:09:22 +02:00
ThomasV
6b1d9ca315
add segwit option for make_seed command
2017-09-17 17:08:46 +02:00
ThomasV
5416a4ea8a
serialize value for segwit-p2sh inputs too
2017-09-17 16:56:52 +02:00
Jochen Hoenicke
0abb38cf51
Fix parsing of witnesses
...
The lengths in the witness structure are `var_int` not pushes.
From BIP-141:
The `witness` is a serialization of all witness data of the transaction.
Each txin is associated with a witness field. A witness field starts
with a `var_int` to indicate the number of stack items for the txin. It is
followed by stack items, with each item starts with a `var_int` to
indicate the length. Witness data is NOT script.
This bug was triggered by tx
d379210d85c1346dafbfd60e3cbc5c5573e50b1f9576d39f177afb2b378f1b98
2017-09-17 16:56:25 +02:00
ThomasV
fd1a676d45
remove command line segwit option
2017-09-17 16:34:22 +02:00
Alexx Saver
7b3a398d46
Removed BTCe and added WEX to exchange_rate.py
...
Notice: WEX uses RUR instead of RUB, but we return it as RUB to conform to ISO 4217.
2017-09-17 01:55:07 +04:00
ThomasV
23f36ea080
follow up previous commit
2017-09-16 11:00:20 +02:00
ThomasV
6e9b2a4459
do not send coins to witness scripts with non-zero version
2017-09-16 10:46:37 +02:00
SomberNight
a339270c07
readability change: OP_n calculation from boolean arithmetic to ternary
2017-09-16 03:43:08 +02:00
SomberNight
653c7acb48
fix bech32 scriptPubKeys (OP_n), and tests
2017-09-16 02:19:26 +02:00
ThomasV
a8a993d490
fix key type for bip49
2017-09-15 12:20:06 +02:00
ThomasV
d7dc804b32
fix iteration bug
2017-09-15 12:07:57 +02:00
ThomasV
302dd3912d
Merge pull request #2872 from SomberNight/p2pk_output_1
...
fix: p2pk output serialisation
2017-09-15 11:54:53 +02:00
SomberNight
33157d3718
fix: p2pk output serialisation
2017-09-15 05:50:12 +02:00
SomberNight
35e4eb6cc3
fix: set scriptSig when spending from coinbase
2017-09-15 05:36:13 +02:00
ThomasV
f0fe84d959
check xkey type when we add the keystore, so that we cover all cases
2017-09-14 14:38:19 +02:00
ThomasV
123c5e3165
wizard: check seed_type before creating multisig
2017-09-14 14:00:29 +02:00
ThomasV
43e3f4d3d1
add segwit choice to wizard
2017-09-14 12:20:11 +02:00
SomberNight
efd07f727a
fix testnet
2017-09-14 02:06:08 +02:00
ThomasV
c5f552f26a
rm dead code
2017-09-13 15:12:50 +02:00
ThomasV
8b0db38f87
follow-up 3d4c64f9e
2017-09-13 14:54:52 +02:00
ThomasV
50ce062c39
update release notes and set version number to 3.0
2017-09-13 12:48:37 +02:00
ThomasV
7dbd612d5d
Read default server list from file. Update list with 1.1 servers. Remove nolnet option.
2017-09-13 11:33:28 +02:00
ThomasV
f1666f208b
remove height parameter from blockchain.transaction.get
2017-09-13 11:33:28 +02:00
ThomasV
84962ea6f1
remove deprecated command: getutxoaddress
2017-09-13 11:33:28 +02:00
ThomasV
93e577e0cb
Revert "segwit: add purpose to derivation"
...
This reverts commit f706fa07078fd01f24ded2dada7ad66eae8ff485.
2017-09-13 11:33:28 +02:00
ThomasV
7f9b473a98
protocol version
2017-09-13 11:33:28 +02:00
ThomasV
ee36ec992c
segwit: add purpose to derivation
2017-09-13 11:33:28 +02:00
ThomasV
9286deca57
fix test
2017-09-13 11:33:28 +02:00
ThomasV
63a1db1172
make xpub/xprv version information user-visible
2017-09-13 11:33:28 +02:00
ThomasV
bd16e20a4d
minor fix (parsing signatures)
2017-09-13 11:32:40 +02:00
ThomasV
d9f2edf6b0
support native segwit transactions
2017-09-13 11:32:40 +02:00
ThomasV
68873d92f9
implement scripthash logic
2017-09-13 11:32:40 +02:00
ThomasV
8c5b6bdaf3
Read default server list from file. Update list with 1.1 servers. Remove nolnet option.
2017-09-13 11:30:30 +02:00
SomberNight
cbc35d96c8
fix unresolved variable
2017-09-12 17:09:54 +02:00
ThomasV
6fda3733e4
Merge branch 'master' of github.com:spesmilo/electrum
2017-09-12 15:06:00 +02:00
ThomasV
7f58e23ed9
python3 update
2017-09-12 15:05:48 +02:00
SomberNight
c50a460395
fixes #2858
2017-09-10 16:28:06 +02:00
WakiyamaP
0791b469e7
fix download failed blockchain headers
2017-09-08 10:57:22 +09:00
ThomasV
70af22c9e4
update scripts/servers to display server version
2017-09-07 09:41:21 +02:00
ThomasV
216e9403be
cleanup six (no python2 support)
2017-09-04 14:43:31 +02:00
ThomasV
f8c592f743
Merge pull request #2837 from ariard/fix_urllib
...
fix urllib.quote py2 to py3
2017-09-04 14:23:05 +02:00
ThomasV
6b871a7cfd
mmonir python3 fix
2017-09-04 14:21:02 +02:00
Antoine Riard
5059898af2
fix urllib.quote py2 to py3
2017-09-04 06:13:55 -04:00
tadas.varanavicius
c0073138dc
Python 3 fixes for Segwit
2017-09-01 22:22:31 +03:00
ThomasV
b7e8147ca8
Merge pull request #2621 from KoffeinFlummi/fiat-balance-addresses
...
Add optional Fiat balance column to addresses view
2017-09-01 06:30:13 +02:00
ThomasV
f56a8702c2
support sending to segwit native addresses (bip173)
2017-08-31 19:05:03 +02:00
ThomasV
5f35081bc9
fix tests
2017-08-31 10:25:22 +02:00
ThomasV
4d3e079778
rename bc_address functions
2017-08-31 10:21:57 +02:00
ThomasV
b9da5afa9d
replace bitcoin.is_valid
2017-08-31 10:06:13 +02:00
ThomasV
e853dde111
add segwit bech32 module
2017-08-31 09:59:54 +02:00
ThomasV
794baa16c8
move address_to_script to bitcoin.py
2017-08-31 09:59:40 +02:00
ThomasV
5f1d9cbcf5
separate network layer from synchronizer
2017-08-31 09:59:29 +02:00
ThomasV
b86619ee30
Merge pull request #2760 from jhoenicke/trezorsegwit
...
[TREZOR] Added Segwit support.
2017-08-30 11:48:55 +02:00
ThomasV
936b92fa00
Merge pull request #2789 from linuxdaddy/master
...
Update paymentrequests.proto
2017-08-30 07:17:26 +02:00
ThomasV
1394346192
fix #2819
2017-08-30 06:38:57 +02:00
Jochen Hoenicke
ec0de566a8
[TREZOR] Added Segwit support.
...
Following changes were necessary outside the TREZOR plugin.
- transaction.py: update_transaction handles segwit transactions.
- keystore.py: added a segwit parameter to bip44_derivation,
use m/49' instead of m/44' for segwit.
2017-08-29 18:43:50 +02:00
ThomasV
5bf3b26476
segwit: use 12 bits of seed prefix
2017-08-27 14:30:01 +02:00
ThomasV
88bbaf0950
postpone x_pubkeys replacement ( fix #2738 )
2017-08-27 14:03:53 +02:00
ThomasV
2e567fc86a
fix #2784
2017-08-27 10:48:41 +02:00
ThomasV
6d2b53cdca
fix bip39 check
2017-08-27 10:02:15 +02:00
ThomasV
7b14516cc0
fix unicode in make_seed and getseed
2017-08-27 09:53:22 +02:00
ThomasV
8cb714fb70
fix #2801
2017-08-27 09:22:57 +02:00
ThomasV
a9678aee78
bump version number and update release notes
2017-08-26 08:33:42 +02:00
ThomasV
227a553a99
update ripemd module for python3
2017-08-26 08:28:25 +02:00
ThomasV
4df5997940
catch wrap_socket timeouts
2017-08-26 08:28:25 +02:00
ThomasV
126bbff948
Revert "remove python implementation of ripemd160"
...
This reverts commit 56c4a8746f
.
2017-08-26 08:28:25 +02:00
ThomasV
32dee14fd0
show error message when parsing empty tx
2017-08-26 08:28:24 +02:00
ThomasV
1a6e41cec8
python3 updates
2017-08-26 08:28:24 +02:00
ThomasV
e02687bcf2
python3 updates
2017-08-26 08:28:24 +02:00
ThomasV
d8e37644d3
python3 updates
2017-08-26 08:28:24 +02:00
ThomasV
108d7d39f0
python3: fix password decode
2017-08-26 08:28:24 +02:00
ThomasV
0fdf661845
python3: update storage
2017-08-26 08:28:24 +02:00
ThomasV
15642ec8de
python3: remove calls to unicode function
2017-08-26 08:28:24 +02:00
ThomasV
ab15ff3a00
updates for python3
2017-08-26 08:28:24 +02:00
ThomasV
65aeb0bd3c
fix 5e7169bf355f2ac3ec8791c4768f0cd971e1640d
2017-08-26 08:28:24 +02:00
ThomasV
bc591377e8
python3: fix integer division
2017-08-26 08:28:24 +02:00
Johann Bauer
8e54d5c4d4
Make proxies work
2017-08-26 08:28:24 +02:00
Johann Bauer
d4d93b3928
Various fixes in util.py
2017-08-26 08:28:24 +02:00
ThomasV
f1a8c0b0e6
misc. fixes for python3
2017-08-26 08:28:24 +02:00
ThomasV
4f516dc08e
fixes for paymentrequests and 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
fr3aker
e562b0b565
python3: fix bad type in make_seed
2017-08-26 08:28:24 +02:00
fr3aker
8a15581d8e
fix imports
2017-08-26 08:28:24 +02:00
Dmitry Sorokin
21101386a2
paymentrequest upd
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
ThomasV
f70408cef5
fix ctypes for zbar qrcode scanner
2017-08-25 11:23:11 +02:00
linuxdaddy
017cef8f88
Update paymentrequests.proto
...
Was installing electrum on my Kali Linux and when running this command:
protoc --proto_path=lib/ --python_out=lib/ lib/paymentrequest.proto
i got the following error:
[libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax specified for the proto file: paymentrequest.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
Fixed it myself and wanted to share it for people that might have the same issue.
2017-08-23 03:15:14 +02:00
ThomasV
7ed79011fe
Merge branch 'master' of git://github.com/spesmilo/electrum
2017-08-17 11:07:11 +02:00
ThomasV
cfa037fd6f
add error message about wallet not loaded. fixes #2756
2017-08-17 11:06:53 +02:00