Code Monkey home page Code Monkey logo

Comments (5)

limpbrains avatar limpbrains commented on September 15, 2024 1

I've improved README. Please take a look. If there are anything you have found unclear and it is not yet covered, please let me know.

from django-cc.

julius121 avatar julius121 commented on September 15, 2024

also is there a way to get transaction history for a particular wallet, for example to see all outgoing, incoming and confirmed transactions that have occurred to that particular wallet/address.

from django-cc.

limpbrains avatar limpbrains commented on September 15, 2024

Hi again,
Just a quick question,
I am currently running refill_address_queue
Process_withdraw_transaction and query_transaction as a celery beat task configured in settings and am calling it directly from cc.tasks is this the correct way to have it configured or should I be doing it differently?
Thanks!

Yes, it's correct to run query_transaction and process_withdraw_transaction periodically.
Also, you can call celery task to have immediate action.
For example, user created withdraw transaction, you use celery.app.task.Task.delay or celery.app.task.Task.apply_async to run process_withdraw_transaction.
But if you want bunch transactions, to save on fees, you just run it periodically.

from django-cc.

limpbrains avatar limpbrains commented on September 15, 2024

also is there a way to get transaction history for a particular wallet, for example to see all outgoing, incoming and confirmed transactions that have occurred to that particular wallet/address.

wallet.get_operations() returns list of Operations.

for o in wallet.get_operations():
    o.created
    o.balance
    o.reason.txid
    o.reason.address

take a look at cc/models.py Operation for all the fields you can get

from django-cc.

julius121 avatar julius121 commented on September 15, 2024

Looks great! Thanks for the help

from django-cc.

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.