Code Monkey home page Code Monkey logo

cashtip-telegram's People

Contributors

darthjahus avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cashtip-telegram's Issues

getbalance doesn't accept address as argument

The bot originally uses getaddressesbyaccount <account_name> to know user's address, then queries getbalance <address> to know the balance.

When tested on bitcoind, getbalance <address> returned 0 while getbalance <account_name> returned correct balance.

Is there a way to learn the balance of an address or should we switch to querying balance of a specific account?

Instantly show balance changes by setting minconf to 0

From getbalance help:

minconf (numeric, optional, default=1) Only include transactions confirmed at least this many times.

Is using minconf=0 safe for balance?
In this case, would we allow spending unconfirmed funds?
If we don't, user might be disturbed by having funds by getting an error while trying to spend them. Maybe show unconfirmed balance as well as confirmed balance?

Withdrawal unit may be inconsistant with shown balance

If the balance is shown in main unit, the user will have to manually convert to whole bits (₿) in order to proceed.

Moreover, we need to show the user how much he has got and how much he can withdraw, when showing an error about insufficient amount.

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.