GithubHelp home page GithubHelp logo

Comments (4)

BenWestgate avatar BenWestgate commented on July 27, 2024

I started a refactor and organized the functions by their earliest usage in the script.

Functions used only once were removed. Unused variables removed.

There's still a 100 line function that may be better as a library called by bails-wallet as it exclusively processes text, calls no function and returns 0 or 1.

A consistent style to function declarations would benefit.

Postpone the full refactor until L1 is feature complete as that will determine whether more functions used only once can be merged or not.

from bails.

BenWestgate avatar BenWestgate commented on July 27, 2024

As mentioned in #5
bails-wallet should be able to run stand-alone by any linux system with bitcoin core.

With start-up parameters or environment variables telling it where to look for blockchain data and other resources.

Fork it to a new repository if necessary.

into it's own repo so that any Bitcoin Core user on Linux can create and restore codex32 backups.

from bails.

BenWestgate avatar BenWestgate commented on July 27, 2024

This unfortunately depends on two pull requests I'm involved with from Blockstream Research.

A considerable (up to all of it) could be converted to python. But I will choose the max readability and maintainability gains per time investment.

from bails.

BenWestgate avatar BenWestgate commented on July 27, 2024

It has been decreed that bails-wallet will become a stand-alone cross platform python package. So the refactor is occurring as it becomes a python package.

It may even be possible to maintain 3 repositories bitcoin-core-on-tails just installs bitcoin core and shortcuts for it, nothing else.

bails runs bitcoin-core-on-tails and installs and runs bails-wallet plus installs bails menu

bails-wallet runs the wallet code on any platform with python and bitcoin core.

from bails.

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.