Last active
July 11, 2018 12:15
-
-
Save planethouki/f7f57377b6c7ae221e87fd772a77e034 to your computer and use it in GitHub Desktop.
nem catapult.server 実行2 ハーベストする ref: https://qiita.com/planethouki/items/c2fa3875a82c310376d4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# rm -r data/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cp ../resources/* resources/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bin/catapult.tools.address -g 10 --network mijin-test | |
--- generating 10 keys --- | |
private key: 6C07F78D8C932626F6550FB114C26EFAFE2EC40220E44E1EF0180D9FB89A0AF0 | |
public key: 8C2C06CCCDDFBC964345C051B3A94906813DCB198BA8A56378DA6ED1D2E99B58 | |
address (mijin-test): SCIXWKDPLL7L7IQO6LWN2HJXHYUV3F7ZQX3NUKM3 | |
...続く |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cp ../tools/nemgen/resources/mijin-test.properties resources/ | |
# vi resources/mijin-test.properties | |
cppFile = ../seed/mijin-test/MockMemoryBasedStorage_data.h | |
[distribution>nem:xem] | |
SCIXWKDPLL7L7IQO6LWN2HJXHYUV3F7ZQX3NUKM3 = 409'090'909'000'000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mkdir -p seed/mijin-test/0000 | |
# echo -n 6b23c0d5f35d1b11f9b683f0b0a617355deb11277d91ae091d399c655b87940d3f39d5c348e5b79d06e842c114e6cc571583bbf44e4b0ebfda1a01ec05745d43 > seed/mijin-test/00000/hashes.dat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cd bin | |
# ./catapult.tools.nemgen ../resources/mijin-test.properties | |
# cd ../ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mkdir -p data/00000 | |
# cp seed/mijin-test/00000/* data/00000/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vi resources/config-harvesting.properties | |
[harvesting] | |
harvestKey = 6C07F78D8C932626F6550FB114C26EFAFE2EC40220E44E1EF0180D9FB89A0AF0 | |
isAutoHarvestingEnabled = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cd bin | |
# ./catapult.server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-05-22 08:29:13.117334 0x00007f1ecf7fe700: <info> (src::ScheduledHarvesterTask.cpp@35) Successfully harvested block at 853 with signer 8C2C06CCCDDFBC964345C051B3A94906813DCB198BA8A56378DA6ED1D2E99B58 | |
2018-05-22 08:29:13.160800 0x00007f1e9f7fe700: <info> (disruptor::ConsumerDispatcher.cpp@44) completing processing of element 100 (1 blocks (heights 853 - 853) [1E978FE3] empty from Local), last consumer is 0 elements behind |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment