Jochen Hoenicke
d5daf1d2f0
Fixed unit tests (also for Python 3)
...
Removed old unit tests for non-implemented functions (SimpleSignTx, Ecies).
2016-06-28 01:06:51 +02:00
Pavol Rusnak
3a108ee8a5
fix pylint warnings
2016-05-26 17:20:44 +02:00
Pavol Rusnak
fdc3cff1d6
use requests instead of urllib mess
2016-05-20 16:09:14 +02:00
slush0
64fadde3e0
Passes first unit tests (against trezor-emu over transport_pipe).
...
WIP: Issue with console printing of protobuf messages (probably bug in protobuf for python3 itself).
WIP: Disabled Bridge transport because of json_protobuf incompatibility with python3.
WIP: Broken expectations of returned objects in unit tests
2016-05-20 13:46:51 +02:00
slush0
6ec2ff3eac
Preparation for python3 support (WIP)
2016-05-20 13:46:51 +02:00
Pavol Rusnak
828026dd40
Merge branch 'segwit' of github.com:jhoenicke/python-trezor
2016-05-19 11:59:19 +02:00
Pavol Rusnak
ec870f3a57
update protobuf, disable filecache
2016-05-19 11:50:33 +02:00
Jochen Hoenicke
aa3392fa7c
SegWit support
2016-05-01 14:21:20 +02:00
Jochen Hoenicke
337fe029fd
insight api: use hex code
...
The insight api transaction parser used to look at the assembly to
reconstruct the input and output scripts. This patch changes it to
use the hex input directly. This fixes parsing some instructions with
unknown opcodes (e.g. multisig inputs with "0" opcode).
2015-05-10 16:11:03 +02:00
Pavol Rusnak
e2a8f08581
add local version of filecache (used just for unittests), cache globally (to tmpdir)
2015-05-07 18:29:38 +02:00
nelisky
f3b7629a4f
Prevent floating point issues when pushing output amount
2015-03-03 23:37:32 +00:00
nelisky
e4429242aa
Allow insight_tx to be passed a dict object instead of an url
2015-03-03 23:36:51 +00:00
Pavol Rusnak
049166d6c9
disable filecache by default
2015-02-22 14:40:21 +01:00
slush0
bd7c575be3
Fixed testnet URL
2015-01-23 21:24:15 +01:00
Pavol Rusnak
399deeee67
add tests for multisig tx change confirmation
2014-12-20 23:45:40 +01:00
Pavol Rusnak
87d3688ed7
update bitcore to insight in tx_api.py
2014-12-02 03:58:26 +01:00
slush0
4e963cfd3c
Fixed handling of coinbase tx
2014-05-28 14:38:44 +02:00
slush0
ff77261a61
Fixed bin_output
2014-04-10 15:23:35 +02:00
Pavol Rusnak
60df691bb2
make txapi class more universal
2014-04-02 19:31:47 +02:00
Pavol Rusnak
c3f74420a4
add OP_EQUAL to txapi parser
2014-04-02 19:18:14 +02:00
Pavol Rusnak
0ca0594077
parse sequence in txapi as well
2014-03-30 00:44:42 +01:00
Pavol Rusnak
49eec8b78e
txapi cleanup
2014-03-29 21:31:17 +01:00
Pavol Rusnak
7a1e2827c8
check for known scriptPubKey asm
2014-03-28 21:48:48 +01:00
Pavol Rusnak
38ed16934f
use bitcore for tx api
2014-03-28 21:34:15 +01:00
Pavol Rusnak
860aa753c9
put TXAPIs into one location
2014-03-28 19:51:56 +01:00