openethereum/sync/src
Arkadiy Paronyan 48c7e4ab8c Backport #6815 and #6829 (#6837)
* Tweaked snapshot sync threshold

* Change keypath derivation logic (#6815)

While the standard defined by Trezor as the default derivation path here
https://blog.trezor.io/trezor-integration-with-myetherwallet-3e217a652e08
says that it should be `m/44'/60'/0`, in practice they don't have an
implementation of a wallet for Ethereum themselves and refer customers
to MEW.

MEW has a custom implementation of the path derivation logic that allows them to
generate multiple addresses by essentially adding `/0`, `/1` etc to the path.

In my initial implementation of Trezor I didn't take this into
consideration unfortunately and just used the keypath that Trezor
themselves recommended. However, given that it's seemingly standard
practice to append `/0` for a "sub-address" (and this is what we've done
for Ledger as well) it seems like a mistake on my part to not take that
into consideration.

Unfortunately, anyone who has used their Trezor device with Parity
previously would now see a different address when they connect the
Trezor device the next time. The only way they would have to access the
old address is to use an old version, or by going through MEW and
selecting the Ledger keypath.

Also see #6811
2017-10-20 12:51:02 +02:00
..
light_sync Rename Requests to Batch 2017-09-24 20:09:30 +02:00
tests Separate migrations from util (#6690) 2017-10-10 20:01:27 +02:00
api.rs separate trie from util and make its dependencies into libs: 2017-09-15 11:03:53 +08:00
block_sync.rs Tweaked block download timeouts (#6595) (#6655) 2017-10-06 13:46:11 +02:00
blocks.rs Separate migrations from util (#6690) 2017-10-10 20:01:27 +02:00
chain.rs Backport #6815 and #6829 (#6837) 2017-10-20 12:51:02 +02:00
lib.rs Separate migrations from util (#6690) 2017-10-10 20:01:27 +02:00
snapshot.rs separate trie from util and make its dependencies into libs: 2017-09-15 11:03:53 +08:00
sync_io.rs separate trie from util and make its dependencies into libs: 2017-09-15 11:03:53 +08:00
transactions_stats.rs Don't reexport bigint from util 2017-09-04 16:36:49 +02:00