Line follower code nxt robot arduino
36 commentsEthereum coin news update
Are you still working on a BitcoinSpinner version compatible with Electrum servers? I'm not working personally on that, but friend of mine is. However I don't know actual status of his project Asus EEE is lowend machine and this test is calling RPC method in serial, so the test is far from real-world use, but I'm expecting at least 2x higher performance of this test per CPU core on standard server machine. On my laptop, one signature takes around ms. It's low-end one, but it will take some time even on high-end servers.
Any idea how to solve it? The obvious answer to this question is: See the next item for how this is not necessary except maybe when you plan to run your server on AVR too. Firstbits is assumed to be unique and will not change throughout the lifetime of bitcoin.
What else is necessary? I believe nothing else but I have never used firstbits so I cant be sure. With this, you can generate the signatures as requests trickle in, and cache them on your server. When an address is requested multiple times, you can satisfy from the cache without further CPU effort. Soon you will have all relevant addresses in your cache and will not have to sign any new addresses, at least until the the blockchain grows which happens at a predictable rate.
Signing will be probably necessary only for some type of messages so the speed of verifying on the client won't be crucial. Quote c Include into the signature only fields that are essential. Actually I did the oposite, I added timestamp into the signed data, to protect system against replay attacks. However now I'm rethinking the concept, as the same request should lead into the same result, at any time.
Those APIs where replay attack is potentially dangerous should add timestamp as the part of the request signature is created from both request and response. So - thanks for suggestion! Quote and cache them on your server This can be doable with some type of messages even with timestamp in the current implementation, for messages like market quotes.