make node key the default param of generatetrustmap