This repository for explaining Kalytn db data
Dependency
├── db_extract.md # descrition
└── extract
├── 0_genesis_setup
├── 1_tx_broadcast
└── 2_129_block_mined
└── db
├── 0_genesis_setup
├── 1_tx_broadcast
└── 2_129_block_mined
go run main.go > db_extract.txt
$ git clone https://github.com/klaytn/klaytn.git
/klaytn $ make all
/klaytn $ git clone https://github.com/ian0371/homi-local
/klaytn $ export PATH=$PATH:~/klaytn/build/bin
/klaytn $ which homi
~/klaytn/build/bin/homi
- kcn --datadir "$DATA_DIR" init "$DATA_DIR/genesis.json"
+ kcn --db.num-statetrie-shards 1 --datadir "$DATA_DIR" init "$DATA_DIR/genesis.json"
- $BIN/kcn $OPTIONS >> ${LOG_DIR}/kcnd.out 2>&1 &
+ $BIN/kcn --db.num-statetrie-shards 1 $OPTIONS >> ${LOG_DIR}/kcnd.out 2>&1 &
/klaytn/homi-local $ homi setup --cn-num 1 --funding-addr ${address} local
/klaytn/homi-local $ ./run setup
More details from homi-local
/klaytn/homi-local $ ./run start
/klaytn/homi-local $ ./run stop