Bitcoin Forum
May 06, 2024, 09:15:27 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 »
181  Bitcoin / Bitcoin Wallet for Android / Re: "SeedPeers" class on: September 22, 2013, 04:15:57 PM
but do you have email of any bitcoinj developer? Bitconj site (http://www.bitcoinj.org/) is down and I still didn't get aswer here: https://groups.google.com/forum/#!forum/bitcoinj Sad

Where did you get that site URL from? Bitcoinj is hosted at http://code.google.com/p/bitcoinj/

In the links section, you'll see a discussion group.
182  Bitcoin / Bitcoin Wallet for Android / Re: "SeedPeers" class on: September 22, 2013, 04:03:36 PM
I've never used the SeedPeers class. I'd check manually if these IP addresses are still online. As I wrote earlier, perhaps the list of peers needs to be updated in bitcoinj.
183  Bitcoin / Hardware wallets / Re: Bitcoin Wallet for Android on: September 22, 2013, 03:57:10 PM
Thanks, Mike.

Yes, Bitcoin Wallet is aimed mainly at non-technical people. Concepts like "synching" does not make any sense to them, so I want to remove them from the UI entirely.

If you are a power user and want full control, I suggest building your own version. It's open source.
184  Bitcoin / Bitcoin Wallet for Android / Re: Offline Transactions and Bluetooth! on: September 18, 2013, 04:35:54 PM
I'd love to see someone broadcasting the blockchain on a wavelength that goes around the globe. Devices with a radio might be able to receive and decode those, even in remote areas without cell coverage. Well, just dreaming...
185  Bitcoin / Bitcoin Wallet for Android / Re: Offline Transactions and Bluetooth! on: September 18, 2013, 09:18:07 AM
Could this be used as cold storage with an old smartphone?

1.) Send some coins to the wallet
2.) remove sim and keep it in airplane mode forever (change wlan pw on router)
3.) Do offline txs as needed

In theory, this should be possible.

In practise, the current implementation is not designed for 100% robustness. If the Bluetooth submission fails for some reason, you'll need to connect to regular Bitcoin peers to get the tx through.

Actually I would be more interested in the QR Code variant as I expect it to be still a little safer.

The way I understand you the problem is that the offline transaction can not be recreated. So what about manually taking a screenshot of the QR code to be able to retry the broadcast?

One could even create a stripped down, hardened rom (tinfoilrom).


The Bluetooth channel will currently not be set up again.

However, you're right that you could also use the "transaction QR code" feature to submit a transaction. You can also use NFC. The problem with that is that QR codes are limited in size, so some transactions will not fit.

If this turns out to be a real problem, we can work on the bitcoinj default coin selector to not build transactions exceeding a given byte size.

Why don't you just try it out? I'd be interested in real feedback.
186  Bitcoin / Bitcoin Wallet for Android / Re: Offline Transactions and Bluetooth! on: September 17, 2013, 09:47:30 PM
Could this be used as cold storage with an old smartphone?

1.) Send some coins to the wallet
2.) remove sim and keep it in airplane mode forever (change wlan pw on router)
3.) Do offline txs as needed

In theory, this should be possible.

In practise, the current implementation is not designed for 100% robustness. If the Bluetooth submission fails for some reason, you'll need to connect to regular Bitcoin peers to get the tx through.
187  Bitcoin / Bitcoin Wallet for Android / Re: "SeedPeers" class on: September 10, 2013, 06:48:22 AM
First of all, Bitcoin Wallet does not use WalletAppKit. So your first change should not have any effect.

Second, did you build Bitcoin Wallet for testnet or mainnet? I assume SeedPeers only has mainnet peers, and who knows if they're still online. I'm not sure if they've ever been updated.
First, I have changed "DnsDiscovery" to "SeedPeers" everywhere. Just in case.
Second, yes, I'am using "mvn clean install -DskipTests" for bitcoinj and "mvn install -Prelease -DskipTests" for Bitcoin Wallet.
Third, do you mean, they just are idle? Damn it.

I assume SeedPeers only has mainnet peers. Whereas if you build the app from master, you are running on testnet.
188  Bitcoin / Bitcoin Wallet for Android / Re: Any plans for easy paper wallet support? on: September 10, 2013, 06:44:32 AM
The issue with paper wallets is you need to query the blockchain for finding the unspent outputs. Bitcoin Wallet (as a true SPV client) does not have a blockchain at hand. It would need to rely on external services.

If however someone would design an extended paper wallet format which includes the unspent outputs in the QR code, it would be possible to sweep that (only entirely, not partially).
189  Bitcoin / Bitcoin Wallet for Android / Re: "SeedPeers" class on: September 08, 2013, 09:56:39 PM
First of all, Bitcoin Wallet does not use WalletAppKit. So your first change should not have any effect.

Second, did you build Bitcoin Wallet for testnet or mainnet? I assume SeedPeers only has mainnet peers, and who knows if they're still online. I'm not sure if they've ever been updated.
190  Bitcoin / Bitcoin Wallet for Android / Re: Please give us back the option to disable Sync on Power on: September 08, 2013, 11:29:38 AM
Well, the report feature can report up to 7 days worth of logs. So if you know the exact date it might be worth to report nevertheless.
191  Bitcoin / Bitcoin Wallet for Android / Re: Where is the Bitcoin data stored in the Android phone? on: September 06, 2013, 02:56:24 PM
Where is the Bitcoin data stored in the Android phone?

All locations of files are documented in this readme:

http://bitcoin-wallet.googlecode.com/git/wallet/README
192  Bitcoin / Bitcoin Wallet for Android / Re: Please give us back the option to disable Sync on Power on: August 28, 2013, 04:04:25 PM
Quote from: Mike Hearn link=topic=260719.msg2997603#msg2997603 603#msg2997603 date=1377334279
OK, I can see that 5 of 300 is getting into the zone where one might care, although it's still a small amount. Android does let you restrict data on mobile only, at least the version I have does. On the app specific data usage screen there is a check box at the bottom which says "restrict background usage on mobile networks". Perhaps it's a jellybean feature though? Not sure.

I turned off mobile data today for the app and it used 53% of my battery.

Would you like to send me your logs so I can look up exactly what consumed your battery? Use Options > Settings > Report issue. Please refer to this post in the description.
193  Bitcoin / Bitcoin Wallet for Android / Re: Offline Transactions and Bluetooth! on: August 27, 2013, 09:27:50 PM
It does not yet send a chain of transactions, if that's what you're aiming for. This is planned, but bitcoinj does not offer the API yet.

So yes, the second merchant will throw away your transaction if it builds on your first transaction and he doesn't know about it. It will all sort out later when parties get online and (re-)broadcast their pending transactions.

However, in reality your wallet should be fragmented enough that pending transactions don't build on each other.
194  Bitcoin / Bitcoin Wallet for Android / Re: Offline Transactions and Bluetooth! on: August 27, 2013, 01:15:30 PM
Yes, Galaxy S2 :-/

If anyone has got a spare S2 device (which hopefully got replaced by a shiny Nexus phone), it would make a great donation! These TouchWiz devices have a lot of device dependent quirks unfortunately... )-:
195  Bitcoin / Bitcoin Wallet for Android / Re: Offline Transactions and Bluetooth! on: August 26, 2013, 09:01:10 PM
1. After sending, the mobile said that bluetooth transmission was rejected, although successful.

Sounds like a  bug. Is it reproducable?

Quote
2. Does the 'scan QR' button activate the camera in a different way? Seemed to have no autofocus, while "Barcode Scanner" activates it.

All app-provided buttons use the internal barcode scanner. What phone do you use? There is a known issue with the Galaxy S2 that autofocus does not work but I don't know why. I don't have non-nexus phones to test with.
196  Bitcoin / Bitcoin Wallet for Android / Re: please restrict "changeback" amount on: August 22, 2013, 09:08:22 PM
One more thought: The new offline transaction feature would have helped in this case - right? The only caveat is that currently, the feature does not transmit chains of transactions - only the transaction itself.
197  Bitcoin / Bitcoin Wallet for Android / Re: please restrict "changeback" amount on: August 22, 2013, 08:46:26 PM
If you send a transaction and you don't have internet access at the time (or it's flaky etc) then the transaction won't be broadcast. You won't be allowed to extend an unbroadcast transaction chain (you won't be allowed to spend the change). However if you then regain internet access, bitcoinj will announce the transactions to all newly connected peers at once and thus won't get a chance to see them propagate.

Andreas, does that sound about right?

Although I only saw the result and not his actions, that sounds right. At least I had that happening to my wallet as well. It was never much of a problem, because my wallet is always fragmented enough so I can easily find another output to spend for my beer. But I agree it can be a problem for big transactions.

Quote
If correct then it should be an easy fix. It means changing how pending transactions are announced to new peers such that rather than announcing them as soon as a peer is connected, all pending transactions in the wallet are broadcast along the standard codepath (using PeerGroup.broadcastTransaction), to allow observation of the propagation.

Bitcoinj would trigger this internally, right?

Quote
It'd be even better of course if the P2P protocol informed you if a tx was rejected. Then we could simply this "seen by X peers" tracking code significantly. I might submit a pullreq to do that at some point.

Please do. The sooner we have this the better. We realized already a year ago how much this would simplify the interaction. An ack message would also be useful, by the way.
198  Bitcoin / Bitcoin Wallet for Android / Re: Offline Transactions and Bluetooth! on: August 22, 2013, 12:35:17 PM
I sent you a screenshot of the clipping issue.

Thanks, fixed.
199  Bitcoin / Bitcoin Wallet for Android / Re: Offline Transactions and Bluetooth! on: August 21, 2013, 11:40:45 PM
BTW I noticed that the text next to the qrcode clips on my N4 when bt is active. The labels can't quite fit in the available space.

A screenshot would help.
200  Bitcoin / Bitcoin Wallet for Android / Re: Offline Transactions and Bluetooth! on: August 21, 2013, 11:36:42 PM
Firstly, you can easily verify the signatures on a payment request offline.

Ok, let's see how it works out. It is just from my experience with web browsers which do lazy-load the missing intermediate parts in certificate chains. But anyway, the significance of a X.509 certificate is negliable, as users have no chance of getting their trust store right.

Quote
Now the interesting question is what to do about encryption. As described the protocol is unauthenticated and unencrypted (that's how you skip the pairing process). If the payment request isn't signed, that means it can be MITMd. What might make sense is if the QRcode/bitcoin URI not only included a MAC address but also a public key.

I think the right way is skip the intermediate step and send a payment request right away. For NFC, this is pretty straightforward. Put the BIP70 formatted request onto the tag with the appropriate BIP71 MIME type. For QR, I'd suggest Base43-encode the request and put it into a bitcoin: uri (perhaps gzip compress it first) - just like it is done with transactions already. We can skip the signature because we're meeting the person f2f already, so the QR should stay small enough to be scanned easily.

Edit: I just thought that PaymentDetails/payment_url should be a list 0..x of urls. How should the merchant know the capabilities of the customer? He should provide all alternatives he can handle.
Edit 2: On #bitcoin-dev, the consensus seems to be dedicated fields for each medium of communication rather than a list of generic uris.
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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!