Re: [Bitcoin-development] Proposal: allocate 8 service bits for experimental use

2014-06-18 Thread Wladimir
On Tue, Jun 17, 2014 at 11:29 PM, Jeff Garzik jgar...@bitpay.com wrote:
 I wrote a patch for string-based name extensions, circa 2011-2012.  I
 agree that is preferable to unreadable bits, for reasons you cite.

 However, it was noted that extensions (or UUIDs etc.) would not be
 propagated around the network in addr messages, as service bits are.

Thanks for letting me know, I didn't remember your patch.

Ugh, yes, propagating all extensions in `addr` messages is not how I
imagined this to work.

But then there would need to be an alternative way to discover nodes
that offer a certain extension. Alas, this moves it from a
straightforward and common sense change to a significant change to the
protocol.

Wladimir

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] Proposal: allocate 8 service bits for experimental use

2014-06-18 Thread Jeff Garzik
On Wed, Jun 18, 2014 at 5:23 AM, Wladimir laa...@gmail.com wrote:
 Anyhow -- back to the original proposal. I'm fine with setting aside
 part of the service bit space for experiments.

ACK

-- 
Jeff Garzik
Bitcoin core developer and open source evangelist
BitPay, Inc.  https://bitpay.com/

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] Proposal: allocate 8 service bits for experimental use

2014-06-17 Thread Wladimir
On Tue, Jun 17, 2014 at 10:08 AM, Wladimir laa...@gmail.com wrote:
 On Tue, Jun 17, 2014 at 10:02 AM, Matt Whitlock b...@mattwhitlock.name 
 wrote:
 On Tuesday, 17 June 2014, at 9:57 am, Wladimir wrote:
 Yes, as I said in the github topic
 (https://github.com/bitcoin/bitcoin/pull/4351) I suggest we adapt a
 string-based name space for extensions.

 Why use textual strings? These fields are not for human consumption. Why not 
 use UUIDs, which are fixed length and will not waste as much bandwidth in 
 the protocol? Or if you'd prefer a hierarchical namespace, you could use 
 OIDs, a la ASN.1.

Also it IS useful for these fields to be human readable for
statistics, peer list views and such. When encountering a new, unknown
extension when connecting to a node it's much more useful to get a
google-able string to find out what it is about, than some long
hexadecimal or dotted-number identifier.

Wladimir

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] Proposal: allocate 8 service bits for experimental use

2014-06-17 Thread Jeff Garzik
I wrote a patch for string-based name extensions, circa 2011-2012.  I
agree that is preferable to unreadable bits, for reasons you cite.

However, it was noted that extensions (or UUIDs etc.) would not be
propagated around the network in addr messages, as service bits are.

On Tue, Jun 17, 2014 at 3:57 AM, Wladimir laa...@gmail.com wrote:
 On Tue, Jun 17, 2014 at 9:23 AM, Peter Todd p...@petertodd.org wrote:

 Alternately Wladimir J. van der Laan brought up elsewhere(2) the
 possibility for a wider notion of an extension namespace. I'm personally
 not convinced of the short-term need - we've got 64 service bits yet
 NODE_BLOOM is the first fully fleshed out proposal to use one - but it's
 worth thinking about for the long term

 Yes, as I said in the github topic
 (https://github.com/bitcoin/bitcoin/pull/4351) I suggest we adapt a
 string-based name space for extensions.

 A new network version could add a command 'getextensions' to query the
 supported extensions, returning a list of extension strings or
 (extension,version) pairs. For BIPs some something like 'BIP0064'
 could be defined, but for an experiment for example
 'experimental-getutxo'. This would be easy to implement and specify.

 Unlike with the 64 service bits it does not require (as much) central
 coordination to assign as there is no real danger of collisions. It
 takes the political aspect out of P2P network extensions, and gives
 more freedom to alternative implementations to experiment with their
 own extensions. And no more need for bitcoin core to drive what must
 be supported with increasing network versions.

 Wladimir

 --
 HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
 Find What Matters Most in Your Big Data with HPCC Systems
 Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
 Leverages Graph Analysis for Fast Processing  Easy Data Exploration
 http://p.sf.net/sfu/hpccsystems
 ___
 Bitcoin-development mailing list
 Bitcoin-development@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bitcoin-development



-- 
Jeff Garzik
Bitcoin core developer and open source evangelist
BitPay, Inc.  https://bitpay.com/

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development