CIYAM (OP)
Legendary
Offline
Activity: 1890
Merit: 1030
Ian Knowles - CIYAM Lead Developer
|
 |
April 19, 2012, 07:10:15 AM |
|
I recently imported a vanity address for my company (1ciyam3htJit1feGa26p2wQ4aw6KFTejU) into the current 0.6 version and gave this address the account/label name "ciyam" and moved some BTC into the address (so far so good).
Next I used the bitcoind "sendfrom" to send a payment out as follows:
bitcoind -rpcpassword=***password*** sendfrom ciyam 1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxY 0.25
but if I look at the vanity address in blockchain.info the 0.25 tx doesn't appear (the 4 tx's which you can see there now are an initial test one - a larger BTC input and then 2 tx's I did much later to adjust the balance according to what my own wallet was showing for the account).
If I do the following: bitcoind -rpcpassword=***password*** listtransactions ciyam
then I see 6 tx's and a balance of exactly 100.
Am guessing that I've missed something fundamental here as I don't get why my "sendfrom" tx's don't show up when looking at the address under blockchain.info.
Can anyone please explain to me what I've misunderstood?
|
|
|
|
|
|
|
|
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
Revalin
|
 |
April 19, 2012, 07:21:53 AM |
|
sendfrom sends from an account, not an address. Accounts are just internal ledgers in your wallet. They do not map to addresses. The standard Satoshi client cannot send from a specific address. You need this: https://bitcointalk.org/index.php?topic=24784
|
War is God's way of teaching Americans geography. --Ambrose Bierce Bitcoin is the Devil's way of teaching geeks economics. --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
|
|
|
CIYAM (OP)
Legendary
Offline
Activity: 1890
Merit: 1030
Ian Knowles - CIYAM Lead Developer
|
 |
April 19, 2012, 07:29:39 AM |
|
sendfrom sends from an account, not an address. Accounts are just internal ledgers in your wallet. They do not map to addresses.
Thanks - yes thought it was something basic - I got confused by those accounts again (I'll get it right eventually).  Has anything further been considered in regards to this or is there an alternative client that already does this? (the thinking is to have a publicly verifiable ledger via the blockchain that will show all "donations" and "payments" for an open source project)
|
|
|
|
ingrownpocket
Legendary
Offline
Activity: 952
Merit: 1000
|
 |
April 19, 2012, 07:32:20 AM |
|
|
|
|
|
CIYAM (OP)
Legendary
Offline
Activity: 1890
Merit: 1030
Ian Knowles - CIYAM Lead Developer
|
 |
April 19, 2012, 07:38:13 AM |
|
Yes I had read that - but it provides no details about what a sendfrom actually does (about the same as using "bitcoind help sendfrom").
|
|
|
|
Revalin
|
 |
April 19, 2012, 08:13:51 AM |
|
Has anything further been considered in regards to this or is there an alternative client that already does this? Yes, the coderr fork (the one I linked) does it. The patch will probably eventually get merged into the standard client. Electrum can also do it.
|
War is God's way of teaching Americans geography. --Ambrose Bierce Bitcoin is the Devil's way of teaching geeks economics. --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
|
|
|
davout
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
 |
April 19, 2012, 08:15:25 AM |
|
Yes I had read that - but it provides no details about what a sendfrom actually does (about the same as using "bitcoind help sendfrom").
This is aimed mostly at shared wallets that are used by webapps and that maintain a balance right inside the client for every user (or non-user account). The accounts are not permitted to go into negative, only the default account "" may have a negative balance. Getting to pick which address actually sends the coin isn't available without patching the client.
|
|
|
|
CIYAM (OP)
Legendary
Offline
Activity: 1890
Merit: 1030
Ian Knowles - CIYAM Lead Developer
|
 |
April 19, 2012, 08:19:00 AM |
|
Yes, the coderr fork (the one I linked) does it. The patch will probably eventually get merged into the standard client. Electrum can also do it.
Didn't read the entire thread but from what I gather it is a GUI only change (right?) - any proposal to do this with bitcoind (I would want to have this automated to fit into a project management application I am envisaging) 
|
|
|
|
Revalin
|
 |
April 19, 2012, 08:45:07 AM |
|
|
War is God's way of teaching Americans geography. --Ambrose Bierce Bitcoin is the Devil's way of teaching geeks economics. --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
|
|
|
CIYAM (OP)
Legendary
Offline
Activity: 1890
Merit: 1030
Ian Knowles - CIYAM Lead Developer
|
 |
April 19, 2012, 09:09:46 AM |
|
Thanks (should have kept reading a bit more  ). I guess the only other thing (which I'll just assume has probably also been covered by this fork) would be to make sure that the change goes back to (one of the) address(es) that were sent from also. I hope this will get merged soon as I think it will be very useful for being able to create more public ledgers (only as an option of course).
|
|
|
|
Revalin
|
 |
April 19, 2012, 09:14:15 AM |
|
No - the patch is really meant for people who want to control which addresses are associated for anonymity reasons. It still sends change to new addresses.
You can either sweep the change back to your named addresses, or you might want to look at Electrum.
|
War is God's way of teaching Americans geography. --Ambrose Bierce Bitcoin is the Devil's way of teaching geeks economics. --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
|
|
|
CIYAM (OP)
Legendary
Offline
Activity: 1890
Merit: 1030
Ian Knowles - CIYAM Lead Developer
|
 |
April 19, 2012, 09:40:00 AM |
|
No - the patch is really meant for people who want to control which addresses are associated for anonymity reasons. It still sends change to new addresses.
oic - a pity no option for that as that would have made things extremely simple. You can either sweep the change back to your named addresses, or you might want to look at Electrum.
yup - will have to mull over this - thanks again for the helpful info!
|
|
|
|
|