Bitcoin Forum
May 30, 2024, 06:26:06 AM *
News: Latest Bitcoin Core release: 27.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 18 19 [20] 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 »
381  Bitcoin / Project Development / Re: [OSX] BTCPrice Ticker for OSX Menu Bar on: February 27, 2013, 03:30:57 PM
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  Smiley
382  Economy / Service Discussion / Re: Where to host a bitcoind server? on: February 26, 2013, 10:25:49 PM
I just signed up and am officially running the bitcoind on an EC2 server Smiley 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!
383  Economy / Service Discussion / Re: Where to host a bitcoind server? on: February 26, 2013, 09:46:13 PM
If I don't get any takers, I probably will run an Electrum server or something, though. Thanks for the idea.

Youre welcome Smiley

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 Smiley Its downloading the block chain but taking ages.
384  Bitcoin / Project Development / Re: [OSX] BTCPrice Ticker for OSX Menu Bar on: February 26, 2013, 02:59:36 PM
Thanks for the suggestions and donations (good motivation for adding more features Wink ).

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 Smiley. I wouldn't mind a label that simply says: ฿31.32
385  Economy / Web Wallets / Re: Blockchain.info - Bitcoin Block explorer & Currency Statistics on: February 25, 2013, 02:20:15 PM
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:

Code:
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?
386  Bitcoin / Development & Technical Discussion / Re: Developing Bitcoin on Sites on: February 25, 2013, 02:17:11 PM
as well as a QT wallet that I installed the other day and is STILL doing the original sync.  Huh

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.
387  Bitcoin / Development & Technical Discussion / Re: Blockchain receive payment api callback problems, any alternatives? on: February 25, 2013, 02:11:56 PM
What language are you using? They have good test examples https://blockchain.info/api/api_receive

Mines almost working but they blocked my domain as its .sx extension :/
388  Alternate cryptocurrencies / Altcoin Discussion / Re: Ripple Giveaway! on: February 25, 2013, 01:26:27 PM
rn3FBeHA7Xpbvx4qapDbtULR9jA4u8fW1V
389  Bitcoin / Project Development / Re: [OSX] BTCPrice Ticker for OSX Menu Bar on: February 25, 2013, 01:19:47 AM
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 Tongue

Get on it dgarrett, and I'll happily send you enough for a coffee and a pack of chips Smiley
390  Bitcoin / Project Development / Re: [OSX] BTCPrice Ticker for OSX Menu Bar on: February 25, 2013, 01:12:37 AM
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?
391  Economy / Service Discussion / Re: Where to host a bitcoind server? on: February 25, 2013, 01:05:01 AM
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?
392  Economy / Service Discussion / Re: Where to host a bitcoind server? on: February 24, 2013, 08:38:58 PM
Anyone have experience running it off a EC2 Server on AWS?

Anybody? I'm interested in the same.
393  Bitcoin / Development & Technical Discussion / Re: Create and send transactions in PHP on: February 24, 2013, 07:38:21 PM
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/#tx

The only external call would be the broadcast of the transaction.

 - https://blockchain.info/pushtx
 - signrawtransaction and sendrawtransaction from http://en.bitcoin.it/wiki/Raw_Transactions

Seems 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?
394  Economy / Services / Re: The Bitcoin ATM! on: February 24, 2013, 06:26:56 PM
repost from the news section Smiley
395  Bitcoin / Press / Re: 2013-02-23 cnet.com - Need Bitcoins? This ATM takes dollars and funds your accou on: February 24, 2013, 06:21:44 PM
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.
396  Bitcoin / Development & Technical Discussion / Create and send transactions in PHP on: February 24, 2013, 06:15:23 PM
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.
397  Economy / Economics / Re: Is This Where The Secret JP Morgan London Gold Vault Is Located? on: February 22, 2013, 02:16:08 PM
A very interesting read!!

Where is bitcoins vault? ...in the cloouudd Smiley
398  Bitcoin / Bitcoin Technical Support / Re: Best way to check the balance of an address without the private key on: February 20, 2013, 08:00:59 PM
it spits out quite a bit of info that you probably don't need, but here's the URL:

Code:
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/q

From 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
399  Bitcoin / Project Development / Re: Developers - Best practises for decimal handling on: February 19, 2013, 04:06:00 PM

Any decimal number can be exactly represented this way.


Unless you are using javascript which treats decimals as floats  Huh

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.
400  Economy / Service Announcements / Re: {ANNOUNCEMENT} WBX Exchange Frozen on: February 18, 2013, 04:03:54 PM
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?
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [20] 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!