sbaresearch/simcoin
概要
DockerとPythonを使ったブロックチェーンシミュレーションフレームワーク。
ビジネス・金融計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルSimcoin - A Blockchain Simulation Framework 🏗️
Simcoin facilitates realistic simulations of blockchain networks (currently Bitcoin only). The network is virtualised by the simulation software on one single Unix host machine. To be able to spawn multiple peers the CPU-heavy proof-of-work is deactivated. Blocks and transactions are created by sending respective commands over RPC to the nodes according to a pre-configured simulation scenario.
Getting started 🏁
Prerequisites: python3, pip3, docker, make and R. Check if you have them installed.
git clone https://github.com/simonmulser/simcoin.gitcd simcoinmake install(if fails check output, you may need to install other dependencies depending on your OS)make build-image(consider to use multiple threads to build the image - check Dockerfile undercode/docker)make demo- checkout results under
data/last_runand the generated reportdata/last_run/postprocessing/report.pdf
Stack 📚
Performance 🚀
When running a simulation, monitor the host machine closely. Check utilisation of RAM, CPU, Disk and Network. Further, control the log created by the host system (dmesg) as well as the log produced by the simulation framework (data/debug.log) and nodes (data/last_run/node-X/debug.log). To improve the performance consider the following:
- Increase the ARP-cache if you encounter a neighbour table (ARP-cache) overflow in the kernel messages (
dmesg). - Run the whole simulation in RAM by using tmpfs.
- Use a better host machine! 😉
Outlook/Possible improvements 🔮
- Improving performance and stability by using Unix domain sockets for host to peer communication.
- Sustaining different blockchain projects such as Ethereum or Litecoin.
- Using the ELK-Stack to parse, store and analyse the log files.
- Using Kubernetes to orchestrate containers
関連プロジェクトを探す
読み込み中…