only register ops once
move operation registration from chain_database to operations.cpp static