Bitcoin Forum
May 25, 2024, 12:35:10 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 26 27 28 29 30 31 [32] 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 »
621  Bitcoin / Development & Technical Discussion / Re: Term contract with multisig/P2SH on: March 05, 2012, 03:19:08 PM
Have you read https://en.bitcoin.it/wiki/Contracts ?

There are several examples using nLockTime, which is not as powerful as what you describe, but it is implemented and can be used to provide some time dependency.
622  Bitcoin / Bitcoin Technical Support / Re: Block chain downloading VERY slowly on: March 04, 2012, 05:40:50 PM
The slow part is not downloading the blockchain, it's verifying it and building a transaction index for it (the blkindex.dat file).

You can download a premade blockchain + index, but that implies a certain amount of trust in the supplier of the files, as they are not verified as thoroughly that way.
623  Bitcoin / Development & Technical Discussion / Re: Version 0.6 release candidate 1 on: February 29, 2012, 04:49:36 PM
I should have read this thread from the beginning, as this is the behaviour I observed, too! Any info on this?

Unfortunately, no. There have been a rather large number of bugfixes since 0.6.0rc1 however, and 0.6.0rc2 will be created very soon. I hope this problem is fixed by now.
624  Bitcoin / Development & Technical Discussion / Re: Version 0.6 release candidate 1 on: February 29, 2012, 02:58:49 PM
However, when I tried to verify the address on the imported key, it seems to have generated a new key/address pair:
Code:
me@chewy:~$ bitcoind getaccountaddress Garbage
1ZZZZZpXRbgb9dn3bfbwZb9YDKieqgnNaZ

Good point, I don't recall updating the account info when importing. I'll try to do that still before 0.6.0's release.

Quote
Also, if I may... shouldn't the client be able to refresh the wallet when a key has been imported?  It's rather annoying to have to stop/restart when importing a key before it shows up in the GUI.  Maybe this would be an argument for splitting server & client functionality, and use the GUI only to make RPC calls against the server.

Yes, that's a known issue, see the issue page. I'm not familiar with the GUI code, however.
625  Bitcoin / Development & Technical Discussion / Re: Suggestion for listtransactions change wrt account labels... on: February 29, 2012, 02:52:14 PM
In order to avoid confusion, I'd rather add an extra optional parameter "tolabel", separate from the "account" parameter already present. You really do not want people to confuse accounts and addresses any further (which apparently happened to you).
626  Bitcoin / Bitcoin Technical Support / Re: Do I need to reload the whole bitcoin chain if I replace my wallet? on: February 29, 2012, 02:50:13 PM
I also had to do the rescan when I tried to send some BTC into a wallet which was created offline - by a bitcoin-qt which was installed on an offline pc. I put this file onto another computer connected to the internet and bitcoin-qt did not want to show the transaction until I did the rescan. It is pretty user unfriendly IMHO to have to use command line argument Shocked I don't understand why there cannot be some button or menu for this.

If the wallet was created with bitcoin-qt (even offline), you would not need -rescan when loading it into another client. The transaction would only show up as soon as the client caught up with the block chain, though. Sure that wasn't the reason it didn't show up without -rescan?

627  Bitcoin / Development & Technical Discussion / Re: Suggestion for listtransactions change wrt account labels... on: February 29, 2012, 02:48:12 PM
After Pieter Wuille's help I was able to understand that the problem I was seeing was that the GUI displays account labels for Sent tx's that have been assigned to the "sent to" address whereas "listtransactions" only shows account labels for "sent" category tx's that have been assigned to the "from" address (or something at least close to that).

No, the *account* they were sent from. Accounts and addresses have nothing to do with eachother, and bitcoin transactions do not have a well-defined "from" address.
628  Bitcoin / Project Development / Re: Online wallet on: February 28, 2012, 05:03:30 PM
i have generated over 10K bitcoins for testing, does anyone know where i can send them for other developers to use

http://testnet.freebitcoins.appspot.com/
629  Bitcoin / Bitcoin Discussion / Re: BIP 16 / 17 in layman's terms on: February 27, 2012, 09:05:23 PM
Ok, nice to hear! So can I use it to sign blocks/coins that where mined with FPGAs in order to create a greencoin branch of bitcoins?

Neither BIP16/BIP17 have anything to do with block construction, blocks are not signed, and coins/transactions are not mined. What you choose to mine your blocks with is your own, but certain alternative chains may be optimized for FPGA's or not. Furthermore, what your greencoin branch of bitcoins do or do not, is up to you.
630  Bitcoin / Bitcoin Technical Support / Re: My client is showing BTC being sent but then never araives at the other address? on: February 27, 2012, 08:22:23 PM
Any reason in particular for using such an old client? In particular, versions before 0.3.24 had a bug that prevents them from efficiently distributing the block chain to other nodes.
631  Bitcoin / Development & Technical Discussion / Re: Using bitcoind to determine sending address to check for green address on: February 27, 2012, 08:18:19 PM
You may be interested in pull requests 841 and/or 886, which add such functionality to the reference client.

I must admit that I agree with gmaxwell here on the topic of green addresses: they use the block chain as a communication channel for what is essentially private information. Nonetheless, seeing block's and transaction's full contents is sometimes useful.
632  Bitcoin / Bitcoin Technical Support / Re: Why is account showing as empty even after doing a setaccount? on: February 26, 2012, 11:53:17 PM
Perhaps another possibility might be to add an option for listtransactions that would change the "account" being displayed (and filtered) for "send" categories to actually be the one attached to the external address (as perhaps is how the GUI is working at the moment) ?

I finally understand what you're asking. You do not want accounts at all, you just want labels attached to addresses, and the ability to search for them.

I suppose that isn't too hard, and sounds useful indeed.
633  Bitcoin / Bitcoin Technical Support / Re: Why is account showing as empty even after doing a setaccount? on: February 26, 2012, 05:20:41 AM
May I ask what you are trying to do (the big picture, not "put send addresses in an account")?

The account feature is for keeping separate balances, for example for an e-wallet website that wishes to keep a balance for each customer (an "account"), and receive and send funds for them.
634  Bitcoin / Bitcoin Technical Support / Re: Why is account showing as empty even after doing a setaccount? on: February 26, 2012, 05:06:36 AM
Well for certain I found the output of listtransactions confusing after playing with getaccount and setaccount (but as originally stated this was my first play with bitcoind).

I understand.

Quote
If doing a "move" would fix the problem I was seeing (simply that I wanted to change the associated account for the unseen from address) then no need to change anything.

A move allows you to virtually move funds from one account to another. It will not change which account a particular send debits. That is something you choose when doing the transaction.

Quote
Another helpful idea might be to perhaps have the listtransactions output contain both to/from addresses (so you would do a setaccount on the from address of a "send" in order to make the change I was trying to make).

Bitcoin transactions do not have a from address (they can have multiple, or none at all, as they combine previously received funds), and accounts have nothing to do with the addresses in actual transactions. They are only for internal bookkeeping.
635  Bitcoin / Bitcoin Technical Support / Re: Why is account showing as empty even after doing a setaccount? on: February 26, 2012, 04:55:29 AM
If I do a "setaccount" to an address that is not my own why couldn't it just put this account on the address(es) that the send had come from?

You mean: if a send address A is associated with an account X, then transactions to A will by default debit X, and this behaviour can be changed retroactively using setaccount?

That sounds possible, but to be honest, I fear it will confuse even more people.
636  Bitcoin / Bitcoin Discussion / Re: Hashrate Statistics? on: February 26, 2012, 04:51:23 AM
My graphs are still up.
637  Bitcoin / Bitcoin Technical Support / Re: Why is account showing as empty even after doing a setaccount? on: February 26, 2012, 04:47:11 AM
I updated my post above again.

I'm not sure I see what you mean with "two types of accounts". An account is group of receiving addresses for which a balance of what is received using them is kept. The confusing probably comes from the fact that a) setaccount doesn't complain when adding an address that is not your own and b) labels in the GUI are mapped to accounts.
Still, accounts for sending addresses don't really make sense: if your address is in my "ciyam" account, and I send money to you, would that debit or credit "ciyam"?

I'll try to explain it in another way:
* each receive transaction will credit one account, namely the account associated with the address it was received on.
* each send transaction will debit one account, namely the one specified using "sendfrom", or the default account ("") if the transaction was done using the GUI or sendtoaddress.
* move actions debit one account and credit another account.

Also note that accounts have nothing to do with the actual coins used in the bitcoin transactions involved.
638  Bitcoin / Bitcoin Technical Support / Re: Why is account showing as empty even after doing a setaccount? on: February 26, 2012, 04:23:17 AM
As stated if I do a "listtransactions" the account field is always "" for every send even though (either through the GUI or bitcoind) I later set an account on the send addresses.

If I do a "getaccount" it *does* return the (to my way of thinking) correct string but never does it appear in "listtransactions".

EDIT: reformulated

Accounts are groups of addresses which automatically credit a named balance when transactions are received using them. If you use "setaccount" for an address that is not your own, there is no effect, nothing will ever be received using them.

The "account" field for sent transactions refers to the account a transaction was sent from, not to (that wouldn't make sense, as you can send to addresses that are not your own). The only way to influence that is using the RPC command "sendfrom", which allows changing the "from account" information.

There is somewhat more information here
639  Bitcoin / Bitcoin Technical Support / Re: Why is account showing as empty even after doing a setaccount? on: February 26, 2012, 04:12:13 AM
Well if not buggy then why does "getaccount" give me a different result than "listtransactions"?

Can you show me exactly which output you get, and why it is inconsistent? If it's really wrong, you stumbled upon a bug we'll gladly fix.
640  Bitcoin / Bitcoin Technical Support / Re: Why is account showing as empty even after doing a setaccount? on: February 25, 2012, 09:29:30 PM
Accounts are only affected by:
* incoming transactions to their bound addresses
* sendfrom
* move

Changing what account an address belongs to, does not change former transactions' to-account field.

The account system may be very unintuitive, but I wouldn't consider it buggy.
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 26 27 28 29 30 31 [32] 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!