Coder Social home page Coder Social logo

Address format? about bitsv HOT 10 CLOSED

austecon avatar austecon commented on September 28, 2024
Address format?

from bitsv.

Comments (10)

 avatar commented on September 28, 2024 1

Great, no problem. Do you think you can make a new pip release soon?

I have the WalkingLiberty changes together but just wanted to have the address format standardized before using it.

from bitsv.

AustEcon avatar AustEcon commented on September 28, 2024

That's awesome.

Yes. That sounds about right. It needs work in that department.

The intention is to change it all back to Legacy format to be same as everyone else on bsv network/apis etc but will probably have to bump to 0.7.0 because will break ppl's code.

So safest thing is to put in an a couple of lines that check address format and remedy the situation in case...

I also want to do a breaking change to my latest bip32 support stuff to choose better variable names and make it more intuitive to use. I just banged it out quickly because I was having requests for it...

from bitsv.

 avatar commented on September 28, 2024

I am guessing it should be able to send to both address formats as it is. For now do you think it would be safe to start returning 1.... format as default for .address?

from bitsv.

AustEcon avatar AustEcon commented on September 28, 2024

Probably. Can't be sure though. Not at my PC. About to start the work day... but thinking on it... because all the functions derive from the Private_key class. If none of them rely on that attribute being in a particular format, should be sweet to change the return type to 1.... format. You never know though who out there might be depending on it remaining that way though?

I guess this is where the testing modules come in handy too. Can put out a clear summary of what parts change and what stays fully functional :)

from bitsv.

 avatar commented on September 28, 2024

I could understand someone wanting a bitcoinsv:q... format, but not bitcoincash:q... format. Personally, I think this should be fairly safe. If someone wants to be certain nothing will break, they should be pinning versions anyway.

I'll have a look at this and see. Most stuff that has cashaddr support supports both.

from bitsv.

AustEcon avatar AustEcon commented on September 28, 2024

Thanks for the PR.
I put out a small message in _unwriter's slack... sounds like it should be fine / recommended to pretty rapidly remove the cashaddr format altogether...
I'm planning a big weekend of coding so expect a fair few commits this weekend Haha.

from bitsv.

AustEcon avatar AustEcon commented on September 28, 2024

No problem. I'll likely be able to do it today.

from bitsv.

AustEcon avatar AustEcon commented on September 28, 2024

@teran-mckinney I have just put out a new release 0.7.1

from bitsv.

 avatar commented on September 28, 2024

Great, thank you!

from bitsv.

AustEcon avatar AustEcon commented on September 28, 2024

from bitsv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.