question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Breaking cleanup upgrade: 3.0.0

See original GitHub issue

Returning from a bit of an absence from Lightwallet I’m going to do a long overdue cleanup/refactoring release. Things that I intend to address are:

Cruft/unused stuff

These things I don’t think are used very much, makes the code bloated and complex and I intend on removing them:

  • Encryption keys in the keystore
  • Support for multiple HD paths (makes the function signatures and logic unnecessarily complex)
  • Deprecated constructor (will use exclusively the new createVault())
  • Default salt, HD Path & duplicated key derivation functions

Updated hex formats

When lightwallet was created it was unclear if addresses should have a 0x prefix or not, so we opted to use without 0x. Now it’s clear that most applications use 0x and this is even required in some places so we’ll be switching to using 0x exclusively.

Feedback

If you have any other changes that you would like to see, please let us know here 😃

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
christianlundkvistcommented, Nov 1, 2017

I have found the time to finish this up, will try to put up a pull request and merge in this today. Note that you’ll need to update the following:

  • Encryption keys are no longer indexed by public keys. If you wish to use encryption keys you will need to refer to them by the ethereum address of the corresponding private key
  • The createVault function is the only way to create new vaults right now, the old constructor is deprecated
  • Addresses and raw transaction hex values are now prepended by 0x, so you’ll need to make sure your app can handle that
  • There is only one hdPath in the keystore. If you need more than one you’ll need to create more than one vault each with its own hdPath.
  • You need to specifically choose an HD path, there is no default anymore.

@tzapu Serialization and deserialization is not removed.

0reactions
christianlundkvistcommented, Jan 3, 2018

This is now merged: #166

Read more comments on GitHub >

github_iconTop Results From Across the Web

Restore pro version after upgrade to 3.0.0 - SigmaPlugin
This post concerns PRO users who lost their premium versions after upgrading to version 3.0.0 from an old version of the "Advanced DB ......
Read more >
VMware Tanzu Application Service for VMs v3.0 Release Notes
[Breaking Change] HAProxy is removed from TAS for VMs v3.0. For more information, see HAProxy is Removed below. [Known Issue] java-offline- ...
Read more >
Upgrading to Serverless Framework v3
Serverless Framework v3 contains a few breaking changes that may impact some projects. This guide helps users upgrade from Serverless Framework v2 to...
Read more >
Release Notes - Kafka - Version 3.0.0
The upgrade notes discuss any critical information about incompatibilities and breaking changes, performance changes, and any other changes that might impact ...
Read more >
What's New in Apache Kafka 3.0.0 - Confluent
Apache Kafka 3.0 introduces a variety of new features, breaking API changes, and improvements to KRaft—Apache Kafka's built-in consensus ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found