LearnBitcoin

Bitcoin Dev Archive 2014

About watch-only addresses

7 messages, 17 to 20 Oct 2014. Started by Flavien Charlon.

Flavien Charlon (2), Wladimir J. van der Laan, Felipe Micaroni Lalli, Mike Hearn, Warren Togami, mbde@bitwatch.co

Permalink Original thread on gnusha.org

Flavien Charlon permalink original

Hi,

What is the status of watch-only addresses in Bitcoin Core? Is it merged in master and usable? Is there documentation on how to add a watch-only address through RPC.

Also, I believe that is going towards the 0.10 release, is there a rough ETA for a release candidate?

Thanks Flavien

Flavien Charlon in reply to Flavien Charlon permalink original

Also, I was wondering if there were nightly builds I could try this from?

On Fri, Oct 17, 2014 at 9:36 PM, Flavien Charlon < flavien.charlon@coinprism•com> wrote:

Quoted text (12 lines)
> Hi,
>
> What is the status of watch-only addresses in Bitcoin Core? Is it merged
> in master and usable? Is there documentation on how to add a watch-only
> address through RPC.
>
> Also, I believe that is going towards the 0.10 release, is there a
> rough ETA for a release candidate?
>
> Thanks
> Flavien
>
Wladimir J. van der Laan in reply to Flavien Charlon permalink original

On Fri, Oct 17, 2014 at 10:36 PM, Flavien Charlon <flavien.charlon@coinprism•com> wrote:

Quoted text (5 lines)
> Hi,
>
> What is the status of watch-only addresses in Bitcoin Core? Is it merged in
> master and usable? Is there documentation on how to add a watch-only address
> through RPC.

It has been merged. There is the "importaddress" RPC call, which works the same as "importprivkey" except that you a pass it an address.

Quoted text (2 lines)
> Also, I believe that is going towards the 0.10 release, is there a rough ETA
> for a release candidate?

Yes - aim is in a few months, probably by the end of the year.

AFAIK there are no nightly builds at this moment. Warren Togami was building them for a while (at http://nightly.bitcoin.it/) but he stopped some time around June.

It's not recommended to use master without at least a little bit of development/debugging experience of yourself (to trace down problems when they appear), so it's best to build it yourself if you're going to test day-to-day development versions.

Wladimir

Felipe Micaroni Lalli in reply to Wladimir J. van der Laan permalink original

This feature makes possible Bitcoin Core to read a balance of any public address via RPC call or, after importing the balance, it became available only via QT interface?

On 18-10-2014 07:13, Wladimir wrote:

Quoted text (31 lines)
> On Fri, Oct 17, 2014 at 10:36 PM, Flavien Charlon
> <flavien.charlon@coinprism•com> wrote:
>> Hi,
>>
>> What is the status of watch-only addresses in Bitcoin Core? Is it
>> merged in master and usable? Is there documentation on how to add
>> a watch-only address through RPC.
>
> It has been merged. There is the "importaddress" RPC call, which
> works the same as "importprivkey" except that you a pass it an
> address.
>
>> Also, I believe that is going towards the 0.10 release, is there
>> a rough ETA for a release candidate?
>
> Yes - aim is in a few months, probably by the end of the year.
>
> AFAIK there are no nightly builds at this moment. Warren Togami
> was building them for a while (at http://nightly.bitcoin.it/) but
> he stopped some time around June.
>
> It's not recommended to use master without at least a little bit
> of development/debugging experience of yourself (to trace down
> problems when they appear), so it's best to build it yourself if
> you're going to test day-to-day development versions.
>
> Wladimir
>
> ------------------------------------------------------------------------------
>
>

Comprehensive Server Monitoring with Site24x7.

Quoted text (7 lines)
> Monitor 10 servers for $9/Month. Get alerted through email, SMS,
> voice calls or mobile push notifications. Take corrective actions
> from your mobile device. http://p.sf.net/sfu/Zoho
> _______________________________________________ Bitcoin-development
> mailing list Bitcoin-development@lists•sourceforge•net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development
>

- -- Felipe Micaroni Lalli

Walltime: https://walltime.info Bitcoin Paranoid Android developer PGP ID: 0x4c0afccfed5cde14 BTC: 1LipeR1AjHL6gwE7WQECW4a2H4tuqm768N

Mike Hearn in reply to Felipe Micaroni Lalli permalink original
Quoted text (4 lines)
>
> This feature makes possible Bitcoin Core to read a balance of any
> public address via RPC call or, after importing the balance, it became
> available only via QT interface?

Neither. A watching wallet still has to be synced with the chain in the same way as any other wallet, i.e. after adding an address, if it was already used, you must rescan.

Warren Togami in reply to Wladimir J. van der Laan permalink original

https://bitcointalk.org/index.php?topic=320695 I made a branch of Bitcoin 0.9.3 plus backports including watch-only and a huge pile of patches cleaning it up from the master branch. It seems to work fine although it is not heavily tested. I suppose if you use ONLY for watch-only it can't be harmful? Dunno.

Warren

On Sat, Oct 18, 2014 at 12:13 AM, Wladimir <laanwj@gmail•com> wrote:

Quoted text (42 lines)
> On Fri, Oct 17, 2014 at 10:36 PM, Flavien Charlon
> <flavien.charlon@coinprism•com> wrote:
> > Hi,
> >
> > What is the status of watch-only addresses in Bitcoin Core? Is it merged
> in
> > master and usable? Is there documentation on how to add a watch-only
> address
> > through RPC.
>
> It has been merged. There is the "importaddress" RPC call, which works
> the same as "importprivkey" except that you a pass it an address.
>
> > Also, I believe that is going towards the 0.10 release, is there a rough
> ETA
> > for a release candidate?
>
> Yes - aim is in a few months, probably by the end of the year.
>
> AFAIK there are no nightly builds at this moment. Warren Togami was
> building them for a while (at http://nightly.bitcoin.it/) but he
> stopped some time around June.
>
> It's not recommended to use master without at least a little bit of
> development/debugging experience of yourself (to trace down problems
> when they appear), so it's best to build it yourself if you're going
> to test day-to-day development versions.
>
> Wladimir
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists•sourceforge•net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development
>
mbde@bitwatch.co in reply to Warren Togami permalink original

This is just a guess, but I can imagine sipa's address index branch might be more suitable for an use case where information about any address is required - jmcorgan continued to maintain a usually somewhat up-to-date version:

https://github.com/jmcorgan/bitcoin/tree/addrindex

As for balance queries, that's not possible out of the box and I have my own branch for this with a few other RPC calls that are noted in the README:

https://github.com/dexX7/bitcoin/tree/master-addrindex-extended

When using the original, you need to ensure a transaction is part of the main chain and wasn't orphaned. If you consider using my branch, please consider it twice and review the changes first.

-------- Original Message -------- *Subject: *Re: [Bitcoin-development] About watch-only addresses *From: *Warren Togami Jr. <wtogami@gmail•com> *To: *Bitcoin Dev <bitcoin-development@lists•sourceforge•net> *Date: *Mon, 20 Oct 2014 12:37:40 -1000

Quoted text (70 lines)
> https://bitcointalk.org/index.php?topic=320695
> I made a branch of Bitcoin 0.9.3 plus backports including watch-only
> and a huge pile of patches cleaning it up from the master branch.  It
> seems to work fine although it is not heavily tested.  I suppose if
> you use ONLY for watch-only it can't be harmful?  Dunno.
>
> Warren
>
> On Sat, Oct 18, 2014 at 12:13 AM, Wladimir <laanwj@gmail•com
> <mailto:laanwj@gmail.com>> wrote:
>
>     On Fri, Oct 17, 2014 at 10:36 PM, Flavien Charlon
>     <flavien.charlon@coinprism•com
>     <mailto:flavien.charlon@coinprism.com>> wrote:
>     > Hi,
>     >
>     > What is the status of watch-only addresses in Bitcoin Core? Is
>     it merged in
>     > master and usable? Is there documentation on how to add a
>     watch-only address
>     > through RPC.
>
>     It has been merged. There is the "importaddress" RPC call, which works
>     the same as "importprivkey" except that you a pass it an address.
>
>     > Also, I believe that is going towards the 0.10 release, is there
>     a rough ETA
>     > for a release candidate?
>
>     Yes - aim is in a few months, probably by the end of the year.
>
>     AFAIK there are no nightly builds at this moment. Warren Togami was
>     building them for a while (at http://nightly.bitcoin.it/) but he
>     stopped some time around June.
>
>     It's not recommended to use master without at least a little bit of
>     development/debugging experience of yourself (to trace down problems
>     when they appear), so it's best to build it yourself if you're going
>     to test day-to-day development versions.
>
>     Wladimir
>
>     ------------------------------------------------------------------------------
>     Comprehensive Server Monitoring with Site24x7.
>     Monitor 10 servers for $9/Month.
>     Get alerted through email, SMS, voice calls or mobile push
>     notifications.
>     Take corrective actions from your mobile device.
>     http://p.sf.net/sfu/Zoho
>     _______________________________________________
>     Bitcoin-development mailing list
>     Bitcoin-development@lists•sourceforge•net
>     <mailto:Bitcoin-development@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/bitcoin-development
>
>
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
>
>
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists•sourceforge•net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development