Bitcoin Forum
May 29, 2024, 03:17:57 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 »
41  Bitcoin / Bitcoin Technical Support / Re: Restoring a deleted wallet file on: April 23, 2013, 08:58:39 PM

OP might give it a try

Which is why I recommended it.  

And I put "compile" in quotes because this was the term the OP used, apparently in reference to creating a new wallet.dat file based on the output read from an old one ("compile them into a wallet.dat using pywallet").  I knew that creating a new wallet.dat using the data read using pywallet hasn't traditionally been possible, but since I knew you were working on it recently, I didn't want to rule out a new feature categorically, however unlikely.  I'm not unfamiliar with Python, pywallet,  berkeleydb, or the wallet.dat format.
42  Bitcoin / Bitcoin Technical Support / Re: Restoring a deleted wallet file on: April 23, 2013, 03:16:55 PM
Thanks, w1R903. I'll be sure to PM you if I need additional help.

From what I understood, the first step is to try to locate the private keys with a hex editor. The second would be to compile them into a wallet.dat using pywallet. I hadn't read enough about that second step to realize that there is a danger of further damaging the file. I thought that once (and if) I recover the private key, that's all the data I need.

To be safe, I'll have a friend who is an IT professional talk me through this. I definitely appreciate any advice on software and/or procedure, though!

Daniel, if I were you -- and assuming you have enough in that wallet for this to be worth your while -- I'd find someone skilled in Windows data recovery.  Maybe your friend understands this.  Get him/her to make a non-destructive copy of the file.  I just don't know enough about Windows file systems to tell you to just make a copy -- I'm worried that this could further damage the file.

But once someone who understands data recovery on Windows helps you to make a copy, you can play around all you want with pywallet, berkelydb's data dump tool, and a hex editor until you (hopefully) find your keys.  Note that pywallet cannot "compile" wallet.dat files (unless it's recently added this functionality).  Instead, pywallet reads wallet.dat files and "dumps" out the private keys to the screen in json format (along with some other data).

Here's a thread that talks about recovering data with a hex editor, thanks to John Tobey's expertise.  He also includes a brief Perl script to help recover deleted wallet.dat, but it only works on Linux partitions.

Good luck.
43  Bitcoin / Bitcoin Technical Support / Re: Restoring a deleted wallet file on: April 22, 2013, 10:45:52 PM
Awesome, thanks a lot!

Daniel, if (and only if!) someone can tell you a non-destructive way to make a copy of your restored copy of the wallet.dat, it would be worth a try to run pywallet on it:

https://github.com/jackjack-jj/pywallet

Then run:

python pywallet.py --datadir='/your/data/dir' --dumpwallet

Note that the datadir will be something like "%APPDATA%\Bitcoin" if you're on Windows.

But before you do any of this, make sure you figure out a way to safely make a copy without doing any additional damage to the file.  I don't know enough about the Windows file system to tell you how to do this safely (any Windows devs here know how?).  Maybe one of the EaseUS recovery utilities would help?

pywallet has helped a lot of people in the past dump the private keys of a (slightly) damaged wallet.  If this doesn't work, some of the more advanced berkelydb data dump tools might help.  PM me if you succeed in safely making a copy and need help.
44  Bitcoin / Bitcoin Technical Support / Re: is the BTC stored in Wallet or in the Address? on: April 22, 2013, 10:25:16 PM

Does the satoshi client solve that issue as wel--Does the key pool, include the change addresses?

Yes, as CIYAM wrote, it includes the change addresses up to the first 100 transactions.  At that point, it generates an additional pool of addresses that must be backed up for the next 100 transactions.  The 100 is the default setting -- that can be increased or decreased in the config file.
45  Bitcoin / Bitcoin Technical Support / Re: Generating a bitcoin wallet address for each user on: April 22, 2013, 10:20:50 PM
to monitor the balance of each address, either query bitcoind for the balance of the address, or query a third party api (blockexplorer, blockchain.info).

So I would keep polling bitcoind over and over to keep scanning for deposits to those addresses?  Smiley

You don't have to poll.  You can start up bitcoind with the switch '-blocknotify='<cmd>' and put whatever command you want to run in the place of <cmd>, for example a shell script or python script that asks for the balances of the addresses you are tracking.  It will only notify upon each additional block confirmation.
46  Alternate cryptocurrencies / Altcoin Discussion / Re: Litecoin/PHP: Can you pull an address balance via API? on: April 22, 2013, 10:09:08 PM
Unless I am misunderstanding you, you could simply use the litecoin api on your pool server, and run all queries through that. Shouldnt be too hard to do given the code already floating around.

This is correct.  If you are only interested in the balances of addresses in *your* wallet, you absolutely can find these using the litecoin api on your pool server using the calls I mentioned above.

It's only if you're interested in the balances of addresses *not* in your wallet that you have to worry about building a db or calling an external API of another site that has done this.
47  Alternate cryptocurrencies / Altcoin Discussion / Re: Litecoin/PHP: Can you pull an address balance via API? on: April 22, 2013, 06:01:59 PM

Just need a little help, I'm stumped!

Thanks!

Are you wanting your wallet balance?  Or the balance of an address in your wallet?  Those two are very easy to do via the litecoind RPC interface (I assume it's the same as bitcoind's). 

The command 'getbalance' returns your wallet's balance (I'm assuming you're not using accounts).
The command 'getreceivedbyaddress <litecoin address here>' gets that litecoin address's balance.

You can find out info on these and other RPC calls here:
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

And information on JSON-RPC here (including some PHP code):
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)

Now, if you are looking for the balance of arbitrary addresses -- addresses that are not in your wallet -- this is considerably more difficult.  You would have to build your own db of transactions by address, or somehow use an existing implementation that does so (maybe ABE for litecoin?).

48  Bitcoin / Bitcoin Discussion / Re: Lets get serious: commodities for bitcoins on: April 18, 2013, 11:11:11 PM

The foundation would be
(1) food (not much going on) http://online.wsj.com/article/PR-CO-20130417-908270.html?mod=googlenews_wsj
(2) rent (ontario, NYC, somewhere-else-in-the-US-can't-remember, Germany)
(3) energy (not much going on)
(4) health services (dentist in Finland)
(5) salaries (archive.org, p2p foundation) Lots of freelancers are doing more and more business in Bitcoin (me included)
(6) entertainment (?) many, many artists are selling their albums and artwork for bitcoin.  Mostly indies at this point.  But I see a new announcement every day almost.  For example: https://i.imgur.com/cnE0ISm.png



Made a few additions.  It's a good list.  I like it as a foundation for consumer Bitcoin use.

But I like the idea of Bitcoins for commodities, too.
49  Bitcoin / Bitcoin Discussion / Re: Lets get serious: commodities for bitcoins on: April 18, 2013, 10:35:46 PM
I've been saying this for a while.  It's going to be very difficult, unfortunately, because most of the early adopters do not seem to agree.  They see Bitcoin as a speculative investment, think that the current transaction costs (over $5 including subsidies) are reasonable, think that Bitcoin should compete with money transmitters, and that courting government regulation is a super good idea and the way forward.

I like your thinking.  I'd be much happier building a Bitcoin economy than watching the coin go to $1000.  Sure, I'd make good money, but that's not why I got in.  However, after watching Bitcoin volatility for the past 2+ years, I've always thought that the only way to attain a non-volatile coin was to first reach a high market cap.  Now, it may be that this is wrong, and that the best way to attain a non-volatile coin is to build a real economy first.  

BTW, where do you get the $5 figure?
50  Bitcoin / Bitcoin Discussion / Re: dumb question - I can't get an answer from either Apple or Google on: April 18, 2013, 10:23:01 PM
Apps are not pro-actively reviewed on the Play Store and the Bitcoin Wallet app actually lets you tip the author directly from inside it. The main reason for the rule is consistency - it makes Android feel slicker and more integrated if you don't have to constantly sign up for 20 different payment systems that are all basically the same but different.

The best thing to do is just try it. If somehow your app gets taken down for not using the in-app payments system, and if I'm still working at Google, I'll go to bat for you. I doubt Bitcoin-accepting apps are going to fragment the marketplace any time soon.

Mike, this is good to hear.  I've been holding back on doing a Bitcoin-accepting app for Android simply because I thought it had little chance to get it on Play.  I may go forward now, with the understanding that it's still a risky undertaking but that there's at least a fighting chance.
51  Bitcoin / Bitcoin Discussion / Re: Why would Adam Davidson of NPR criticize Bitcoin? on: April 18, 2013, 06:56:15 PM
he's a U Chicago Religions major trying to leverage his degree into Finance.  Fail.

Plus his show's sole sponsor is a...wait for it...: bank.  Yes, that's right, Ally Bank (formerly GMAC) is the sole sponsor of Planet Money.  See here: http://www.npr.org/blogs/ombudsman/2009/12/ally_bank.html

No conflict of interest there.
52  Economy / Speculation / Re: They/he/she/it is doing it again on: April 18, 2013, 02:40:38 AM
I think more innovative tools provided by the exchanges would help against panic selling.

For example, how about an option to have buy orders that are re-placed automatically 10-20% below the current price every 20 minutes? Same for sell orders -- 20% above the current price, and re-placed every 20 mins.

Bitstamp's "instant order" is a similar process, but they just reposition your bid to the current price every 10 mins.

It would need some tweaking, but they might be popular options, and would help to smooth very fast fluctuations.

.... Actually, I'm going to build this now.

I think any sort of regulation is as the saying I hate goes, "A slipper slope".  The free market needs to be free.  To control selling more than is already done via cashing out is to accept Bitcoin is just a speculation vehicle.  A currency should be able to stand without such vices.  I think we all love Bitcoin but, it needs to keep passing the litmus test.  If it is an experiment meant to work it will in time.

He's not proposing regulation.  In fact, he's proposing a market solution.  For the record, I'm also anti-regulation.  Everyone should always be free to do whatever the hell they want with their coins, for now and forevermore.
53  Economy / Speculation / Re: They/he/she/it is doing it again on: April 18, 2013, 02:24:23 AM
Will the crash affect my ability to purchase things online with my bitcoins?

It will if your favorite Bitcoin-using merchants aren't using some instant exchange and gets caught holding a bag of Bitcoins worth half of what they were when people bought their merchandise with them for the second time in a month.  If those merchants are good businessmen and not a Bitcoin fanatics, it could definitely effect your ability to purchase things online (i.e., they'll just drop it).  We've got a lot of new merchants accepting Bitcoin now.
54  Economy / Speculation / Re: They/he/she/it is doing it again on: April 18, 2013, 01:52:32 AM
I don't think the price is being pumped up again. It's just currently returning back to where it should be in the $90-$110 range. $50 was an overshoot to the downside induced by widespread fear and panic. I think we will start to begin to stabilize around $100 starting next week.

I hope you're right and I'm wrong.
55  Economy / Speculation / Re: They/he/she/it is doing it again on: April 18, 2013, 01:50:53 AM
You want the same thing as the supposed manipulator, and Gox has supposedly been working on the solution to the DDoS, if they implement what they said they would they should be much harder to DDoS. 

I want the same thing as the manipulator?  You mean I want the price to go up?  Well, here's the thing: that's not what the manipulator wants.  He/she only wants the price to go up X amount.  Then it's kill the coin, buy up, sell slowly toward the top, rinse, repeat.

One of the main reasons I want the price to go up is so Bitcoin can't be manipulated by every 2-bit millionaire.
56  Economy / Speculation / Re: They/he/she/it is doing it again on: April 18, 2013, 01:46:09 AM
I have a better idea: Sell to strength. For people who are worried about seeing their portfolio become HUGE and then collapsing, just sell to strength. Make a rule you are comfortable with - perhaps every time price doubles, sell 5-10% of your coins (an amount you determine, depending on the size of your portfolio.) You increase your standard of living, and you contribute to a more stable price rise. And, if it does crash, you have already cashed out many, many times more than your initial investment, so no worries.


This I absolutely agree with.  No arguments here.  This is probably the best approach to take.
57  Economy / Speculation / They/he/she/it is doing it again on: April 18, 2013, 01:29:31 AM
OK, so it looks like whoever pumped up the currency the first time is going at it again.  This is not a normal recovery.  And I fear Bitcoin's hopes of being a currency may not survive a third major crash.  So here's the thing: we can stop this thing.  In the meantime, buy/trade/sell, I don't care.  But when the ddos'ing starts again soon, and this big entity dumps a whole sack of coins and brings down the price by $40, please, please don't panic sell.  If we don't panic, it will recover and then keep going up.  

The fundamentals are there, merchants right and left are picking up Bitcoin -- it's all over the fuckin' evening news and The Colbert Report, for God's sake.  A $1000 coin is in sight.  But we'll never get there if we let this entity keep dropping our holdings like flies each time he ddos'es the exchanges and dumps a couple of thousand coins.

Just stay calm when the time comes.  You'll know it when you see it this time.  Until then, day trade till your heart's content!

PS: You don't have to run go sell your Bitcoins now, you'll know when it happens next.  All the exchanges will be offline or hard to reach.  My guess is that they'll probably get it up to at least $200 before they try again.  bitashley's approach (see below) is probably the smartest strategy against this.
58  Bitcoin / Bitcoin Discussion / Re: What do you plan on purchasing in the future with your bitcoin? on: April 17, 2013, 09:51:42 PM
First Bitcoin has to be globally adopted.

Actually, anyone interested in Bitcoins and travel should know that 9flats.com, airbnb's primary competitor in Europe, accepts Bitcoins.  So you can go book a summer apartment in Paris in exchange for Bitcoins:

http://www.9flats.com/
59  Alternate cryptocurrencies / Altcoin Discussion / Re: The ultra-stable price-validated adaptive cryptocurrency: qbit³ on: April 17, 2013, 09:09:29 PM
Sorry, turns out the bitcoin based file host i used didnt like people using it for free, lets try again...

Why pdf?  Can you please post a text file, or a LaTex file if formatting is an issue?  A lot of us are very wary of scripted malware in pdfs taking our Bitcoins.
60  Alternate cryptocurrencies / Altcoin Discussion / Re: Anyone else having trouble with Bitstamp Ripple transactions? on: April 17, 2013, 08:41:23 PM
Just FYI to all Ripple users, a Bitstamp representative has just confirmed that there are currently some "problems with the Ripple network".  It's not clear if he's referring to the entire Ripple network, or just their connection to it.  In any case, you may want to hold off on Ripple transfers through Bitstamp for the time being.
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!