Open sBavisetti opened 8 years ago
Have you tried using the official repo? https://github.com/shadow/shadow-plugin-bitcoin
Note that you will need to use Shadow v1.10.2 for this since the bitcoin plugin has not been updated for v1.11.x yet.
I have tried the official repo and I am using Shadow v1.10.2 and yet i am not able to make the bitcoin plugin file
/home/asura/shadow-plugin-bitcoin/src/bitcoind/bitcoind-plugin.c:138:8: warning: implicit declaration of function 'pth_waiting_epoll' is invalid in C99 [-Wimplicit-function-declaration] epd = pth_waiting_epoll(); ^ /home/asura/shadow-plugin-bitcoin/src/bitcoind/bitcoind-plugin.c:146:27: warning: implicit declaration of function 'pth_waiting_timeout' is invalid in C99 [-Wimplicit-function-declaration] struct timeval timeout = pth_waiting_timeout(); ^ /home/asura/shadow-plugin-bitcoin/src/bitcoind/bitcoind-plugin.c:146:17: error: initializing 'struct timeval' with an expression of incompatible type 'int' struct timeval timeout = pth_waiting_timeout(); ^
~~~~~