-
Notifications
You must be signed in to change notification settings - Fork 23
Bitcoin examples shown on the wiki are broken #1
Comments
Try it with
Does that work? If so, the wiki needs to be updated. |
The complete content of
|
Sorry I pasted the command incorrectly. Your original command was this
I just asked you to try to remove the
|
@robgjansen please check upon the output I have posted in my 2nd comment. I executed |
@bawejakunal Does the above fix work for you (I can't test right now)? |
Sorry, even I cant check right now, will let you know in a few hours. |
OK, thanks! Make sure to grab both commits, I had a typo in the first one. I also updated the wiki to remove the int parameter after the |
@robgjansen the example works perfectly now. Thanks. |
@robgjansen In the realistic example what directory does '/storage/dotbitcoin_backing_120k |
Ah, it was an oversight not to include that somewhere! I'm hosting it here for now. I'll leave the issue open until documenting this in the readme |
Good day. I still have with running the basic example. I made the changes made on the comments above but I'm still getting an error. This is the error that I get after running this command (
|
I am trying to run the basic example and this is the command (
Am I missing something in the installation instructions or is it something else? |
Your first error was related to the
It seems like you are not running the plugin on the master branch that includes me latest fix. Your second error is related to the plugin that you built:
That undefined symbol appeared from somewhere... but where? Did you change some of the code or link in a new library while compiling the plugin? Did you use a different version of one of the libraries listed on the wiki? |
Thank you for responding. Yes I did make changes to the code based on the fix you posted above and I got the second error. Not really sure where the undefined symbol is coming from. |
You should be using shadow-plugin-bitcoin from the master branch which already includes my commit above and should have already fixed it for you. Are you using the master branch? Which files did you change? If you were not using master, you may want to start a fresh install and go through the wiki instructions again. It was working for me when I tried it on my VM. |
Which version of the Bitcoin code are you using, in |
@robgjansen I changed the shadow-bitcoind file and the shadow.config.xml. I am not really sure which one is the main branch. |
I will try reinstalling now and see what happens. @amiller I will check it out thanks. |
@amiller the version I'm using is: git clone https://github.com/amiller/bitcoin.git -b 0.9.2-netmine |
@robgjansen I reinstalled it again and still have an error running both the examples |
First, disable wallet by reverting commit. Revert "enable wallet for shadow-bitcoin. Add patch for disabling secure_allocator" This reverts commit 4304067. Second, to resolve secure_allocator issue, make all library of bitcoin-plugin as shared library. Third, modify the patch for handling generate packet (of bitcoin plugin). Fourth, modify the example shadow config file to disable wallet, and add new shadow config which also initiates the injector-plugin. refs shadow#9, shadow#1
I am trying to setup the
shadow-bitcoin-plugin
with the latestShadow v1.10.2
installation.Shadow
installation is working perfectly, but upon running the basic example forshadow-bitcoin-plugin
using the command../src/bitcoind/shadow-bitcoind -y -i ../resource/shadow.config.xml -r 2 -t
, I get an error trace indicating amissing file 2
as follows:Am I missing something in the plugin installation instructions ?
The text was updated successfully, but these errors were encountered: