Added changes for cooperative mining, which uses the new nopowafter configuration parameter.