openethereum/ethcore/src
Niklas Adolfsson 1a16f335fa Disable hardware-wallets on platforms that don't support libusb (#8464)
* disable hardware-wallets that don't support libusb

* address grumbles

* nits

* Refactor to get rid off as much annotations asap

* Might consume slight more memory than pure conditional compilation
flags

* formatting nits

* Enable libusb for android

* Tested by it compiling succesfully with `cargo build --target=armv7--linux-androideabi`
* The binary is ~66 MB

```bash
$ size
size target/armv7-linux-androideabi/release/parity
text    	data     	bss     	dec     	hex 		filename
50676230        416200   	31456 		51123886        30c16ae 	target/armv7-linux-androideabi/release/parity
```

* Move all `fake-hardware-wallet` to its own crate

* Removes some conditional compilation flags
* Introduces `fake-hardware-wallet` crate

* return error if no hardware wallets are found
2018-06-26 09:03:38 +02:00
..
account_provider Disable hardware-wallets on platforms that don't support libusb (#8464) 2018-06-26 09:03:38 +02:00
blockchain new blooms database (#8712) 2018-06-20 15:13:07 +02:00
client EVM benchmark utilities (#8944) 2018-06-25 11:21:45 +02:00
engines Add type for passwords. (#8920) 2018-06-22 15:09:15 +02:00
ethereum Remove a weird emoji in new_social docs (#8913) 2018-06-18 11:11:41 +02:00
json_tests EVM benchmark utilities (#8944) 2018-06-25 11:21:45 +02:00
miner Add type for passwords. (#8920) 2018-06-22 15:09:15 +02:00
snapshot Add type for passwords. (#8920) 2018-06-22 15:09:15 +02:00
spec Have space between feature cfg flag (#8791) 2018-06-05 11:28:35 +02:00
state Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
tests new blooms database (#8712) 2018-06-20 15:13:07 +02:00
trace new blooms database (#8712) 2018-06-20 15:13:07 +02:00
verification new blooms database (#8712) 2018-06-20 15:13:07 +02:00
views Don't allocate in expect_valid_rlp unless necessary (#8867) 2018-06-12 08:15:52 +02:00
account_db.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
block.rs ethcore: fix compilation when using slow-blocks or evm-debug features (#8936) 2018-06-22 11:00:19 +02:00
builtin.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
cache_manager.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
db.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
encoded.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
error.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
executed.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
executive.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
externalities.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
factory.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
header.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
lib.rs Disable hardware-wallets on platforms that don't support libusb (#8464) 2018-06-26 09:03:38 +02:00
machine.rs Disallow unsigned transactions in case EIP-86 is disabled (#8802) 2018-06-05 19:49:11 +02:00
pod_account.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
pod_state.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
state_db.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
test_helpers.rs fixed blooms dir creation (#8941) 2018-06-22 10:52:01 +02:00
tx_filter.rs new blooms database (#8712) 2018-06-20 15:13:07 +02:00