Bitcoin Forum
November 14, 2024, 10:08:31 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14 15 16 17 »
81  Bitcoin / Bitcoin Discussion / Calculate total coins at height on: April 05, 2011, 07:41:50 PM
Hey,

here's some code that calculates the total number of bitcoins generated at a certain height:

Code:
def t(h):
    return (sum([21e4*int(50e8/2**k) for k in xrange(int((h+1)/21e4))])+int(50e8/2**(int((h+1)/21e4)))*((h+1)-(int((h+1)/21e4))*21e4))/1e8
82  Economy / Economics / Live streaming quotes for all markets on bitcoincharts.com on: April 05, 2011, 03:41:33 PM
telnet bitcoincharts.com 27007

outputs JSON objects with fields: symbol, currency, timestamp, price and volume

Latency is approx. 15s.
83  Economy / Economics / Re: bitcoinwatch.com has a new owner on: April 01, 2011, 12:22:22 PM
There were some issues that prevented bitcoinwatch from updating today. This has been fixed.
84  Bitcoin / Bitcoin Technical Support / Re: Apache HTTPD Configuration for Bitcoin JS Remote on: April 01, 2011, 07:24:44 AM
ProxyPass should be enough. RPC is only JSON.
85  Bitcoin / Bitcoin Technical Support / Re: Apache HTTPD Configuration for Bitcoin JS Remote on: March 31, 2011, 03:53:37 AM
I think that's already possible. Try setting RPC.url to "bitcoind/" and it should append that to the path.
86  Bitcoin / Bitcoin Discussion / Re: Bitcoin forum getting big, Need Moderators on: March 29, 2011, 12:24:03 AM
Why not remove the "Logged" link from the template?
87  Bitcoin / Bitcoin Technical Support / Re: Apache HTTPD Configuration for Bitcoin JS Remote on: March 28, 2011, 08:58:56 PM
Great work! I'll add a link to the wiki on the project page.
88  Economy / Economics / Re: bitcoinwatch.com has a new owner on: March 27, 2011, 04:57:22 PM
Where do you get that 4000 oau figure from? Is there any bitcoin/gold market I don't know about?
89  Economy / Economics / bitcoinwatch.com has a new owner on: March 27, 2011, 04:29:20 PM
http://bitcoinwatch.com has changed owners and is now part of http://bitcoincharts.com

New features:
* shows all markets bitcoincharts knows about
* show only markets with trades within the last 24h
* total economy size in EURO
90  Bitcoin / Bitcoin Discussion / Re: JavaScript UI for Bitcoin, QR code, bitcoin: URIs on: March 24, 2011, 10:12:44 PM
Because of Cross-Site Scripting protection in most browsers you need the python server.
91  Bitcoin / Bitcoin Discussion / Re: Remove "generate bitcoins" from standard client? on: March 23, 2011, 05:01:35 PM
I made a patch that removes the miner (not getwork): https://github.com/bitcoin/bitcoin/pull/132
92  Bitcoin / Bitcoin Discussion / Re: List of unconfirmed transactions on: March 21, 2011, 12:01:43 AM
I rewrote the backend for this service. Sometimes it would show transactions as unconfirmed even though they were confirmed. This shouldn't happen anymore now.
93  Bitcoin / Development & Technical Discussion / Re: very simple RPC client in python on: March 20, 2011, 11:34:05 PM
Reasons I wrote this:
* works across network without bitcoind binary
* makes testing RPC features easy
* could be enhanced to pretty print listtransactions or listaccounts
* could support user confirmation on sendfrom ("Are you sure you want to send 1000 BTC to 1Hs53...? (y/N)")
94  Bitcoin / Development & Technical Discussion / very simple RPC client in python on: March 20, 2011, 10:19:37 PM
I found this (unfinished) code on my harddisk. It's basically a replacement for the built-in RPC client in bitcoind. host/port/user/pass is currently hardcoded.

http://pastebin.com/Nqhq1FUs
95  Other / CPU/GPU Bitcoin mining hardware / Re: PS3 miner? on: March 20, 2011, 05:04:51 PM
A PS3 does (in theory) about 10..15 Mhash/s. IIRC the SPEs lack a rotate instruction which slows mining down a lot.
96  Bitcoin / Bitcoin Discussion / Re: JavaScript UI for Bitcoin, QR code, bitcoin: URIs on: March 19, 2011, 11:52:10 PM
Have you tried the example QR codes? You can include a message that is displayed to the user (not signed, though) and where he can either send or cancel the transaction.

I'd like to start a "bank" that uses js-remote as it's frontend, but I'm very busy lately so it might take some months but some backend code is already working.
97  Bitcoin / Development & Technical Discussion / Re: [PULL] sendmany RPC command on: March 17, 2011, 10:52:30 PM
173.255.224.227 (bitcoincharts.com) will accept and relay sendmany transactions to miners that'll include them into their blocks within a day (on average).
98  Bitcoin / Development & Technical Discussion / Re: Nightly Builds on: March 16, 2011, 09:04:17 PM
* xlisttransactions http://bitcointalk.org/index.php?topic=611.0
* getblock https://www.bitcoin.org/smf/index.php?topic=724.0
99  Bitcoin / Bitcoin Discussion / Re: List of unconfirmed transactions on: March 08, 2011, 06:37:29 AM
Some new features:
* shows inputs (with links to blockexplorer)
* marks unconfirmed inputs (red)
100  Economy / Economics / Re: New bitcoincharts.com is live! on: March 07, 2011, 11:11:53 AM
On the bitcoincharts.com chart section, I fail to be able to copy and save the images for my technical analysis. I can only post links, but that is suboptimal. Do you have the same issue?
That's my hotlink prevention. I found a lot of sites hotlinking the charts and while the engine is very efficient I still didn't like the server load. I'll disable it for now. When I enable it again someday, I'll make sure to include a "download this chart" link.

Btw: You can tweak the &width=xxx&height=yyy parametes for the chart if you prefer different sizes for your analysis:

Code:
http://bitcoincharts.com/charts/chart.png?width=500&height=200&m=mtgoxUSD&t=S&v=1
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14 15 16 17 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!