Bitcoin Forum
May 04, 2024, 08:04:07 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 [265] 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 »
5281  Bitcoin / Bitcoin Discussion / Re: was it Tom Williams from mybitcoin that hacked MT gox accounts in June ? on: August 08, 2011, 10:53:47 AM
Yes

I heard he eats babies too
5282  Bitcoin / Bitcoin Discussion / Re: Mental Bitcoin Wallet: I have real bitcoins stored in my head. on: August 08, 2011, 10:26:17 AM
So let me get this straight. You can create a private key with a passphrase import it into a wallet. Transfer funds to it and then delete the wallet.dat and recover it by repeating the process?
You don't have to import the key to transfer funds to it, and should not do it
5283  Bitcoin / Development & Technical Discussion / Re: Pywallet: manage your wallet on: August 08, 2011, 02:59:12 AM
Another new feature: importing transactions
Now, offline transactions are far more simple than before (no more command lines or unofficial client)
5284  Bitcoin / Development & Technical Discussion / Easy offline transactions with standard client on: August 08, 2011, 02:21:03 AM
It was something I wanted for me and I believe it can be useful for others
I just tested it and it works as expected

Here's the situation:
  • Computer A, with:
    • wallet located at /home/a/.bitcoin/wallet.dat
    • pywallet downloaded somewhere and running using './pywallet.py --web'

  • Computer B, with:
    • wallet located at c:\bitcoin\b\wallet.dat
    • pywallet downloaded somewhere and running using './pywallet.py --web'


A is offline and makes a transaction, B will broadcast it


Instructions:

Short method, exporting all tx's:
Backup your wallets
Close all Bitcoin instances

Everything has to be done on A until I said it's on B
  • Send your transaction
  • Go to http://localhost:8989
    Under the Dump transactions section:
    Type '/home/a/.bitcoin' and 'wallet.dat' in wallet directory and wallet filename
    Type the full path of the output file, e.g. on a USB drive
    Then click on the Dump button

From now, everything is made on B
  • Go to http://localhost:8989
    Under 'Import a transaction into your wallet' section:
    Write 'c:\bitcoin\b' and 'wallet.dat' in wallet directory and wallet filename
    Type 'file' in Txk
    And the path of the output file in Txv
    Click the Import button
  • This should return: (if not, let me know)
    Quote
    txk: file
    x transactions imported in c:\bitcoin\b\wallet.dat



Long method, exporting only one tx:
Backup your wallets
Close all Bitcoin instances

Everything has to be done on A until I said it's on B
  • Send your transaction: if you use bitcoind, you already have your txid, if you use GUI, remember the amount you sent
  • Go to http://localhost:8989
    Under the Dump section, enter '/home/a/.bitcoin' and 'wallet.dat' in wallet directory and wallet filename
    Then click on the Dump button
  • Using Ctrl-F, find either your txid or your amount (beware, there may be more than one transaction with that amount)
    Quote
           {
                "tx_id": "ae788fb76a935c5f3127bf5c7d860be4f90bae89782235ab55baf559a917404e",
                "tx_k": "0274784e4017a959f5ba55ab35227889ae0bf9e40b867d5cbf27315f5c936ab78f78ae",
                "tx_v": "0100000001d9f102cc434df41ef7[...]370656e74000001000000aa3a3f4e0100",
                "txin": [
                    {
                        ...
                    }
                ],
                "txout": [
                    {
                        ...
                    },
                    {
                        "scriptPubKey": "76a91425e8b5ed100729c5027a49643219e30a67356a3e88ac",
                        "value": 10.0
                    }
                ]
            },
  • Copy tx_k and tx_v values on a USB drive

From now, everything is made on B
  • Open the file with tx_k and tx_v
  • Go to http://localhost:8989
    Under 'Import a transaction into your wallet' section:
    Write 'c:\bitcoin\b' and 'wallet.dat' in wallet directory and wallet filename
    Paste tx_k in Txk
    And tx_v in Txv
    Click the Import button
  • This should return: (if not, let me know)
    Quote
    txk: tx_k
    1 transaction imported in c:\bitcoin\b\wallet.dat


Now, run bitcoin on B and it will broadcast the transaction made by A


Feel free to post comments/suggestions/etc
5285  Bitcoin / Bitcoin Discussion / Re: just posted on mybitcoin.com on: August 08, 2011, 12:47:06 AM
If the guy is honest, yes





So, no
5286  Bitcoin / Bitcoin Discussion / Re: Mental Bitcoin Wallet: I have real bitcoins stored in my head. on: August 08, 2011, 12:15:48 AM
But it's not just random jibberish with good variety of low and high caps, numbers, symbols etc, people are gonna use words and phrases that tend to make sense
Yep
I will force users to use some special characters
5287  Bitcoin / Bitcoin Discussion / Re: Mental Bitcoin Wallet: I have real bitcoins stored in my head. on: August 08, 2011, 12:06:13 AM
Are people really gonna be imaginative enough with the phrases for the risk of collision to be negligible?
My program refuses passphrases below 40 characters or 7 words, casascius should do that too...
5288  Bitcoin / Bitcoin Discussion / Re: Deterministic Paper Wallet Generator & Bitcoin Utility for Windows (SOURCE) on: August 08, 2011, 12:03:13 AM
What a pain... I'm glad it finally works
I'll add these instructions for other Win7 users, thanks!

would it be legal to package it all up into an archive and set up all the scripts?
I think so, good idea
5289  Bitcoin / Mining / Re: STRIKE! STRIKE! STRIKE! on: August 07, 2011, 11:04:16 PM


I have a master's degree in applied economics...


That shows you know nothing about economics.  I don't mean to insult but ask me to prove it and I will.
I like where this thread is going Smiley
5290  Local / Discussions générales et utilisation du Bitcoin / Re: Je suis nouveau avec Bitcoin on: August 07, 2011, 09:48:24 PM
Je suis nouveau avec Bitcoin, cela fait plus de 24 heures que Bictoin tourne sur ma machine, en ce moment il affiche 21 connexions et 20362 blocks et je n’ai toujours rien encore reçu. C’est normal ?
En dehors du fait qu'il y a actuellement 140000 blocs et que donc tu dois encore attendre un bon moment et avoir tout téléchargé pour être à jour, qu'aurais-tu voulu recevoir?
Quelqu'un t'a-t-il déjà payé?
Je demande ça parce que comme ta phrase est tournée on dira que tu t'attends à être payé juste pour avoir lancé le programme

Autre chose, quand je l’ouvre, j’ai un message d’alerte:

“  warning :, please check that your computer’s date and time are correct. If your clock is wong Bitcoin will not work properly”.
Bizarre, c'est le bon fuseau horaire?
5291  Bitcoin / Bitcoin Discussion / Re: Any Bitcoiners want to get in touch on Google plus? on: August 07, 2011, 08:56:33 PM
https://plus.google.com/113554252911136572838
5292  Bitcoin / Bitcoin Technical Support / Re: Last price from Mt Gox json on: August 07, 2011, 08:41:51 PM
Here's what I usually use
Code:
<?php
$a
=ouvrirpage("https://mtgox.com/code/data/ticker.php");
$res=json_decode($atrue);
echo 
$res['ticker']['last'];


function 
ouvrirpage($site){
$ch curl_init($site);
curl_setopt($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1");
curl_setopt($chCURLOPT_RETURNTRANSFER1);
$res curl_exec($ch);
curl_close($ch);
return $res;
}
?>

Maybe MtGox needs an useragent header
5293  Bitcoin / Development & Technical Discussion / Re: Why does "validateaddress" return TRUE for bitcoin addys in testnet? on: August 07, 2011, 07:23:50 PM
On testnet, mainnet addresses are basically "aliases" of their equivalent testnet addresses. Sending to 1KNHQ7513gVwJv5fG4ucsPgkdb5Ub9UzR6 is exactly the same as sending to mytEhA9yrhwC62ZGydszhJu5VagBZj2z7t. The only difference between these two addresses is the version and checksum: the public key hash is the same.

If you copy your wallet.dat from mainnet to testnet, your receiving addresses will all still be there: they will just have been changed to their "testnet" aliases. The associated mainnet versions will still work for transactions on testnet.

On testnet, there are actually 111 valid ways of expressing of every address. These are all the same:
1KNHQ7513gVwJv5fG4ucsPgkdb5Ub9UzR6
ihtPDNHkrxp8MDkHVEwMWxYG6LRMEvGhC
283VNKfaU3RgwnMqJuaFqeEKtbbN1Q5KFY
2XP6MRxsBDtZmDVvLKuaKmW7X6rJiSaZ9Z
2vihLYG9tQMSaee1MkEtotmu9c7FSBxg9a
3L4JKeZSbapKQ5n6PAaDJ23gn7NCD2x9V1
...

I understand that, I don't understand why this behavior is useful or desirable in any way. Couldn't we just say when running i testnet mode you need to use the 111 tagged version of the address. The others will generate an error. It seems to me it would prevent some mistakes sending testnet coins to limbo when we think we are sending mainnet coins.

The theymos' post, 3 posts above is rather clear
It's for when we'll use a new kind of addresses, e.g. when we'll use addresses version 2, it would be useful to send coins to old addresses...

Also, testnet coins sent to bitcoin address are easily retrievable, I made a guide about that
5294  Bitcoin / Development & Technical Discussion / Re: Base58 on: August 07, 2011, 07:11:01 PM

46736 = index('E') * 58^2 + index('t') * 58 + index('o') = 13*58*58 + 51*58 + 46

Hope that helps!
-Eto


so, "test" would be
(51 * 58 * 58 * 58) + (37 * 58 * 58) + (50 * 58) + (51) which would be 10078131. Is this correct?
.
Yes
5295  Bitcoin / Development & Technical Discussion / Re: Pywallet: manage your keys on: August 07, 2011, 07:10:08 PM
As I just made a web interface I think it can now be much more useful, mainly for not-too-savvy people, that's why I post here
Here it is: https://github.com/jackjack-jj/pywallet
Download it, run './pywallet.py --web' then open 'http://localhost:8989' in your brower

If you want to reach not-too-savvy people I think a guide needs to be written how to get it up and running on Mac since bsddb is broken in (at least) Snow Leopard (I believe Leopard as well, haven't tried Lion).

Dumping related commands from my bash history, but I had Macports installed since before. The following should be tested by someone who hasn't installed Macports or pywallet, on a clean install. It's just from memory/history.

Mac pywallet installation guide:


Code:
sudo port install python27 python_select
sudo python_select python27
sudo port select --set python python27
sudo port install py-bsddb
sudo port install py27-twisted

./pywallet.py



(yeah python_select might be overkill if the user is never going to install other python versions)
Thanks!
I forgot I have a Snow Leopard VM...... I'll test that there
5296  Bitcoin / Bitcoin Technical Support / Re: [GUIDE] Delete your 0/unconfirmed transactions in 30 seconds on: August 07, 2011, 07:03:20 PM
Maybe add a small "backup your wallet just in case" message ?
It was stupid to forget that, thanks

Since your utility is for dealing with wallets would it be hard to add a backup and encrypt option?
I think it's better that the user makes it himself, because each of us have a different way to backup. But if many people ask so, I can add it
I absolutely don't know how Satochi's client encrypts wallet, and I prefer waiting the official release before looking into that

Is this open source?  If so were can I look at the code?
As Bitlotto told you, it's in Python and open source: https://github.com/jackjack-jj/pywallet/blob/master/pywallet.py
Commits: https://github.com/jackjack-jj/pywallet/commits/master
Pywallet thread: https://bitcointalk.org/index.php?topic=34028.0

P.S. For some reason this post says red flag to me, but I'm paranoid so it's probably nothing.
Better safe than sorry Wink
5297  Bitcoin / Bitcoin Technical Support / [GUIDE] Delete your 0/unconfirmed transactions in 30 seconds on: August 07, 2011, 05:27:41 PM
Ultimate way to delete your forever unconfirmed transactions


  • Backup your wallet just in case
  • Download Pywallet
  • Run './pywallet.py --web'
  • Go to http://localhost:8989 in your browser
  • Fill the Delete form like this:

    • Wallet Directory: /your/wallet/directory
    • Wallet Filename: yourwalletfilename
    • Key: all
    • Type: leave 'Transaction'

  • Click the Delete button
  • Run 'bitcoin -rescan'
  • Done, no more unconfirmed tx's
5298  Bitcoin / Development & Technical Discussion / Re: Pywallet: manage your keys on: August 07, 2011, 05:07:31 PM
New awesome feature: you can now delete addresses and tx's from your wallet!

So:
 no more headaches because of 0/unconfirmed transactions: find it, delete it
 easier wallet management: YOU chose exactly which addresses you want in which wallet
5299  Bitcoin / Bitcoin Discussion / Re: Mental Bitcoin Wallet: I have real bitcoins stored in my head. on: August 07, 2011, 03:41:57 AM
Only on Windows
*nix users, look at pp2k.py http://github.com/jackjack-jj/pp2k
5300  Bitcoin / Development & Technical Discussion / Re: Transaction format on: August 07, 2011, 02:12:34 AM
Thanks!
Pages: « 1 ... 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 [265] 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!