1 2013-09-06 00:46:29 <Krellan> midnightmagic: another "private" network that synchronizes simultaneous timed releases into main Bitcoin network - you just described p2pool :)
2 2013-09-06 01:57:23 <imton> guys, I just saw @sipa watch-only pull, can't be more happy
3 2013-09-06 01:57:49 <imton> but I am not getting how to use it :)
4 2013-09-06 01:58:18 <imton> What's the rpc call to get txs from & to an address?
5 2013-09-06 02:08:46 <Luke-Jr> imton: there is no "from" address..
6 2013-09-06 02:09:17 <imton> Luke-Jr:
7 2013-09-06 02:09:18 <imton> ok
8 2013-09-06 02:10:00 <imton> i was using sipa's "searchrawtransactions"
9 2013-09-06 02:10:34 <imton> I need to get all tx related with the address
10 2013-09-06 02:10:49 <imton> I know there is no address but if I am not wrong theres is a from tx that i was to an address, right?
11 2013-09-06 02:11:15 <Luke-Jr> imton: but it's that transaction is unrelated to the address
12 2013-09-06 02:11:20 <Luke-Jr> s/it's//
13 2013-09-06 02:13:07 <imton> could you explain me that a little bit more? I don't get why it is "unrelated"
14 2013-09-06 02:16:39 <gmaxwell> imton: to use the watch-only pull you import pubkeys to watch and then it behaves like they are local. Thats it.
15 2013-09-06 02:18:32 <imton> gmaxwell: the problem is that i've never used any other RPC call other than "searchrawtransactions" which gave me almost everything in just 1 response.
16 2013-09-06 02:18:50 <imton> How could I get the same after importing the address?
17 2013-09-06 02:18:56 <cfields> anyone around who can run a gitian build? i'd like to verify that autotools is deterministic non-locally
18 2013-09-06 02:18:57 <gmaxwell> listtransactions
19 2013-09-06 02:19:27 <gmaxwell> imton: though if you're talking about 'from addresses' you're potentially dangerously confused.
20 2013-09-06 02:20:03 <gmaxwell> Transactions don't have a (or multiple) from address(s) and people believing that they do have been responsible for losing a fair bit of coin.
21 2013-09-06 02:20:06 <imton> gmaxwell: I really know how it works and I do know that there is not from address.
22 2013-09-06 02:20:43 <imton> gmaxwell: but do they have a "to" right?
23 2013-09-06 02:21:51 <imton> as I understood it txs have "ins" and "outs" , the "ins" are previous txs outputs and "outs" are addresses
24 2013-09-06 02:21:57 <imton> am i right?
25 2013-09-06 02:22:24 <lianj> not really but close
26 2013-09-06 02:23:31 <lianj> imton: http://blockexplorer.com/rawtx/203bda3adf5b01dcbe5808ed6a7d487c7df26e5babc27dcd384630a11e10ce85
27 2013-09-06 02:24:24 <imton> which part I am missing?
28 2013-09-06 02:24:27 <gmaxwell> imton: well, outs are not addresses. They are scriptpubkeys. Some scriptpubkeys can be represented by an address, some can't. ... but close enough.
29 2013-09-06 02:24:40 <imton> awsome
30 2013-09-06 02:24:42 <imton> awesome
31 2013-09-06 02:25:00 <lianj> outs have a value and script (where some standard scripts can be seen as higher level addresses if you want) and inputs have prev_out (which references and previous output) and a script. both scripts combined have to return true for the tx to be valid
32 2013-09-06 02:26:50 <imton> cool, thanks for the explanation! my next thing to understand properly are "Scripts" which are being a little hard to get so far. but that explanations help me a lot.
33 2013-09-06 02:27:31 <imton> we you say "combined" what kind of "combination" does it mean?