When using an external genesis file, it doesn't make sense to calculate the chain ID as the literal text contents of the file, which are quite volatile. Rather, it should be calculated based on the logical content of the file. Serialize the genesis object to get a canonical representation, and calculate the chain ID off of that. |
||
|---|---|---|
| .. | ||
| include/graphene/app | ||
| api.cpp | ||
| application.cpp | ||
| CMakeLists.txt | ||
| config_util.cpp | ||
| database_api.cpp | ||
| plugin.cpp | ||