I made a bit of an update.
You can now configure how many decimal points to show. For now, I'm just truncating (rounding down) the number instead of rounding normally. I figure people might prefer this so they can see when price milestones are actually passed. So you can set it to 0 decimals and see when each new dollar point is actually reached, instead of just when it gets rounded to the next dollar.
You can also disable the label next to the price, or change it to the ฿ symbol.
Legendary. Good work. ฿0.25 sent
|
|
|
I just signed up and am officially running the bitcoind on an EC2 server Its downloading the block chain but taking ages. this is cause you share CPU time and you need CPU to verify the blocks so yea this is going to take a while. Do you have one running on an EC2 instance gweedo? It was fast up until the more recent blocks, now its taking ages. Damn satoshidice and all those transactions!
|
|
|
If I don't get any takers, I probably will run an Electrum server or something, though. Thanks for the idea.
Youre welcome Anyone have experience running it off a EC2 Server on AWS?
I just signed up and am officially running the bitcoind on an EC2 server Its downloading the block chain but taking ages.
|
|
|
Thanks for the suggestions and donations (good motivation for adding more features ). My menu bar is plenty crowded already, so I agree on the size issue. I'll work on a way to configure the number of decimals. Configurable font size isn't quite as straightforward, so I'm not sure when that'll happen. I'll also add an option to change what the displayed label is. And I'll add the option to show an arrow if the price has gone up or down since the last update. Nice work, changing the font size won't matter so much if we can customise the number of decimal places and the display label . I wouldn't mind a label that simply says: ฿31.32
|
|
|
I just posted a ticket #2150 about a receive payments api limitation. (to a certain domain name not being allowed) I noticed in the API Documentation you had the following return for Generating Receiving Addresses: RESPONSE: APPLICATION/JSON { "fee_percent":0, "destination":"1A8JiWcwvpY7tAopUkSnGuEYHmzGYfZPiq", "input_address":"1KZoUuPWFAeyVySHAGqvTUDoX6P3ntuLNF", "callback_url":"http://yoururl.com" } What is the fee_percent for? Do you intend to start charging for this service at some point?
|
|
|
as well as a QT wallet that I installed the other day and is STILL doing the original sync. 0.8 will largely solve this. It should sync within a few hours. Right now the biggest problem with easily integrating bitcoind into an ecommerce website is the lack of transactional info and callbacks. AFAIK the best practice currently is: 1) Use -blocknotify=<cmd> to receive notifications on new blocks. Your command can simply CURL your application server and provide %s (the block hash). 2) Use RPC getblock on the block hash you got from blocknotify. 3) Iterate through the tx array returned with the RPC call gettransaction and store the txid of transactions to your addresses along with the amount on your database. If you require X confirmations you will need to poll the txids until they reach that point. Make sure that you aren't processing the same txid's amount twice. 4) You will probably need to find a way to replay blocks that you have missed (app server downtime?) Alternatively you can poll the server with getreceivedbyaddress for every address you're watching, which isn't very scalable. Although it can work with a simple limitation: require the user to perform an action whenever they are about to send you a payment. This way you can poll that address with minconf=0 every 10 seconds to get the unconfirmed transaction, then switch to polling minconf=X every 10 minutes until you get X confirmations at which point you stop polling for that address. In PHP you'll probably need to have a pool of worker processes (php-fpm) to perform that kind of task. Don't daemonize PHP unless you know what you're doing. There must be a better way to do this? I was dabbling with the idea of getting a payment forwarded to an offline vault as soon as it is received. Then getting some sort of 6 confirmation notification to update the relevant fields in my database? I'm still unsure about the exact process I would go about this though.
|
|
|
rn3FBeHA7Xpbvx4qapDbtULR9jA4u8fW1V
|
|
|
Tipped. I like it, though it feels like there's a few too many decimals. Perhaps truncate it to 3 DPS? Also, maybe change "Last:" to be the default. Perhaps the option of not showing "Last/High/Low/etc" next to the price, and simply have the bitcoin logo? (Since we know what price to show as we select it) looks like we both said the same thing Get on it dgarrett, and I'll happily send you enough for a coffee and a pack of chips
|
|
|
Very nice!!! Something I'd find very useful indeed.
I'd happily donate a few $$$ but have a few small requests. One is a smaller font size, I want it as unobtrusive as my menumeters. Also I'm only interested in seeing 2 decimal places. The rest is a waste of space on my already packed menu bar.
Maybe if the font sized is fixed, then some way of customising the display so i can just have the number?
|
|
|
You could just use your logs and get the password from him or sniff all incoming traffic. It takes time to earn rep, being around, helping and using the forums is how you build rep, just like a credit card, over time we will see your a good guy.
Good point, debug SSH logs might show something like that. Oh well, maybe someone can use it for a less... financial purpose. Maybe you could put it to use hosting a spare electrum server mirror?
|
|
|
Anyone have experience running it off a EC2 Server on AWS?
Anybody? I'm interested in the same.
|
|
|
I am pretty sure this isn't possible, just cause at some point you need to sign the inputs to prove they are owned by you, and that would require a wallet with the able to sign a raw tx.
Braiinwallet does this in Javascript, but you need the transaction hash (and index) for each coin that you are spending -- that would be the service provided by the bitcoin.org clieint or other client that you would need to re-implement. - http://brainwallet.org/#txThe only external call would be the broadcast of the transaction.
- https://blockchain.info/pushtx - signrawtransaction and sendrawtransaction from http://en.bitcoin.it/wiki/Raw_TransactionsSeems like I've underestimated the complexity of the task. I assumed wrongly that if i had the private key it would be a simple task. I was working on a online payment system that would take any coins paid into a certain address and redirect them straight to a more secure vault address (where the private key would not be on the server). How do other sites accept payments and produce 'hot wallet' payments? Are they all running the daemon?
|
|
|
repost from the news section
|
|
|
Very cool. Wishing them all the best. I hope it takes off for both their sake and the sake of bitcoin. I would totally use this to deposit any spare cash in my wallet back to bitcoin.
|
|
|
I'm looking for two things:
1. A way of creating transactions in PHP 2. Any supported API to broadcast the transactions mentioned above
Does a set of classes / api exist for this already?
Appreciate a link if this topic already exists (i couldnt find it though).
Edit: I should add, I do not want to use any daemons to do this or by piggybacking off other clients. This needs to be done within PHP in its entirety. The only external call would be the broadcast of the transaction.
|
|
|
A very interesting read!! Where is bitcoins vault? ...in the cloouudd
|
|
|
it spits out quite a bit of info that you probably don't need, but here's the URL: http://blockchain.info/multiaddr?active=$address|$address (Multiple addresses divided by |) ( source: http://blockchain.info/api/blockchain_api ) That does spit out the info needed. However, there is a particular URL on Blockchain.info, which I forgot, that is much prettier and displays the current balances of all the wallet addresses. Basically, it lets you check a bunch of addresses via URL and sums them all, etc. I have people I am introducing to Bitcoin and this would be a good way for them to be OCD about their balances without having to login all the time and thus increase their security if traveling and not using trusted computers. https://blockchain.info/qFrom the site: addressbalance/Address - Get the balance of an address (in satoshi) Do not use to process payments without the confirmations parameter I believe you should be able to divide multiple addresses by | Give it a go and let me know
|
|
|
Any decimal number can be exactly represented this way.
Unless you are using javascript which treats decimals as floats I was waiting for someone else to point that out as well that there was no language being referenced. Yes, the only way I thought of getting around this is to store multiple values in different formats for different languages. ie. store both integer and decimal or float. It would be a pain otherwise to have a website which depends on javascript to manage the correct decimal display output. Every single value return or shown would require the use of javascript.
|
|
|
Thanks, email and PM received.
To confirm, the calculation for whats owed will be worked out from the closing (last traded) price on Monday 11th March 2013?
|
|
|
|