-
Notifications
You must be signed in to change notification settings - Fork 23
undocumented usage #7
Comments
I think, I should use |
I haven't been actively using this plug-in, but I think the master branch should have the best chance of working. I'm not sure which branch you should use if you are trying to reproduce a specific experiment - maybe @amiller has an idea? |
Hi @whywaita, you should use the master branch for building the plugin, since is most likely to be updated for newer bitcoin code. The other branches have some useful config scripts though. I can't find checked in anywhere the config file we generated for the 6000 node experiment, unfortunately. You'll have to create your own script to create a config file for however many instances of nodes you want to simulate. You can get the nodes to connect to each other just by passing a list of "-connect=bcdnode129 -connect=bcdnode17" etc. options in each command line. Let me know if this helps I can describe this in a bit more detail if you need it. Let me know if you are able to run the default experiment in the master branch, with 2 nodes (that will show you've built everything correctly)? |
Thank you for response! I'm successful to build master branch, and use two node. (default shadow.config.xml) This is shadow.log . shadow output only like sentence.
Maybe, All except Cpu usage are 0. Are there any ideas? |
This log looks fine. You can see from the log that the two nodes connect to each other and exchange version messages. To inject a transaction, I found the easiest way is to create a separate program that just turns on, connects to a Bitcoin node, and sends it a transaction. An example of this is in the attacks-features branch, but you'd need to customize it to send whatever kind of transaction you want. https://github.com/shadow/shadow-plugin-bitcoin/blob/attacks-features/src/injector/injector.c |
namely, do you need to merge the attacks-features branch on the master branch to add transactions? |
I don't want to clutter the master branch with this example. |
I also think there are any conflicts. Should I patch attacks-features to master branch? |
Hi Contributers!
I want customize bitcoin transaction. (The purpose is research of bitcoin)
First, I want to reproduce this paper. but, it is not documented.
Please teach how to build like this paper. 🙇 🙇
(If there is a problem with the exchange on GitHub, there is no problem with e-mail.)
The text was updated successfully, but these errors were encountered: