Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added rocksdb configuration

...

Then you can just run irohad  command.

B) Using Iroha with RocksDB:

Instead of postgres you can use RocksDB. In example  directory there is sample config, which is using RocksDB, but path to database must be changed, e.g.:

sed -i 's_/path/to/wsv/folder_/home/rocksdb_g' example/config.sample

The next step is to use that config when running irohad:

./build/bin/irohad \
     --config $PWD/example/config.sample \
     --keypair_name $PWD/example/node0 \
     -genesis_block $PWD/example/genesis.block \
     -reuse_state