Re: [Bitcoin-development] Protocol changes for SPV clients: mempool, getdata commands

2012-08-13 Thread Wladimir
On Mon, Aug 13, 2012 at 5:57 PM, Jeff Garzik wrote: > A small change to the protocol is proposed for satoshi client v0.7 > (upcoming release): > > Add 'mempool' P2P command, and extend 'getdata' behavior > https://github.com/bitcoin/bitcoin/pull/1641 Fully agree with the changes, but I

Re: [Bitcoin-development] BIP: Custom Services

2012-08-13 Thread Stefan Thomas
> More elaboration of the use cases might therefore be useful. I'm implementing a DHT, rather than storing the whole blockchain index locally, a future version of BitcoinJS will store only a user defined percentage (anywhere from 0-100%.) Any misses will be resolved by querying the network. Thank

[Bitcoin-development] Protocol changes for SPV clients: mempool, getdata commands

2012-08-13 Thread Jeff Garzik
A small change to the protocol is proposed for satoshi client v0.7 (upcoming release): Add 'mempool' P2P command, and extend 'getdata' behavior https://github.com/bitcoin/bitcoin/pull/1641 The genesis of this command is to permit SPV clients to access the memory pool, but secondary uses i

Re: [Bitcoin-development] BIP: Custom Services

2012-08-13 Thread Gregory Maxwell
On Mon, Aug 13, 2012 at 10:24 AM, Jeff Garzik wrote: > My only response is a weak one: inevitability. It seems likely that > -somebody- will implement their own P2P commands for their own client > subset, even if only a simple "use 'getstatus' with strSubVer matching > /FooClient/" > > Therefore

Re: [Bitcoin-development] BIP: Custom Services

2012-08-13 Thread Jeff Garzik
On Mon, Aug 13, 2012 at 3:41 AM, Stefan Thomas wrote: > I was working on some custom protocol extensions for Bitcoin that I > wanted to experiment with and I noticed that in order to enable nodes to > announce these services the only mechanism the protocol currently > provides is to use one of the

Re: [Bitcoin-development] BIP: Custom Services

2012-08-13 Thread Mike Hearn
I think it's pretty reasonable, although people will want to use node flags to get into the addr broadcasts anyway. That said, I suspect (based on previous discussions) that there would be quite some pushback against putting extra functionality into the core Bitcoin network. Most likely people wil

[Bitcoin-development] BIP: Custom Services

2012-08-13 Thread Stefan Thomas
Hey everyone, I was working on some custom protocol extensions for Bitcoin that I wanted to experiment with and I noticed that in order to enable nodes to announce these services the only mechanism the protocol currently provides is to use one of the 64 bits of the services field. This is obviousl