Pages:
Author

Topic: [ANN] BitcoinSpinner - page 2. (Read 45089 times)

Jan
legendary
Activity: 1043
Merit: 1002
May 29, 2013, 02:51:58 PM
It would be really nice to be able to change the unit to mBTC on BitcoinSpinner. I cant see that option currently.

Small payments are troublesome in BTC. Sometimes I put too many decimal places

I am right now working full time on the next generation of BitcoinSpinner, lit will be a full rewrite. Allowing the user to specify mBTC instead of BTC will be included along with an awesome set of new features.
Jan
legendary
Activity: 1043
Merit: 1002
May 29, 2013, 02:48:04 PM
Sent a transaction at 8:44. Still listed as incomplete in BticoinSpinner's transaction history but *does not* appear in the blockchain at all.

I missed out on a group buy because of this and now have coins presumably heading somewhere where they will no longer do me any good. Not happy.

http://blockchain.info/address/13qnEgPTxJW6mm88dLpnHXZyryN5EXBciq

The transaction you sent has the following hash 6b92ba8967f1a8794b30acc30e8dc13848e2cab70cb919d29c15631e184f0f3d and is being rejected by the network.

The problem seems to be that that it uses input 185 from this transaction 5826ac8c46bd42de7d9a80b0168bc022b483b2c14a099f28e1c6ca1adfd4f445 which is a coinbase transaction with 55 confirmations. The network will reject your transaction until the coinbase transaction has matured, which happens after 100 confirmations.
 
The root problem is that BitcoinSpinner does not regard coinbase inputs as unspendable until they have matured. This is clearly a bug, and something I'll have to look into.

After 45 additional blocks your transaction will no longer be rejected, and the next re-broadcast attempt after that will successfully push it into the network.
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
May 29, 2013, 02:06:44 PM
Sent a transaction at 8:44. Still listed as incomplete in BticoinSpinner's transaction history but *does not* appear in the blockchain at all.

I missed out on a group buy because of this and now have coins presumably heading somewhere where they will no longer do me any good. Not happy.

http://blockchain.info/address/13qnEgPTxJW6mm88dLpnHXZyryN5EXBciq

full member
Activity: 197
Merit: 100
May 26, 2013, 04:00:13 PM
It would be really nice to be able to change the unit to mBTC on BitcoinSpinner. I cant see that option currently.

Small payments are troublesome in BTC. Sometimes I put too many decimal places
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
May 15, 2013, 11:31:31 AM
Not sure if this is a bug in bitcoinspinner or just my cobbled-together setup. I mined some coins to the address and they showed up OK but when I click on "View transaction history", I get a null pointer error in AsynchronousApi.java, line 171. I wonder if because there *are* transactions but none of them can be displayed, I get this error. I'll try sending some coins there through regular transactions and see what that does.

s is null from map.get(item.hash);

There are two entries in map.table, 0 and 1 and both are null. I assume that this is related to transactions.array which is in a similar state.

I'll try and work out what's going on as I dig in deeper but I just thought this might be something of interest to you.

Edit: Sending more coins to the wallet did not help with the null pointer. So next up I have created a new wallet which received sent coins OK and next I will try to mine to it.

It's looking to my like BCCAPI isn't returning any info when the info for the mined transactions is being requested. But I'm not sure on that yet. More to discover...
As I have never mined I did not have the opportunity to test BitcoinSpinner with coinbase transactions. My gut feeling is that it chokes because the transaction has no outPoint (funding transaction). Can you send me a stack-trace and a transaction ID?

- Jan

Hi Jan, I posted over in the bccapi thread. It appears that there are a couple of issues at play. Foremost is that bccapi appears to not return information for transactions from mining (Though it does list them in the transaction history object it returns). This puts an immediate stop to any plans I had to add that in (in fact, it seems it's possible that if BCCAPI did return the information, Bitcoinspinner would display them correctly anyway). Secondly, Bitcoinspinner seems to not handle this missing information gracefully. However, this appears to be conditional somehow as I mine to my wallet on my phone all the time and it runs fine (apart from not displaying the mining transactions).
staff
Activity: 3304
Merit: 4115
May 15, 2013, 10:06:26 AM
This is a amazing project!
Jan
legendary
Activity: 1043
Merit: 1002
May 15, 2013, 07:00:09 AM
Not sure if this is a bug in bitcoinspinner or just my cobbled-together setup. I mined some coins to the address and they showed up OK but when I click on "View transaction history", I get a null pointer error in AsynchronousApi.java, line 171. I wonder if because there *are* transactions but none of them can be displayed, I get this error. I'll try sending some coins there through regular transactions and see what that does.

s is null from map.get(item.hash);

There are two entries in map.table, 0 and 1 and both are null. I assume that this is related to transactions.array which is in a similar state.

I'll try and work out what's going on as I dig in deeper but I just thought this might be something of interest to you.

Edit: Sending more coins to the wallet did not help with the null pointer. So next up I have created a new wallet which received sent coins OK and next I will try to mine to it.

It's looking to my like BCCAPI isn't returning any info when the info for the mined transactions is being requested. But I'm not sure on that yet. More to discover...
As I have never mined I did not have the opportunity to test BitcoinSpinner with coinbase transactions. My gut feeling is that it chokes because the transaction has no outPoint (funding transaction). Can you send me a stack-trace and a transaction ID?

- Jan
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
May 10, 2013, 07:45:53 PM
Not sure if this is a bug in bitcoinspinner or just my cobbled-together setup. I mined some coins to the address and they showed up OK but when I click on "View transaction history", I get a null pointer error in AsynchronousApi.java, line 171. I wonder if because there *are* transactions but none of them can be displayed, I get this error. I'll try sending some coins there through regular transactions and see what that does.

s is null from map.get(item.hash);

There are two entries in map.table, 0 and 1 and both are null. I assume that this is related to transactions.array which is in a similar state.

I'll try and work out what's going on as I dig in deeper but I just thought this might be something of interest to you.

Edit: Sending more coins to the wallet did not help with the null pointer. So next up I have created a new wallet which received sent coins OK and next I will try to mine to it.

It's looking to my like BCCAPI isn't returning any info when the info for the mined transactions is being requested. But I'm not sure on that yet. More to discover...
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
May 09, 2013, 09:55:11 PM
I managed to get it going by deleting the bccapi and bitthing folders from the workspace and copying the source files directly into the bitcoinspinner source folder. Obviously not optimal but it will do for now Cheesy. The only other thing was that some of the calls involving string and charset were apparently incompatible with the API level (something to do with needing api level 9). Setting the min and target sdk levels fixed that though and it's up and running. Now to mine some coins into that address and try and catch what's going on.
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
May 08, 2013, 10:34:29 PM
Yep, no classes in the APK. That'll do it. Have to figure out what the deal is there.

Nevermind, looks like they're in the classes.dex probably. So still head-scratching.
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
May 08, 2013, 09:27:04 AM
Hmm. Not sure why it is not working in Eclipse then. It was pretty much the same process.

Not too worried about the scanning for my purposes so the emulator is fine from that point-of-view. This appears to be some weird link-type error though. I'll have to look in the apk and see if the classes are present. I don't see any reason they wouldn't be though.
Jan
legendary
Activity: 1043
Merit: 1002
May 08, 2013, 01:36:04 AM
Still not having luck. It seems to start with

Quote
05-08 05:10:26.493: I/dalvikvm(1464): Failed resolving Lcom/miracleas/bitcoin_spinner/SendBitcoinsActivity; interface 119 'Lcom/bccapi/ng/async/AbstractCallbackHandler;'
05-08 05:10:26.493: W/dalvikvm(1464): Link of class 'Lcom/miracleas/bitcoin_spinner/SendBitcoinsActivity;' failed
05-08 05:10:26.493: E/dalvikvm(1464): Could not find class 'com.miracleas.bitcoin_spinner.SendBitcoinsActivity', referenced from method com.miracleas.bitcoin_spinner.Main.onCreate
05-08 05:10:26.493: W/dalvikvm(1464): VFY: unable to resolve const-class 416 (Lcom/miracleas/bitcoin_spinner/SendBitcoinsActivity;) in Lcom/miracleas/bitcoin_spinner/Main;
05-08 05:10:26.493: D/dalvikvm(1464): VFY: replacing opcode 0x1c at 0x0036
05-08 05:10:26.503: W/dalvikvm(1464): VFY: unable to resolve static field 9 (productionNetwork) in Lcom/bccapi/bitlib/model/NetworkParameters;
05-08 05:10:26.503: D/dalvikvm(1464): VFY: replacing opcode 0x62 at 0x005f
05-08 05:10:26.523: D/AndroidRuntime(1464): Shutting down VM
05-08 05:10:26.523: W/dalvikvm(1464): threadid=1: thread exiting with uncaught exception (group=0x40a71930)

Search turned up a few suggestions but none of them helped. I'm sure it's something simple though. A little help?

I use MOTODEV Studio with Android 2.1 SDK installed
I have checked out the code in .../source and have .../source/BitcoinSpinner, .../source/bccapi, .../source/bitlib

1) Create new workspace
2) File -> Import -> General -> Existing Projects into workspace -> Select root directory: .../source -> Finish (three projects selected)
3) In package explorer find: BitcoinSpinner -> src -> miracleas.bitcoin_spinner -> Main.java -> Right click -> Run As -> Android Application

You probably want to run it on a real device instead of an emulator, as it is faster and lets you use the camera for scanning barcodes.
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
May 08, 2013, 12:16:51 AM
Still not having luck. It seems to start with

Quote
05-08 05:10:26.493: I/dalvikvm(1464): Failed resolving Lcom/miracleas/bitcoin_spinner/SendBitcoinsActivity; interface 119 'Lcom/bccapi/ng/async/AbstractCallbackHandler;'
05-08 05:10:26.493: W/dalvikvm(1464): Link of class 'Lcom/miracleas/bitcoin_spinner/SendBitcoinsActivity;' failed
05-08 05:10:26.493: E/dalvikvm(1464): Could not find class 'com.miracleas.bitcoin_spinner.SendBitcoinsActivity', referenced from method com.miracleas.bitcoin_spinner.Main.onCreate
05-08 05:10:26.493: W/dalvikvm(1464): VFY: unable to resolve const-class 416 (Lcom/miracleas/bitcoin_spinner/SendBitcoinsActivity;) in Lcom/miracleas/bitcoin_spinner/Main;
05-08 05:10:26.493: D/dalvikvm(1464): VFY: replacing opcode 0x1c at 0x0036
05-08 05:10:26.503: W/dalvikvm(1464): VFY: unable to resolve static field 9 (productionNetwork) in Lcom/bccapi/bitlib/model/NetworkParameters;
05-08 05:10:26.503: D/dalvikvm(1464): VFY: replacing opcode 0x62 at 0x005f
05-08 05:10:26.523: D/AndroidRuntime(1464): Shutting down VM
05-08 05:10:26.523: W/dalvikvm(1464): threadid=1: thread exiting with uncaught exception (group=0x40a71930)

Search turned up a few suggestions but none of them helped. I'm sure it's something simple though. A little help?
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
May 07, 2013, 10:37:01 PM
Could someone give me some tips on importing this into Eclipse? I checked out from the repository OK, created a new workspace but when I try and import the project, either using "Existing Projects into Workspace" or "Existing Android Code Into Workspace", I get errors both ways.

Nevermind, I think I got it figured out. Just some generic windows weirdness and then problems because the .classpath file was hidden (i.e. more windows weirdness).
newbie
Activity: 39
Merit: 0
May 07, 2013, 02:41:30 PM
Hi everyone,

I've just seen that on FDroid since 01.05.13 there is a new version of BitcoinSpinner 0.8.2b. At the moment I'm using 0.7.3b as this was the latest version on FDroid. FDroid tells me that version 0.8.2b is signed with another key than 0.7.3b.
Is this to be expected?

I have mot compiled or signed the FDriod distribution and cannot vouche for it. However I have been in contact with a developer at FDroid on some build related questions, and I have no reason to believe that their distribution is evil.

If the FDriod distribution is signed with a different key than their previous version you can only upgrade by uninstalling and reinstalling. Keep in mind that you MUST make a backup before uninstalling (You should always do that anyway)

The distribution found here and on the Google market place are the officially signed ones using the same key since the initial release and allow you to seamlessly upgrade. Those I can vouche for.


Thx for the quick info!
Jan
legendary
Activity: 1043
Merit: 1002
May 07, 2013, 12:46:01 AM
Any chance of porting this over to blackberry 10? 

I don't have a blackberry and frankly don't have the time to do it. The sources are open and if you know a skilled blackberry developer up for it I'd be happy to give him my support.
hero member
Activity: 667
Merit: 500
May 07, 2013, 12:36:22 AM
Any chance of porting this over to blackberry 10? 

Jan
legendary
Activity: 1043
Merit: 1002
May 05, 2013, 06:23:12 AM
Hi everyone,

I've just seen that on FDroid since 01.05.13 there is a new version of BitcoinSpinner 0.8.2b. At the moment I'm using 0.7.3b as this was the latest version on FDroid. FDroid tells me that version 0.8.2b is signed with another key than 0.7.3b.
Is this to be expected?

I have mot compiled or signed the FDriod distribution and cannot vouche for it. However I have been in contact with a developer at FDroid on some build related questions, and I have no reason to believe that their distribution is evil.

If the FDriod distribution is signed with a different key than their previous version you can only upgrade by uninstalling and reinstalling. Keep in mind that you MUST make a backup before uninstalling (You should always do that anyway)

The distribution found here and on the Google market place are the officially signed ones using the same key since the initial release and allow you to seamlessly upgrade. Those I can vouche for.
newbie
Activity: 39
Merit: 0
May 04, 2013, 01:20:58 PM
Hi everyone,

I've just seen that on FDroid since 01.05.13 there is a new version of BitcoinSpinner 0.8.2b. At the moment I'm using 0.7.3b as this was the latest version on FDroid. FDroid tells me that version 0.8.2b is signed with another key than 0.7.3b.
Is this to be expected?
legendary
Activity: 1862
Merit: 1114
WalletScrutiny.com
April 19, 2013, 01:27:16 PM
I've been using BitcoinSpinner for a while now and like it quite a bit. I think I've read through most of this thread, so I apologize if I missed the answer to this: What happens if the backend server goes away? Can I still retrieve my coins somehow?

If the answer is no, then the one feature I'd like to request is the ability to change the backend server that the app connects to (and if a special backend server is needed, can that software be open sourced?). In the event that you and/or your server go away, I would hate to loose access to whatever coins I have stored in my wallet. Would something like that even be possible?

So now that you read this thread, join us on the other thread. Yes, I suggested to lock either but they are both live.
Pages:
Jump to: