flo-electrum/lib
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
..
tests
wordlist
www
__init__.py
base_wizard.py remove command line segwit option 2017-09-17 16:34:22 +02:00
bitcoin.py follow up previous commit 2017-09-16 11:00:20 +02:00
blockchain.py
coinchooser.py
commands.py remove command line segwit option 2017-09-17 16:34:22 +02:00
contacts.py
currencies.json
daemon.py
dnssec.py
exchange_rate.py Removed BTCe and added WEX to exchange_rate.py 2017-09-17 01:55:07 +04:00
i18n.py
interface.py
keystore.py
mnemonic.py
msqr.py
network.py
old_mnemonic.py
paymentrequest_pb2.py
paymentrequest.proto
paymentrequest.py
pem.py
plot.py
plugins.py
qrscanner.py
ripemd.py
rsakey.py
segwit_addr.py
servers_testnet.json
servers.json
simple_config.py
storage.py
synchronizer.py
transaction.py Fix parsing of witnesses 2017-09-17 16:56:25 +02:00
util.py
verifier.py
version.py
wallet.py
websockets.py
x509.py