Bitcoin Forum
July 03, 2024, 06:45:38 PM *
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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 ... 165 »
361  Bitcoin / Bitcoin Technical Support / Re: Bitcoin-QT: "This transaction is over the size limit..." on: February 07, 2014, 03:28:12 AM
The "over the size limit" message comes up when any fee is required. If you are spending recently-received bitcoins, you will have a minimum fee, which should be the 0.0001 BTC if it's less than a kB. The message should simply be "at least the minimum fee is required for processing this transaction".

Bitcoin-Qt doesn't attempt to minimize the fee of any particular transaction - that would just leave you more expensive dust for later. What it does is attempt to minimize change. If you have received 2 BTC, 5 BTC, and a whole bunch of 0.001 dust, when you attempt to send 2.05, it's going to use all the dust to get to that amount instead of spending the 5 BTC, which would result in a big change amount back to you.

362  Economy / Service Discussion / Re: btc-e ticker using php on: February 07, 2014, 03:08:05 AM
Are you gathering data for a database to make charts for your own sites, or do you just want to re-serve the current price to clients. If you just want to get the price from the site every time a user loads the ticker page or image, that actually might be less queries to the API overall if you are low traffic (if you are going to have less than 86K page loads a day).

Here's an image:


When you loaded it just now, it got the prices from bitcoinaverage.com. Here's the code, with some misc commented-out other stuff:

Code:
<?php
header 
('Content-Type: image/png');
$block file_get_contents('http://blockexplorer.com/q/getblockcount');
$dif file_get_contents('http://blockexplorer.com/q/getdifficulty');
$blksiz file_get_contents('http://blockexplorer.com/q/avgblocksize/144');


$priceget file_get_contents('http://api.bitcoinaverage.com/ticker/USD');
$pieces explode("\n"$priceget);

#$pieces[1] = trim($pieces[1])
#$pieces[4] = trim($pieces[4])
#$cutlist = array(" ", ",")

#$avg = explode(":", $pieces[1]);
#$avgname = substr(trim($avg[0]), 1, -1)

#$avgval = trim($avg[1], $cutlist)

#$prc = explode(":", $pieces[4]);
#$prcname = substr(trim($prc[0]), 1, -1)
#$prcval = trim($prc[1], $cutlist)

$myImage = imagecreatetruecolor(240110);
imagesavealpha($myImagetrue);

$trans_colour imagecolorallocatealpha($myImage000127);
imagefill($myImage00$trans_colour);

$src imagecreatefrompng('callogo.png');
imagecopy($myImage$src0000174120);
$white = ImageColorAllocate($myImage255255255);
$black = ImageColorAllocate($myImage000);
$head = ImageColorAllocate($myImage0064);


Imagestring($myImage455gmdate('F j, Y, g:i a',is_null($ts)?time():$ts) . " UTC"$head);
#Imagestring($myImage, 2, 5, 25, ("Current block: " . $block), $black);
#Imagestring($myImage, 2, 5, 40, ("Current difficulty: " . $dif), $black);
#Imagestring($myImage, 2, 5, 55, ("average blocksize:" . round($blksiz/1000) . "kB"), $black);
Imagestring($myImage3525, ("Exchange averages"), $head);
Imagestring($myImage3540, ("USD " $pieces[4]), $black);
Imagestring($myImage3555, ("USD " $pieces[1]), $black);
Imagestring($myImage3570, ("USD " $pieces[2]), $black);
Imagestring($myImage3585, ("USD " $pieces[3]), $black);

#Imagestring($myImage, 3, 5, 70, ("USD " . $avgname . ": " . $avgval ), $black);
#Imagestring($myImage, 3, 5, 85, ("USD " . $prcname . ": " . $prcval ), $black);


$blksiz file_get_contents('http://blockexplorer.com/q/avgblocksize/144');


header("Content-type: image/png");
imagepng($myImage);

Imagedestroy($myImage);
 
?>

363  Economy / Services / Re: [BOUNTY] 200$ for the first to provide purely mathematic expression of XOR on: February 07, 2014, 02:47:16 AM
Aaaah Great, I just received a negative rating from a user called "deepceleron" on this.

I am really disappointed! Not only do I try to make interesting challenges here which I finance with my personal money, but I put a lot of effort in the science behind the bitcoin protocol and the cryptography behind it. I mean I love this work, and I really enjoy contributing to the community - what a bit upsets me is what I get back. A kick in the butt, and a negative rating! Great Wink This way science makes fun ... NOT!

Has it finally been paid BECAUSE of the feedback, though? Apparently several posts in other threads you were continuously monitoring and posting in didn't get your attention enough to come back here and even give a status update. I am an interested party because it as easily could have been me that spent several hours on a solution. I will delete the negative trust since it has been paid, not because you left extortion negative feedback (with lies - I have never contacted you and you will see the posts in this thread are constructive) and PM'd me, which will be left here forever:

Quote from: Evil-Knievel about deepceleron
Attention! Person is not trustworthy! I have made an arrangement with another guy who solved a math equation for me! I paid him for his work (see reference thread). This user was trying to insult disturb my threads from the beginning. After I told him that it is not his business at all, he started giving me negative feedback. This user cannot be trusted anymore as his feedback is not reflecting reality, but his personal attitude against other people. BEWARE!
364  Economy / Services / Re: [BOUNTY] 200$ for the first to provide purely mathematic expression of XOR on: February 04, 2014, 02:31:33 PM
This stuff reminds me why I don't do any design work or enter any "contests" here unless the prize or bounty is held in escrow.
365  Economy / Trading Discussion / Re: SierraChart feed/bridge reborn - Realtime Bitcoin charting on: February 02, 2014, 09:47:32 PM
I'll guess the error looks like this:

>scfeed.exe -d d:/scfeed/data -slocalbtcUSD
syncing d:/scfeed/data\localbtcUSD.csv
Traceback (most recent call last):
  File "scfeed.py", line 739, in <module>
    csvupdater(csv_filename, s)
  File "scfeed.py", line 380, in csvupdater
    csvfile = open(csvfilename, "wb")  # write, binary
IOError: [Errno 2] No such file or directory: 'd:/scfeed/data\\localbtcUSD.csv'


Sierrachartfeed doesn't attempt to make a directory, it will throw this error if the directory you specify or the default directory doesn't exist. You just need to create the directory. SierraChart should have already made the data directory, it is where the SCID files go; I haven't tried even running SierraChart with a non-default location (which is C:\SierraChart\Data).

If you use a directory that already exists, it works fine:

>scfeed.exe -d D:\Bitcoin\scfeed -slocalbtcUSD
syncing D:\Bitcoin\scfeed\localbtcUSD.csv
Updating CSV: bytes 0 to 1048575 of 3433481
Updating CSV: bytes 1048576 to 2097151 of 3433481
Updating CSV: bytes 2097152 to 3145727 of 3433481
Updating CSV: bytes 3145728 to 3433480 of 3433481

*** Loading data file D:\Bitcoin\scfeed\localbtcUSD-p4.scid
Downloading historical data
syncing D:\Bitcoin\scfeed\localbtcUSD.csv
local CSV already up to date
importing D:\Bitcoin\scfeed\localbtcUSD.csv
adding D:\Bitcoin\scfeed\localbtcUSD.csv to SCID

Request localbtcUSD from 2014-02-01 10:46:07
    Got 2014-02-01 10:46:07Z to 2014-02-02 21:29:19Z: 650 trades (28057 bytes in 0.806000 sec)
 Adding 2014-02-01 11:21:36Z to 2014-02-02 21:29:19Z: 649 trades to SCID
Opening live trade socket, wait........
2014-02-02 21:45:02: 21:41:26 localbtcUSD 1000.0 0.48
2014-02-02 21:45:02: 21:37:16 localbtcUSD 894.52 0.5702
2014-02-02 21:45:02: 21:41:05 localbtcUSD 983.08 0.0997
2014-02-02 21:45:02: 21:32:21 localbtcUSD 759.81 0.1998
2014-02-02 21:45:02: 21:38:58 localbtcUSD 922.0 0.2223
366  Economy / Trading Discussion / Re: SierraChart feed/bridge reborn - Realtime Bitcoin charting on: February 02, 2014, 12:56:02 PM
btc-e seems to sometimes be available on bitcoincharts, and then the ticker symbol completely disappears from existence. Since I put this as one of the default exchanges, you should manually specify an exchange or a list of exchanges with the command-line option instead. If http://bitcoincharts.com/charts/btceUSD says "page not found", that means its still not fixed.
367  Other / Meta / Re: Image Proxy on: February 02, 2014, 01:35:47 AM
I am trying to link to an 65kb image in a dropbox but it's not working either:

https://www.dropbox.com/s/fmo3q2gz7k4t7dq/destinia-no-btc-option.png

You can't get the raw image from that dropbox, it is framed in an html page even though the fake extenstion is png.
368  Bitcoin / Bitcoin Discussion / Re: Bitcoin-Qt / bitcoind version 0.8.6 released on: January 31, 2014, 03:26:50 AM
Only Namecoin is unique in offering a new feature that won't be included in Bitcoin, and it has a difficulty about 75% that of Bitcoin itself.

Based on your authority, deepceleron, I simply can't wait until all the new features of Litecoin will be included in Bitcoin, since Namecoin is the only one with a new feature that WON'T be. /sarcasm
Perhaps you are reading the intention of the sentence incorrectly; the unique feature of Namecoin that "won't be included" in Bitcoin is the storage of user data for domain names and other identity or yet-imagined purposes. Storing arbitrary data is outside of the scope of Bitcoin, which is a network for the bitcoin currency; such features won't be added to it.
369  Economy / Services / Re: need graphics designer on: January 30, 2014, 03:13:07 PM
$10 worth of work for free...


   Cheapo poker!     
████████████████████
██3♢3♡█░░█░░█░░████
████████████████████
████████████████████
█████A♡7♢██████████
████████████████████
████████████████████
████████████████████
370  Bitcoin / Development & Technical Discussion / Re: Why add/subtract 0.5 while converting between JSON and amount on: January 30, 2014, 02:43:01 PM
In this wiki article "Proper Money Handling"
https://en.bitcoin.it/wiki/Proper_Money_Handling_(JSON-RPC)

Why add 0.5 if value is more than 0.0, and subtract 0.5 if value less than 0.0   Huh

Code:
int64_t JSONtoAmount(double value) {
    return (int64_t)(value * 1e8 + (value < 0.0 ? -.5 : .5));
}

This is a way to achieve deterministic rounding when storing as an integer

3.425 rounds to 3; 3.531 rounds to 4
the int of 3.425 + 0.5 is 3; the int() of 3.531 + 0.5 = 4.031 is 4.

Since bitcoin amounts on the network can only have accuracy down to satoshis, you may have to do rounding on maths which would have a sub-satoshi remainder. An imaginary example would be an exchange that pays you the average price of three other exchanges. (a+b+c)/3 * (1/dollars) may be an irrational result like 166.66666666666666; what the exchange pays in BTC should round up to 166.66666667 if they are fair.
371  Bitcoin / Development & Technical Discussion / Re: Full node radio and offline verification on: January 30, 2014, 09:30:57 AM
If you want to consider something that takes little work to send or receive, think audio stream. As it would have to survive MPEG2 compression, you'd probably be limited to 14.4k equivalent (that's about 4MB an hour, barely keeping up with the average transaction rate), but any dtv broadcaster would have the ability to add a low-bitrate tv subchannel; these digital TV "radio stations" most often include a static picture because lots of TVs won't tune unless there is a video stream (on FM radio, they like to use their audio capabilities for programming). Decoding equipment could be as simple as digital tv converter to audio line in.
372  Other / Archival / Re: delete on: January 29, 2014, 07:09:52 PM
You don't need him to offer a bounty; there's about 1 million BTC of unspent (Satoshi) 50BTC blocks, where the block reward is paid to public keys instead of Bitcoin addresses. Go get 'em!
373  Bitcoin / Bitcoin Technical Support / Re: Cannot synchronize with Bitcoin in testnet mode - No block source available on: January 29, 2014, 06:31:40 PM
The first thought is that you have created a text file and have file extensions hidden. In Control Panel, choose Folder Options. On the "View" tap, uncheck the checkbox for "Hide extensions for known file types" (along with unchecking other buttons for dummies if you want). Now when you re-open Windows Explorer, you will see the true name of the file you created.

Thanks!  That helped.  It showed that the file was named bitcoin.conf.txt.  I changed it to bitcoin.conf for both copies in the following folders:

C:\Users\USERJLP\Downloads\bitcoin-0.8.6-win32\bitcoin-0.8.6-win32
C:\Users\USERJLP\AppData\Roaming\Bitcoin


There are two file locations, you seem to be confusing these:
1. The location where bitcoin stores all its data
2. The location where the bitcoin-qt.exe executable is installed.

The data directory is the same directory all the time, it is where the wallet and blockchain are stored, and where a bitcoin.conf file is looked for.


The location for the bitcoin.conf file that will start Bitcoin in testnet mode is %appdata%\Bitcoin - the same as normal Bitcoin.

I'm not sure what %appdata% means.  C:\Users\USERJLP\AppData\Bitcoin did not exist, so I created this folder and I put a copy of bitcoin.conf into it.  I double clicked on the icon for the following file, but it started in mainnet mode, not testnet mode:

C:\Users\USERJLP\Downloads\bitcoin-0.8.6-win32\bitcoin-0.8.6-win32\bitcoin-qt.exe

Should I move bitcoin-qt.exe into the C:\Users\USERJLP\AppData\Bitcoin or C:\Users\USERJLP\AppData\Roaming\Bitcoin folder?

I hope you noticed that "USERJLP" is to be substituted with your actual windows login name. If you open windows explorer, and type the %appdata% in, it will take you to your user profile directory and show you the actual path, where you will see "bitcoin", and below that "testnet3".

You should download the installer version of Bitcoin, and install it the normal way; it is much easier to support when you install it the same way as everyone else. Located here: http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.6/bitcoin-0.8.6-win32-setup.exe/download

Instead, it is preferable to use the command-line option, so that a separate bitcoin.conf file, used is solely for testnet, is located at %appdata%\Bitcoin\testnet3\bitcoin.conf. The full location will be C:\Users\USERJLP\AppData\Roaming\Bitcoin\testnet3\.

I put a copy of bitcoin.conf (which only has testnet=1 in it) into C:\Users\USERJLP\AppData\Roaming\Bitcoin\testnet3\

You can create a .cmd (batch file) to start testnet for you, save this line to a text file renamed Start-Testnet.cmd:
bitcoin-qt.exe -testnet -txindex

(txindex because it's useful for "testing")

I did as you suggested and ran Start-Testnet.cmd.  It gave me a pop-up with this error:

You need to rebuild the databases using -reindex to change -txindex

Should I rebuild the databases using bitcoin-qt.exe -testnet -reindex?

Yes, if you already have blockchain downloaded (which means something was working at some point), then you will need to add the -reindex option. If you don't know why you would need this, and are just playing around, you can probably just omit -txindex.

Options inappropriate for testnet in your main bitcoin configuration file may be causing your problems.

The only option I have in all of the bitcoin.conf files is testnet=1.

I started Bitcoin-QT in testnet mode by running bitcoin-qt.exe -testnet but it is still not synchronizing and still showing "No block source available...".  Does it need to be synchronized in order for me to send or receive testnet coins?

I typed some stuff above; I'm too lazy to keep on quoting...

The only bitcoin.conf you should be worrying about is the one in the correct bitcoin\testnet3 data directory, nothing else is looked at. If you have done the above and have problems establishing connections to peers (hover over the cel phone bars in lower right and see how many connections), then likely something with your VM configuration or router is interfering with the connection.
374  Bitcoin / Development & Technical Discussion / Re: Full node radio and offline verification on: January 29, 2014, 04:39:16 PM
It would not take much effort for the radio station to broadcast (airwaves) a proof of the broadcast from the SPV android holding customer.

This is the exciter and transmitter for a small community-run radio station:





I'm sure you have an open-source digital exciter code ready to install on many different transmitter stacks, and underlying protocols all written suitable for National Association of Broadcasters review committee, ready for them to submit to outside testing, so they can prepare a report to the FCC. After that money is spent, you are very lucky if you get an FCC notice of proposed rulemaking, which has many more administrative stages than that "I'm just a bill" cartoon would lead you to believe.

Anything doesn't take much effort if it's in your imagination.
375  Bitcoin / Development & Technical Discussion / Re: TP's TestNet Faucet - a faucet and eWallet for TestNet on: January 29, 2014, 03:39:18 PM
When I tried to get a eWallet at http://tpfaucet.appspot.com/ via Random account, Create and account or use an account with my email, I get an error message:

API error 5 (urlfetch: DEADLINE_EXCEEDED)

Is this related to your grant proposal at https://bitcoinfoundation.org/forum/index.php?/topic/60-grant-proposal-testnet-faucet-ewallet-and-node/?

Are there any other Testnet eWallets out there?

I can't think of many testing scenarios where people won't be actually running their own Bitcoin software. I posted a reply in your "can't get bitcoin-qt working" thread.

The services on that page have been down for a while: https://bitcointalk.org/index.php?topic=415732.msg4656854#msg4656854
376  Bitcoin / Bitcoin Technical Support / Re: Cannot synchronize with Bitcoin in testnet mode - No block source available on: January 29, 2014, 03:36:33 PM
The first thought is that you have created a text file and have file extensions hidden. In Control Panel, choose Folder Options. On the "View" tap, uncheck the checkbox for "Hide extensions for known file types" (along with unchecking other buttons for dummies if you want). Now when you re-open Windows Explorer, you will see the true name of the file you created.

The location for the bitcoin.conf file that will start Bitcoin in testnet mode is %appdata%\Bitcoin - the same as normal Bitcoin. You would have to edit the file, along with other options, every time you want to switch between testnet and mainnet.

Instead, it is preferable to use the command-line option, so that a separate bitcoin.conf file, used is solely for testnet, is located at %appdata%\Bitcoin\testnet3\bitcoin.conf. The full location will be C:\Users\USERJLP\AppData\Roaming\Bitcoin\testnet3\.

You can create a .cmd (batch file) to start testnet for you, save this line to a text file renamed Start-Testnet.cmd:
bitcoin-qt.exe -testnet -txindex

(txindex because it's useful for "testing")


Options inappropriate for testnet in your main bitcoin configuration file may be causing your problems.
377  Bitcoin / Bitcoin Discussion / Re: Bitcoin-Qt / bitcoind version 0.8.6 released on: January 29, 2014, 03:14:25 PM
Can Bitcoin wallet support other coins like litecoin or Gogecoin at same time? As you know there are so many coins now.
That's like asking if my Swiss bank account supports Nigerian Prince investment fund. Or if Fort Knox will also store my collection of pretty rocks.

These alt-coins are Bitcoin, with the most trivial of changes. They can be taken out at any time by 51% attack by existing miner hashrate or common computing resources. They have been killed in the past just for demonstration, but nobody seems to learn, so now they and their wannabe-rich creators are ignored. Only Namecoin is unique in offering a new feature that won't be included in Bitcoin, and it has a difficulty about 75% that of Bitcoin itself.
378  Other / Archival / Re: delete on: January 29, 2014, 01:53:46 AM
This cracker is BS. Demonstrating one successful "brute-forcing" is straighforward if the address is generated on purpose very close to a rendez-vous point. There is no weakness here whatsoever, the regions around rendez-vous points are just tiny compared to the whole search space.

Consider that it is basically the same thing as iterating over possible private keys starting from 1, then 2, etc... then saying "uh-oh! I found some addresses that are weak and can crack them quickly!". Of course it will be true for all addresses whose private key is between 1 and few millions... But it is still nothing considering the whole search space.

Do not buy that.

This is kind of what I was thinking reading earlier in the thread, although I haven't looked through the obfuscated in one line "generate the weak address this way" code show here: https://bitcointalk.org/index.php?topic=421842.msg4746108#msg4746108

"my HD7970 is at the moment capable of doing 150 MEGAKEYS per second" says the OP.
If the code actually is: Here's a generator that will generate a private key within a million of 1000 weak points: 2 billion possible keys to search; 50% probability with 1 billion brute forces with no special math.
379  Alternate cryptocurrencies / Service Announcements (Altcoins) / Re: Just-Dice.com : Play or Invest : 1% House Edge : Banter++ on: January 29, 2014, 12:49:47 AM
...  Variance is the only way the player can ever win.  Without it, he doesn't even bother playing. ...

I'd like to test this.  I bet that if you created a game that has a fixed guaranteed return of -1% that people would still play.  For every bitcoin wagered 0.99 bitcoins is returned.

How about it Dooglus.  Can you create a site that is not only provably fair but deterministic.  In that you know exactly your return before you wager.

Gambling is an activity that is against the gamblers own financial interest.  Would that tendency to gamble away money work if there was no way to win.  I guess it wouldn't be gambling then.

Try it see what happens.

The easiest way to test this would be to allow Just-Dice players to bet at 100%.  That has a payout of 0.99x, and is exactly what you're describing.

I wouldn't want the 'max chance' button to go there though, because that's just rude.  But I could allow players to type 100 into the chance box and accept the box.  It doesn't feel right though to give them no chance of winning, and I also really don't see why anyone (who understood it) would play.

Gamblers understand that a 49.5% chance of doubling their money is slightly less than fair, but it's close enough to fair that they're willing to take the chance.  But who wpuld ever accept a guaranteed loss of 1%?

I should offer this service. Send me 1.00 BTC, I send you back .99. Heck, send me 1 BTC and it's already a gamble that I send back anything...

There's more to the earlier post below if you want to click.
I'll add a conclusion to my post: gamblers like variance. People buy lottery tickets not because the house edge is 50%, but because there is miniscule chance of millionaire status. The more you bet, the more you reduce variance. If I have 10,000BTC and bet it once on double my money, 49.5% chance I double my money. If I bet 1000000 0.01 BTC bets, the variance is gone and payout approaches the house edge, I might as well be sending 10000 BTC to a site that pays 9900 back.
380  Bitcoin / Development & Technical Discussion / Re: [Python-BitcoinRPC] No module AuthProxy on: January 29, 2014, 12:36:46 AM
I guess the question is, why are you trying to build it? Does the py run by itself or does it have exception errors?

freeze or py2exe takes lots of custom tweaking of files, especially if it was written using libraries that use other binaries like OpenSSL.
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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 ... 165 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!