Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/h/i/HitStarter-HEAD/hitstarter/hitstarter/apps/django_bitcoin/models.py   HitStarter(Download)
            db_transaction.enter_transaction_management()
            db_transaction.commit()
            if settings.BITCOIN_UNCONFIRMED_TRANSFERS:
                avail = self.total_balance_unconfirmed()
            else:
    def total_balance(self, minconf=settings.BITCOIN_MINIMUM_CONFIRMATIONS):
        """
        Returns the total confirmed balance from the Wallet.
        """
        if not settings.BITCOIN_UNCONFIRMED_TRANSFERS:
    def total_balance_unconfirmed(self):
        if not settings.BITCOIN_UNCONFIRMED_TRANSFERS:
            return self.total_received(0) - self.total_sent()
        else:
            x = self.balance()
            return x[0] + x[1]
 
    def unconfirmed_balance(self):
        if not settings.BITCOIN_UNCONFIRMED_TRANSFERS:

src/d/j/django-bitcoin-0.2/django_bitcoin/models.py   django-bitcoin(Download)
            db_transaction.enter_transaction_management()
            db_transaction.commit()
            if settings.BITCOIN_UNCONFIRMED_TRANSFERS:
                avail = self.total_balance_unconfirmed()
            else:
    def total_balance(self, minconf=settings.BITCOIN_MINIMUM_CONFIRMATIONS):
        """
        Returns the total confirmed balance from the Wallet.
        """
        if not settings.BITCOIN_UNCONFIRMED_TRANSFERS:
    def total_balance_unconfirmed(self):
        if not settings.BITCOIN_UNCONFIRMED_TRANSFERS:
            return self.total_received(0) - self.total_sent()
        else:
            x = self.balance()
            return x[0] + x[1]
 
    def unconfirmed_balance(self):
        if not settings.BITCOIN_UNCONFIRMED_TRANSFERS:

src/d/j/django-bitcoin-HEAD/django_bitcoin/models.py   django-bitcoin(Download)
            db_transaction.enter_transaction_management()
            db_transaction.commit()
            if settings.BITCOIN_UNCONFIRMED_TRANSFERS:
                avail = self.total_balance_unconfirmed()
            else:
    def total_balance(self, minconf=settings.BITCOIN_MINIMUM_CONFIRMATIONS):
        """
        Returns the total confirmed balance from the Wallet.
        """
        if not settings.BITCOIN_UNCONFIRMED_TRANSFERS:
    def total_balance_unconfirmed(self):
        if not settings.BITCOIN_UNCONFIRMED_TRANSFERS:
            return self.total_received(0) - self.total_sent()
        else:
            x = self.balance()
            return x[0] + x[1]
 
    def unconfirmed_balance(self):
        if not settings.BITCOIN_UNCONFIRMED_TRANSFERS: