CounterpartyXCP/counterpartyd — pull request #575 by ouziel-slama (2014-12-30 19:18:27+00:00)
Title: Use SQL SUM instead Python sum() to calculate XCP supply

I need this commit to speed the login in Counterwallet. If you are ok I make a PR also in master.