Post
Topic
Board Project Development
Re: [20 BTC] Multithreaded Keep-alive Implementation in Bitcoind
by
JoelKatz
on 20/07/2011, 22:01:00 UTC
Can somebody please spoon feed me the process as to how to patch the source code with JoelKatz' diff .txt file?

I know how to compile bitcoind, but am a noob when it comes to patching things :S
Go to the 'src' directory, and then:

1) If you don't have the diff already, use this command:
wget http://davids.webmaster.com/~davids/bitcoin-4diff.txt

2) To patch it:
patch -p1 < bitcoin-4diff.txt

If you did it correctly, the output should be this:
patching file init.cpp
patching file main.cpp
patching file net.cpp
patching file net.h
patching file rpc.cpp
patching file util.cpp
patching file util.h


Update: Sorry about the typo in the URL.