Re: [Bitcoin-development] bitcoind stops responding

2013-09-30 Thread Chris Double
slush sl...@centrum.cz writes:

 I observed this problem with version 0.8.2, but it is still happening with
 0.8.5. 

I see this as well with 0.8.2+. I don't see it on 0.8.1. I originally
hit the '4 keep alive thread limit' where four clients on the same
bitcoind would result in other clients not being able to connect. I
resolved that and still hit the RPC hanging issue. The most problem I've
had is using 'getwork' which I believe is going the wayside anyway.


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] SPV client in pure JavaScript?

2013-08-12 Thread Chris Double
On Sat, Aug 10, 2013 at 12:14 AM, Mike Hearn m...@plan99.net wrote:
 Oh, I forgot to make it clear - Chrome apps/extensions can make raw TCP
 socket connections:

http://blog.chromium.org/2012/11/introducing-tcp-listen-new-api-for.html

There's a Raw Sockets proposal at the W3C that provides TCP sockets:

http://www.w3.org/2012/sysapps/raw-sockets/

Firefox OS has an API that is being discussed as part of that:

https://developer.mozilla.org/en-US/docs/WebAPI/TCP_Socket

So there's a possibility of a standardized approach in the future.

Chris.
-- 
http://www.bluishcoder.co.nz

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] Implementing batch processing for -blocknotify

2013-05-31 Thread Chris Double
On Fri, May 31, 2013 at 11:56 PM, Rune Kjær Svendsen
runesv...@gmail.com wrote:
 I'm not quite so how to go about this.

As others have said, queuing outside of bitcoind is a better approach.
I use zeromq for this situation. blocknotify runs a program which uses
zeromq's pub/sub to queue and the application subscribes to this to
get notified of the data.

-- 
http://www.bluishcoder.co.nz

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] Implementing batch processing for -blocknotify

2013-05-31 Thread Chris Double
On Sat, Jun 1, 2013 at 11:29 AM, Wladimir laa...@gmail.com wrote:
 Using zmq is a great fit for high-speed notifications such as this. Have you
 seen the pull request to integrate zmq directly into bitcoind, so that you
 don't even need -blocknotify?

 https://github.com/bitcoin/bitcoin/pull/2415

 If not: we could use some testing there!

I hadn't seen this, thanks! I've integrated zmq myself for block
notifications in bitcoin and the alt coins I use it on my bitparking
merge mining pool. I would love to see something official. I'll try
out the patch in the pull request.

Chris.
-- 
http://www.bluishcoder.co.nz

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development


Re: [Bitcoin-development] Alternative to OP_EVAL

2011-12-30 Thread Chris Double
On Fri, Dec 30, 2011 at 5:42 AM,  rocon...@theorem.ca wrote:
 Basically OP_DUP lets you duplicate the code on the stack and that is the
 key to looping.  I'm pretty sure from here we get get Turing completeness.
 Using the stack operations I expect you can implement the SK-calculus
 given an OP_EVAL that allows arbitrary depth.

 OP_EVAL adds dangerously expressive power to the scripting language.

If you look at the archives of the concatenative programming mailing
list [1] you'll see lots of examples of people creating stack
languages with minimal operations that exploit similar functionality
to reduce the required built in operations. The discussion on the list
is mostly about stack based languages where programs can be pushed on
the stack and executed (eg. Joy [2]/Factor/Some Forths).

I don't think the scripting engine in bitcoin has the ability to
concatenate, append or otherwise manipulate scripts on the stack to be
eval'd though does it?

[1] http://tech.groups.yahoo.com/group/concatenative
[2] http://tunes.org/~iepos/joy.html

Chris.
-- 
http://www.bluishcoder.co.nz

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-development