Bitcoin Forum
May 09, 2024, 01:21:43 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: trying to send a fraction of a btc, 'preview tx' button indicates otherwise  (Read 137 times)
boosblock (OP)
Member
**
Offline Offline

Activity: 126
Merit: 22


View Profile
March 07, 2018, 01:53:52 AM
 #1

when i go to send a fraction of a coin using my WO wallet on my online machine, i check the "preview transaction" directly above the continue button, and see that its emptying the contents of an entire address housed in that wallet. 

https://en.bitcoin.it/wiki/Transaction#Output

i'm guessing that the tx has to account for the whole wallet in one address in that WO wallet but in actuality only what i want to send is sent and the rest is sent back to me automatically in that wallet. 

is that correct?

thanks.
1715217703
Hero Member
*
Offline Offline

Posts: 1715217703

View Profile Personal Message (Offline)

Ignore
1715217703
Reply with quote  #2

1715217703
Report to moderator
1715217703
Hero Member
*
Offline Offline

Posts: 1715217703

View Profile Personal Message (Offline)

Ignore
1715217703
Reply with quote  #2

1715217703
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715217703
Hero Member
*
Offline Offline

Posts: 1715217703

View Profile Personal Message (Offline)

Ignore
1715217703
Reply with quote  #2

1715217703
Report to moderator
1715217703
Hero Member
*
Offline Offline

Posts: 1715217703

View Profile Personal Message (Offline)

Ignore
1715217703
Reply with quote  #2

1715217703
Report to moderator
1715217703
Hero Member
*
Offline Offline

Posts: 1715217703

View Profile Personal Message (Offline)

Ignore
1715217703
Reply with quote  #2

1715217703
Report to moderator
PhoenixFire
Member
**
Offline Offline

Activity: 270
Merit: 36


View Profile
March 07, 2018, 03:49:51 AM
 #2

This sounds normal to me. Bitcoin doesn't work like a database usually would.
Simplifying but: if you have 2BTC in one lump (UTXO) and want to send 0.5 BTC somewhere, it effectively splits that into 1.5BTC (your change) and 0.5BTC. The .5 gets sent out to the address you specified and the 1.5 gets sent to a change address that is part of your wallet.
This isn't unique to Armory, so there is plenty more reading available Smiley
boosblock (OP)
Member
**
Offline Offline

Activity: 126
Merit: 22


View Profile
March 07, 2018, 04:14:47 AM
 #3

This sounds normal to me. Bitcoin doesn't work like a database usually would.
Simplifying but: if you have 2BTC in one lump (UTXO) and want to send 0.5 BTC somewhere, it effectively splits that into 1.5BTC (your change) and 0.5BTC. The .5 gets sent out to the address you specified and the 1.5 gets sent to a change address that is part of your wallet.
This isn't unique to Armory, so there is plenty more reading available Smiley

ok thanks.  so i successfully sent a fraction of the balance and the rest was returned to me.  i got impatient and just did it.

now i've encountered another very odd problem. i tried sending more from the same wallet (again) and it wont allow me to. 
1) created new offline tx on online machine (0.96.3.99-beta)
2) signed it successfully using offline machine (0.96 beta)
3) i loaded it back onto online machine and tried broadcasting it but but i'm getting an error in red that says 'unrecognized.'  i clicked 'here for more info about this tx' but i'm being told its invalid and cannot be shown.


so i literally just tried to repeat the exact same process which just worked but am gettting this unrecognized error. 

any ideas? thanks.
PhoenixFire
Member
**
Offline Offline

Activity: 270
Merit: 36


View Profile
March 08, 2018, 03:51:41 PM
 #4

ok thanks.  so i successfully sent a fraction of the balance and the rest was returned to me.  i got impatient and just did it.

now i've encountered another very odd problem. i tried sending more from the same wallet (again) and it wont allow me to. 
1) created new offline tx on online machine (0.96.3.99-beta)
2) signed it successfully using offline machine (0.96 beta)
3) i loaded it back onto online machine and tried broadcasting it but but i'm getting an error in red that says 'unrecognized.'  i clicked 'here for more info about this tx' but i'm being told its invalid and cannot be shown.


so i literally just tried to repeat the exact same process which just worked but am gettting this unrecognized error. 

any ideas? thanks.
I'd wager the offline machine needs updating. Goatpig recommends that online and offline Armory setups are kept in lock-step. I'm not sure why it worked the last time and not this time, but still the first thing to update.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
March 08, 2018, 04:05:12 PM
 #5

Quote
1) created new offline tx on online machine (0.96.3.99-beta)
2) signed it successfully using offline machine (0.96 beta)

These 2 versions are basically incompatible if you are signing for anything but P2PKH.

boosblock (OP)
Member
**
Offline Offline

Activity: 126
Merit: 22


View Profile
March 09, 2018, 03:36:11 AM
 #6

Quote
1) created new offline tx on online machine (0.96.3.99-beta)
2) signed it successfully using offline machine (0.96 beta)

These 2 versions are basically incompatible if you are signing for anything but P2PKH.

i updated the online machine to 0.96 and it worked.  i have no idea how the hell the first one went through, but it did.  anyway, thanks to everyone for their responses.

goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
March 09, 2018, 11:54:08 AM
 #7

i updated the online machine to 0.96 and it worked. 

You should upgrade, not downgrade.

Quote
i have no idea how the hell the first one went through, but it did.  anyway, thanks to everyone for their responses.

Most likely didn't involve any P2SH constructs.

Pages: [1]
  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!