Bitcoin Forum
November 06, 2024, 09:05:14 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: [RELEASE] Portable Bitcoin Client (for USB use!)  (Read 9135 times)
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1036



View Profile WWW
July 14, 2011, 11:35:30 PM
Last edit: July 14, 2011, 11:48:32 PM by deepceleron
 #21

This would be a more helpful and trustworthy thread if it was just instructions and no binary, i.e.:

How to make a portable bitcoin:
1. Copy bitcoin.exe to USB drive \bitcoin
2. copy bitcoin user directory contents to USB drive \bitcoin\data
3. run bitcoin.exe -datadir=.\data, or save this command as a bat file
4. don't lose USB drive

A real "creator of the portable bitcoin client" would just release a diff against the source code that changes the default directory. A binary would only be trustworthy if several people compile and get MD5 identical code, and the binary is hosted at a versioning URL unchangeable by the author.

Of course, there are already instructions, which should make you question the binary more: http://forum.bitcoin.org/?topic=809.0
Aresdos (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0



View Profile
July 15, 2011, 09:10:23 AM
 #22

This would be a more helpful and trustworthy thread if it was just instructions and no binary, i.e.:

How to make a portable bitcoin:
1. Copy bitcoin.exe to USB drive \bitcoin
2. copy bitcoin user directory contents to USB drive \bitcoin\data
3. run bitcoin.exe -datadir=.\data, or save this command as a bat file
4. don't lose USB drive

A real "creator of the portable bitcoin client" would just release a diff against the source code that changes the default directory. A binary would only be trustworthy if several people compile and get MD5 identical code, and the binary is hosted at a versioning URL unchangeable by the author.

Of course, there are already instructions, which should make you question the binary more: http://forum.bitcoin.org/?topic=809.0

Lol, it almost looked like you accused me... I was about to find me a moderator, record what I do to make this, then rub it in some faces..  Cool
Either way, I'm slowly working on increasing the usability with each version and I doubt everyone wants to code the batch each time. My little kit really "babies" it so an idiot could use it, hehe. And pst.. I used the same instructions to base the binary, bro.. Silly little wisecrack xD
Ah, okay, I'm done trolling you...  Wink But seriously, I don't screw with your threads and people have already been scanning it, so what more do you want other than to make flame posts to merely raise your "post count"?  Shocked
Aresdos (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0



View Profile
July 15, 2011, 09:13:47 AM
 #23

Okay, now for the main attraction... I'm releasing PBC version 1.3!
I've created a Wallet Manager is open batch cause the guy above me is a *****, and yes I censored myself but you can count the stars and make a good guess!  Wink
The Wallet Manager is made to copy your bitcoin client between your PC and Portable Bitcoin Client, in case I'm not the only one that has multiple clients with the same wallet...
So enjoy, and I'll think about actually taking his advice and re-coding the original bitcoin client to save in a local data folder, but I'm much better playing with my batch for now.. xP
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1036



View Profile WWW
July 15, 2011, 10:19:01 AM
Last edit: July 15, 2011, 10:46:05 AM by deepceleron
 #24

I just don't see the need to roll bitcoin into an obfuscated exe to run a command line option, there aren't too many people using bitcoin that can't do that, and I am apprehensive that you think this is novel.

If you are going to be copying wallets around for people (which might actually be of utility if done right, but again, you haven't spelled out that you understand why you are doing it), it is very important you understand the 100 key problem. I'll just cut and paste here for reference:

The wallet contains a pool of queued keys. By default there are 100 keys in the key pool. The size of the pool is configurable using the "-keypool" command line argument. When you need an address for whatever reason (send, “new address”, generation, etc.), the key is not actually generated freshly, but taken from this pool. A brand new address is generated to fill the pool back to 100. So when a backup is first created, it has all of your old keys plus 100 unused keys. After sending a transaction, it has 99 unused keys. After a total of 100 new-key actions, you will start using keys that are not in your backup. Since the backup does not have the private keys necessary for authorizing spends of these coins, restoring from the old backup will cause you to lose Bitcoins.

To summarize, as long as less than 100 addresses are ever used per wallet (and you know this wasn't overridden at the command line because your program can actually understand the berkley db format used in wallet.dat), you can have multiple copies of the wallet on several client instances, and all of them can send and receive bitcoins. However you are opening a pandora's box, because even with deep inspection of wallet contents, you can not avoid the potential for monetary loss by users when arbitrarily copying around wallets.

I will spell out the chronology of how you directly can cause and enable losses (by the way, this somewhat applies to wallet backups too):

1: I have a wallet with 200 unique addresses and corresponding private keys for re-sending those addresses' funds,
2: I let your utility copy my wallet to a USB stick,
3: I run the local computer version of bitcoin, press "generate new address", and receive bitcoins at it,
4: I run the portable usb version of bitcoin, press "generate new address", and receive bitcoins at it,
5: Now the seperate wallets are the only ones that can send their respective bitcoins,
6: Your program copies one of these wallets over the other one, and I lose the ability to send all the bitcoins that were at that address.

I hope your idea for a "wallet manager" isn't a copy command in a batch file that you ran through your BAT2EXE... I doubt it can understand the -datadir option I'm already using to frustrate trojans that are just as naïve.
Aresdos (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0



View Profile
July 15, 2011, 05:17:49 PM
 #25

I hope your idea for a "wallet manager" isn't a copy command in a batch file that you ran through your BAT2EXE... I doubt it can understand the -datadir option I'm already using to frustrate trojans that are just as naïve.
I was offended at your post opposing me again, but I saw the end and it was too primitively basic.
You see, to use the wallet manager, it helps to run it on your computer and keep a backup on the USB drive... Like a wallet!
I will, however, put a slight disclaimer in there though. thank you.
As for the quote above? That made me laugh... You are so naive that you entirely missed this:
Quote
I've created a Wallet Manager which is open batch cause the guy above me is a *****, and yes I censored myself but you can count the stars and make a good guess! Wink
(Side Note: And yeah, I bolded the part that you so easily missed. It was specifically to shut you up, and the fact that actual wallet management and movement should easily be open source because even I wouldn't trust a closed-source wallet manager. The reason the client is, is because it's easier to tell the icon apart from a simple batch file. If I could give a batch file an icon without needing another file, I would.)
And basically meaning that the wallet manager is "Wallet Manager.bat", a batch! But you wouldn't know shit about my program as you haven't even loaded the download site and looked at the posted list of the zip file. Before you accuse, open a damn sandbox and test this thing like any respective forum member, even try VMware or something like it. And yeah, THAT is how you properly test a suspicious file. I've taken my time studying how to actually test possible infected items, so I can know what I talk about before I bash something. But you just point the finger and are no better than the people at /b/.
Tritonio
Hero Member
*****
Offline Offline

Activity: 640
Merit: 500


Vanity of vanities; all is vanity...


View Profile
September 28, 2011, 12:25:35 AM
 #26

There is also this portable wrapper which I made: https://bitcointalk.org/index.php?topic=944
Transisto
Donator
Legendary
*
Offline Offline

Activity: 1731
Merit: 1008



View Profile WWW
September 29, 2011, 02:34:07 AM
 #27

There is also this portable wrapper which I made: https://bitcointalk.org/index.php?topic=944
Awesome
Yeats
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
September 29, 2011, 04:41:12 AM
 #28

Thanks!   Grin
And yeah, I just updated it to 1.2 cause I got tired of the slow startup speeds... I made it more than twice as fast.. *happy face*
And hmm, win-rar? Sounds like it's worth looking into... And glad to see great minds think alike haha ^^

First person I know that paid for winrar. Lol
Aresdos (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0



View Profile
September 09, 2012, 06:36:33 AM
 #29

Back into Bitcoin again and decided to post my most recent change to the Bitcoin Portable Client for USB.
Though honestly, I don't use this one much anymore because I just created myself a Web App to access my wallet at Blockchain.info haha..  Cheesy

Edit: Lmao, why would I pay for winrar? I got the portable version for free, just because I can.. Though I prefer 7-zip really..
legolouman
Hero Member
*****
Offline Offline

Activity: 504
Merit: 504


Decent Programmer to boot!


View Profile
September 09, 2012, 06:44:41 AM
 #30

Either post the source or PM it to me or this is getting locked.

Lol, there's your PM... I don't understand how a group of people can see two source codes and still think it's fake?
Simple, the above source code + batch compiler = program.  Cheesy

People here are wary of programs, especially ones that come from untrusted/new people. Normally any code is posted in a github.

If you love me, you'd give me a Satoshi!
BTC - 1MSzGKh5znbrcEF2qTrtrWBm4ydH5eT49f
LTC - LYeJrmYQQvt6gRQxrDz66XTwtkdodx9udz
Aresdos (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0



View Profile
September 13, 2012, 02:06:02 PM
 #31

People here are wary of programs, especially ones that come from untrusted/new people. Normally any code is posted in a github.

Understandable, but I don't consider over a year of membership being "new," granted I haven't been on in a while.. But when I basically already showed the code and method I was using, its hard to understand why people will fuss about it. I'm not using an actual compiler so I can't just github it. I'm using a program to convert batch into a binary, however I recently started a C++ class in college so I'm very much considering making a binary.. It won't be as invisible as this one, but I'll do the job.. In fact, I think I'll start right now just to time myself on it.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!