Bitcoin Forum
May 14, 2024, 04:36:12 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 43 44 45 46 47 48 49 50 51 52 53 »
501  Bitcoin / Wallet software / Re: BitcoinSpinner on: April 10, 2013, 01:28:59 PM
Feature request! I would like to see my balance in mBTC. I just changed my Bitcoin-Qt to mBTC since I think that at these prices it's a more convenient unit. It would be nice if I could change my Spinner balance to mBTC as well.
That is a very valid request, especially these days Wink
I'll look into it after the San jose conference.
502  Bitcoin / Development & Technical Discussion / Re: To Fee or not to Fee on: April 06, 2013, 10:31:28 AM
Any completely automated metric is potentially abused by miners to run up fees.

Challenge accepted, what about this: You watch the last few days of transactions and build a histogram, delay vs transaction fee. Delay is expressed as blocks mined from txn broadcast to inclusion (starts from 1, the txn in included in the next block) and the fee is expressed in satoshi/byte. Using such a histogram and the correct algorithm you can spot the minimal fee that has say a 95% chance of getting you into the next block, or the next n blocks. You can expose this to the user via a slider and he can chose to pay a high fee for 99% chance of catching the next block or a lower fee for 80% chance in the next 10 blocks.

The miners could send high fee transactions among themselves all they want, they will not affect the probability of other genuine transactions of getting in. If the fee market is competitive the histogram will reflect the true minimal fee that gets you in. The only avenue of manipulation is for miners to prioritize special low fee transactions and make it appear as if the entry fee is lower than it really is. But there's little incentive for miners to create that perception.

OK, so lets get some real life stats on the table. The following plot was made by observing blocks 229764 - 229939



Every + is a transaction. Total transactions 60608 in 175 blocks

X-axis denotes how many blocks it took for a given transaction to confirm from the time where it was observed (0 means next block)
Y-axis denotes the fee paid pr byte measured in satoshis

Raw data: raw_tx_data.csv (confirming-block-height, fee-pr-byte, confirmation-time-in-blocks, txid)

Plot made like this:
cat raw_tx_data.csv | cut -d ',' -f 2,3 | sed -e 's/,/ /g' | gnuplot -p -e "set yrange [-1:60]; set terminal png size 1500,1000; set output 'fig.png'; set xrange[-100:8000] ;plot '-'"

Analyze away.
503  Bitcoin / Development & Technical Discussion / Re: To Fee or not to Fee on: April 05, 2013, 08:20:24 AM
The only way I see a miner can game my proposal is by adding transactions sending to himself with large fees.
When doing that he would not broadcast the transactions, but silently include them in his block. (If he broadcasts them another miner would be likely to collect the fee if he finds the block first.)

Let me know if you think there is another way to game it.

There is simple way to detect and filter those transactions out. Simply disregard transactions that you did not see observe as unconfirmed before they were included in a block.

Using this mechanism means that your node has to be running for some time before it can give a good estimate for a fee.


504  Bitcoin / Development & Technical Discussion / Re: To Fee or not to Fee on: April 04, 2013, 08:57:59 AM
It's worth reviewing the many threads on this subject, that have come before Smiley

Any completely automated metric is potentially abused by miners to run up fees.

I don't intend to totally automate it. The user would be presented with something like

"Choose the transaction fee for your transaction:
Fast: Fee X*2 BTC (Send)
Normal: Fee X BTC (Send)
Economic: Fee X/2 BTC (Send)
(Cancel)
"

Miners gaming the fee calculation is a risk though, as they can include transactions sent to themselves with enormous fees. My thinking is to try to get around this by cutting away the top 25% and letting the user choose the economic option (half of the remaining average) or cancel.
If a miner tries to drive up the fee he will have to let more than 25% of the transactions be sent from himself to himself,  and have at a loss due to unrealized profits from fees in 'legit' transactions.

Since mining is not a monopoly and the average fee-pr-byte is calculated over say 144 blocks the miner who wants to drive up the fees will have a loss to the remaining miners (unrealized fees), and will have to share the gain with them.

If the miners collude they can drive the fees to whatever they want, but this is aslo the case with the current structure, by simply not including any transactions with say a 10% fee.

505  Bitcoin / Development & Technical Discussion / To Fee or not to Fee on: April 03, 2013, 08:10:10 PM
Transaction fees are a hot topic these days as we get closer to the maximum block size. If the block size is not increased fees are bound to grow, but unfortunately many bitcoin clients (including my own BitcoinSpinner) do not handle this well. Right now I am using a fixed fee of 0.0005 for every 1000 bytes, and eventually this will not cut it.

Transaction fees are complex  (especially for end users), and for BitcoinSpinner I want a solution where the fee applied makes the transaction likely to get into the next few blocks.

Miners who use an unmodified bitcoind for mining still allow a chunk of gratis transactions with high priority, but I think this will go away due to maximizing profit, and eventually miners will look at fee/transaction-size-in-bytes (eventually considering chains of unconfirmed transactions and their associated fees, etc). So, generally speaking I believe that there will be a price measured in satoshis for getting a byte into the next block. (And not for every 1000 byte chunk as it is now)

So to me the question: How do I predict the cost of getting my transaction into the next few blocks?
Is really: How do I predict the cost of getting a byte into the next few blocks?

My half-baked thinking on this is to:
1. Look at the last 144 blocks (24 hours)
2. Filter away gratis transactions
3. Filter away the bottom 25% and top 25% transactions that include a fee (measured in fee-pr-byte)
4. Calculate f1 = my-transaction-size-in-bytes * <the average fee pr byte in the remaining transactions>
5. Calculate f2 = the fee using traditional fee mechanisms for my transaction (0.0005 pr 1000 bytes)
6. Final fee =  max(f1,f2)

(Obviously step 4 and 5 will have to iterate until a fix point is reached as the size of the transaction may be affected by the fee size.)
Step 6 is there to avoid situations where f1 < f2, and miners still use the classic fee rules

On top of this the user could configure his wallet to be:
Economic: f1 = f1 * 1/2 (get confirmed when there is room)
Normal: f1 unmodified (get confirmed at a 'normal' rate)
Priority: f1 = f1 * 2 (get confirmed quickly)

This way end users have some control over their fees/confirmation-times without having an extended math degree, plus we get a fee market going.

What do you think?
506  Other / Beginners & Help / Re: Zero transaction confirmations in 20h on: April 03, 2013, 07:34:30 PM
What's the transaction ID?

Did you pay a fee?

dunno about his txid, but could you shed any light here?   

https://blockchain.info/tx/30deffd409515b085375abcb1dc04c00d55b9040130fecf2661ab8083122f621

many thanks!

Not sure why it's not in a block yet, everything looks fine.
The fee is a little low. It should be 0.0005 * roundup(transaction-size / 1000) = 0.0015 according to the standard (BitcoinQT) implementation. Transaction size is 2597.
The fee paid is 0.001.
I wouldn't worry, a miner is likely to pick it up soon.
507  Other / Beginners & Help / Re: StrongCoin key leak. on: April 03, 2013, 01:26:42 PM
It is going to be interesting the day that blockchain.info leaks encrypted wallets. I wonder how many out of their 175.000 wallets use insecure passwords.
508  Bitcoin / Wallet software / Re: BitcoinSpinner on: April 03, 2013, 09:24:54 AM
My phone has been lost for a week now, and I have not loaded up my Spinner backup yet (still waiting for new phone to arrive)... so far so good and bitcoins remain unspent  Smiley
If you have exported your private key you can move your coins using for instance blockchain.info or MultiBit, until you can get a new wallet up and running on your new phone.
509  Bitcoin / Wallet software / Re: BitcoinSpinner on: April 03, 2013, 09:21:55 AM
I'll donate 0.01 BTC. But the minute it is paid or commercial software people are going to want many more additional features.

1. Other currency exchanges, like, based on openexchangerates.com (similar to localbitcoins.com), dual display (in USD and PHP for example).
2. AES encryption like I described, with variable time delay using iterative hashing (key strengthening)
3. Import private key.
4. Generate new private keys in compressed format (those keys that begin with L or K instead of 5.)
5. More than 1 key (or wallet) with coin control (to manipulate individual unspent outputs)
6. Regular computation of transaction fee, no imposition of mandatory fee (at users risk of tx not included in next block). Or set your own transaction fee, instead of fixed to 0.0005.
7. Some other feature I haven't thought of yet.

If you add HD wallets and offline transactions to the list you end up with Armory.

BitcoinSpinner was designed to be easy to use for ordinary people. Adding the above features violate that.

Also, very few people fully understand the fee structure of Bitcoin. Setting your own transaction fee will make people say "Hell, I don't wanna pay any stinking fees", making your transactions stuck.

[Edit] However, anyone can take the source, fork it and do whatever they want
510  Economy / Speculation / Re: Perpetual Skeptic changes his mind, We're Going to the Moon - This was my day on: April 03, 2013, 07:30:33 AM
You mean BitInstant, mot BitPay. Had too many beers? Smiley
511  Economy / Service Discussion / Re: Instawallet Security Breach on: April 02, 2013, 04:56:17 PM
either way the lesson will be "trust no one to hold your coins".
Seconded

Apparently every new batch of Bitcoiners will need to learn this valuable lesson.

If you aren't the sole controller of your private keys, you don't have any bitcoins.

Take whatever steps necessary to be the sole controller of your private keys people!
In short "Keep your private keys private". Rule number ONE in Bitcoin land.
512  Bitcoin / Bitcoin Discussion / Re: [VIDEO] - Bitcoin on CNBC 4:40pm EST April 1 on: April 02, 2013, 04:40:12 PM
I think it was perfect with its flaws and everything. Stirring some curiosity.
513  Bitcoin / Wallet software / Re: BitcoinSpinner on: April 02, 2013, 03:26:37 PM
Gnah!!! Of course secure passwords can be entered on phones just as easily as on computers and of course there are people who would do it wrong. This is no excuse for Jan ... for us ... not to provide encryption.

Easy option: Add encryption, call it Bitspinner pro, charge $1. Those who would find the option useful can have it, those who would likely mess it up will be discouraged by the cost.
+1 Cheesy
514  Bitcoin / Bitcoin Discussion / Re: And we have $100/BTC boys nī girls on: April 01, 2013, 02:41:47 PM
Correction. 102 Cheesy
515  Bitcoin / Wallet software / Re: BitcoinSpinner on: March 31, 2013, 06:56:15 PM
...
Don't use Spinner. Don't use Schildbach's wallet. Neither of them encrypt your key. You loose your phone, you loose your money (I don't like POV of Jan that it is inconvenient to type serious keys on an android and therefore not having it encrypted. Sorry, for the situation of wanting to put the big stash into one dedicated device, Androids are a perfect low cost type of device. Sure, raspberries would do, too but Androids are just so common place nowerdays.)
Maybe use a recent Android as these provide disk encryption but please investigate first.
Don't rely on your key being stored in just one place. Phones brick.
...

Encrypted keys are prone to brute force attacks. And, end users are notoriously bad at choosing strong passwords -> kindergarten cryptography.
In the end you will have to rely on physical security (e.g. paper backups) to obtain two paramount properties:
1. The ability to make sure you can restore your private key
2. The inability for someone else to obtain your private key

This is why I suggest anyone storing large amounts with BitcoinSpinner to:
1. Use a dedicated device (I installed cyanogen, no sim-card, no other apps)
2. Use two wallets backed up on paper QR-codes. As soon as you restore wallet A on top of wallet B, then wallet B is deleted from your device, and there is no way to get to the key. (yes, wallet B is your savings wallet)

The definition of "large amounts" and proper physical security is up to you.

Hgmichna has some good suggestions for retrieving the backup and put it on paper. I myself took a picture with a camera and placed the SD-card in my printer.
516  Bitcoin / Wallet software / Re: BitcoinSpinner on: March 30, 2013, 07:13:04 AM
o_dima, thanks for the input. As Gizmo states, he made a patch for this, but I didn't apply it yet, so it is all my fault. Right now I am 110% booked with some great stuff that will be demo'ed at the May conference, and I am not likely to release an update until after that.
517  Economy / Service Announcements / Re: [ANN] BitcoinSpinner on: March 26, 2013, 05:26:18 AM
Why the testnet version isn't working?
"server not responding"
The testnet server was used during initial development. It hasn't been running for a long time to reduce cost.
518  Economy / Goods / Re: NEFT Vodka and Bitcoin on: March 22, 2013, 04:55:34 PM
Their bottle appears in the beginning (it's their bottle isn't it?) and the name "Neft" is written on one of the airplanes of the hangar.
Plus, this:
It also happens to be a very bold piece of branded content for the Russian vodka company Neft.
You found 2 of 3. The last one is a bit hard to find.
519  Bitcoin / Bitcoin Discussion / Re: blockchain.info down? on: March 22, 2013, 11:40:29 AM
As far as I remember there should be scheduled downtime today. (30 mins)
520  Bitcoin / Bitcoin Discussion / Re: [ANN] FIRST Feature-length Documentary on Bitcoin, 100% BITCOIN FUNDED! on: March 22, 2013, 08:01:05 AM
Thanks! This makes proud to be in the Bitcoin 100.
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 43 44 45 46 47 48 49 50 51 52 53 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!